Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271022 - media-libs/libmp4v2-1.5.0.1-r2 won't compile: Failed running autoconf
Summary: media-libs/libmp4v2-1.5.0.1-r2 won't compile: Failed running autoconf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 05:49 UTC by Gregg Casillo
Modified: 2009-05-29 18:34 UTC (History)
4 users (show)

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


Attachments
autoconf.out (autoconf.out,653 bytes, text/plain)
2009-05-29 08:52 UTC, Viktor S
Details
build.log (build.log,1.87 KB, text/plain)
2009-05-29 08:53 UTC, Viktor S
Details
emerge --info (emerge.info,3.03 KB, text/plain)
2009-05-29 08:53 UTC, Viktor S
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregg Casillo 2009-05-24 05:49:26 UTC
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
Comment 1 Gregg Casillo 2009-05-24 07:48:59 UTC
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.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-24 09:11:20 UTC
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.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-24 09:14:15 UTC
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
Comment 4 Pablo Cholaky 2009-05-27 21:40:37 UTC
That should not be a dependence...

Why now? Maybe a gtk flag must be needed... im not going to install gtk+
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-27 21:53:31 UTC
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
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-05-28 13:05:02 UTC
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.
Comment 7 Viktor S 2009-05-28 18:37:30 UTC
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?
Comment 8 Viktor S 2009-05-29 08:52:32 UTC
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
Comment 9 Viktor S 2009-05-29 08:52:58 UTC
Created attachment 192829 [details]
autoconf.out
Comment 10 Viktor S 2009-05-29 08:53:23 UTC
Created attachment 192830 [details]
build.log
Comment 11 Viktor S 2009-05-29 08:53:45 UTC
Created attachment 192831 [details]
emerge --info
Comment 12 Olivier Crete (RETIRED) gentoo-dev 2009-05-29 11:55:00 UTC
suggested solution, get rid of the libmp4v2 package and use the version in faad2, sine libmp4v2 is sadly no longer maintained upstream...
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-29 12:01:17 UTC
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).
Comment 14 Olivier Crete (RETIRED) gentoo-dev 2009-05-29 13:24:18 UTC
I think those packages can be built against faad2 too
Comment 15 Jesús Guerrero Botella (RETIRED) gentoo-dev 2009-05-29 13:47:43 UTC
It still fails for me too. Same error so I won't paste redundant logs unless asked to.
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-29 13:52:47 UTC
The ebuild's revision where this should be fixed is 1.3 (head -n3 of the ebuild file).
Comment 17 Viktor S 2009-05-29 18:34:37 UTC
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!