Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161248 - libgpod-0.4.0 fails to emerge using automake 1.10, works with automake 1.7.9
Summary: libgpod-0.4.0 fails to emerge using automake 1.10, works with automake 1.7.9
Status: RESOLVED DUPLICATE of bug 160025
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 01:26 UTC by James Athey
Modified: 2007-01-15 21:29 UTC (History)
2 users (show)

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


Attachments
patch to add WANT_AUTOMAKE="1.7" to the ebuild (libgpod-0.4.0.ebuild.patch,329 bytes, patch)
2007-01-10 01:29 UTC, James Athey
Details | Diff
libgpod-use-eautoreconf.patch (libgpod-use-eautoreconf.patch,419 bytes, patch)
2007-01-10 08:54 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Athey 2007-01-10 01:26:43 UTC
The URL points to an excellent detailed description of the problem from another user.  Using automake 1.10, libgpod-0.4.0 fails to build, dying at the automake stage.

I was able to build it by adding WANT_AUTOMAKE="1.7" to the ebuild, which allowed it to finish emerging without incident.


Reproducible: Always

Steps to Reproduce:
Comment 1 James Athey 2007-01-10 01:29:46 UTC
Created attachment 106288 [details, diff]
patch to add WANT_AUTOMAKE="1.7" to the ebuild
Comment 2 James Athey 2007-01-10 01:31:04 UTC
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Tue, 09 Jan 2007 05:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r4
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.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
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 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acpi aim alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amd64 apm arts athena audiofile avi bash-completion bitmap-fonts bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt css cups dbus dga dhcp divx4linux dlloader dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode exif faad fam fame fbcon ffmpeg fftw firefox flac font-server fuse gif glitz glut gpm gtk gtk2 hal iconv icq imagemagick imap imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipod isdnlog jabber jack javascript joystick jpeg kde kernel_linux lcms ldap libg++ lzo mad mbox mmap mng mp3 mpeg mplayer mppe-mppc ncurses network nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis openal openexr opengl pam pcre pda pdf pdflib perl pic png portaudio ppds pppd python qt qt3 quicktime rdesktop readline reflection rtc rtsp samba scanner sdl session sndfile speex spell spl ssl subversion svg symlink sysfs tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_nv video_cards_nvidia video_cards_vesa videos vorbis wifi wmf wxwindows x264 xanim xml xml2 xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 07:42:11 UTC

*** This bug has been marked as a duplicate of bug 160025 ***
Comment 4 Ed Catmur 2007-01-10 08:28:39 UTC
Not a duplicate, bug 160025 is for libgpod-0.3.0 and -0.3.2-r1. This bug is libgpod-0.4.0.
Comment 5 Ed Catmur 2007-01-10 08:36:26 UTC
Suggested patch is incorrect; correct fix is to run aclocal -I m4.

Amended patch to follow.
Comment 6 Ed Catmur 2007-01-10 08:54:05 UTC
Created attachment 106322 [details, diff]
libgpod-use-eautoreconf.patch

Use AT_M4DIR="m4" eautoreconf.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 09:42:07 UTC
Seing the summary of the other bug being "media-libs/libgpod : broken autotools handling (cleanup ebuilds please)" please move all this autotools stuff there. No need to special-case this. It has bogus autoconf/automake dependencies and handles this all wrong.

Thanks!
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 09:43:49 UTC
(In reply to comment #6)
> Use AT_M4DIR="m4" eautoreconf.

You should also remove the unversioned automake/autoconf stuff from DEPEND (as well as redundant libtool one) and stick WANT_AUTO{CONF,MAKE}="latest" before inherit. But as said, lets handle this in one bug please. :)

Comment 9 Ed Catmur 2007-01-10 10:51:36 UTC
(In reply to comment #8)
> You should also remove the unversioned automake/autoconf stuff from DEPEND (as
> well as redundant libtool one) and stick WANT_AUTO{CONF,MAKE}="latest" before
> inherit. But as said, lets handle this in one bug please. :)

OK. cc'ing myself on bug 160025. Sorry + thanks.
Comment 10 brianw 2007-01-15 18:53:13 UTC
I tried the patch mentioned in comment 6 ( http://bugs.gentoo.org/show_bug.cgi?id=161248#c6 ), and It still failed to build for me.

emerge output:

monolith ~ # emerge amarok mozilla-firefox opera gwenview
Calculating dependencies... done!

>>> Emerging (1 of 30) media-libs/libgpod-0.4.0 to /
 * libgpod-0.4.0.tar.gz MD5 ;-) ...                                                                   [ ok ]
 * libgpod-0.4.0.tar.gz RMD160 ;-) ...                                                                [ ok ]
 * libgpod-0.4.0.tar.gz SHA1 ;-) ...                                                                  [ ok ]
 * libgpod-0.4.0.tar.gz SHA256 ;-) ...                                                                [ ok ]
 * libgpod-0.4.0.tar.gz size ;-) ...                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                [ ok ]
 * checking libgpod-0.4.0.tar.gz ;-) ...                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking libgpod-0.4.0.tar.gz to /var/tmp/portage/libgpod-0.4.0/work
 * Applying libgpod-0.4.0-test-nogdk.patch ...                                                        [ ok ]
 * Running eautoreconf in '/var/tmp/portage/libgpod-0.4.0/work/libgpod-0.4.0' ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.61
 * Using autoheader (GNU Autoconf) 2.61
 * Requested automake latest: 1.10
 * Using automake (GNU automake) 1.10
 * Using aclocal (GNU automake) 1.10
 * Running aclocal -I m4 ...                                                                          [ ok ]
 * Running libtoolize --copy --force --automake ...                                                   [ ok ]
 * Running aclocal -I m4 ...                                                                          [ ok ]
 * Running autoconf ...                                                                               [ ok ]
 * Running autoheader ...                                                                             [ ok ]
 * Running automake --add-missing --copy ...                                                          [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libgpod-0.4.0/temp/automake-6117.out


!!! ERROR: media-libs/libgpod-0.4.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  libgpod-0.4.0.ebuild, line 34:   Called eautoreconf
  autotools.eclass, line 94:   Called eautomake
  autotools.eclass, line 195:   Called autotools_run_tool 'automake' '--add-missing' '--copy'
  autotools.eclass, line 256:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.

monolith ~ # cat /var/tmp/portage/libgpod-0.4.0/temp/automake-6117.out
***** automake *****

gtk-doc.make:7: GTK_DOC_USE_LIBTOOL does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:74:   `gtk-doc.make' included from here
gtk-doc.make:43: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:74:   `gtk-doc.make' included from here
gtk-doc.make:136: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
docs/reference/Makefile.am:74:   `gtk-doc.make' included from here
tests/Makefile.am:38: compiling `test-photos.c' with per-target flags requires `AM_PROG_CC_C_O' in `configur                                                 e.ac'


monolith ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) MP 2800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 10 Jan 2007 01:47:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol amr berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cpudetection cracklib crypt cups curl dbus dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode fam firefox flac fortran fpx gd gdbm gif gpm graphviz gs gstreamer hal iconv ifp imlib input_devices_keyboard input_devices_mouse ipod isdnlog java jbig jpeg jpeg2k kde kernel_linux kipi lcms ldap libg++ mad mikmod mmx mng mozbranding mp3 mpeg mplayer mtp musicbrainz mysql ncurses njb nls nptl nptlonly nsplugin ogg opengl pam pcre perl png ppds pppd python qt3 quicktime readline real reflection samba sdl session spell spl sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_i810 video_cards_vesa vidix visualization vorbis win32codecs wmf x264 xforms xine xml xorg xscreensaver xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 11 Ed Catmur 2007-01-15 21:29:23 UTC
See bug 160025.