First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134698
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Konstantin Arkhipov <voxus@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Richard Fish <bigfish@asmallpond.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134698 depends on: Show dependency tree
Bug 134698 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-28 15:02 0000
When building bind-tools with MAKEOPTS=-jN (where N > 1), failures are
possible.  For example:

i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2
-I./unix/include -I./nothreads/include -I./include -I./include    
-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb  -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c nls/msgcat.c
i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2
-I./unix/include -I./nothreads/include -I./include -I./include    
-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb  -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c
nothreads/condition.c
i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2
-I./unix/include -I./nothreads/include -I./include -I./include    
-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb  -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c nothreads/mutex.c
i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2
-I./unix/include -I./nothreads/include -I./include -I./include    
-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb  -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c
nothreads/thread.c
make[2]: Leaving directory
`/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2/lib/isc/unix'
making all in /var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2/lib/isc/nls
make[2]: Entering directory
`/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2/lib/isc/nls'
i686-pc-linux-gnu-gcc  -I/var/tmp/portage/bind-tools-9.3.2-r2/work/bind-9.3.2
-I../unix/include -I./../unix/include -I../include -I./../include    
-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb  -W -Wall
-Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat  -c msgcat.c
/usr/bin/ar cruv libisc.a assertions.o base64.o bitstring.o buffer.o
bufferlist.o commandline.o error.o event.o hash.o heap.o hex.o hmacmd5.o lex.o
lfsr.o lib.o log.o md5.o mem.o mutexblock.o netaddr.o netscope.o ondestroy.o
parseint.o quota.o random.o ratelimiter.o region.o result.o rwlock.o serial.o
sha1.o sockaddr.o string.o strtoul.o symtab.o task.o taskpool.o timer.o
version.o unix/app.o unix/dir.o unix/entropy.o unix/errno2result.o unix/file.o
unix/fsaccess.o unix/interfaceiter.o unix/keyboard.o unix/net.o unix/os.o
unix/resource.o unix/socket.o unix/stdio.o unix/stdtime.o unix/strerror.o
unix/syslog.o unix/time.o nls/msgcat.o nothreads/condition.o nothreads/mutex.o
nothreads/thread.o
a - assertions.o
a - base64.o
a - bitstring.o
<snip>
a - unix/syslog.o
a - unix/time.o
a - nls/msgcat.o
/usr/bin/ar: nothreads/condition.o: No such file or directory
make[1]: *** [libisc.a] Error 1
make[1]: *** Waiting for unfinished jobs....

carcharias ~ # emerge --info
Portage 2.1_rc2-r3 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3,
2.6.16-suspend2-r6 i686)
=================================================================
System uname: 2.6.16-suspend2-r6 i686 Genuine Intel(R) CPU           T2500  @
2.00GHz
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/revdep-rebuild /etc/splash
/etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -fomit-frame-pointer -pipe -fweb"
DISTDIR="/usr/portage/packages/sources"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox
sfperms splitdebug strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --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="x86 X alsa arts bzip2 crypt cups encode flac gtk hal jpeg kde
kdeenablefinal kdehiddenvisibility mmx mp3 pam pic png python qt readline samba
sse ssl tiff truetype unicode vorbis zlib elibc_glibc input_devices_evdev
input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux
userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia
video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Related bugs are #97871 and #127564.

Based on those bugs, this seems to be the correct way of handling this (well,
other than fixing the bind-tools makefiles):

--- /usr/portage/net-dns/bind-tools/bind-tools-9.3.2-r2.ebuild  2006-02-23
10:57:57.000000000 -0700
+++ bind-tools-9.3.2-r2.ebuild  2006-05-28 14:50:34.594879000 -0700
@@ -45,21 +45,21 @@
        econf ${myconf} || die "Configure failed"

        cd ${S}/lib
-       emake || die "make failed in /lib"
+       emake -j1 || die "make failed in /lib"

        cd ${S}/bin/dig
-       emake || die "make failed in /bin/dig"
+       emake -j1 || die "make failed in /bin/dig"

        cd ${S}/lib/lwres/
-       emake || die "make failed in /lib/lwres"
+       emake -j1 || die "make failed in /lib/lwres"

        cd ${S}/bin/nsupdate/
-       emake || die "make failed in /bin/nsupdate"
+       emake -j1 || die "make failed in /bin/nsupdate"

        use idn && {
                cd ${S}/contrib/idn/idnkit-1.0-src
                econf || die "idn econf failed"
-               emake || die "idn emake failed"
+               emake -j1 || die "idn emake failed"
        }
 }

------- Comment #1 From Konstantin Arkhipov 2006-07-04 12:28:27 0000 -------
fixed in 9.2.6-r3 and 9.3.2-r3, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug