Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467052 - media-libs/glu-9.0.0: invalid use of autotools
Summary: media-libs/glu-9.0.0: invalid use of autotools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-24 07:25 UTC by Szef
Modified: 2015-05-27 21:31 UTC (History)
3 users (show)

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


Attachments
emerge --info (emergeinfo,5.72 KB, text/plain)
2013-05-10 05:34 UTC, Peter Fox
Details
Build.log for media-libs/glu (build.log,2.22 KB, text/plain)
2013-05-10 05:34 UTC, Peter Fox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szef 2013-04-24 07:25:09 UTC
due to missing automake dependency

/var/tmp/portage/media-libs/glu-9.0.0/temp/build.log
 * Package:    media-libs/glu-9.0.0
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 consolekit elibc_glibc kernel_linux policykit userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking glu-9.0.0.tar.bz2 to /var/tmp/portage/media-libs/glu-9.0.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/glu-9.0.0/work
>>> Preparing source in /var/tmp/portage/media-libs/glu-9.0.0/work/glu-9.0.0 ...
 * Running eautoreconf in '/var/tmp/portage/media-libs/glu-9.0.0/work/glu-9.0.0' ...
 * ERROR: media-libs/glu-9.0.0 failed (prepare phase):
 *   Cannot find the latest automake! Tried 1.12:1.12
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3103:  Called autotools-utils_src_prepare
 *   environment, line  634:  Called eautoreconf
 *   environment, line  966:  Called _elibtoolize '--install' '--copy' '--force'
 *   environment, line  367:  Called autotools_run_tool 'libtoolize' '--install' '--copy' '--force' '--automake'
 *   environment, line  719:  Called autotools_env_setup
 *   environment, line  680:  Called die
 * The specific snippet of code:
 *           [[ ${WANT_AUTOMAKE} == "latest" ]] && die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE}";
 * 
 * If you need support, post the output of `emerge --info '=media-libs/glu-9.0.0'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/glu-9.0.0'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 215: wait: `Cannot find the latest automake! Tried 1.12:1.12': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/media-libs/glu-9.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/glu-9.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/glu-9.0.0/work/glu-9.0.0'
 * S: '/var/tmp/portage/media-libs/glu-9.0.0/work/glu-9.0.0'


emerge --info media-libs/glu
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop/kde, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-_i5-3550_CPU_@_3.30GHz-with-gentoo-2.1
KiB Mem:     8078708 total,   1531700 free
KiB Swap:    8388604 total,   7907988 free
Timestamp of tree: Mon, 22 Apr 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo calculate
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ http://ftp.corbina.net/pub/Linux/gentoo/ ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/calculate-http"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US ru" NETBEANS_MODULES="apisupport cnd ide nb profiler xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

After automake update it has emerged succesfully, but with strange message:
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/lib64/libGLU.so
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'media-libs/glu-9.0.0' merged despite file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
Comment 1 Peter Fox 2013-05-10 05:31:54 UTC
I got this doing an emerge -ev world. I'll attach my emerge --info and build.log.
Comment 2 Peter Fox 2013-05-10 05:34:08 UTC
Created attachment 347894 [details]
emerge --info
Comment 3 Peter Fox 2013-05-10 05:34:51 UTC
Created attachment 347896 [details]
Build.log for media-libs/glu
Comment 4 Peter Fox 2013-05-10 05:47:24 UTC
Automake 1.12 is marked unstable, yet autotools.eclass regards it as 'latest'.

What gives?
Comment 5 Peter Fox 2013-05-10 05:53:34 UTC
Cancel the above comment. My eix database is out of date. However, automake:1.12 is a new slot and hasn't yet been built which might explain a bit.
Comment 6 Róbert Čerňanský 2013-07-09 05:27:16 UTC
Same here when updating after almost a year; more than 700 packages to update.  Automake 1.11.6 was installed when glu gets updated and failed.  After 'emerge -1 automake' which installed ver. 1.12.6 into a new slot, glu gets updated successfully.
Comment 7 Pacho Ramos gentoo-dev 2015-05-24 13:20:39 UTC
I just hit this with a different package when updating a system I haven't touched for more than a month. Looks like something occurs when doing the full emerge -avuDN world and, for some reason, the eclass doesn't try the latest INSTALLED version, but the latest available one (1.14 now in stable) and neither pulls in the installation of new automake before it tries to run eautoreconf:
 * Package:    dev-libs/nettle-2.7.1-r1
 * Repository: gentoo
 * Maintainer: crypto@gentoo.org
 * USE:        abi_x86_32 abi_x86_64 amd64 elibc_glibc gmp kernel_linux userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking nettle-2.7.1.tar.gz to /var/tmp/portage/dev-libs/nettle-2.7.1-r1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/nettle-2.7.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1 ...
 * Applying nettle-2.7-shared.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1' ...
 * ERROR: dev-libs/nettle-2.7.1-r1::gentoo failed (prepare phase):
 *   Cannot find the latest automake! Tried 1.14.1:1.14 1.15:1.15
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3336:  Called eautoreconf
 *   environment, line 1046:  Called eautoconf '--force'
 *   environment, line  959:  Called autotools_run_tool '--at-m4flags' 'autoconf' '--force'
 *   environment, line  770:  Called autotools_env_setup
 *   environment, line  728:  Called die
 * The specific snippet of code:
 *           [[ ${WANT_AUTOMAKE} == "latest" ]] && die "Cannot find the latest automake! Tried ${_LATEST_AUTOMAKE[*]}";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/nettle-2.7.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/nettle-2.7.1-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1'
 * S: '/var/tmp/portage/dev-libs/nettle-2.7.1-r1/work/nettle-2.7.1'
Comment 8 Pacho Ramos gentoo-dev 2015-05-24 13:21:21 UTC
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.4, glibc-2.20-r2, 3.17.8-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.17.8-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3612QM_CPU_@_2.10GHz-with-gentoo-2.2
KiB Mem:     8079056 total,   2410080 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Sat, 23 May 2015 00:45:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.4::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fno-stack-protector"
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --jobs=9  --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avx avx256 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss enchant encode evo exif fam fat firefox flac fortran fuse gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtkstyle http iconv infinality introspection ipv6 jpeg kpathsea lcms ldap libnotify libsecret mad mmx mmxext mng modemmanager modules monolithic-build mp3 mp4 mpeg multilib nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa ogg opengl openmp pam pango pch pdf png policykit ppds pulseaudio qt3support readline reiserfs scanner sdl session smp sna spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb v4l vaapi vorbis wifi wxwidgets x264 xattr xcb xfs xml xv xvid youtube zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 9 SpanKY gentoo-dev 2015-05-24 14:00:16 UTC
not a bug in autotools.eclass.  if you use other eclasses that explicitly disable the DEPEND settings and don't write the ebuilds according to those eclasses, then that ebuild is wrong.  certainly glu & nettle are broken.

from autotools-utils.eclass:
[[ ${AUTOTOOLS_AUTORECONF} ]] || : ${AUTOTOOLS_AUTO_DEPEND:=no}

feel free to file new bugs for each broken package.
Comment 10 Pacho Ramos gentoo-dev 2015-05-27 21:31:23 UTC
OK, thanks

nettle is already fixed (but pending stabilization in other bug) and glu-9.0.0-r1 looks to handle eautoreconf properly