I am trying to build a KDE-4.2.3 desktop for my new netbook. In trying to circumvent bug #270188, I attempted to install phonon-4.3.1. However, I am getting stuck on libmp4v2-1.5.0.1-r2 with the following error: >>> Emerging (1 of 1) media-libs/libmp4v2-1.5.0.1-r2 * mpeg4ip-1.5.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mpeg4ip-1.5.0.1.tar.gz to /var/tmp/portage/media-libs/libmp4v2-1.5.0.1-r2/work * Applying libmp4v2-1.5.0.1+glibc-2.10.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-libs/libmp4v2-1.5.0.1-r2/work/mpeg4ip-1.5.0.1' ... * Running aclocal ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf ... [ !! ] * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/media-libs/libmp4v2-1.5.0.1-r2/temp/autoconf.out The contents of that autoconf.out are as follows: ***** autoconf ***** ***** PWD: /var/tmp/portage/media-libs/libmp4v2-1.5.0.1-r2/work/mpeg4ip-1.5.0.1 ***** autoconf configure.in:269: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ../../lib/autoconf/specific.m4:386: AC_USE_SYSTEM_EXTENSIONS is expanded from... ../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from... configure.in:269: the top level configure.in:269: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS configure.in:645: error: possibly undefined macro: AM_PATH_GTK_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. Reproducible: Always Steps to Reproduce: 1. attempt to emerge a KDE-4.2.3 desktop (kdebase-startkde and others) 2. emerge gets to libmp4v2 3. libmp4v2 autoconf fails emerge --info: Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.28-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.0 Timestamp of tree: Sat, 23 May 2009 22:30:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-lang/python: 2.5.4-r2, 2.6.2 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amarok asf audiofile avi bash-completion berkdb bluetooth branding bzip2 cdr cli cracklib crypt ctype cups dbus dirac dlloader dri dts encode faac faad fam ffmpeg firefox flac foomaticdb frontendonly ftp gdbm gif hal imap imlib innodb ip4100 isdnlog joystick jpeg kde kdehiddenvisibility kdeprefix lcms libg++ libwww live lm_sensors logrotate mad maildir matroska midi mikmod mime mmx mmxext mng mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pcre pdf perl plasma png postgres ppds python qt3support qt4 quicktime readline reflection samba sasl scanner sdl semantic-desktop session smp speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog taglib tcpd theora tiff transcode truetype unicode usb vhosts vorbis webkit win32codecs x264 x86 xcomposite xine xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Taking the clue from the autoconf.out error, I decided to try installing gtk+-2.16.1 to see if that might satisfy libmp4v2. Sure enough, libmp4v2-1.5.0.1-r2 compiled successfully and emerged. If someone can make gtk+ a dependency for the libmp4v2 ebuild, I think this will resolve the problem.
I can only assume AT_NO_RECURSIVE="yes" in the ebuild isn't working, and now it requires >=x11-libs/gtk+-2 to compile for correct aclocal macro.
It's possible to change the AM_PATH_GTK_2_0 to a pkg-config call, this was you won't need the depend and can only add dev-util/pkgconfig to buildtime deps. I've done this in e.g. gentoo-x86/media-video/xvattr/files/xvattr-1.3-gtk.patch
That should not be a dependence... Why now? Maybe a gtk flag must be needed... im not going to install gtk+
Give me a few minutes and I'll get to it, easy way out: just remove the call, we don't give a damn about gtk+ in that package :p
28 May 2009; Diego E. Pettenò (flameeyes) libmp4v2-1.5.0.1-r2.ebuild: Don't try to look for the glib/gtk autoconf macros, not needed and causes additional deps. I guess this is fixed, reopen if not.
I've synced just now (with several different servers) and the problem still exists. Given that it was 7 hours ago this bug was closed I think the fix Diego made should've reached out by now. The error message is the same as before. Reopen?
I'll restate that this is not fixed yet. I'll attatch my emerge --info and the buildlog, but it's basically the same. Steps to reproduce: 1. Emerge libmp4v2 2. Autoconf fails
Created attachment 192829 [details] autoconf.out
Created attachment 192830 [details] build.log
Created attachment 192831 [details] emerge --info
suggested solution, get rid of the libmp4v2 package and use the version in faad2, sine libmp4v2 is sadly no longer maintained upstream...
A few packages do depend on this still, until they can support something else... but I did fix this properly, I got the sed wrong the first time around (I didn't close the bug on purpose because I wasn't entirely sure I was awake enough when I did commit the first).
I think those packages can be built against faad2 too
It still fails for me too. Same error so I won't paste redundant logs unless asked to.
The ebuild's revision where this should be fixed is 1.3 (head -n3 of the ebuild file).
In my case it is mplayer that's depending on this library, I'm not 100% sure since I'm not at the computer in question but a not too far fetched guess would be the mp4 USE-flag. This is for a headless server, thus emerging GTK+ is not really an option since that'd pull several x11 libraries too. I'll check this when I get home tomorrow but the sed line looks right now. Thanks a lot Diego!