Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133188 - xine-lib-1.1.2_pre20060328-r6 cannot compile
Summary: xine-lib-1.1.2_pre20060328-r6 cannot compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-13 04:30 UTC by Marcin Kowalski
Modified: 2006-05-26 09:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kowalski 2006-05-13 04:30:46 UTC
i cannot get it to build with gcc-3.4.6-r1 . i also tried gcc-4.1.0 today. the same error : 

----------------------------------------------------
source='pci_names.c' object='pci_names.lo' libtool=yes \
        depfile='.deps/pci_names.Plo' tmpdepfile='.deps/pci_names.TPlo' \
        depmode=gcc3 /bin/sh ../../../depcomp \
        /bin/sh ../../../libtool-nofpic --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils  -I../../../src/input -I../../../src/input  -I../../../lib    -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE  -DENABLE_IPV6 -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -msse3 -funit-at-a-time -frename-registers -ffunction-sections -c -o pci_names.lo `test -f pci_names.c || echo './'`pci_names.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -msse3 -funit-at-a-time -frename-registers -ffunction-sections -c pci_names.c -MT pci_names.lo -MD -MP -MF .deps/pci_names.TPlo  -fPIC -DPIC -o .libs/pci_names.o
pci_names.c:1784: fatal error: opening dependency file .deps/pci_names.TPlo: No such file or directory
compilation terminated.
-------------------------------------------------------------
i won't post my emerge info for now, since i feel like it's irrelevant in this case. (maybe i'm wrong, so if it's needed i will put it)

i tried to emerge xine-lib with these USE flags
media-libs/xine-lib-1.1.2_pre20060328-r6 USE="X a52 aac aalib alsa asf directfb dts dvd esd fbcon ffmpeg flac gnome imagemagick ipv6 libcaca mad mng nls opengl oss sdl theora vcd vidix vorbis win32codecs xv xvmc -arts -debug -dxr3 -modplug -samba -speex -v4l -xinerama" 

VIDEO_CARDS="-i810 -nvidia -via" (i have ati)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-13 04:44:25 UTC
emerge info is always required.
Comment 2 Marcin Kowalski 2006-05-13 06:20:08 UTC
yoshi@yOSHi /home/common/anim/movie $ emerge --info
Portage 2.1_pre10-r5 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16-beyond3 i686)
=================================================================
System uname: 2.6.16-beyond3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -msse3 -funit-at-a-time"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -mfpmath=sse -msse2 -msse3 -funit-at-a-time -fvisibility-inlines-hidden"
DISTDIR="/home/gentoo/distfiles"
FEATURES="autoconfig candy ccache confcache distlocks metadata-transfer moo sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/home/gentoo/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X a52 aac aalib acl acpi ada aim akode alsa amazon amr amuled aotuv asf atk audiofile avi bash-completion bcp berkdb bitmap-fonts bittorrent bjam bonjour bzip2 cairo caps catalogs cdda cddb cdparanoia cdr clearcase cli clock-screen crypt cscope css cups curl custom-cflags dbus dillo directfb djbfft dmi dpms dri dts dvd dvdr dvdread dvi ecc effects emacs emboss encode esd extraengine extrafilters extras fame fbcon ffmpeg firefox flac fontconfig foomaticdb fortran fpx fuse gcj gdbm ggi gif gimp glibc-omitfp glitz glut glx gnome gnutls gopher gpgme gpm gs gsm gstreamer gstreamer010 gtk gtk2 hal icq idea imagemagick imap imlib inkjar ipv6 irc irda irmc isdnlog jabber java javascript jikes jpeg jpeg2k justify kde kdeenablefinal key-screen kqemu lcms leim lesstif libcaca libg++ libnotify libvisual libwww lj lm_sensors lzo mad maildir mailwrapper math matroska mbox md5sum mjpeg mmx mmxext mng motif mouse mozsvg mp3 mp4live mpeg mplayer msn mudflap multiuser musepack musicbrainz ncurses nethack network nls nntp no-old-linux nogecko-sdk nosendmail nptl nptlonly nsplugin ogg oggvorbis on-the-fly-crypt openal opengl oss pam pango pascal pcre pdf pdflib perl pic plugin png pop ppds pppd python qt qt4 quicktime rar rdesktop readline real recode reflection reiser4 reiserfs remote rle rplay rrdtool rss rtc ruby sasl sdl search-screen sensord session silc skins slang smtp sndfile softmmu spell spl sql sqlite sqlite3 srv sse sse-filters sse2 ssl startup-notification stencil-buffer stroke subtitles svg svga sysfs t1lib tabs tagwriting tcltk tcpd tga theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode upnp usb userlocales vcd vcdimager video_cards_ati video_cards_fglrx vidix vim vim-pager vim-with-x visualization vorbis win32codecs wmf wv wxgtk1 wxwindows x264 xcomposite xgetdefault xine xml xml2 xorg xrandr xscreensaver xv xvid xvmc yahoo yv12 zip zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_pl linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
---------------------------------------------------
keep in mind, that gcc4 is temporarily set for now, and that the error was exactly the same with gcc 3.4.6-r1
Comment 3 Marcin Kowalski 2006-05-14 06:27:55 UTC
well i posted the info, but i forgot to reopen :/
Comment 4 Mirco 2006-05-17 05:02:15 UTC
i cannot compile it too, but i get an other error:
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -DXINE_COMPILE -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -DENABLE_IPV6 -O3 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -pipe -falign-functions=4 -fprefetch-loop-arrays -frename-registers -ffunction-sections -c audio_none_out.c  -fPIC -DPIC -o .libs/xineplug_ao_out_none_la-audio_none_out.o
cc1: error: unrecognized option `-fvisibility=hidden'
make[3]: *** [xineplug_ao_out_none_la-audio_none_out.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r6/work/xine-lib-1.1.2cvs/src/audio_out'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r6/work/xine-lib-1.1.2cvs/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/xine-lib-1.1.2_pre20060328-r6/work/xine-lib-1.1.2cvs'
make: *** [all] Fehler 2

here the use-flags
media-libs/xine-lib-1.1.2_pre20060328-r6 [1.1.2_pre20060328-r2] +X -a52 -aac +aalib +alsa (-altivec) +arts +asf -debug +directfb -dts +dvd -dxr3 +esd +fbcon -ffmpeg +flac -gnome +imagemagick +ipv6 -libcaca +mad +mng* -modplug +nls +opengl +oss +samba +sdl +speex +theora -v4l -vcd -video_cards_i810 -video_cards_nvidia* -video_cards_via -vidix +vorbis +win32codecs -xinerama +xv +xvmc

i got the error before i changed the use-flags!

here my emerge --info
emerge --info
Portage 2.0.54-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.0_pre19
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0-r1
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks nostrip sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://gentoo.osuosl.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo  ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/  ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/  http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/  http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo  ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/  http://mirror.tucdemonic.org/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/  ftp://ftp.ndlug.nd.edu/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/media"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 bzlib cdb cdr cjk cli crypt cups curl dga directfb divx4linux doc dri dvd dvdr eds emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran freetds ftp gd gdbm gif gimp glut gmp gphoto2 gpm gstreamer gtk2 hal icq idn imagemagick imap imlib immqt-bc ipv6 isdnlog jabber jack java jpeg kde kdexdeltas lcms libg++ libwww mad maildir mhash mikmod mime ming mmx mng motif mozilla mp3 mpeg msn mysql ncurses nls ntpl ntplonly odbc odd ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl php png ppds pppd python qt quicktime readline recode reflection samba scanner sdl session speex spell spl ssl svg svga szip tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf wxwindows x86 xine xml xml2 xmms xorg xpm xprint xv xvid yahoo zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

hope these are enough informations to get help.

randir
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-19 13:33:48 UTC
Mirco your problem is completely unrelated and it's an incompatibility between GCC 3.3 and the patch that makes xine-lib 1.1.2_pre20060328-r5 and later to work sanely. I'll try to replace the patch with one that checks for gcc version, but in that case xine-lib is not guaranteed to work correctly.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-25 00:41:15 UTC
(In reply to comment #5)
> I'll try to replace the patch with one that checks for gcc
> version, but in that case xine-lib is not guaranteed to work correctly.

Better to bomb out than to produce cryptically broken stuff... ;) We don't support gcc-3.3.x any more, upstream does not either.
Comment 7 Marcin Kowalski 2006-05-25 12:48:41 UTC
tried -r7 with gcc-4.1 recently. same error.
Comment 8 John Flatness 2006-05-25 15:55:30 UTC
Had the same problem with -r7, and I saw that Yoshi also had confcache enabled.  So, I removed confcache from my features, and it compiled without a hitch.
Comment 9 Marcin Kowalski 2006-05-26 09:54:32 UTC
okay the solution is to disable confcache.

i upgraded gcc to 4.1.1 and disabled confcache. it built. now i'm, trying with confcache again to verify....

after re-enabling confcache it fails again. so the problem seems to be related to using confcache somehow. 

perhaps we should open a new bug?
Comment 10 Marcin Kowalski 2006-05-26 09:56:38 UTC
i guess i can close this one, unless the problem mentioned by Mirco is worth keeping it open.