Summary: | avifile-0.7.29.20030204 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Caleb Shay <caleb> |
Component: | New packages | Assignee: | Nick Hadaway <grandmasterlinux> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | liquidx, mholzer |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Caleb Shay
2003-02-06 19:57:38 UTC
try : DEBUGBUILD="" emerge -u avifile why : looks like some dodgy code in VideoEncoder.cpp with undeclared function. That part of the code is only enabled when configurure is run with --enable-timing. This in turn is only enabled in the ebuild if you have DEBUGBUILD set to non-zero. i mean undeclared variable .. anyway .. adding myself to cc Worked for me. This doesn't seem to be very deterministic (o; Failes over here too. $ emerge info Portage 2.0.46-r12 (default-x86-1.4, gcc-which: no gcc in (/sbin:/bin:/usr/sbin:/usr/bin) sh: line 1: -dumpversion: command not found, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 1600+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile X gpm tcpd pam perl python esd imlib oggvorbis gtk qt motif opengl aalib alsa -apm cdr dga dvd -gnome libwww maildir scanner -sdl sse ssl tetex" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" $ emerge avifile [...] i686-pc-linux-gnu-gcc -shared codeckeeper.lo Uncompressed.lo -Wl,--whole-archive aviplay/.libs/libaviplay.al aviread/.libs/libaviread.al aviwrite/.libs/libaviwrite.al common/.libs/libcommon.al subtitle/.libs/libsubtitle.al video/.libs/libvideo.al -Wl,--no-whole-archive -L/usr/X11R6/lib -L/usr/kde/3/lib -lz -L/usr/lib /usr/lib/libSDL.so -lm /usr/lib/libasound.so -lartsc -lvga -lSM -lICE -lXinerama -lXv -lXrender -lXft -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lpthread -lnsl -ldl -Wl,-soname -Wl,libaviplay-0.7.so.0 -o .libs/libaviplay-0.7.so.0.0.29 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lartsc collect2: ld returned 1 exit status make[2]: *** [libaviplay.la] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.29.20030204/work/avifile0.7-0.7.29/lib' make: *** [all-recursive] Fehler 1 !!! ERROR: media-video/avifile-0.7.29.20030204 failed. !!! Function src_compile, Line 139, Exitcode 2 !!! (no error message) the second reported error is a different error than the initial report. its failing because it can't find libartsc*. This is another problem with the avifile ebuild. i don't know why that happens. Maybe try without qt: USE="-qt" emerge avifile I have "-qt" in my USE flags, and I get the artc error, too. I am currently testing building avifile without arts installed... I don't currently have it in the dependancy list... as I did not think it was a requirement. The build completed without a problem... hrm... Same here. avifile compiles fine for me, but i've never had "arts" in my USE. The only guess I can come up with is something in sdl-config that adds "-lartsc" to the CFLAGS. maybe you could try and see if this works: USE="-sdl" emerge avifile That is the only depenedency in the chain that might use arts: mcvaio /usr/portage/media-libs/libsdl % emerge -vp avifile libsdl These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/avifile-0.7.29.20030204 -static -freetype +xv +sdl -dvd +mmx -sse -3dnow +zlib +oggvorbis +X -qt +alsa +esd [ebuild R ] media-libs/libsdl-1.2.5-r1 -arts +xv +opengl -fbcon -aalib -nas +esd +X +svga -ggi +alsa If that is the case, we need to have a hack in the ebuild to remove any signs of -lartsc in the CFLAGS after ./configure. According to the ./configure.in in avifile, artsc is not used or supported anymore. Re: the -larts link problem, it appears to be LDPATH problems... env-update and source /etc/profile OR reboot (windows style!) I have removed --enable-timing from DEBUGBUILD so for those of you wanting to compile with debugging enabled should now work properly. |