Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110066 - cyrus-sasl fails with parallel make
Summary: cyrus-sasl fails with parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 14:09 UTC by Mark Loeser (RETIRED)
Modified: 2005-12-07 09:06 UTC (History)
1 user (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 Mark Loeser (RETIRED) gentoo-dev 2005-10-21 14:09:30 UTC
The current ebuild seems to check for ccache or distcc and then set MAKEOPTS to
-j1, but as far as I can tell, it should always be the case that you use -j1.  I
keep getting failures with anything higher than -j1, and I do not use either of
those features.  This is with: cyrus-sasl-2.1.21-r1.  I did not try testing
other versions.
Comment 1 Michael Cramer 2005-10-31 05:58:38 UTC
same problem here with specified MAKEOPTS="-j3" in make.conf when emerge
cyrus-sasl. calling emerge with MAKEOPTS="-j1" solved the compiling failures.
tried it also witrh version 2.1.21-r1
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-11-06 03:39:36 UTC
Sorry guys but I cannot reproduce this one:

MAKEOPTS="-j4" FEATURES="-ccache -distcc"

and cyrus-sasl-2.1.21-r1 is doing well. What USE flags are you using ? I'm using:

---8<---
[ $ ~ ] built-with-use cyrus-sasl
dev-libs/cyrus-sasl : +berkdb +crypt +gdbm +ldap -mysql -postgres -kerberos
-static +ssl +java +pam -authdaemond -sample -urandom -srp -ntlm_unsupported_patch
---8<---

BTW, I'm running a stable toolchain

Cheers,
Ferdy
Comment 3 Michael Cramer 2005-11-06 04:02:30 UTC
[ebuild   R   ] dev-libs/cyrus-sasl-2.1.21-r1  -authdaemond +berkdb +crypt -gdbm 
+java +kerberos +ldap +mysql -ntlm_unsupported_patch +pam +postgres +sample +srp 
+ssl -static +urandom 0 kB [1]

these are my flags
Comment 4 Michael Cramer 2005-11-06 04:03:27 UTC
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13.
4-Gentoo-2005.1 i686)
=================================================================
System uname: 2.6.13.4-Gentoo-2005.1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.0_pre9
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib accessibility acl alsa apache2 apm ares arts 
artswrappersuid async authfile automount avi bash-completion bcmath berkdb big-
tables bitmap-fonts bzip2 cairo calender caps cdb cjk clamav cli crypt ctype 
cups curl curlwrappers dba dga directfb djbfft dlloader dmx doc dynagraph eds 
elf emacs emboss encode esd examples exif extraengine fbcon flac flatfile font-
server foomaticdb fortran freetds ftp gcj gd gdbm ggi gif glep glitz gmp gnome 
gnutls gpm gs gstreamer gtk gtk2 guile hal howl iconv idled idn imap imlib immqt 
inifile insecure-drivers ipv6 ithreads jack jack-tmpfs java java-external 
javascript jce jpeg justify kde kdeenablefinal kerberos ldap ldapsam leim 
libcaca libclamav libg++ libwww lm_sensors mad memlimit mhash mikmod ming mmx 
mono motif mp3 mpeg mpm-prefork mssql mysql mysqli nas ncurses neXt nis nls nntp 
nptl nptlonly nsplugin numeric oav objc odbc ogg oggvorbis opengl oss pam 
pam_chroot pam_console pam_timestamp pcntl pcre pdflib pdo-external pear perl 
perlsuid pg-hier pg-intdatetime php png portaudio posix postgres pwdb python qt 
quicktime quotas readline rewrite rle rpm ruby samba sample sasl sdk sdl 
sendfile sensord session shaper sharedmem simplexml sitemisc skey slp smartcard 
smux snmp soap sockets socks5 softquota spell spl sqlite srp sse ssl svg svga 
swat sysfs syslog sysvipc tcltk tcpd tetex threads tidy tiff tokenizer toolbar 
truetype truetype-fonts type1-fonts ucs2 udev unicode urandom usb utf8 vda 
vorbis wddx winbind xinerama xinetd xml2 xmlrpc xpm xprint xsl xv yaz zip zlib 
video_cards_ati128 linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 5 Michael Cramer 2005-11-06 04:05:40 UTC
and here my error message with MAKEOPTS="-j3":

make[2]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
cd .. && \
  /bin/sh /var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/config/
missing --run automake-1.7 --gnu  sasldb/Makefile
cd .. && /bin/sh ./config.status sasldb/Makefile depfiles
config.status: creating sasldb/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
make[2]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include -I../include   -I/usr/include/mysql -I/usr/include  -Wal
l -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT allockey.lo -MD -MP -MF 
".deps/allockey.Tpo" \
  -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Plo"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include -I../include   -I/usr/include/mysql -I/usr/include  -Wal
l -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT db_berkeley.lo -MD -MP -
MF ".deps/db_berkeley.Tpo" \
  -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \
then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \
else rm -f ".deps/db_berkeley.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  
 -I/usr/include/mysql -I/usr/include  -Wall -W -march=pentium3 -O3 -pipe -fo
mit-frame-pointer -MT db_berkeley.o -MD -MP -MF ".deps/db_berkeley.Tpo" \
  -c -o db_berkeley.o `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \
then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Po"; \
else rm -f ".deps/db_berkeley.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/
usr/include/mysql -I/usr/include -Wall -W -march=pentium3 -O3 -pipe -fomit-fr
ame-pointer -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.
c  -fPIC -DPIC -o db_berkeley.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  
 -I/usr/include/mysql -I/usr/include  -Wall -W -march=pentium3 -O3 -pipe -fo
mit-frame-pointer -MT allockey.o -MD -MP -MF ".deps/allockey.Tpo" \
  -c -o allockey.o `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Po"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
mv: Aufruf von stat f
Comment 6 Michael Cramer 2005-11-06 04:05:40 UTC
and here my error message with MAKEOPTS="-j3":

make[2]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
cd .. && \
  /bin/sh /var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-sasl-2.1.21/config/
missing --run automake-1.7 --gnu  sasldb/Makefile
cd .. && /bin/sh ./config.status sasldb/Makefile depfiles
config.status: creating sasldb/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
make[2]: Entering directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include -I../include   -I/usr/include/mysql -I/usr/include  -Wal
l -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT allockey.lo -MD -MP -MF 
".deps/allockey.Tpo" \
  -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Plo"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I../include -I../include   -I/usr/include/mysql -I/usr/include  -Wal
l -W -march=pentium3 -O3 -pipe -fomit-frame-pointer -MT db_berkeley.lo -MD -MP -
MF ".deps/db_berkeley.Tpo" \
  -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \
then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \
else rm -f ".deps/db_berkeley.Tpo"; exit 1; \
fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  
 -I/usr/include/mysql -I/usr/include  -Wall -W -march=pentium3 -O3 -pipe -fo
mit-frame-pointer -MT db_berkeley.o -MD -MP -MF ".deps/db_berkeley.Tpo" \
  -c -o db_berkeley.o `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \
then mv -f ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Po"; \
else rm -f ".deps/db_berkeley.Tpo"; exit 1; \
fi
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/
usr/include/mysql -I/usr/include -Wall -W -march=pentium3 -O3 -pipe -fomit-fr
ame-pointer -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.
c  -fPIC -DPIC -o db_berkeley.lo
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  
 -I/usr/include/mysql -I/usr/include  -Wall -W -march=pentium3 -O3 -pipe -fo
mit-frame-pointer -MT allockey.o -MD -MP -MF ".deps/allockey.Tpo" \
  -c -o allockey.o `test -f 'allockey.c' || echo './'`allockey.c; \
then mv -f ".deps/allockey.Tpo" ".deps/allockey.Po"; \
else rm -f ".deps/allockey.Tpo"; exit 1; \
fi
mv: Aufruf von stat für &#8222;.deps/db_berkeley.Tpo&#8220; nicht möglich: Datei oder 
Verzeichnis nicht gefunden
make[2]: *** [db_berkeley.o] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/
usr/include/mysql -I/usr/include -Wall -W -march=pentium3 -O3 -pipe -fomit-fr
ame-pointer -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c  -fPIC 
-DPIC -o allockey.lo
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21/sasldb'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.21-r1/work/cyrus-
sasl-2.1.21'
make: *** [all] Fehler 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.21-r1 failed.
!!! Function src_compile, Line 183, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
Comment 7 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-12-07 09:06:37 UTC
Forcing -j1 in cvs ebuild. Please check and reopen if pain persists.