Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240986 - dev-java/jamvm-1.5.0-r2 hangs during build with message "Rebuild sys-devel/gcc with libffi support" allthough gcc is built with libffi support
Summary: dev-java/jamvm-1.5.0-r2 hangs during build with message "Rebuild sys-devel/gc...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-10 09:30 UTC by Guenter Mistlberger
Modified: 2009-06-04 17:36 UTC (History)
0 users

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 Guenter Mistlberger 2008-10-10 09:30:30 UTC
jamvm requires libffi use flag for gcc, but gcc is already built with libffi support.

Reproducible: Always

Steps to Reproduce:
1. emerge -v jamvm

Actual Results:  
jamvm doesnt build because it hangs with the libffi check of gcc.

Expected Results:  
build jamvm

# emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.2  USE="fortran gcj gtk libffi mudflap nls (-altivec) -bootstrap -build -d -doc (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB


# emerge -v jamvm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-java/jamvm-1.5.0-r2  USE="-debug (-libffi)" 0 kB 

Total: 1 package (1 new), Size of downloads: 0 kB

>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-java/jamvm-1.5.0-r2 to /
 * jamvm-1.5.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                        [ ok ]
 * checking jamvm-1.5.0.tar.gz ;-) ...                                                                                                                                        [ ok ]
 * sys-devel/gcc not built with libffi support
 * rebuild sys-devel/gcc with USE="libffi"
 * 
 * ERROR: dev-java/jamvm-1.5.0-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called pkg_setup
 *   jamvm-1.5.0-r2.ebuild, line   33:  Called die
 * The specific snippet of code:
 *              die "Rebuild sys-devel/gcc with libffi support"
 *  The die message:
 *   Rebuild sys-devel/gcc with libffi support

# emerge --info
Portage 2.1.4.5 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Fri, 10 Oct 2008 08:19:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/ http://gentoo.inode.at http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tugraz.at/mirror/gentoo/"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/portage"
SYNC="rsync://rsync.gentoo.de/gentoo-portage"
USE="X aac alsa amd64 arts berkdb cairo cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread emboss encode esd fam firefox fortran fuse gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sasl sdl session spell spl ssl svg tcpd theora tiff truetype unicode usb vorbis xml xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Guenter Mistlberger 2008-10-10 09:32:44 UTC
it might be related to this bug 

http://bugs.gentoo.org/show_bug.cgi?id=105973#c4
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-06-04 17:36:59 UTC
Try jamvm-1.5.0-r3, it is using different libffi. Reopen if it's still a problem.