Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198774 - net-misc/radvd-1.1 fails to build with parallel make
Summary: net-misc/radvd-1.1 fails to build with parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: The ipv6 Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 07:53 UTC by Constantin Baranov
Modified: 2008-11-18 23:59 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 Constantin Baranov 2007-11-11 07:53:36 UTC
With MAKEOPTS="-j3" I have:

gcc -DPATH_RADVD_CONF=\"/etc/radvd.conf\" -DPATH_RADVD_LOG=\"/var/log/radvd.log\" -DLOG_FACILITY=LOG_DAEMON -DPATH_RADVD_PID=\"/var/run/radvd/radvd.pid\" -DVERSION=\"1.0\" -DINET6=1 -I. -I.    -pipe -O2 -march=nocona -Wall -Wpointer-arith  -Wcast-qual -Wcast-align -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c scanner.c
scanner.l:20:18: error: gram.h: No such file or directory
scanner.l: In function 'yylex':
scanner.l:44: error: 'T_INTERFACE' undeclared (first use in this function)
...and many error below...

I suppose gram.h was unfortunately generated after gcc tries to search it.
With forced MAKEOPTS="-j1" all is happy.

Reproducible: Sometimes

Steps to Reproduce:




Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Timestamp of tree: Sat, 10 Nov 2007 01:47:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/const-portage /usr/portage/local/misc /usr/portage/local/x4x-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 alsa amd64 bitmap-fonts bzip2 cairo cli cups curl djvu dri dvd emacs encode fftw flac ftp gd gif glut gmp iconv idn imagemagick ipv6 jpeg jpeg2k leim mad midi mikmod mmap mmx mp3 mudflap ncurses nptl nptlonly nsplugin ogg opengl openmp pam pdf png ppds python readline sdl sse sse2 ssl startup-notification svg tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_PCM_PLUGINS="dsnoop rate route" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabian Groffen gentoo-dev 2008-06-25 07:28:29 UTC
confirmed here, using -j1 it compiles fine
Comment 2 Fabian Groffen gentoo-dev 2008-06-25 07:29:38 UTC
ehrrr... same issue still with 1.1
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-18 23:59:16 UTC
Fixed in 1.1 CVS.