Summary: | xine-libs-1_rc4-r1 failes to obey CFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Black (RETIRED) <dragonheart> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59506 |
Description
Daniel Black (RETIRED)
2004-07-30 18:07:20 UTC
Dragonheart: This is going to be my "fix" if you will: Archs: Xine-lib _rc5-r2 fixes many bugs existant in previous versions. Because of this, I'd like to push the stable marking of _rc5-r2. Thanks ahead of time. For version media-libs/xine-lib-1_rc5-r2 - same error /bin/sh ../../../libtool-nofpic --mode=link gcc -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -march=athlon-xp -fomit-frame-pointer -pipe -fno-stack-protector -O1 -mno-sse2 -mno-sse3 -ffunction-sections -o xineplug_inp_vcd.la -rpath /usr/lib/xine/plugins/1.0.0 -avoid-version -module xineplug_inp_vcd.lo vcdplayer.lo vcdio.lo xine-extra.lo ../../../src/xine-engine/libxine.la -lvcdinfo -lvcd -liso9660 -lcdio libtool-nofpic: link: warning: library `/usr/lib/libvcdinfo.la' was moved. libtool-nofpic: link: warning: library `/usr/lib/libvcd.la' was moved. grep: /var/tmp/portage/libcdio-0.64/image//usr/lib/libiso9660.la: No such file or directory /bin/sed: can't read /var/tmp/portage/libcdio-0.64/image//usr/lib/libiso9660.la: No such file or directory libtool-nofpic: link: `/var/tmp/portage/libcdio-0.64/image//usr/lib/libiso9660.la' is not a valid libtool archive make[5]: *** [xineplug_inp_vcd.la] Error 1 make[5]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/input/vcd' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/input/vcd' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc5-r2/work/xine-lib-1-rc5' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc5-r2 failed. !!! Function src_compile, Line 142, Exitcode 2 !!! Parallel make failed !!! If you need support, post the topmost build error, NOT this status message. beer root # ls -la /usr/lib/libvcdinfo.la -rwxr-xr-x 1 root root 764 Apr 30 18:59 /usr/lib/libvcdinfo.la beer root # ls -la /usr/lib/libvcd.la -rwxr-xr-x 1 root root 851 Apr 30 18:59 /usr/lib/libvcd.la beer root # qpkg -f -nc /usr/lib/libvcdinfo.la ; qpkg -f -nc /usr/lib/libvcd.la media-video/vcdimager media-video/vcdimager beer root # qpkg -f -nc -v /usr/lib/libvcd.la media-video/vcdimager-0.7.19 Upgrading to media-video/vcdimager-0.7.20-r1 failed - see bug 58977 Also this is using -O3 optisation although I specified -O2 What were the USE flags you had when you emerge-ed it? I'd like to check and see if it's some weird flag logic. comment 3 - its using -O1 rather than -O2. USE flags are per emerge info. use logic? its trying to link to the ${D} directory of the installed package libcdio-0.64 The bug is spreading: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib/ -I../include/ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c `test -f 'cd-info.c' || echo './'`cd-info.c source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib/ -I../include/ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c `test -f 'util.c' || echo './'`util.c source='cd-read.c' object='cd-read.o' libtool=no \ depfile='.deps/cd-read.Po' tmpdepfile='.deps/cd-read.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib/ -I../include/ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -c `test -f 'cd-read.c' || echo './'`cd-read.c /bin/sh ../libtool --mode=link gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -o cd-info cd-info.o util.o ../lib/libiso9660.la ../lib/libcdio.la -lpopt -lcddb -lvcdinfo -lvcd -liso9660 -lcdio -lm mkdir .libs libtool: link: cannot find the library `/var/tmp/portage/libcdio-0.64/image/usr/lib/libcdio.la' make[2]: *** [cd-info] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/libcdio-0.64/work/libcdio-0.64/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libcdio-0.64/work/libcdio-0.64' make: *** [all] Error 2 !!! ERROR: dev-libs/libcdio-0.64 failed. !!! Function src_compile, Line 18, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. This was a clean recompile of dev-libs/libcdio. The directory /var/tmp/portage/libcdio-0.64/ did not contain the string "image/" except as a value for ${D} in temp/environment. I don't know and my head hurts. I'm kind of thinking this is a local problem for me. Will let you know if it isn't. Dragonheart, figure out what .la file is trying to link to that... it's a libtool bug, and the package that made it probably needs an elibtoolize... just grep through /usr/lib/*.la for '/var/tmp/portage'... I consistently hit this xine-lib compile error as well. Nothing in /usr/lib/*.la contains /var/tmp/portage according to grep. Jeremy is great ;-) recompiled some dependancies based that had libraries with /var/tmp/portage in them. Compiled fine then. Leaving this open based on it using CFLAGS not specified by user: I appreciate some options need stripping but some are added: -O3 -pipe -fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions Only CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" was entered. arches really don't need to be CCd on something like this... removing them from CC after unmerging and remerging anything with /var/tmp/portage in the /usr/lib/*.la files my xine-lib emerge succeeded. (i believe i goofed earlier when grpping for /var/tmp/portage in /usr/lib/*.la and not finding anything). un-ccing myself. Note to self... Please test with current xine-lib-1.0-r2 as this is the target stable. This bug seems to be more of noise as it has two main problems, probably both fixed. Please open a cleaner bug if there are still issues with it. |