Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426596 - dev-libs/cyrus-sasl-2.1.25-r3 with sys-devel/libtool-2.4.2 - ../libtool: line 386: CDPATH: command not found
Summary: dev-libs/cyrus-sasl-2.1.25-r3 with sys-devel/libtool-2.4.2 - ../libtool: line...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
: 446408 450474 454960 (view as bug list)
Depends on: 529404
Blocks:
  Show dependency tree
 
Reported: 2012-07-14 14:18 UTC by Andrey Grozin
Modified: 2014-11-21 09:20 UTC (History)
5 users (show)

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


Attachments
build.log (build.log.gz,12.62 KB, text/plain)
2012-07-18 18:44 UTC, Siuchung Cheung (Clement)
Details
build.log.gz (build.log.gz,12.62 KB, application/x-gzip)
2012-07-18 18:45 UTC, Siuchung Cheung (Clement)
Details
environment (environment,185.16 KB, text/plain)
2012-07-18 18:49 UTC, Siuchung Cheung (Clement)
Details
dev-libs:cyrus-sasl-2.1.25-r3:20121207-055838.log (fail) (dev-libs:cyrus-sasl-2.1.25-r3:20121207-055838.log,3.81 KB, text/plain)
2012-12-07 06:12 UTC, Maxim Kammerer
Details
dev-libs:cyrus-sasl-2.1.25-r3:20121207-060221.log (fail) (dev-libs:cyrus-sasl-2.1.25-r3:20121207-060221.log,22.71 KB, text/plain)
2012-12-07 06:13 UTC, Maxim Kammerer
Details
dev-libs:cyrus-sasl-2.1.25-r3:20121207-060433.log (success) (dev-libs:cyrus-sasl-2.1.25-r3:20121207-060433.log,112.42 KB, text/plain)
2012-12-07 06:15 UTC, Maxim Kammerer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2012-07-14 14:18:25 UTC
make[2]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1  -Wall -W -O2 -march=native -pipe -fno-strict-aliasing -c makemd5.c
/bin/sh ../libtool   --mode=link i686-pc-linux-gnu-gcc  -Wall -W -O2 -march=native -pipe -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o makemd5 makemd5.o  -lresolv  
../libtool: line 386: CDPATH: command not found
../libtool: line 459: -e: command not found
../libtool: line 465: -e: command not found
../libtool: line 1077: 1s/^\(--[^=]*\)=.*/\1/;q: No such file or directory
../libtool: line 1078: 1s/^--[^=]*=//: No such file or directory
: Version mismatch error.  This is libtool 2.4.2, but the
: definition of this LT_INIT comes from an older release.
: You should recreate aclocal.m4 with macros from libtool 2.4.2
: and run autoconf again.
make[2]: *** [makemd5] Error 63
make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
make: *** [all] Error 2
 * ERROR: dev-libs/cyrus-sasl-2.1.25-r3 failed (compile phase):
 *   emake failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-18 15:31:26 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Siuchung Cheung (Clement) 2012-07-18 18:44:14 UTC
Created attachment 318556 [details]
build.log
Comment 3 Siuchung Cheung (Clement) 2012-07-18 18:45:38 UTC
Created attachment 318558 [details]
build.log.gz
Comment 4 Siuchung Cheung (Clement) 2012-07-18 18:47:32 UTC
Same problem:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25 ...
make -j5 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
Making all in include
make[2]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1 -I/usr/include/mysql -I/usr/lib64  -Wall -W -march=native -mno-avx -O2 -pipe -fno-strict-aliasing -c makemd5.c
/bin/sh ../libtool   --mode=link x86_64-pc-linux-gnu-gcc  -Wall -W -march=native -mno-avx -O2 -pipe -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o makemd5 makemd5.o  -lresolv  
../libtool: line 386: CDPATH: command not found
../libtool: line 459: -e: command not found
../libtool: line 465: -e: command not found
../libtool: line 1077: 1s/^\(--[^=]*\)=.*/\1/;q: No such file or directory
../libtool: line 1078: 1s/^--[^=]*=//: No such file or directory
: Version mismatch error.  This is libtool 2.4.2, but the
: definition of this LT_INIT comes from an older release.
: You should recreate aclocal.m4 with macros from libtool 2.4.2
: and run autoconf again.
make[2]: *** [makemd5] Error 63
make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
make: *** [all] Error 2
 * ERROR: dev-libs/cyrus-sasl-2.1.25-r3 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/cyrus-sasl-2.1.25-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/cyrus-sasl-2.1.25-r3'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
 * S: '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.33"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

bliss ~ # emerge --info '=dev-libs/cyrus-sasl-2.1.25-r3'
Portage 2.1.11.8 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.4.5-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Wed, 18 Jul 2012 02:15:01 +0000
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.7-r2, 2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.3.4::<unknown repository>, 4.4.7, 4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local
Installed sets: @kde-set, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mno-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/rc.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mno-avx -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="mirror://gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acpi aiglx alsa amd64 berkdb bluetooth branding bs2b bzip2 cairo cap caps cdaudio cdda cdparanoia cdr cjk cleartype cli clucene consolekit cracklib cuda cxx dbus declarative device-mapper djbfft dri dts dvd dvdnav dvdr emacs encode exif faac faad fam ffmpeg firefox flickr fontconfig fortran g3dvl gdbm geolocation gif git glitz gmp gpm gstreamer gtk gtk3 hou ibus iconv immqt-bc inotify inquisitio java jce jingle jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas kipi lcms libnotify logrotate lzma mad midi mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musicbrainz mysql ncurses nls nptl nsplugin ntp ogg opencl opengl openmp oscar oss pam pango pch pcre pdf phonon plasma png policykit ppds pppd pulseaudio python python-bindings qt3support qt4 rar rdesktop readline rtc rtsp ruby-bindings sdl semantic-desktop session smp sms sou spell sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification stream subversion svg symlink tcpd threads tiff timidity tk truetype udev udisks unicode upower usb vaapi vdpau visibility vorbis vpx webkit wmp wxwidgets wxwindows x264 xcb xcomposite xine xinerama xml xmp xorg xscreensaver xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel usb-audio" 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" GRUB_PLATFORMS="efi-64" 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="nvidia" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

bliss ~ # emerge -pqv '=dev-libs/cyrus-sasl-2.1.25-r3'
[ebuild     U ] dev-libs/cyrus-sasl-2.1.25-r3 [2.1.25-r2] USE="berkdb gdbm java mysql pam sqlite ssl -authdaemond -kerberos -ldapdb -openldap -postgres -sample -srp -static-libs -urandom"
Comment 5 Siuchung Cheung (Clement) 2012-07-18 18:49:00 UTC
Created attachment 318560 [details]
environment

ebuild environment
Comment 6 Siuchung Cheung (Clement) 2012-07-19 05:20:09 UTC
Update: if I repeat it a few more times, it eventually succeed. Looks like this is a race condition between the eautoreconfs in the 2 directories.

Non-working:
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25' ...
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/saslauthd' ...
 * Running libtoolize --install --copy --force --automake ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config -I cmulocal -I config ...
 [ ok ]
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config -I ../cmulocal -I ../config ...
 [ ok ]
 * Running autoconf -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
 [ ok ]
 * Running autoheader -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
 [ ok ]
 * Running automake --add-missing --copy ...
 [ ok ]
 * Running autoconf -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
 [ ok ]
 * Running elibtoolize in: cyrus-sasl-2.1.25/config/
 [ ok ]
 * Running autoheader -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying uclibc-ltconf/1.3.0 patch ...
 * Running elibtoolize in: cyrus-sasl-2.1.25/saslauthd/config/
 [ ok ]
 * Running automake --add-missing --copy ...
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying uclibc-ltconf/1.3.0 patch ...
 [ ok ]

Working:
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25' ...
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/saslauthd' ...
 * Running libtoolize --install --copy --force --automake ...
 * Running libtoolize --install --copy --force --automake ...
[ ok ]
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config -I cmulocal -I config ...
[ ok ]
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config -I ../cmulocal -I ../config ...
[ ok ]
 * Running autoconf -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
 * Running autoconf -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
[ ok ]
 * Running autoheader -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
[ ok ]
 * Running autoheader -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config ...
[ ok ]
 * Running automake --add-missing --copy ...
[ ok ]
 * Running automake --add-missing --copy ...
[ ok ]
 * Running elibtoolize in: cyrus-sasl-2.1.25/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying uclibc-ltconf/1.3.0 patch ...
 * Running elibtoolize in: cyrus-sasl-2.1.25/saslauthd/config/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying uclibc-ltconf/1.3.0 patch ...

Notice the subtle difference in ordering between the eautoreconf steps between the main directory and saslauthd directory.
Comment 7 Maxim Kammerer 2012-12-07 06:10:40 UTC
Same problem here, looks like a race condition.

Portage 2.1.11.31 (hardened/linux/x86, gcc-4.5.4, glibc-2.15-r3, 3.4.7-hardened i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.7-hardened-i686-with-gentoo-2.1
Timestamp of tree: Fri, 07 Dec 2012 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.6
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 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.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo liberte
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE as-is freedist unRAR lha @BINARY-REDISTRIBUTABLE Atmel SIL-freeware amd-ucode Conexant-firmware Hauppauge-Firmware"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/locale.gen"
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="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn --autounmask=n"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-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 webrsync-gpg"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://mirrors.kernel.org/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O,1,-z,combreloc"
MAKEOPTS="-j3"
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="/usr/local/portage"
SYNC="rsync://disabled"
USE="X X509 aac acl acpi action_modeswitch alsa archive aspell bluetooth bs2b bzip2 cairo caps cdda cjk cli consolekit cpudetection crypt cue custom-cflags dbus dhcp djvu dri eap-sim eap-tls edd exif expat flac gmp goffice gpm grammar groupwise gtk hardened hires-icons hwdb hybrid-auth iconv id3tag idn iproute2 irda jbig jpeg jpeg2k keymap lcms libkms libnotify lzma m17n-lib mad madwifi mktemp mmx modemmanager modules mp3 multicall ncurses netlink networkmanager nls nptl ntfsprogs ogg openmp ots pam pax_kernel pcmcia pcre pcsc-lite pic pkcs11 png policykit postscript pppd readline scsi silc smartcard smime sndfile speex spell sse ssl startup-notification staticsocket svg symlink thesaurus threads tiff truetype unicode urandom usb uuid v4l vorbis wavpack webgl wifi wimax wmf x86 x86emu xattr xft xinerama xmp xv 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" GRUB_PLATFORMS="efi-32 efi-64" INPUT_DEVICES="evdev synaptics vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="*" 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 modesetting nouveau virtualbox qxl" 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

=================================================================
                        Package Settings
=================================================================

dev-libs/cyrus-sasl-2.1.25-r3 was built with the following:
USE="pam ssl urandom -authdaemond (-berkdb) -gdbm -java -kerberos -ldapdb -mysql -openldap -postgres -sample -sqlite -srp -static-libs"
CFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe -fno-strict-aliasing"
CXXFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe -fno-strict-aliasing"
Comment 8 Maxim Kammerer 2012-12-07 06:12:27 UTC
Created attachment 331706 [details]
dev-libs:cyrus-sasl-2.1.25-r3:20121207-055838.log (fail)

Attempt 1: fail.

 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25' ...
 * Running eautoreconf in '/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/saslauthd' ...
 * Running libtoolize --install --copy --force --automake ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/cmulocal -I /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/config -I cmulocal -I config ...
 [ !! ]

 * Failed Running aclocal !
Comment 9 Maxim Kammerer 2012-12-07 06:13:54 UTC
Created attachment 331708 [details]
dev-libs:cyrus-sasl-2.1.25-r3:20121207-060221.log (fail)

Attempt 2: fail.

Configuration Complete. Type 'make' to build.
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
Making all in include
make[2]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1  -Wall -W -Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe -fno-strict-aliasing -c makemd5.c
/bin/sh ../libtool   --mode=link i686-pc-linux-gnu-gcc  -Wall -W -Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -Wl,-O,1,-z,combreloc -o makemd5 makemd5.o  -lresolv  
../libtool: line 385: CDPATH: command not found
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[2]: *** [makemd5] Error 63
make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
make: *** [all] Error 2
Comment 10 Maxim Kammerer 2012-12-07 06:15:01 UTC
Created attachment 331710 [details]
dev-libs:cyrus-sasl-2.1.25-r3:20121207-060433.log (success)

Attempt 3: success.
Comment 11 Eray Aslan gentoo-dev 2012-12-12 14:12:21 UTC
*** Bug 446408 has been marked as a duplicate of this bug. ***
Comment 12 Maxim Kammerer 2013-01-01 21:29:49 UTC
Does anyone still observe this bug? I have emerged cyrus-sasl 10 times in a row without any issues. Maybe autoconf-2.69 fixes the problem? On the other hand, I changed the filesystem from reiserfs to ext4, so this could influence the probability of a race condition, too.
Comment 13 Stan Sander 2013-01-01 22:30:09 UTC
Not sure what fixed it, but works for me now.
Comment 14 Eray Aslan gentoo-dev 2013-01-06 08:49:51 UTC
*** Bug 450474 has been marked as a duplicate of this bug. ***
Comment 15 Eugene Shalygin 2013-01-18 11:43:53 UTC
(In reply to comment #12)
> Does anyone still observe this bug? I have emerged cyrus-sasl 10 times in a
> row without any issues. Maybe autoconf-2.69 fixes the problem? On the other
> hand, I changed the filesystem from reiserfs to ext4, so this could
> influence the probability of a race condition, too.

I've experienced this problem with autoconf-2.69 and ext4
Comment 16 Eray Aslan gentoo-dev 2013-02-15 12:16:03 UTC
*** Bug 454960 has been marked as a duplicate of this bug. ***
Comment 17 Stan Sander 2013-02-22 18:02:01 UTC
We seem to have a regression or at least something going on giving the same error on -r4.  -r3 had previously built successfully on my system.

libtool says that autoconf needs to be run, perhaps it's as simple as that.  Haven't done any testing, just posting the results of an emerge attempt this morning.  

>>> Compiling source in /var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r4/work/cyrus-sasl-2.1.25 ...
make 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r4/work/cyrus-sasl-2.1.25'
Making all in include
make[2]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r4/work/cyrus-sasl-2.1.25/include'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1  -Wall -W -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -c makemd5.c
/bin/sh ../libtool   --mode=link i686-pc-linux-gnu-gcc  -Wall -W -march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o makemd5 makemd5.o  -lresolv  
../libtool: line 385: CDPATH: command not found
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[2]: *** [makemd5] Error 63
make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r4/work/cyrus-sasl-2.1.25/include'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.25-r4/work/cyrus-sasl-2.1.25'
make: *** [all] Error 2
 * ERROR: dev-libs/cyrus-sasl-2.1.25-r4 failed (compile phase):
 *   emake failed
Comment 18 Tobias Leupold 2013-07-31 05:31:34 UTC
Seems like this bug still existed in later releases. I just ran into this issue building cyrus-sasl 2.1.26-r3:


>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r3/work/cyrus-sasl-2.1.26 ...
make -j5 
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r3/work/cyrus-sasl-2.1.26'
Making all in include
make[2]: Entering directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r3/work/cyrus-sasl-2.1.26/include'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1  -Wall -W -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -c makemd5.c
/bin/sh ../libtool   --mode=link i686-pc-linux-gnu-gcc  -Wall -W -march=prescott -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -o makemd5 makemd5.o  -lresolv  
../libtool: line 385: CDPATH: command not found
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
make[2]: *** [makemd5] Fehler 63
make[2]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r3/work/cyrus-sasl-2.1.26/include'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/cyrus-sasl-2.1.26-r3/work/cyrus-sasl-2.1.26'
make: *** [all] Fehler 2
Comment 19 Tobias Leupold 2013-07-31 05:35:42 UTC
Sorry, I forgot the rest: like described above, I tried to build the package multiple times. The first two times, it failed with the above error, the third time, there was no problem (without changing anything).
Comment 20 Maxim Kammerer 2013-11-26 06:41:07 UTC
I am observing the bug again with dev-libs/cyrus-sasl-2.1.26-r3, in various forms:

(1)
../libtool: line 386: CDPATH: command not found
../libtool: line 459: -e: command not found
../libtool: line 465: -e: command not found
../libtool: line 1077: 1s/^\(--[^=]*\)=.*/\1/;q: No such file or directory
../libtool: line 1078: 1s/^--[^=]*=//: No such file or directory

(2)
 * Running aclocal -I cmulocal -I config ...
 [ !! ]

 * Failed Running aclocal !

Disabling parallel build by adding -j1 to MAKEOPTS for dev-libs/cyrus-sasl fixed the issue for me.
Comment 21 SpanKY gentoo-dev 2014-11-21 09:20:54 UTC
should be fixed; see bug 529404 for details