totem fails to emerge with the following message: ---- i686-gentoo-freebsd6.1-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DORBIT2=1 -pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/gstreamer-0.8 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -march=i586 -O2 -pipe -MT totem-disc.lo -MD -MP -MF .deps/totem-disc.Tpo -c totem-disc.c -fPIC -DPIC -o .libs/totem-disc.o totem-disc.c:37:20: mntent.h: No such file or directory totem-disc.c:47:25: linux/cdrom.h: No such file or directory totem-disc.c: In function `cd_cache_open_device': totem-disc.c:308: error: `CDC_DVD' undeclared (first use in this function) totem-disc.c:308: error: (Each undeclared identifier is reported only once totem-disc.c:308: error: for each function it appears in.) totem-disc.c:319: error: `ENOMEDIUM' undeclared (first use in this function) totem-disc.c:331: error: `CDROM_GET_CAPABILITY' undeclared (first use in this function) totem-disc.c:341: error: `CDROM_DRIVE_STATUS' undeclared (first use in this function) totem-disc.c:341: error: `CDS_DISC_OK' undeclared (first use in this function) totem-disc.c:348: error: `CDS_NO_INFO' undeclared (first use in this function) totem-disc.c:351: error: `CDS_NO_DISC' undeclared (first use in this function) totem-disc.c:354: error: `CDS_TRAY_OPEN' undeclared (first use in this function) totem-disc.c:357: error: `CDS_DRIVE_NOT_READY' undeclared (first use in this function) totem-disc.c: In function `cd_cache_disc_is_cdda': totem-disc.c:454: error: `CDROM_DISC_STATUS' undeclared (first use in this function) totem-disc.c:462: error: `CDS_NO_INFO' undeclared (first use in this function) totem-disc.c:465: error: `CDS_NO_DISC' undeclared (first use in this function) totem-disc.c:469: error: `CDS_AUDIO' undeclared (first use in this function) totem-disc.c:470: error: `CDS_MIXED' undeclared (first use in this function) totem-disc.c:473: error: `CDS_DATA_1' undeclared (first use in this function) totem-disc.c:474: error: `CDS_DATA_2' undeclared (first use in this function) totem-disc.c:475: error: `CDS_XA_2_1' undeclared (first use in this function) totem-disc.c:476: error: `CDS_XA_2_2' undeclared (first use in this function) totem-disc.c: In function `cd_cache_disc_is_dvd': totem-disc.c:570: error: `CDC_DVD' undeclared (first use in this function) gmake[5]: *** [totem-disc.lo] Error 1 gmake[5]: Leaving directory `/var/tmp/portage/totem-1.2.1/work/totem-1.2.1/src/plparse' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/totem-1.2.1/work/totem-1.2.1/src/plparse' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/totem-1.2.1/work/totem-1.2.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/totem-1.2.1/work/totem-1.2.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/totem-1.2.1/work/totem-1.2.1' gmake: *** [all] Error 2 !!! ERROR: media-video/totem-1.2.1 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 1249: Called gnome2_src_compile gnome2.eclass, line 64: Called die ---- the bug is tested on both version 1.2.1 and 1.4.0 of totem with the same result. my emerge --info: ---- Portage 2.1.1_pre1-r1 (default-bsd/fbsd/6.1/x86, gcc-3.4.6, freebsd-lib-6.1-r0, 6.1-RELEASE i386) ================================================================= System uname: 6.1-RELEASE i386 i386 Gentoo Base System version 20060420 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: [Not Present] 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/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 6.1 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd6.1" CFLAGS="-march=i586 -O2 -pipe" CHOST="i686-gentoo-freebsd6.1" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-march=i586 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd X bzip crypt cups dri ffmpeg gdbm gif gtk gtk2 icq ipv6 jabber jpeg mikmod mp3 msn ncurses nls offensive ogg oscar oss pam perl png python readline spell ssl tcpd truetype unicode usb vorbis win32codecs xml xorg xv zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD userland_BSD video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS ---- emergeing with win32codecs, xv, ogg and vorbis useflags disabled gives the same result.
totem-2.6.15 should work fine