Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335551 - app-admin/apache-tools-2.2.16 fails to emerge
Summary: app-admin/apache-tools-2.2.16 fails to emerge
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 14:12 UTC by Kevin O'Gorman
Modified: 2011-09-01 08:00 UTC (History)
3 users (show)

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


Attachments
Complete build log (build.log,17.74 KB, text/plain)
2010-09-04 00:55 UTC, Kevin O'Gorman
Details
output of 'emerge --info =app-admin/apache-tools-2.2.16', (einfo.txt,4.80 KB, text/plain)
2010-09-04 00:56 UTC, Kevin O'Gorman
Details
output of 'emerge -pqv =app-admin/apache-tools-2.2.16' (eout.txt,180 bytes, text/plain)
2010-09-04 00:57 UTC, Kevin O'Gorman
Details
build log for dev-libs/apr (apr-build.log,24.87 KB, text/plain)
2010-09-23 20:30 UTC, Blu3
Details
einfo for dev-libs/apr (apr-einfo.txt,3.76 KB, text/plain)
2010-09-23 20:34 UTC, Blu3
Details
apache-tools-2.2.16 build log after re-emerging libtool (build.log,22.77 KB, text/plain)
2010-12-17 15:46 UTC, Kevin O'Gorman
Details
environment for apache-tools-2.2.16 after re-emerging libtool (environment,99.99 KB, text/plain)
2010-12-17 15:47 UTC, Kevin O'Gorman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Gorman 2010-09-01 14:12:11 UTC
emerge fails.
I'm down to emerge wanting to build two apache packages, and the first one fails.  The command I used was

CFLAGS=  emerge -aDNVU world

/usr/bin/libtool --silent --mode=compile gcc -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I. -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/os/unix -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/server/mpm/prefork -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/http -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/filters -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/proxy -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/include -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/generators -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/mappers -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/database -I/usr/include/apr-1 -I/usr/include/db4.7 -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/ssl -I/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/modules/dav/main  -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[1]: *** [htpasswd.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16/support'
make: *** [all-recursive] Error 1
 * ERROR: app-admin/apache-tools-2.2.16 failed:
 *   emake support/ failed!
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2621:  Called die
 * The specific snippet of code:
 *       emake || die "emake support/ failed!"
 * 
 * If you need support, post the output of 'emerge --info =app-admin/apache-tools-2.2.16',
 * the complete build log and the output of 'emerge -pqv =app-admin/apache-tools-2.2.16'.
 * The complete build log is located at '/var/tmp/portage/app-admin/apache-tools-2.2.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/apache-tools-2.2.16/temp/environment'.
 * S: '/var/tmp/portage/app-admin/apache-tools-2.2.16/work/httpd-2.2.16'

>>> Failed to emerge app-admin/apache-tools-2.2.16, Log file:

>>>  '/var/tmp/portage/app-admin/apache-tools-2.2.16/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1. CFLAGS=  emerge -aDNVU world
2. Wait for error report
3. Cuss

Actual Results:  
Error report

Expected Results:  
A new version of apache

I'm doing the CFLAGS= because of trouble I had with a different package.  Because of the portability issues in my main work, my CFLAGS contains -ansi, and
is otherwise pretty specific, and not appropriate for all utilities.

treat kevin # CFLAGS= emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1-kosmanor i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-kosmanor-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 31 Aug 2010 07:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS=""
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-m32"
LINGUAS="en en_US fr de es pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa apache2 apm bash-completion bcmath berkdb branding bzip2 cairo calendar caps cdr cli consolekit cracklib crypt cscope ctype cups cxx dbm dbus dri dts dvd dvdr emboss encode exif fam fastcgi flac foomaticdb fortran gdbm gif git gphoto2 gpm gtk guile hal iconv icq imap imlib ipv6 java jbig joystick jpeg kde lcms ldap libnotify libwww mad mailwrapper mbox mcal mikmod mime mmap mmx mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp oscar pam pango pcre pdf perl pic plotutils png posix postgres ppds pppd python qt3support qt4 readline reflection ruby samba sdl session snmp sockets spell spl sse ssl startup-notification subversion svg svga symlink sysfs sysvipc tcpd tetex tiff tk truetype unicode usb vorbis x264 x86 xml xorg xpm xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr de es pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64 vesa" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-09-02 19:13:48 UTC
Please attach the entire build log.
Comment 2 Kevin O'Gorman 2010-09-04 00:55:21 UTC
Created attachment 245914 [details]
Complete build log

As requested
Comment 3 Kevin O'Gorman 2010-09-04 00:56:30 UTC
Created attachment 245915 [details]
output of 'emerge --info =app-admin/apache-tools-2.2.16',
Comment 4 Kevin O'Gorman 2010-09-04 00:57:32 UTC
Created attachment 245917 [details]
output of 'emerge -pqv =app-admin/apache-tools-2.2.16'
Comment 5 Kevin O'Gorman 2010-09-04 01:18:20 UTC
Because of some things I learned about portage vs. environment, the attachments were run in a wrapper that unsets CFLAGS, and thus gets emerge to run with the
version from /etc/make.conf.
Comment 6 Blu3 2010-09-23 20:28:23 UTC
apr fails to compile as well; i'll attach the build log.  it's the same failure.

make[1]: Entering directory `/var/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2'
/bin/bash /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=i686 -mtune=i686 -pipe -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I./include -I/var/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include/arch/unix -I./include/arch/unix -I/var/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include/arch/unix -I/var/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include  -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[1]: *** [passwd/apr_getpass.lo] Error 1
Comment 7 Blu3 2010-09-23 20:30:34 UTC
Created attachment 248469 [details]
build log for dev-libs/apr

shows same libtool build failure
Comment 8 Blu3 2010-09-23 20:34:07 UTC
Created attachment 248473 [details]
einfo for dev-libs/apr
Comment 9 Blu3 2010-09-24 15:39:47 UTC
the fix appears to just be re-emerge libtool
Comment 10 Kevin O'Gorman 2010-12-17 15:44:28 UTC
(In reply to comment #9)
> the fix appears to just be re-emerge libtool
> 

I tried that, then unmasked apache- and apache-tools-2.2.16, and got failures requiring 3 new USE flags among 47 new ebuilds.  Then I told it to emerge apache, and it got through a lot of stuff, but still stopped on apache-tools.

Here's information on the latest failure (Dec 17 2010) (see also new attachments):

treat kevin # emerge -pqv =app-admin/apache-tools-2.2.16
[ebuild     U ] app-admin/apache-tools-2.2.16 [2.2.15] USE="ssl" 


treat kevin # emerge --info =app-admin/apache-tools-2.2.16
Portage 2.1.9.24 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r1-kosmanor i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r1-kosmanor-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-gentoo-1.12.14
Timestamp of tree: Thu, 16 Dec 2010 08:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.1.2, 4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPPFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse -msse2 -mmmx"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="en en_US fr de es pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_BZIP2_COMMAND="/bin/bzip2"
PORTAGE_COMPRESS="/bin/bzip2"
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"
PORTDIR_OVERLAY="/usr/local/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa apache2 apm bash-completion bcmath berkdb branding bzip2 cairo calendar caps cdr cli consolekit cracklib crypt cscope ctype cups cxx dbm dbus dri dts dvd dvdr emboss encode exif fam fastcgi flac foomaticdb fortran gdbm gif git gphoto2 gpm gtk guile hal iconv icq imap imlib ipv6 java jbig joystick jpeg kde lcms ldap libnotify libwww mad mailwrapper mbox mcal mikmod mime mmap mmx mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp oscar pam pango pcre pdf perl pic plotutils png posix postgres ppds pppd python qt3support qt4 readline ruby samba sdl session snmp sockets spell sse ssl startup-notification subversion svg svga symlink sysfs sysvipc tcpd tetex tiff tk truetype unicode usb vorbis x264 x86 xcb xml xorg xpm xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" 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" LINGUAS="en en_US fr de es pl" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64 vesa" 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:  CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

treat kevin # 
Comment 11 Kevin O'Gorman 2010-12-17 15:46:41 UTC
Created attachment 257424 [details]
apache-tools-2.2.16 build log after re-emerging libtool
Comment 12 Kevin O'Gorman 2010-12-17 15:47:34 UTC
Created attachment 257426 [details]
environment for apache-tools-2.2.16 after re-emerging libtool
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2011-09-01 08:00:21 UTC
Is this still a problem with app-admin/apache-tools-2.2.20? There was a thread on libtool mailing list that explains possible root of this problem:

http://www.mail-archive.com/libtool@gnu.org/msg08036.html