Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561494 - net-proxy/squid-3.5.6 - aclocal-1.13: error: 'aclocal-1.13' is missing on your system.
Summary: net-proxy/squid-3.5.6 - aclocal-1.13: error: 'aclocal-1.13' is missing on you...
Status: RESOLVED DUPLICATE of bug 536420
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 578556 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-25 19:44 UTC by Serge
Modified: 2019-02-24 10:50 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge 2015-09-25 19:44:25 UTC
rebuilding squid after updating of dev-libs/nettle-3.1.1, it fail due to missing aclocal 1-13.
aclocal 1-15 is installed for a long time

seems to have a harcoded aclocal version in it


Reproducible: Always

Steps to Reproduce:
1.emerge squid
2.
3.
Actual Results:  
/var/tmp/portage/net-proxy/squid-3.5.6/work/squid-3.5.6/cfgaux/missing: ligne 81: aclocal-1.13 : commande introuvable
WARNING: 'aclocal-1.13' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:528 : la recette pour la cible « aclocal.m4 » a échouée
make[1]: *** [aclocal.m4] Erreur 127
make[1] : on quitte le répertoire « /var/tmp/portage/net-proxy/squid-3.5.6/work/squid-3.5.6/libltdl »
Makefile:579 : la recette pour la cible « all-recursive » a échouée
make: *** [all-recursive] Erreur 1
 * ERROR: net-proxy/squid-3.5.6::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-proxy/squid-3.5.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.5.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-proxy/squid-3.5.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-proxy/squid-3.5.6/temp/environment'.
 * Working directory: '/var/tmp/portage/net-proxy/squid-3.5.6/work/squid-3.5.6'
 * S: '/var/tmp/portage/net-proxy/squid-3.5.6/work/squid-3.5.6'


Expected Results:  
correct install

gentoo-x64-proxy ~ # emerge --info
Portage 2.2.20.1 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.5, glibc-2.20-r2, 4.0.5-gentoo x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     1020636 total,    735932 free
KiB Swap:     524280 total,    524280 free
Timestamp of repository gentoo: Fri, 25 Sep 2015 17:15:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p39::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/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.5::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::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.fr.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/var/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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ rsync://de-mirror.org/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/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="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ldap logrotate mmx mmxext modules multilib ncurses nls nptl oci8-instant-client openmp pam pcre readline seccomp session sse sse2 ssl symlink tcpd unicode vhosts 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby22" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Serge 2015-09-25 19:45:09 UTC
bug #500746 is similar
Comment 2 Alexander Tsoy 2015-09-28 19:12:36 UTC
Please try to reemerge libtool. If it helps, then it is a bug #534088
Comment 3 Serge 2015-09-28 21:23:33 UTC
(In reply to Alexander Tsoy from comment #2)
> Please try to reemerge libtool. If it helps, then it is a bug #534088

 I reemerged sys-devel/libtool-2.4.6 and it helped!
 Squid 3.5.6 compile fine after that.

 Thanks for the tip.
Comment 4 Matthias Hanft 2015-09-29 17:01:47 UTC
Same here. After "emerge -1 libtool", squid-3.5.6 emerged successfully.
Comment 5 cyberbat 2015-10-05 20:12:42 UTC
(In reply to Alexander Tsoy from comment #2)
> Please try to reemerge libtool. If it helps, then it is a bug #534088

I confirm the bug and the fix.
Comment 6 Henrik Wennergren 2015-10-19 14:49:22 UTC
(In reply to Alexander Tsoy from comment #2)
> Please try to reemerge libtool. If it helps, then it is a bug #534088

Had the same bug, and "emerge -1 libtool" fixed it.
Comment 7 BigBug 2016-01-29 09:12:01 UTC
For me libtool remerging doesn't helped. Only emerging of automake:1.13 helped.
Comment 8 Bernd Becker 2016-02-11 14:37:10 UTC
Hi,

I had the same problem with 3.5.12 and before with 3.5.6.
After experimenting on the command-line I found out that the problem does not occur when compiling with a separate build tree, on my machine.
Thus I created a local overlay and played a bit with squid-3.5.12.ebuild.
After some dirty hacks (sorry I'm not too deep into ebuild) it worked for me.

diff -u /usr/portage/net-proxy/squid/squid-3.5.12.ebuild /usr/local/portage/myoverlay/net-proxy/squid/squid-3.5.12.ebuild
--- /usr/portage/net-proxy/squid/squid-3.5.12.ebuild    2016-02-08 10:16:54.000000000 +0100
+++ /usr/local/portage/myoverlay/net-proxy/squid/squid-3.5.12.ebuild    2016-02-11 14:56:00.026878123 +0100
@@ -98,7 +98,7 @@
 
        epatch_user
 
-       eautoreconf
+#      eautoreconf
 }
 
 src_configure() {
@@ -154,6 +154,12 @@
 
        tc-export CC AR
 
+       # Build in a separate build tree
+       S="${WORKDIR}/build"
+       mkdir -p "${S}"
+       pushd "${S}" > /dev/null
+       ECONF_SOURCE="${WORKDIR}/${P}"
+
        econf \
                --sysconfdir=/etc/squid \
                --libexecdir=/usr/libexec/squid \
@@ -216,6 +222,7 @@
        rm -f "${D}"/usr/bin/Run*
        rm -rf "${D}"/run/squid "${D}"/var/cache/squid
 
+       pushd "${WORKDIR}/${P}" > /dev/null
        dodoc CONTRIBUTORS CREDITS ChangeLog INSTALL QUICKSTART README SPONSORS doc/*.txt
        newdoc helpers/negotiate_auth/kerberos/README README.kerberos
        newdoc helpers/basic_auth/RADIUS/README README.RADIUS
@@ -223,7 +230,8 @@
        newdoc tools/purge/README README.purge
        newdoc tools/helper-mux.README README.helper-mux
        dohtml RELEASENOTES.html
-
+       popd > /dev/null
+
        newpamd "${FILESDIR}/squid.pam" squid
        newconfd "${FILESDIR}/squid.confd-r1" squid
        newinitd "${FILESDIR}/squid.initd-r4" squid
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2016-06-24 04:00:00 UTC
This is probably because there is a pregenerated file in the build tree with a older timestamp than one of it's dependencies.  Building in a separate tree would cause the regeneration of that file.  When you get this error, run make -d in the build tree and it'll tell you which file(s) are newer than the target and are causing it to be rebuilt.
Comment 10 alexsaa 2016-07-26 20:13:01 UTC
Hi.

I've got a similar problem.

# cd /var/tmp/portage/net-proxy/squid-3.5.19/work/squid-3.5.19
# make -d
      ...
     No recipe for 'configure.ac' and no prerequisites actually changed.
     No need to remake target 'configure.ac'.
     Considering target file 'aclocal.m4'.
       Pruning file '../m4/libtool.m4'.
       Pruning file '../m4/ltargz.m4'.
       Pruning file '../m4/ltdl.m4'.
       Pruning file '../m4/ltoptions.m4'.
       Pruning file '../m4/ltsugar.m4'.
       Pruning file '../m4/ltversion.m4'.
       Pruning file '../m4/lt~obsolete.m4'.
       Pruning file 'configure.ac'.
      Finished prerequisites of target file 'aclocal.m4'.
      Prerequisite '../m4/libtool.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/ltargz.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/ltdl.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/ltoptions.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/ltsugar.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/ltversion.m4' of target 'aclocal.m4' does not exist.
      Prerequisite '../m4/lt~obsolete.m4' of target 'aclocal.m4' does not exist.
      Prerequisite 'configure.ac' is older than target 'aclocal.m4'.
     Must remake target 'aclocal.m4'.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/net-proxy/squid-3.5.19/work/squid-3.5.19/cfgaux/missing aclocal-1.13 -I m4
Putting child 0x97bc118 (aclocal.m4) PID 15939 on the chain.
Live child 0x97bc118 (aclocal.m4) PID 15939 
/var/tmp/portage/net-proxy/squid-3.5.19/work/squid-3.5.19/cfgaux/missing: line 81: aclocal-1.13: command not found
...

It seems to me that the reason for the rebuild are those non-existing $(am__aclocal_m4_deps) targets with no recipe, like in https://www.gnu.org/software/make/manual/html_node/Force-Targets.html

/var/tmp/portage/net-proxy/squid-3.5.19/work/squid-3.5.19/libltdl/Makefile:
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):


A workaround for me was:
# emerge -1 =automake-1.13.4
Comment 11 Eray Aslan gentoo-dev 2019-02-04 06:14:02 UTC
*** Bug 578556 has been marked as a duplicate of this bug. ***
Comment 12 Pacho Ramos gentoo-dev 2019-02-24 10:50:05 UTC

*** This bug has been marked as a duplicate of bug 536420 ***