Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99001 - sci-chemistry/molmol-2k_p2 fails to compile when using MAKEOPTS="-j2"
Summary: sci-chemistry/molmol-2k_p2 fails to compile when using MAKEOPTS="-j2"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 06:14 UTC by Fábio L. Custódio
Modified: 2005-07-14 12:02 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 Fábio L. Custódio 2005-07-14 06:14:18 UTC
Emerge fails during the building step (linking libcip.a) when using "-j2" as a
make option.

Removing the "-j2" from MAKEOPTS corrects the problem.

This situation was reproduced on a AMD64 box.

Reproducible: Always
Steps to Reproduce:
1.add sci-chemistry/molmol ~x86 to package.keyword
2.emerge -v molmol
3.

Actual Results:  
make[4]: Entering directory `/var/tmp/portage/molmol-2k_p2/work/src/main'
i686-pc-linux-gnu-gcc -I../../tools/include -I../../sg/include -I../../include 
-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funit-at-a-time -ffast-math
-funroll-loops -fpeel-loops -funswitch-loops -fprefetch-loop-arrays
-frerun-loop-opt -frerun-cse-after-loop -mmmx -msse -m3dnow
-I../../tools/include -I../../sg/include -I../../include   -c -o MolMol.o MolMol.c
i686-pc-linux-gnu-gcc -I../../tools/include -I../../sg/include -I../../include 
-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funit-at-a-time -ffast-math
-funroll-loops -fpeel-loops -funswitch-loops -fprefetch-loop-arrays
-frerun-loop-opt -frerun-cse-after-loop -mmmx -msse -m3dnow
-I../../tools/include -I../../sg/include -I../../include   -c -o MolInit.o MolInit.c
i686-pc-linux-gnu-gcc -o molmol -I../../tools/include -I../../sg/include
-I../../include  -O3 -march=athlon-xp -pipe -fomit-frame-pointer
-funit-at-a-time -ffast-math -funroll-loops -fpeel-loops -funswitch-loops
-fprefetch-loop-arrays -frerun-loop-opt -frerun-cse-after-loop -mmmx -msse
-m3dnow MolMol.o MolInit.o ../../lib/libcip.a ../../lib/libcmd.a
../../lib/libui.a ../../lib/libgraph.a ../../lib/libio.a ../../lib/libpu.a
../../lib/libcalc.a ../../lib/libprim.a ../../lib/libdata.a ../../lib/libattr.a
../../lib/libfileio.a ../../lib/libos.a ../../sg/lib/libsg.a
../../tools/lib/libtools.a -ltiff -ljpeg -lpng -lz -lGLw -lGLU -lGL -lXm -lXpm
-lXt -lXext -lX11 -lm
../../lib/libcip.a(Cip.o)(.data+0x2a4): undefined reference to `ExAutoScale'
../../lib/libcip.a(Cip.o)(.data+0x2d4): undefined reference to `ExBondMode'
../../lib/libcip.a(Cip.o)(.data+0x454): undefined reference to `ExCenter'
../../lib/libcip.a(Cip.o)(.data+0x6c4): undefined reference to `ExDrawDelay'
../../lib/libcip.a(Cip.o)(.data+0x6dc): undefined reference to `ExDrawPrec'
../../lib/libcip.a(Cip.o)(.data+0x6f4): undefined reference to `ExDrawSize'
../../lib/libcip.a(Cip.o)(.data+0x82c): undefined reference to `ExFullscreen'
../../lib/libcip.a(Cip.o)(.data+0x844): undefined reference to `ExGroup'
../../lib/libcip.a(Cip.o)(.data+0x9c4): undefined reference to `ExLengthBond'
../../lib/libcip.a(Cip.o)(.data+0xc64): undefined reference to `ExMoveInit'
../../lib/libcip.a(Cip.o)(.data+0xc94): undefined reference to `ExMove'
../../lib/libcip.a(Cip.o)(.data+0xcac): undefined reference to `ExMove'
../../lib/libcip.a(Cip.o)(.data+0xcc4): undefined reference to `ExMove'
../../lib/libcip.a(Cip.o)(.data+0x1294): undefined reference to `ExRotateInit'
../../lib/libcip.a(Cip.o)(.data+0x12ac): undefined reference to `ExRotate'
../../lib/libcip.a(Cip.o)(.data+0x12c4): undefined reference to `ExRotate'
../../lib/libcip.a(Cip.o)(.data+0x12dc): undefined reference to `ExRotate'
../../lib/libcip.a(Cip.o)(.data+0x14ec): undefined reference to `ExStereo'
../../lib/libcip.a(Cip.o)(.data+0x1894): undefined reference to `ExZoom'
../../lib/libcip.a(Cip.o)(.data+0x18ac): undefined reference to `ExZoom'
collect2: ld returned 1 exit status
make[4]: *** [molmol] Error 1
make[4]: Leaving directory `/var/tmp/portage/molmol-2k_p2/work/src/main'
make[3]: *** [main] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/molmol-2k_p2/work/src/cmdfig'
make[3]: Leaving directory `/var/tmp/portage/molmol-2k_p2/work/src'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/var/tmp/portage/molmol-2k_p2/work/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/var/tmp/portage/molmol-2k_p2/work'
make: *** [default] Error 2


Expected Results:  
Compile and emerge.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4-fst i686)
=================================================================
System uname: 2.6.12-gentoo-r4-fst i686 AMD Sempron(TM) 2800+
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -funit-at-a-time
-ffast-math -funroll-loops -fpeel-loops -funswitch-loops -fprefetch-loop-arrays
-frerun-loop-opt -frerun-cse-after-loop -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -pipe -fomit-frame-pointer -funit-at-a-time
-ffast-math -funroll-loops -fpeel-loops -funswitch-loops -fprefetch-loop-arrays
-frerun-loop-opt -frerun-cse-after-loop -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mirror.datapipe.net/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex GAPING_SECURITY_HOLE S3TC X Xaw3d a52 aac aalib acl acpi
acpi4linux aim alsa amd aotuv arts asm async atlas auctex audiofile avi berkdb
bidi bitmap-fonts blas bootsplash bzip2 bzlib c++ cap ccache cddb cdparanoia cdr
cdrom cgi chroot clisp cln cmucl codecs crypt ctype cups dga divx4linux dnd
dnsdb doc dv dvd dvdr dvdread edl emacs emul-linux encode evo expat ext-png
ext-zlib f2c f77 faad fastcgi fbcon fbdev ffmpeg fftw flac font-server
foomaticdb foreign-package fortran freetype gcl gd gdbm gif gimp gimpprint ginac
glade glgd glut gnomedb gnuplot gphoto2 gpm gsl gtk gtk2 hal hdf5 icq idea
imagemagick imap imlib imlib2 innodb java javascript jpeg jpeg2k kde latex lcms
leim libcaca libedit libgda live lm_sensors ltsp lzo mad matroska md5sum mdb
mime ming mmx mmx2 mmxext mng motif mozilla mozsvg mp3 mpeg mpeg4 mplayer msn
mupad-noscilab ncurses network nls nomalloccheck noreiserfs nptl nptlonly nvidia
objc offensive ogg oggvorbis openal opengl operanom2 oscar pam parse-clocks pcre
pdflib perl php pic plotutils png posix povray ppds pthreads python qt readline
roundrobin rss rtc samba sasl scanner sdl skey slang slp speedo speex spell sse
ssl stencil-buffer svg sysvipc t1lib tcltk tcpd tetex tga theora tiff tlen
transcode truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vcd
videos vim-with-x vorbis wmf wsconvert wxwindows x86 xchatdccserver xchattext
xine xml xml2 xmlrpc xmms xosd xscreensaver xsl xv xvid yahoo yaz zlib
linguas_en linguas_pt_BR userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-14 12:02:55 UTC
Fixed, thanks for the report!