Bug 176918 - sys-fs/udev-110 fails when compiling with unlimited jobs
Bug#: 176918 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: udev-bugs@gentoo.org Reported By: angelos@gentoo.org
Component: Ebuilds
URL: 
Summary: sys-fs/udev-110 fails when compiling with unlimited jobs
Keywords:  
Status Whiteboard: 
Opened: 2007-05-03 14:07 0000
Description:   Opened: 2007-05-03 14:07 0000
compiling udev-110 with MAKEOPTS="-j -l3" (i.e. unlimited jobs until load avg
of 3 is reached), can't even reproduce this with -j20, so I don't think it's
due to too many jobs, will attach build.login my next comment.

Portage 2.1.2.5 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2,
2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Gentoo Base System release 2.0.0_alpha1
Timestamp of tree: Thu, 03 May 2007 12:50:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -msse3 -w"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -Os -pipe -msse3 -w"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet"
FEATURES="buildsyspkg ccache cvs distlocks metadata-transfer nodoc noinfo
parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi alsa amd64 amr audiofile bitmap-fonts bzip2 cairo
cdinstall cdr cli cracklib cups dbus dri dts dvd dvdr dvdread emboss encode evo
exif fam firefox fortran gdbm gif gmp gtk hal iconv jpeg libg++ lirc logrotate
mad midi mikmod minimal mmx mp3 mpeg ncurses nptl nptlonly offensive ogg opengl
pcre pdf php png pppd qt3support quicktime readline reflection sdl session smp
soundtouch spl sse sse2 ssl svg symlink tcpd threads tiff truetype
truetype-fonts type1-fonts unicode v4l vim vorbis x264 xinerama xorg xv xvid
zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Christoph Mende 2007-05-03 14:07:40 0000 -------
Created an attachment (id=118047) [details]
build.log for udev-110

------- Comment #2 From Matthias Schwarzott 2007-05-03 16:19:48 0000 -------
Created an attachment (id=118057) [details]
add missing Makefile dependency

Can you please try if the attached patch makes building no longer fail.

It makes the .shlib/*.o files depending on the created directory. It seems to
me like make reordering the depends and creating the dir too late.

------- Comment #3 From Matthias Schwarzott 2007-05-03 16:23:14 0000 -------
Created an attachment (id=118058) [details]
better correction to add missing Makefile dependency

------- Comment #4 From Christoph Mende 2007-05-03 16:59:49 0000 -------
Created an attachment (id=118060) [details]
new build.log

that patch fixes the problem, seems like the same problem occurs a bit later
now ;>
attached is the build.log of udev-110 with udev-shlib-make-depend.diff

------- Comment #5 From Matthias Schwarzott 2007-05-03 17:08:02 0000 -------
That reads like: Bug is fixed,

but I do not know that I need to copy all files from subdirectory
sys-fs/udev/files into my overlay :)

------- Comment #6 From Christoph Mende 2007-05-03 17:12:08 0000 -------
Woops, didn't see that file was in ${FILESDIR}
It's fixed now :>

------- Comment #7 From Matthias Schwarzott 2007-05-04 07:06:04 0000 -------
Added patch to udev-110.