Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174073 - dev-lang/erlang-11.2.4 build hangs
Summary: dev-lang/erlang-11.2.4 build hangs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 19:15 UTC by Gabriel Devenyi
Modified: 2007-04-17 16:48 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 Gabriel Devenyi 2007-04-10 19:15:22 UTC
I think erlang is near the end of its build when it runs this...

/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/bin/dialyzer --check_init_plt
  Checking whether the initial PLT exists and is up-to-date... no
    Creating initial PLT (will take several minutes; please be patient)

but it never returns from this.

A process
/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/bin/x86_64-pc-linux-gnu/beam 
is eating 95% cpu, so I assume this is what has hung.

emerge --info
Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20.6-ck1 x86_64)
=================================================================
System uname: 2.6.20.6-ck1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 10 Apr 2007 18:00:09 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.5
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -fweb -frename-registers"
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=""
CXXFLAGS="-O2 -march=k8 -pipe -ffast-math -fomit-frame-pointer -fweb -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_CA.UTF-8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-hash-style=both"
LINGUAS="en en_GB en_CA"
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/layman/nouveau /usr/portage/local/layman/xeffects /usr/portage/local/layman/toolchain /usr/portage/local/layman/iwlwifi /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 7zip S3TC X a52 aac aiglx akode alsa amarok amd64 ao aoss asf audiofile autoreplace bash-completion berkdb bitmap-fonts bzip2 cairo ccache cdda cdio cdparanoia cdr chroot cracklib crypt css cups curl curlwrappers dbus deprecated discouraged divx dpms dts dvd dvdnav dvdr dvdread emerald emul-linux-x86 encode escreen exif fam fat ffmpeg fftw filter_default firefox flac flash foomaticdb fortran gd gdbm gif glibc-omitfp glitz gmedia gmp gnuplot gpgme gphoto2 gs gtk gtk2 hal history iconv idea ifp imagemagick imap imlib irc isdnlog jabber javascript jingle joystick jp2 jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdepim kig-scripting lame latex ldap libg++ libsamplerate libusb libwww lirc live lm_sensors lzo mad matroska menubar mime ming mmap mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mpeg4 mplayer msn ncurses net network newspr nls no_wxgtk1 nocd nodrm nomac nomalloccheck nowin nowlistening nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcre pda pdf perl pertty pic plotutils png postscript ppds pppd python qt3 quicktime rar readline reflection risky rt2500pci rtc rtsp samba sasl sblive sdl sdlaudio session sftplogging sharedmem slang smime smp sndfile sox speex spell ssl svg sysfs szip tetex texteffect theora threads tidy tiff transcode transparency truetype truetype-fonts type1 type1-fonts unicode usb userlocales uudeview vorbis wifi wmp wxwindows x264 xanim xcomposite xine xinerama xorg xv xvid xvmc yv12 zip 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="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_CA" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nv nvidia nouveau"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-10 19:25:41 UTC
(In reply to comment #0)
> but it never returns from this.

 What means never?  How long did you wait?  And please give $(emerge -pv erlang)
Comment 2 Gabriel Devenyi 2007-04-10 19:35:43 UTC
Calculating dependencies... done!
[ebuild     U ] dev-lang/erlang-11.2.4 [11.2.3-r1] USE="smp ssl -doc -emacs -hipe -java -kpoll -odbc -tk" 0 kB

Current wait time is 30 minutes, still going..
Comment 3 Gabriel Devenyi 2007-04-10 20:07:18 UTC
Finally passed that point, but seems to fail somewhere in the install, looking into it:

/var/tmp/portage/dev-lang/erlang-11.2.4/work/otp_src_R11B-4/bin/dialyzer --check_init_plt
  Checking whether the initial PLT exists and is up-to-date... no
    Creating initial PLT (will take several minutes; please be patient)


Unknown functions: [{compile,file,2},
                    {compile,forms,2},
                    {compile,output_generated,1},
                    {crypto,des3_cbc_decrypt,5},
                    {crypto,start,0},
                    {snmp_index,delete,1},
                    {snmp_index,delete,2},
                    {snmp_index,get,2},
                    {snmp_index,get_next,2},
                    {snmp_index,insert,3},
                    {snmp_index,new,1}]
  Done building PLT in 53m36.11s
done (passed successfully)
Comment 4 Gabriel Devenyi 2007-04-11 00:03:14 UTC
Seems to be a problem related to MAKEOPS, as setting it to -j1 allowed erlang to build correctly
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-17 16:48:29 UTC
Added -j1 to the appropriate line, closing.