I cannot compile vdr-softdevice for a time now. Here is the build error: >>> Compiling source in /var/tmp/portage/vdr-softdevice-0.2.3.20060511-r7/work/softdevice-0.2.3a ... Package theora was not found in the pkg-config search path. Perhaps you should add the directory containing `theora.pc' to the PKG_CONFIG_PATH environment variable Package 'theora', required by 'libavcodec', not found A more recent (cvs) version of ffmpeg is required to run configure make: *** No rule to make target `vidixlib.h', needed by `softdevice.o'. Stop. !!! ERROR: media-plugins/vdr-softdevice-0.2.3.20060511-r7 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile vdr-softdevice-0.2.3.20060511-r7.ebuild, line 97: Called vdr-plugin_src_compile vdr-plugin.eclass, line 222: Called vdr-plugin_src_compile 'prepare' 'compile' vdr-plugin.eclass, line 233: Called die I have the following vdr realted packages installed: gaya ~ # equery l vdr [ Searching for package 'vdr' in all categories among: ] * installed packages [I--] [M~] media-plugins/vdr-softdevice-0.2.3.20060511-r5 (0) [I--] [ ] media-tv/gentoo-vdr-scripts-0.3.4-r1 (0) [I--] [ ] media-tv/vdrplugin-rebuild-0.1 (0) [I--] [ ] media-video/vdr-1.4.0-r1 (0) emerge --info: Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] 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: 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-r3 sys-devel/gcc-config: 1.3.13-r3 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 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inf.elte.hu/ http://gentoo.inode.at http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="hu 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups devmap dga dlloader doc dri dts dv dvb dvd dvdr edl emacs emboss encode fam fbcon ffmpeg firefox flac foomaticdb freetype gdbm gecko-sdk gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jce jpeg libcaca libg++ libwww mad matroska mikmod mmx mmxext mono motif mozsvg mozxmlterm mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline real reflection rtc samba sdl session spell spl sse ssl svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd vorbis win32codecs xanim xml xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_hu linguas_en userland_GNU video_cards_fglrx video_cards_radeon video_cards_v4l" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
For me this seems like you have a not working ffmpeg-library. Something like having ffmpeg with theora support and having updated theora but not recompiled ffmpeg. Either try using revdep-rebuild or emerge ffmpeg.
I tried that already, the last time I merged libtheora was: Fri Jul 21 09:41:26 2006 >>> media-libs/libtheora-1.0_alpha3 merge time: 1 minute and 9 seconds. And ffmpeg: Fri Jul 21 09:47:19 2006 >>> media-video/ffmpeg-0.4.9_p20051216 merge time: 5 minutes and 53 seconds. I have theora in my use flags (see emerge --info). Revdep-rebuild don't show any problem with the ffmpeg install (azureus is binary install, and the gcj la thing is not solved by a rebuild..) gaya portage # revdep-rebuild -p Configuring search environment for revdep-rebuild Checking reverse dependencies... Packages containing binaries and libraries broken by a package update will be emerged. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/lib/azureus/libswt-cairo-gtk-3139.so (requires libcairo.so.1) broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la) broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la) broken /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.6/lib-org-w3c-dom.la (requires /usr/lib/libgcj.la) broken /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.6/lib-org-xml-sax.la (requires /usr/lib/libgcj.la) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot -p =sys-devel/gcc-3.4.6-r1 =net-p2p/azureus-bin-2.4.0.2 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-3.4.6-r1 USE="-test%" [ebuild R ] net-p2p/azureus-bin-2.4.0.2 Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
Updating to libtheora-1.0_alpha6-r1 helps as that version provides a pkg-config file.
*** Bug 142474 has been marked as a duplicate of this bug. ***
Added a check for this condition to ebuild, it will just die then to prevent the error.
Okay I know this sounds silly to reopen a six years old bug, but this fix was incorrect. Now the || () construct that the built_with_use was turned into is causing my tinderbox to complain. Can we please fix this in the proper way (which means making sure that libav/ffmpeg are depending on a new enough theora with that pkg-config file) and depend on a newer virtual? Thank you, Diego
removed from tree... 08/Jan/2014