Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265881 - dev-scheme/chicken-4.0.0 parallel make fails
Summary: dev-scheme/chicken-4.0.0 parallel make fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
: 283158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-12 18:16 UTC by Sven E.
Modified: 2013-01-27 21:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,39.02 KB, text/plain)
2009-04-12 18:19 UTC, Sven E.
Details
Patch to latest dev sources to allow parallel build (chicken-4.7.3-parallel-build.patch,3.05 KB, patch)
2011-11-22 23:58 UTC, erik falor
Details | Diff
Ebuild with USE=parallel-build support (chicken-4.7.3.ebuild,1.86 KB, text/plain)
2011-11-22 23:59 UTC, erik falor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2009-04-12 18:16:28 UTC
Chicken 4.00 fails to build.
The weird thing is, that LD returns with error code 1 and claims that some .so has an unrecognized format.
I wonder if this is somehow related to my system (chicken is the only packge so far with problems) or if it is something in the chicken build.
Can anyone reproduce the problem?

Reproducible: Always

Steps to Reproduce:
1.emerge chicken ....
2.
3.

Actual Results:  
build failure furing linking

Expected Results:  
clean build

build log etc. will follow
Comment 1 Sven E. 2009-04-12 18:17:26 UTC
emerge --info:

Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1 i686)
=================================================================
System uname: Linux-2.6.29.1-i686-Genuine_Intel-R-_CPU_T2500_@_2.00GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 12 Apr 2009 16:00:01 +0000
app-shells/bash:     4.0_p17
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -mtune=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups curl dbus dri dvb dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-keyring gnutls gphoto2 gpm graphviz gstreamer gtk guile hal iconv idn ipv6 isdnlog java6 jpeg jpeg2k latex ldap libnotify lzo mad matroska midi mikmod mmx modplug mono mp3 mpeg mudflap musepack ncurses networkmanager nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt4 quicktime readline reflection ruby samba sdl session speex spell spl sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vorbis win32codecs wmf wxwindows x264 x86 xattr xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="ide" USERLAND="GNU" VIDEO_CARDS="v4l vesa radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sven E. 2009-04-12 18:19:50 UTC
Created attachment 188112 [details]
Build log

As one can see the build fails with a linking error due to an unrecognized shared object.
Comment 3 Rafał Mużyło 2009-04-12 19:26:15 UTC
Most probably a parallel make problem.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-12 21:25:44 UTC
Does the package build successfully when you set MAKEOPTS to "-j1"?
Comment 5 Sven E. 2009-04-13 01:59:16 UTC
Indeed unsetting MAKEOPTS fixed the problem.

Didn't think of that, sorry folks.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2009-04-13 10:11:31 UTC
Thanks for your report Sven. I reproduced the issue and have notified upstream.
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2009-04-15 23:18:42 UTC
Upstream does not want to support parallel builds at this time, so I'm forcing -j1 for now.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-08-29 21:40:23 UTC
Okay with the forcing, but this bug needs to stay open!
Comment 9 Marijn Schouten (RETIRED) gentoo-dev 2009-08-30 11:47:18 UTC
*** Bug 283158 has been marked as a duplicate of this bug. ***
Comment 10 erik falor 2011-11-22 23:58:30 UTC
Created attachment 293457 [details, diff]
Patch to latest dev sources to allow parallel build
Comment 11 erik falor 2011-11-22 23:59:41 UTC
Created attachment 293459 [details]
Ebuild with USE=parallel-build support

USE=parallel-build to turn on parallelism
Comment 12 erik falor 2011-11-23 00:02:54 UTC
A hacker on the chicken-users mailing list has provided a patch against the latest dev sources that allows compiling chicken where -jN > 1.

I have modified an ebuild around that feature, which I've attached to this record.

Give it a try and see if you can tell the difference.
Comment 13 erik falor 2011-12-15 15:37:21 UTC
dev-scheme/chicken-4.7.3-r1.ebuild with the parallel-build feature is in Portage.  I think we may close this bug now
Comment 14 Panagiotis Christopoulos (RETIRED) gentoo-dev 2013-01-27 21:15:46 UTC
It should be fixed by now (at least in 4.7.3 and 4.8.0). Thanks for reporting. Closing for now. Reopen if there are still issues.