You are not logged in.

#1 2012-02-29 20:31:50

whooper
Member
From: Germany
Registered: 2008-12-24
Posts: 37

[SOLVED] Surf-hg and tabbed-hg from aur fail to build

Hi,

I'm trying to install surf-hg and tabbed-hg from aur and when I makepkg -i this happens:

==> ERROR: A failure occurred in build().
    Aborting...

I've tried to apply this patch to surf's config.mk but it fails anyway.

diff -paur surf/config.mk surf.new/config.mk
--- surf/config.mk	2012-01-29 11:46:00.851597838 +0100
+++ surf.new/config.mk	2012-01-29 11:46:36.633503895 +0100
@@ -15,7 +15,7 @@ GTKLIB = `pkg-config --libs gtk+-2.0 web
 
 # includes and libs
 INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 -ljavascriptcoregtk-1.0
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\"

Can anyone help me please?

Last edited by whooper (2012-03-01 21:42:10)

Offline

#2 2012-02-29 21:01:10

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: [SOLVED] Surf-hg and tabbed-hg from aur fail to build

The patch is no longer required for surf-hg. Maybe it'll help to remove the src directory and try again.

Offline

#3 2012-02-29 21:16:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Surf-hg and tabbed-hg from aur fail to build

Your thread title is ambiguous: are you saying that both surf-hg and tabbed-hg fail to build? Tabbed-hg builds fine for me...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-03-01 00:28:58

whooper
Member
From: Germany
Registered: 2008-12-24
Posts: 37

Re: [SOLVED] Surf-hg and tabbed-hg from aur fail to build

Yes they both fail to build, manually or with packer.
I deleted the src directory but it still fails.

 packer -S surf-hg

Aur Targets    (1): surf-hg

Proceed with installation? [Y/n] y
Edit surf-hg PKGBUILD with $EDITOR? [Y/n] n
==> Determining latest hg revision...
pulling from http://hg.suckless.org/surf
searching for changes
no changes found
  -> Version found: 238
==> Making package: surf-hg 238-1 (Thu Mar  1 00:27:47 WET 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
cleaning
pulling from http://hg.suckless.org/surf
searching for changes
no changes found
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

Offline

#5 2012-03-01 21:41:49

whooper
Member
From: Germany
Registered: 2008-12-24
Posts: 37

Re: [SOLVED] Surf-hg and tabbed-hg from aur fail to build

I just rebooted and it works.. marking as solved

Offline

Board footer

Powered by FluxBB