Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192059 - dev-lang/mono-1.2.5 parallel make failure
Summary: dev-lang/mono-1.2.5 parallel make failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
: 192098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-11 01:15 UTC by Jose daLuz
Modified: 2007-09-11 10:11 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 Jose daLuz 2007-09-11 01:15:15 UTC
Updating mono from 1.2.4 to 1.2.5 I ran into this build failure:

make[6]: Entering directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/jay'
make all-local
make[7]: Entering directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/jay'
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o closure.o closure.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o error.o error.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o lalr.o lalr.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o lr0.o lr0.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o main.o main.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o mkpar.o mkpar.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o output.o output.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o reader.o reader.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o symtab.o symtab.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o verbose.o verbose.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -c -o warshall.o warshall.c
x86_64-pc-linux-gnu-gcc -DSKEL_DIRECTORY=\""/usr/share/jay"\" -g -O2 -o jay closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o symtab.o verbose.o warshall.o
make[7]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/jay'
make[6]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/jay'
make[6]: Entering directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
Creating ../build/deps/basic_mcs.exe.makefrag ...
make[6]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
make[6]: Entering directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
make all-local
make[7]: Entering directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > jay-tmp.out && mv jay-tmp.out cs-parser.cs
/bin/sh ../mkinstalldirs ../class/lib/basic/
cp mcs.exe.config ../class/lib/basic/mcs.exe.config
mkdir -p -- ../class/lib/basic/
touch ../class/lib/basic//.stamp
../jay/jay: 5 rules never reduced
../jay/jay: 30 shift/reduce conflicts, 1 reduce/reduce conflict.
cp: cannot create regular file `../class/lib/basic/mcs.exe.config': No such file or directory
make[7]: *** [../class/lib/basic/mcs.exe.config] Error 1
make[7]: *** Waiting for unfinished jobs....
make[7]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
make[6]: *** [do-all] Error 2
make[6]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs/mcs'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/dev-lang/mono-1.2.5/work/mono-1.2.5'
make: *** [all] Error 2
 * If you are using any hardening features such as
 * PIE+SSP/SELinux/grsec/PAX then most probably this is the reason
 * why build has failed. In this case turn any active security
 * enhancements off and try emerging the package again

!!! ERROR in dev-lang/mono-1.2.5:

I do not have a hardened toolchain, or SELinux, installed. I have not enabled CONFIG_CC_STACKPROTECTOR for my kernel.
Comment 1 Jose daLuz 2007-09-11 01:15:32 UTC
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Mon, 10 Sep 2007 22:50:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.18.1
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
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CHOST="x86_64-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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --verbose --nospinner"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
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/layman/sunrise /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/xeffects /usr/portage/local/layman/vmware /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 05:54:04 UTC
Can you try w/ MAKEOPTS="-j1"?
Comment 3 Grégoire Favre 2007-09-11 07:08:16 UTC
I have the bug if I compil with -j3 but it works if I use -j1
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 07:24:37 UTC
Thanks.
Comment 5 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-11 08:09:54 UTC
Fixed in CVS, thanks
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 10:11:58 UTC
*** Bug 192098 has been marked as a duplicate of this bug. ***