Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419685 - net-proxy/squid-3.1.19 - eautoreconf in src_prepare() fails in libltdl/
Summary: net-proxy/squid-3.1.19 - eautoreconf in src_prepare() fails in libltdl/
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
: 447698 461232 461826 482622 (view as bug list)
Depends on: 529404
Blocks:
  Show dependency tree
 
Reported: 2012-06-05 03:58 UTC by Ricardo
Modified: 2014-11-21 10:03 UTC (History)
13 users (show)

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


Attachments
emerge --info Output (file_419685.txt,4.45 KB, text/plain)
2012-06-23 21:07 UTC, Hummerman
Details
automake-1.out (automake-1.out,1.84 KB, text/plain)
2012-12-20 21:09 UTC, Serge
Details
emerge output (sk.txt,4.98 KB, text/plain)
2012-12-20 21:09 UTC, Serge
Details
build log (build.log,4.16 KB, text/plain)
2012-12-20 21:10 UTC, Serge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo 2012-06-05 03:58:30 UTC
autoconf issue

Reproducible: Always

Steps to Reproduce:
# emerge squid
Actual Results:  
# emerge squid
Calculating dependencies... done!

>>> Verifying ebuild manifests
>>> Running pre-merge checks for net-proxy/squid-3.1.19

>>> Emerging (1 of 1) net-proxy/squid-3.1.19
 * squid-3.1.19.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking squid-3.1.19.tar.gz to /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Source unpacked in /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Preparing source in /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19 ...
 * Applying squid-3.1.15-gentoo.patch ...                                                                                            [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 * Running libtoolize --install --copy --force --automake ...                                                                        [ ok ]
 * Running aclocal -I m4 ...                                                                                                         [ ok ]
 * Running autoconf ...                                                                                                              [ ok ]
 * Running autoheader ...                                                                                                            [ ok ]
 * Running automake --add-missing --copy --foreign ...                                                                               [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 * Running aclocal ...                                                                                                               [ ok ]
 * Running autoconf ...                                                                                                              [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out

 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   Failed Running autoconf !
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3788:  Called eautoreconf
 *   environment, line 1091:  Called eautoreconf
 *   environment, line 1117:  Called eautoconf
 *   environment, line 1045:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  629:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of `emerge --info '=net-proxy/squid-3.1.19'`,
 * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.1.19'`.
 * The complete build log is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/environment'.
 * Working directory: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth'
 * S: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19'

>>> Failed to emerge net-proxy/squid-3.1.19, Log file:

>>>  '/var/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'

 * Messages for package net-proxy/squid-3.1.19:

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out
 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   Failed Running autoconf !
 *
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3788:  Called eautoreconf
 *   environment, line 1091:  Called eautoreconf
 *   environment, line 1117:  Called eautoconf
 *   environment, line 1045:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  629:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of `emerge --info '=net-proxy/squid-3.1.19'`,
 * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.1.19'`.
 * The complete build log is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/environment'.
 * Working directory: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth'
 * S: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19'

Expected Results:  
emerge failed

Portage 2.1.10.65 (default/linux/amd64/10.0/server, gcc-4.6.3, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770T_CPU_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Tue, 05 Jun 2012 01:30:01 +0000
app-shells/bash:          4.2_p29
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/bash /etc/ca-certificates.conf /etc/env.d /etc/eselect /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/hotplug.d /etc/init.d /etc/modprobe.d /etc/pam.d /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/ssl /etc/terminfo /etc/udev"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org/"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/pkgfiles"
PORTAGE_COMPRESS="gzip"
PORTAGE_COMPRESS_FLAGS=""
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=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X amd64 berkdb bzip2 cjk cracklib crypt cxx extensions fts3 gdbm gmp hpn hwdb iconv jit keymap lzma multilib ncurses net nls nptl openrc pam pcre pcre16 pic readline recursion-limit rfc3779 rule_generator secure-delete sha512 sqlite ssl symlink threads threadsafe tk tools udev unicode unlock-notify xml zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias asis auth_basic authn_default authn_file authz_default authz_groupfile authz_host authz_user cgid dir env filter include log_config mime negotiation rewrite setenvif" APACHE2_MPMS="worker" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en" PHP_TARGETS="php5-4" RUBY_TARGETS="ree18" USERLAND="GNU" VIDEO_CARDS="i965 intel"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ricardo 2012-06-05 03:59:49 UTC
# echo 'sys-devel/automake -~amd64' >>/etc/portage/package.keywords
# emerge =sys-devel/automake-1.11.1 squid
Success.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-05 12:42:07 UTC
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out
Comment 3 Hummerman 2012-06-23 21:07:56 UTC
Created attachment 316103 [details]
emerge --info Output

 * Package:    net-proxy/squid-3.1.19
 * Repository: gentoo
 * Maintainer: net-proxy@gentoo.org
 * USE:        amd64 elibc_glibc epoll ipv6 kernel_linux logrotate multilib pam snmp ssl userland_GNU
 * FEATURES:   sandbox

 This profile is merely a convenience for people who require a more
 minimal profile, yet are unable to use hardened due to restrictions in
 the software being used on the server. If you seek a secure
 production server profile, please check the Hardened project
 (http://hardened.gentoo.org)

>>> Unpacking source...
>>> Unpacking squid-3.1.19.tar.gz to /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Source unpacked in /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Preparing source in /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19 ...
 *Applying squid-3.1.15-gentoo.patch ...
ok
 *Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 *Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 *Running aclocal ...
ok
 *Running autoconf ...
 *Running libtoolize --install --copy --force --automake ...
ok
 *Running autoheader ...
ok
 *Running automake --add-missing --copy ...
ok
ok
 *Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19' ...
 *Running aclocal -I m4 ...
 *Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/lib/libTrie' ...
 *Running aclocal ...
ok
 *Running libtoolize --install --copy --force --automake ...
ok
 *Running autoconf ...
ok
 *Running autoheader ...
 *Running autoconf ...
!!

  Failed Running autoconf !
  
  Include in your bugreport the contents of:
  
    /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-2.out

  ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
    Failed Running autoconf !
  
  Call stack:
      ebuild.sh, line   85:  Called src_prepare
    environment, line 4056:  Called eautoreconf
    environment, line 1154:  Called multijob_child_init 'eautoreconf'
    Running automake --add-missing --copy ...
    environment, line 3347:  Called eautoreconf
    environment, line 1180:  Called eautoconf
    environment, line 1103:  Called autotools_run_tool '--at-m4flags' 'autoconf'
    environment, line  706:  Called die
  The specific snippet of code:
            die "Failed Running $1 !";
 

###########################


***** autoconf *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl
***** autoconf

autoconf-2.68: error: no input file
Comment 4 Chris Williams 2012-07-22 04:35:54 UTC
This is a me too post with a possible cause.  The emerge info, build log and autoconf out file of the failed build are below.   I noticed the '<unknown repository>' against copies of autoconf and automake so I did some housekeeping and removed versions no longer in the ebuild repo.  After this Squid built cleanly.  Perhaps an old autoconf was picked up by the build and broke expectations?


# emerge --info '=net-proxy/squid-3.1.19'
Portage 2.1.10.65 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.3.8-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sat, 21 Jul 2012 22:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo x-layman
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="acl acpi apache2 berkdb bzip2 cli cracklib crypt cups curl cxx dri expat gdbm geoip gif gmp gpm iconv jpeg kpathsea logrotate mhash modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre php png pppd readline samba session spamassassin ssl syslog tcpd tiff truetype unicode vhosts x86 xml xml2 xorg 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" 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



# cat /var/tmp/portage/net-proxy/squid-3.1.19/temp/build.log
 * Package:    net-proxy/squid-3.1.19
 * Repository: gentoo
 * Maintainer: net-proxy@gentoo.org
 * USE:        elibc_glibc epoll kernel_linux logrotate mysql pam samba ssl userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking squid-3.1.19.tar.gz to /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Source unpacked in /var/tmp/portage/net-proxy/squid-3.1.19/work
>>> Preparing source in /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19 ...
 * Applying squid-3.1.15-gentoo.patch ...                                                                         [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                     [ ok ]
 * Running aclocal -I m4 ...
 * Running autoconf ...                                                                                           [ ok ]
 * Running autoheader ...                                                                                         [ ok ]
 * Running automake --add-missing --copy ...                                                                      [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19' ...
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/lib/libTrie' ...
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                     [ ok ]
 * Running autoconf ...
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory

 * No configure.{ac,in} present in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl'!

 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   No configure.{ac,in} present!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 4019:  Called eautoreconf
 *   environment, line 1143:  Called multijob_child_init 'eautoreconf'
 *   environment, line 3310:  Called eautoreconf
 *   environment, line 1169:  Called eautoconf
 *   environment, line 1090:  Called die
 * The specific snippet of code:
 *           die "No configure.{ac,in} present!";
 * 
 * If you need support, post the output of `emerge --info '=net-proxy/squid-3.1.19'`,
 * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.1.19'`.
/usr/lib/portage/bin/isolated-functions.sh: line 214: wait: `No configure.{ac,in} present!': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.1.19/temp/environment'.
 * Working directory: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl'
 * S: '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19'                                                 [ ok ]
 * Running autoheader ...                                                                                         [ ok ]
 * Running automake --add-missing --copy ...                                                                      [ ok ]



# cat /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out 
***** autoconf *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/lib/libTrie
***** autoconf
Comment 5 Chris Williams 2012-07-22 04:44:09 UTC
On closer inspection Hummerman's build issue and mine are similar but not identical.  For example, I do not have the error message requesting autoconf-1.out and Hummerman does not have the ancient autoconf tools.  Perhaps the autoconf version is still a clue though.
Comment 6 Hummerman 2012-08-01 16:24:20 UTC
After updating sys-apps/sed to Version 4.2.1-r1, emerging squid will be successful.
Comment 7 Christian Nilsson 2012-08-05 17:08:20 UTC
similar issues here, i have machines where it works just fine, and others with problems.

Not want to read all my tests here is what worked for me: remove MAKEOPTS="-j2" from make.conf

# emerge -pv1 sed autoconf automake automake-wrapper squid
Calculating dependencies... done!
[ebuild   R    ] sys-devel/automake-wrapper-7
[ebuild   R    ] sys-devel/autoconf-2.68  USE="-emacs"
[ebuild   R    ] sys-devel/automake-1.11.1
[ebuild   R    ] sys-apps/sed-4.2.1-r1  USE="acl nls (-selinux) -static"
[ebuild     U  ] net-proxy/squid-3.1.19 [2.7.4-r2] USE="epoll%* ipv6%* logrotate* pam snmp* ssl zero-penalty-hit* "

sed, autoconf, automake, automake-wrapper are all the same versions on both sucess and failing boxes.


First box #4 =======================================================
 * Applying squid-3.1.15-gentoo.patch ...                                                                                                                                                      [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                  [ ok ]
 * Running aclocal -I m4 ...
 * Running autoconf ...                                                                                                                                                                        [ ok ]
 * Running autoheader ...                                                                                                                                                                      [ ok ]
 * Running automake --add-missing --copy ...                                                                                                                                                   [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19' ...
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/lib/libTrie' ...                                                                                          [ ok ]
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                  [ ok ]
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory
egrep: configure.??: No such file or directory

 * No configure.{ac,in} present in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl'!

 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   No configure.{ac,in} present!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 4029:  Called eautoreconf
 *   environment, line 1152:  Called multijob_child_init 'eautoreconf'
 *   environment, line 3319:  Called eautoreconf
 *   environment, line 1178:  Called eautoconf
 *   environment, line 1099:  Called die
 * The specific snippet of code:
 *           die "No configure.{ac,in} present!";
 * 


and box #5 =======================================================

 * Applying squid-3.1.15-gentoo.patch ...                                                                                                                                                      [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 * Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                  [ ok ]
 * Running autoconf ...                                                                                                                                                                        [ ok ]
 * Running aclocal -I m4 ...                                                                                                                                                                   [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf.out

 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 4029:  Called eautoreconf
 *   environment, line 1152:  Called multijob_child_init 'eautoreconf'
 *   environment, line 3319:  Called eautoreconf
 *   environment, line 1178:  Called eautoconf
 *   environment, line 1101:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  704:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 

# cat /var/tmp/portage/net-proxy/squid-3.1.19/temp/autoconf.out
***** autoconf *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth
***** autoconf

configure.ac:20: error: possibly undefined macro: AM_MAINTAINER_MODE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


on box #2 =======================================================
 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-proxy/squid-3.1.19/temp/aclocal-2.out

# cat /var/tmp/portage/net-proxy/squid-3.1.19/temp/aclocal-2.out
***** aclocal *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl
***** aclocal

aclocal-1.11: `configure.ac' or `configure.in' is required

hmm this #2 now works again... and it even worked before this failure.
===================================================================


eselect python update --python3; eselect python update --python2; emerge -v1 autoconf automake automake-wrapper; env-update; source /etc/profile; python-updater -v; revdep-rebuild -v; emerge -v1 squid


finaly after this (or something else) #5 was able to run, but when trying again it fails.


hmm ok.... 
MAKEOPTS="-j2" removing this and it works for mer

on #2 i have MAKEOPTS="-j8" and that caused problems sometimes... but -j2 is really bad.
Comment 8 Paul Tobias 2012-08-18 13:08:12 UTC
Yess, removing MAKEOPTS="-j2" from /etc/make.conf fixed the issue for me. Here is the info from when it failed to build:


swamp ~ # emerge --info '=net-proxy/squid-3.1.19'
Portage 2.1.11.9 (default/linux/x86/10.0/server, gcc-4.5.3, glibc-2.15-r2, 3.5.2-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.2-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.1
Timestamp of tree: Fri, 17 Aug 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo swamp
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ http://mirror.ynet.sk/pub/gentoo/"
INSTALL_MASK="/media"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US hu sk"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 bash-completion bzip2 cli crypt ctype curl cxx domain-aware dri faillog ftp gd glibc-omitfp gnutls gpm hash iconv ignore-case imap ipv6 jpeg ldap-sasl logrotate lzma lzo mhash mmx modules mudflap mysqli mysqlnd nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax ncurses nonfsv4 nptl offensive openmp pam pcre png pppd rar readline sasl session snmp sse sse2 ssl tcpd truetype unicode urandom vim-syntax x86 xml zip 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 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 en_US hu sk" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

swamp ~ # emerge -pqv '=net-proxy/squid-3.1.19'
[ebuild     U ] net-proxy/squid-3.1.19 [3.1.8] USE="epoll ipv6 logrotate pam sasl ssl -caps -ecap -icap-client (-ipf-transparent) -kerberos (-kqueue) -ldap -mysql -nis (-pf-transparent) -postgres -radius -samba (-selinux) -snmp -sqlite -test -tproxy -zero-penalty-hit" 

swamp ~ # cat '/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'
 * Package:    net-proxy/squid-3.1.19
 * Repository: gentoo
 * Maintainer: net-proxy@gentoo.org
 * USE:        elibc_glibc epoll ipv6 kernel_linux logrotate pam sasl ssl userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking squid-3.1.19.tar.gz to /tmp/portage/net-proxy/squid-3.1.19/work
>>> Source unpacked in /tmp/portage/net-proxy/squid-3.1.19/work
>>> Preparing source in /tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19 ...
 * Applying squid-3.1.15-gentoo.patch ...                                                                                                                                                                                             [ ok ]
 * Running eautoreconf in '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/helpers/negotiate_auth/squid_kerb_auth' ...
 * Running eautoreconf in '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl' ...
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                                                         [ ok ]
 * Running aclocal -I m4 ...
 * Running autoconf ...                                                                                                                                                                                                               [ ok ]
 * Running autoheader ...                                                                                                                                                                                                             [ ok ]
 * Running automake --add-missing --copy ...                                                                                                                                                                                          [ ok ]
 * Running eautoreconf in '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19' ...
 * Running eautoreconf in '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/lib/libTrie' ...                                                                                                                                     [ ok ]
 * Running aclocal ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                                                         [ ok ]
 * Running autoconf ...                                                                                                                                                                                                               [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out

 * ERROR: net-proxy/squid-3.1.19 failed (prepare phase):
 *   Failed Running autoconf !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 4012:  Called eautoreconf
 *   environment, line 1135:  Called multijob_child_init 'eautoreconf'
 *   environment, line 3302:  Called eautoreconf
 *   environment, line 1161:  Called eautoconf
 *   environment, line 1084:  Called autotools_run_tool '--at-m4flags' 'autoconf'
 *   environment, line  687:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 * 
 * If you need support, post the output of `emerge --info '=net-proxy/squid-3.1.19'`,
 * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.1.19'`.
/usr/lib/portage/bin/isolated-functions.sh: line 214: wait: `Failed Running autoconf !': not a pid or valid job spec
 * The complete build log is located at '/tmp/portage/net-proxy/squid-3.1.19/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/net-proxy/squid-3.1.19/temp/environment'.
 * Working directory: '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl'
 * S: '/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19'
 * Running autoconf ...                                                                                                                                                                                                               [ ok ]
 * Running autoheader ...                                                                                                                                                                                                             [ ok ]
 * Running automake --add-missing --copy ... 

swamp ~ # cat /tmp/portage/net-proxy/squid-3.1.19/temp/autoconf-1.out
***** autoconf *****
***** PWD: /tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19/libltdl
***** autoconf

autom4te-2.68: configure.ac: no such file or directory
Comment 9 kasperion 2012-10-02 13:24:04 UTC
After cd'ing into /var/tmp/portage/net-proxy/squid-3.1.19/work/squid-3.1.19
and manually running ./configure && make && make install, it stops during the initial build phase.

Shows that libtool branch 2.4 is being used but it needs libtool 2.2.

 emerge =sys-devel/libtool-2.2.10
then
 emerge squid


Now working.
Comment 10 Jamie Learmonth 2012-11-03 06:46:19 UTC
Confirmed on stable system. Downgrading libtool hasn't helped in my case.


emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.38-xen x86_64)
=================================================================
System uname: Linux-2.6.38-xen-x86_64-Intel-R-_Xeon-R-_CPU_E5645_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 03 Nov 2012 06:15:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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=""
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage/"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre pppd readline session sse sse2 ssl tcpd unicode zlib" 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 11 Marcin Mirosław 2012-12-20 12:54:50 UTC
Squid-3.1.22 was stabilized beside knowledge that it doesn't compile with stable version of libtool. Imho it's not good from PR point of view;)
On my box (x86) downgrading libtool to 2.2.10 makes eutoreconf happy.

# emerge --info
FEATURES variable contains unknown value(s): Xkeepwork
Portage 2.1.11.31 (hardened/linux/x86, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Pentium-R-_D_CPU_2.66GHz-with-gentoo-2.1
Timestamp of tree: Thu, 20 Dec 2012 11:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -mtune=native -pipe -mfpmath=sse      -frecord-gcc-switches -fno-unwind-tables -fno-asynchronous-unwind-tables        -fpeel-loops -fprefetc
h-loop-arrays -floop-interchange        -floop-block -floop-strip-mine -fpredictive-commoning   -freorder-blocks-and-partition -ftracer -ftree-loop-distribution -Wdis
abled-optimization -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -mtune=native -pipe -mfpmath=sse    -frecord-gcc-switches -fno-unwind-tables -fno-asynchronous-unwind-tables        -fpeel-loops -fprefetc
h-loop-arrays -floop-interchange        -floop-block -floop-strip-mine -fpredictive-commoning   -freorder-blocks-and-partition -ftracer -ftree-loop-distribution -Wdis
abled-optimization -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="Xkeepwork assume-digests binpkg-logs ccache collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news par
allel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
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=""
SYNC="rsync://rsync.pl.gentoo.org/gentoo-portage/"
USE="acl acpi aio async bash-completion bzip2 caps chroot clamav clamdtop cli crypt cxx dri ftp glibc-omitfp gpm hardened iconv idn iproute2 logrotate mmap mmx mmxext modules mudflap ncurses network-cron nptl openmp openssl pam pax_kernel pcre pic pppd readline session smp sse sse2 ssl syslog threads threadsafe unicode urandom vim vim-pager vim-syntax x86 xattr 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="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" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" 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, USE_PYTHON
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-20 16:28:58 UTC
*** Bug 447698 has been marked as a duplicate of this bug. ***
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-20 16:32:18 UTC
With =sys-devel/libtool-2.4-r1, emerging =net-proxy/squid-3.1.22 worked fine here. Simply re-emerging libtool (even the same version) may have fixed your problem. Now the question is, why?
Comment 14 Marcin Mirosław 2012-12-20 16:45:15 UTC
I reemerged libtool-2.4-r1 and squid-3.1.22 sitll fails:

cat /var/tmp/portage/net-proxy/squid-3.1.22/temp/automake-1.out
***** automake *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/libltdl
***** automake --add-missing --copy --foreign

configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
Makefile.am:54: INSTALL_LTDL does not appear in AM_CONDITIONAL
Makefile.am:63: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL
Makefile.am:39: Libtool library used but `LIBTOOL' is undefined
Makefile.am:39:   The usual way to define `LIBTOOL' is to add `LT_INIT'
Makefile.am:39:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am:39:   If `LT_INIT' is in `configure.ac', make sure
Makefile.am:39:   its definition is in aclocal's search path.
/usr/share/automake-1.11/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.11/am/depend2.am:   The usual way to define `am__fastdepCC' is to add `AC_PROG_CC'
/usr/share/automake-1.11/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
/usr/share/automake-1.11/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.11/am/depend2.am:   The usual way to define `AMDEP' is to add one of the compiler tests
/usr/share/automake-1.11/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_CXX, AC_PROG_OBJC,
/usr/share/automake-1.11/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/share/automake-1.11/am/depend2.am:   to `configure.ac' and run `aclocal' and `autoconf' again.
Makefile.am: C source seen but `CC' is undefined
Makefile.am:   The usual way to define `CC' is to add `AC_PROG_CC'
Makefile.am:   to `configure.ac' and run `autoconf' again.
Comment 15 Serge 2012-12-20 21:08:20 UTC
Same here:

NFO: setup
Package:    net-proxy/squid-3.1.22
Repository: gentoo
Maintainer: eras@gentoo.org net-proxy@gentoo.org
USE:        elibc_glibc epoll kernel_linux ldap logrotate pam snmp ssl userland_GNU x86
FEATURES:   sandbox
INFO: prepare
Applying squid-3.1.15-gentoo.patch ...
Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/helpers/negotiate_auth/squid_kerb_auth' ...
Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/libltdl' ...
Running aclocal ...
Running libtoolize --install --copy --force --automake ...
Running autoconf ...
Running autoheader ...
Running aclocal -I m4 ...
Running automake --add-missing --copy ...
Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22' ...
Running eautoreconf in '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/lib/libTrie' ...
Running aclocal ...
Running autoconf ...
Running libtoolize --install --copy --force --automake ...
Running autoheader ...
Running automake --add-missing --copy --foreign ...
Running autoconf ...
Running autoheader ...
Running automake --add-missing --copy ...
Running aclocal ...
ERROR: prepare
Failed Running automake !

Include in your bugreport the contents of:

  /var/tmp/portage/net-proxy/squid-3.1.22/temp/automake-1.out
ERROR: net-proxy/squid-3.1.22 failed (prepare phase):
  Failed Running automake !

Call stack:
    ebuild.sh, line   93:  Called src_prepare
  environment, line 4052:  Called eautoreconf
  environment, line 1149:  Called multijob_child_init 'eautoreconf'
  environment, line 3314:  Called eautoreconf
  environment, line 1177:  Called eautomake
  environment, line 1130:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
  environment, line  695:  Called die
The specific snippet of code:
          die "Failed Running $1 !";

If you need support, post the output of `emerge --info '=net-proxy/squid-3.1.22'`,
the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.1.22'`.
The complete build log is located at '/var/log/portage/net-proxy:squid-3.1.22:20121220-091448.log'.
For convenience, a symlink to the build log is located at '/var/tmp/portage/net-proxy/squid-3.1.22/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.1.22/temp/environment'.
Working directory: '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/libltdl'
S: '/var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22'
Comment 16 Serge 2012-12-20 21:09:15 UTC
Created attachment 332834 [details]
automake-1.out
Comment 17 Serge 2012-12-20 21:09:56 UTC
Created attachment 332836 [details]
emerge output
Comment 18 Serge 2012-12-20 21:10:47 UTC
Created attachment 332838 [details]
build log
Comment 19 Marcin Mirosław 2012-12-28 12:19:18 UTC
Today I run `emerge -aVDNu world` and squid compiles. I found autoconf was upgraded to 2.69 before squid was emerged. So I downgraded autoconf to 2.68 -> squid failed. Next I upgraded autoconf to 2.69 and tried to emerge squid. Now it's becoming strange. Once time squid compiles fine, next time faild with "Failed Running autoconf" [1]. Sometimes I'm getting message lkie this:
[...]
* Running autoheader ...              [ !! ]
egrep: configure.??: No such file or directory    [ ok ]
[...]

So it looks there can be something like raice. I started suspect multijob in autotools. I changed MAKEOPTS to value ="-j1" and squid started to pass prepare phase in all tries. So MAKEOPTS="-j1" is workarround for my case.

Btw, is it ok egrep finished without error? (I mean "[ ok ]")

[1] proper log:
# cat /var/tmp/portage/net-proxy/squid-3.1.22/temp/autoconf-1.out
***** autoconf *****
***** PWD: /var/tmp/portage/net-proxy/squid-3.1.22/work/squid-3.1.22/libltdl
***** autoconf

autom4te-2.69: configure.ac: no such file or directory
Comment 20 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-15 15:41:15 UTC
*** Bug 461826 has been marked as a duplicate of this bug. ***
Comment 21 MaratIK 2013-07-23 06:36:09 UTC
The same bug is hitted to me in squid-3.2.13
Comment 22 MaratIK 2013-07-23 06:41:07 UTC
MAKEOPTS="-j1" fixes it. (The value of MAKEOPTS is "-j9" in make.conf)
Comment 23 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-08-17 12:44:43 UTC
*** Bug 461232 has been marked as a duplicate of this bug. ***
Comment 24 Eray Aslan gentoo-dev 2013-09-14 19:09:53 UTC
*** Bug 482622 has been marked as a duplicate of this bug. ***
Comment 25 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-16 10:41:12 UTC
+  16 Sep 2013; Tom Wijsman <TomWij@gentoo.org> squid-3.3.8.ebuild:
+  Run eautoreconf using a single job, should fix bug #419685 and bug #482622;
+  reported by Ricardo, Patrick Lauer and more people.

Please try whether this fixes it, thank you and thank you in advance.
Comment 26 SpanKY gentoo-dev 2014-11-21 10:03:34 UTC
should be fixed now; see bug 529404 for details

i've dropped the MAKEOPTS=-j1 logic from the ebuild