x11-misc/xvidcap-1.1.4_rc1 fails to link due to undefined references to fifo_{read,write,init} functions. -------------------------------------------------------------------------------- i686-pc-linux-gnu-gcc -Wall -g -O0 -march=pentium3 -pipe -ggdb -I/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavcodec -I/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavformat -I/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavutil -L/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavcodec -L/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavformat -L/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/ffmpeg/libavutil -o xvidcap -export-dynamic app_data.o capture.o codecs.o colors.o frame.o gnome_frame.o gnome_ui.o gnome_warning.o gnome_options.o led_meter.o main.o options.o xtoffmpeg.o xtoxwd.o job.o xv_error_item.o -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lart_lgpl_2 -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lmp3lame -lavformat -lavcodec -Wl,-Bstatic -lavutil -Wl,-Bdynamic -lm -lXmu xtoffmpeg.o: In function `add_audio_stream': /var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/src/xtoffmpeg.c:288: undefined reference to `fifo_init' xtoffmpeg.o: In function `do_audio_out': /var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/src/xtoffmpeg.c:418: undefined reference to `fifo_write' /var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/src/xtoffmpeg.c:421: undefined reference to `fifo_read' collect2: ld returned 1 exit status make[2]: *** [xvidcap] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-misc/xvidcap-1.1.4_rc1/work/xvidcap-1.1.4rc1/src' -------------------------------------------------------------------------------- Reproducible: Always
$ sudo emerge --info Password: Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Fri, 01 Feb 2008 14:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O0 -march=pentium3 -pipe -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O0 -march=pentium3 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo" LC_ALL="en_US" LINGUAS="en" PKGDIR="/usr/portage/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amr apm artworkextra asf async automount bash-completion beagle berkdb bitmap-fonts boundschecking branding bzip2 cairo cddb cdr cli cracklib crypt css cups dbus dell disk-partition doc dri dvd dvdr dvdread emboss encode fam fame ffmpeg firefox galago gd gif gimpprint glitz gnome gnutls gpm gstreamer gtk hal i8x0 iconv imagemagick imap imlib isdnlog jack-tmpfs javascript jce jpeg libnotify logrotate lzo mad midi mikmod mime mjpeg mmx mono mozbranding moznoirc mozsvg mp3 mpeg mudflap ncurses network network-cron nfs nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3support quicktime readline real reflection samba sasl sdl session slp smp spell spl sse sse2 ssl svg swat syslog tcpd theora tiff truetype truetype-fonts type1-fonts unicode vim-with-x vorbis win32codecs winbind x264 x86 xcomposite xine xml xorg xpm xprint xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 142415 [details] Screen log of entire build. Attaching "screen" log of entire build. This contains vt-100 control characters so it isn't plain text, but should look right if you send it through "less".
Created attachment 142416 [details] Portage Log Portage's log is probably preferred, I'm guessing....
Philippe, can you test a newer version? 1.1.6 or 1.1.7.
1.) Retested 1.1.4_rc1 just to be sure before testing new versions. I'm still getting the same link error on this version. 2.) Tried to build 1.1.6-r2 (which required me to unmask media-video/ffmpeg-0.4.9_p20080326) and got the following: ========================================================================= then mv -f ".deps/codecs.Tpo" ".deps/codecs.Po"; else rm -f ".deps/codecs.Tpo"; exit 1; fi codecs.c:46:28: error: ffmpeg/avcodec.h: No such file or directory codecs.c:47:29: error: ffmpeg/avformat.h: No such file or directory codecs.c:101: error: 'CODEC_ID_NONE' undeclared here (not in a function) codecs.c:111: error: 'CODEC_ID_PGM' undeclared here (not in a function) codecs.c:120: error: 'CODEC_ID_PPM' undeclared here (not in a function) codecs.c:129: error: 'CODEC_ID_PNG' undeclared here (not in a function) **snip** ========================================================================= 3.) xvidcap-1.1.7_rc1 (also required ffmpeg-0.4.9_p20080326) does compile *and* it links! Heck, it even runs!
I propose to drop the 1.1.4 version and stabilize 1.16. I just fixed that ebuild to pull in the correct version of ffmpeg, 0.4.9_p20070616-r20 at this moment. But that means we also need to get that ffmpeg version stabilized.
(In reply to comment #6) > I propose to drop the 1.1.4 version and stabilize 1.16. I just fixed that > ebuild to pull in the correct version of ffmpeg, 0.4.9_p20070616-r20 at this > moment. But that means we also need to get that ffmpeg version stabilized. > I dropped 1.1.4* from tree, it's been broken for so damn long. This way users won't hit the bugs anymore, I'm sick and tired of hearing about it....