Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97871 - bind tools 9.3.1 fails to build in parallel
Summary: bind tools 9.3.1 fails to build in parallel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 00:03 UTC by SpanKY
Modified: 2005-07-06 03:34 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 SpanKY gentoo-dev 2005-07-04 00:03:22 UTC
looks like some makefiles need to be tweaked so it'll build in parallel properly:

first run:
/usr/bin/ar: nls/msgcat.o: No such file or directory
make[1]: *** [libisc.a] Error 1
make[1]: *** Waiting for unfinished jobs....

second run:
/usr/bin/ar: nothreads/condition.o: No such file or directory
make[1]: *** [libisc.a] Error 1
make[1]: *** Waiting for unfinished jobs....




Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11.12-grsec x86_64)
=================================================================
System uname: 2.6.11.12-grsec x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
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.5
sys-devel/binutils:  2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.90.0.3, 2.16.91.0.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-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/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks multilib noauto noinfo sandbox sfperms sign"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi adns alsa audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr crypt cups curl dba directfb dts dvd dvdr dvdread encode esd fam fbcon flac flash font-server gd gif glitz gphoto2 gpm gtk gtk2 imagemagick imap imlib ipv6 jack joystick jp2 jpeg jpeg2k libcaca libedit libwww lzo lzw lzw-tiff mad maildir mikmod mime mng motif mp3 mpeg multilib mysql ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl oss pcre perl pic png python quicktime readline real samba sdl sndfile spell sqlite ssl svg tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis wmf xanim xine xml xml2 xmms xpm xrandr xv xvid xvmc zlib video_cards_nvidia linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Stian Skjelstad 2005-07-04 08:24:40 UTC
I don't think bind likes to parallell build since it links files across
directories. make -j1 ?
Comment 2 SpanKY gentoo-dev 2005-07-04 08:52:06 UTC
sticking -j1 into src_compile would resolve the situation but it isnt really a
proper fix ;)
Comment 3 Triffid Hunter 2005-07-06 02:40:21 UTC
--- /usr/portage/net-dns/bind-tools/bind-tools-9.3.1.ebuild     2005-04-24 19:
36:19.000000000 +1000
+++ /usr/local/portage/net-dns/bind-tools/bind-tools-9.3.1.ebuild       2005-07-
06 19:29:08.583274377 +1000
@@ -23,11 +23,11 @@

        econf ${myconf} || die "Configure failed"

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

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



fixed it for me ;)
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-07-06 03:34:46 UTC
fixed without version bump
thanks to everyone

@vapier: i don't know, how to fix it in better way, than -j1. reopen, please, if 
you know.