You are not logged in.

#1 2009-05-06 11:22:52

lundh
Member
Registered: 2009-05-06
Posts: 8

xbmc-svn build fails

I'm trying to build xbmc-svn on i686 and get te following error:

g++ -fPIC -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -DNDEBUG=1 -shared-o ../../../../screensavers/Solarwinds.xbs ../src/solarwinds/*.o ../src/common.o ../src/color.o ../lib/libmisc.a -lXmu
g++ -fPIC -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -DNDEBUG=1 -shared-o ../../../../screensavers/Plasma.xbs     ../src/plasma/*.o     ../src/common.o ../src/color.o ../lib/libmisc.a -lXmu
g++ -fPIC -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -DNDEBUG=1 -shared-o ../../../../screensavers/Euphoria.xbs   ../src/euphoria/*.o   ../src/common.o ../src/color.o ../lib/libmisc.a -lXmu
make[1]: Leaving directory `/home/lundh/aur/xbmc-svn/src/XBMC-build/xbmc/screensavers/rsxs-0.9/xbmc'
==> ERROR: Build Failed.
    Aborting...

A more complete log is at: http://rafb.net/p/2GuwEJ11.html

Any idea what could cause this and how I can fix it?

Offline

#2 2009-05-06 13:26:49

atkinsonr
Member
From: Sydney, Australia
Registered: 2009-04-12
Posts: 7
Website

Re: xbmc-svn build fails

Hmm. I don't see any error messages in your log. Are you compiling with multiple jobs (-j flags)?

if you have problems with a PKGBUILD, first make sure you don't use -j flags for make as you won't notice any error messages - they simply scroll by. When a build breaks, the first thing to do is edit the PKGBUILD and set "options=(!makeflags)".

Run it again and post the whole build log to a pastebin - yep the whole thing.

Cheers

Offline

#3 2009-05-06 13:57:31

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

Looks like there was an error with goom2k4-0. Following the old recommendations about that problem now. Is it not possible to fix this in the pkgbuild?

Offline

#4 2009-05-06 13:59:18

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: xbmc-svn build fails

I've spent so many days with this package and it never built it succefuly... I think the best we can do is to wait for the latest version to became avaiable at arch repos tongue

Last edited by TigTex (2009-05-06 14:00:38)


.::. TigTex @ Portugal .::.

Offline

#5 2009-05-06 16:57:36

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

Finally got it to build rev 19941 without any problem. Seems like a clean wasnt enough. With a fresh start everything ran smootly. But I have no idea why the first build failed.

Last edited by lundh (2009-05-06 17:01:52)

Offline

#6 2009-05-07 03:44:58

richy
Member
Registered: 2009-04-14
Posts: 10

Re: xbmc-svn build fails

Guys, regarding xbmc-svn.

Since we took over maintaining this package a few weeks ago the package has been tested regularly on Arch 32 bit and 64 bit systems.

I am not aware of any specific problem any user is having that hasn't been quickly resolved. If you are having a problem with building the xbmc-svn package, please post details so that we can fix it for everyone.

Richy

Offline

#7 2009-05-07 03:52:53

richy
Member
Registered: 2009-04-14
Posts: 10

Re: xbmc-svn build fails

lundh wrote:

Looks like there was an error with goom2k4-0. Following the old recommendations about that problem now. Is it not possible to fix this in the pkgbuild?

The goom fix is in the PKGBUILD, never went away

    # Goom also needs a fixup due to newer autotools
    cd "$srcdir/$_svnmod-build/xbmc/visualizations/Goom/goom2k4-0"
    aclocal
    ./autogen.sh --enable-static --with-pic

Offline

#8 2009-05-11 08:48:26

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

The goom problem still exist. I just downloaded the tarball (for rev 20101) and tried to makepkg -s, which falied with:

goomsl_yacc.y: In function 'gsl_declare_global_variable':
goomsl_yacc.y:1186: error: 'FLOAT_TK' undeclared (first use in this function)
goomsl_yacc.y:1186: error: (Each undeclared identifier is reported only once
goomsl_yacc.y:1186: error: for each function it appears in.)
goomsl_yacc.y:1187: error: 'INT_TK' undeclared (first use in this function)
goomsl_yacc.y:1188: error: 'PTR_TK' undeclared (first use in this function)
make[3]: *** [goomsl_yacc.lo] Error 1
make[3]: Leaving directory `/home/lundh/aur/xbmc-svn/xbmc-svn/src/XBMC/xbmc/visualizations/Goom/goom2k4-0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lundh/aur/xbmc-svn/xbmc-svn/src/XBMC/xbmc/visualizations/Goom/goom2k4-0'
make[1]: *** [goom2k4-0/src/.libs/libgoom2.a] Error 2
make[1]: Leaving directory `/home/lundh/aur/xbmc-svn/xbmc-svn/src/XBMC/xbmc/visualizations/Goom'
make: *** [visualizations] Error 2
==> ERROR: Build Failed.
    Aborting...

Last edited by lundh (2009-05-11 08:49:08)

Offline

#9 2009-05-11 10:12:41

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: xbmc-svn build fails

just do it again for some reason with the current version it fails the first time you build it and then works the second time


dovie andi se tovya sagain

Offline

#10 2009-05-11 10:15:15

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

Not for me, it failed the second time too.

Offline

#11 2009-05-11 12:27:25

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

Well, It did work the second time if I removed the buildflags. (I normally use the default ones for i686.)

Offline

#12 2009-05-11 20:23:51

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: xbmc-svn build fails

XBMC-9.04 is out and its still outdated in AUR...


.::. TigTex @ Portugal .::.

Offline

#13 2009-05-11 20:30:20

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

xbmc-svn is up to date (or close enough) xbmc is up to 20157 and the svn version is 20101 which is at most a few days old. Most people will want to use the svn version. A lot of things change between releases.

Last edited by lundh (2009-05-11 20:30:45)

Offline

#14 2009-05-17 00:12:14

atkinsonr
Member
From: Sydney, Australia
Registered: 2009-04-12
Posts: 7
Website

Re: xbmc-svn build fails

Just a word on xbmc-svn.

Most days either Haggy or I will build xbmc-svn on our own machines. Occasionally there are problems as trunk is always changing and some check-ins do break things, so we don't upload every day.

We both generally keep a watchful eye on svn trunk and what is actually happening to the tree. Things move fast in this project, and we  think that it is well worth keeping up with the latest patches, generally XBMC gets better every week!

We only update xbmc-svn after some worthwhile patches have been checked-in AND we have tested that particular build on our own machines.

In practice this happens a couple of times a week, but as it depends on a number of outside factors there are no guarantees.

We hope you enjoy the package,  we'd like to see archlinux become a premium choice platform for xbmc!

Cheers
- Richy

Offline

#15 2009-05-18 09:07:46

haggy
Member
From: Wild southern germany
Registered: 2007-05-22
Posts: 229
Website

Re: xbmc-svn build fails

atkinsonr wrote:

We hope you enjoy the package,  we'd like to see archlinux become a premium choice platform for xbmc!

Well spoken young Jedi! cool

Offline

#16 2009-05-18 16:47:07

Basn
Member
From: Stockholm
Registered: 2007-08-13
Posts: 47

Re: xbmc-svn build fails

INCSlayer wrote:

just do it again for some reason with the current version it fails the first time you build it and then works the second time

This actually worked for me 2...

But as soon as i start XMBC my KDE crashes.

Offline

#17 2009-05-21 13:58:20

atkinsonr
Member
From: Sydney, Australia
Registered: 2009-04-12
Posts: 7
Website

Re: xbmc-svn build fails

If any one is following this thread, Haggy has just uploaded a version of xbmc-svn which should see the end of the goom problem which has just been fixed in the main SVN over at xbmc.org. Hurray!

@Basn, about your segfault - you'll need to provide more info on that. This guide outlines how to gather and provide the information necessary for debugging.

BTW: Are you running composite on your desktop? If so that's a known issue with XBMC.

Offline

#18 2009-05-21 16:29:40

lundh
Member
Registered: 2009-05-06
Posts: 8

Re: xbmc-svn build fails

The goom issue is unfortunally not solved. I got the same problem with latest version of xbmc-svn. Trying to build a second time at the moment.

Edit: Same thing as everyone else reported before, second build worked fine.

Last edited by lundh (2009-05-21 17:00:00)

Offline

#19 2009-05-25 01:50:12

richy
Member
Registered: 2009-04-14
Posts: 10

Re: xbmc-svn build fails

@lundh
In that case I'm afraid that this one is a problem with the XBMC source that we are unable to fix. We believe the problem comes down to Ubuntu using a different version of autotools to Archlinux; autotools doesn't provide backward compatibility.

If anyone with more experience of autotools is able to help that'd be great - otherwise I'm afraid we can't do much about this, it's up to the XBMC developers.

/ Richy

PS: You are the only one report the problem since 20509-1, so far anyway.

Offline

Board footer

Powered by FluxBB