<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>98457</bug_id>
          
          <creation_ts>2005-07-09 05:20 0000</creation_ts>
          <short_desc>mopac7-1.00 does not compile / link</short_desc>
          <delta_ts>2006-03-20 00:57:03 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>m.weigt@uni-bonn.de</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>m.weigt@uni-bonn.de</who>
            <bug_when>2005-07-09 05:20:41 0000</bug_when>
            <thetext>mopac7 fails to emerge 

Reproducible: Always
Steps to Reproduce:
1.emerge mopac 
2. 
3. 
 
Actual Results:  
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc 
-DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; -DPACKAGE_STRING=\&quot;mopac7\ 1.00\&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1  -I. -I.      -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -c mopac7lib.c 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/mopac7lib.pp -c mopac7lib.c  -fPIC 
-DPIC -o .libs/mopac7lib.o 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/mopac7lib.pp -c mopac7lib.c -o 
mopac7lib.o &gt;/dev/null 2&gt;&amp;1 
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; -DPACKAGE_STRING=\&quot;mopac7\ 1.00\&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1  -I. -I.      -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -c mopac7app.c 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp 
-m3dnow -msse -mfpmath=sse -mmmx -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -pipe  -o mopac7 
-lmopac7 -lf2c -lm mopac7app.o  -lm 
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -o mopac7 mopac7app.o  -lmopac7 -lf2c -lm 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lmopac7 
collect2: ld returned 1 exit status 
make[1]: *** [mopac7] Error 1 
make[1]: *** Waiting for unfinished jobs.... 
make[1]: *** Waiting for unfinished jobs.... 
make[1]: Leaving directory `/var/tmp/portage/mopac7-1.00/work/mopac7-1.00/src&apos; 
make: *** [all-recursive] Error 1 
 

Expected Results:  
should compile cleanly 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.4, 
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2600+ 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.4.1-r1,dev-lang/python-2.3.5 [2.4.1 
(#1, Jun 17 2005, 14:13:30)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.4.1-r1, 2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 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=&quot;x86&quot; 
AUTOCLEAN=&quot;yes&quot; 
CFLAGS=&quot;-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
CONFIG_PROTECT=&quot;/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 /var/qmail/control&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot; 
CXXFLAGS=&quot;-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms strict&quot; 
GENTOO_MIRRORS=&quot;ftp://mirror.switch.ch/mirror/gentoo/ 
http://mir.zyrianes.net/gentoo/ http://194.117.143.70 
ftp://mirror.nutsmaas.nl/gentoo/&quot; 
LINGUAS=&quot;de ru&quot; 
MAKEOPTS=&quot;-j2&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;/opt/portage&quot; 
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot; 
USE=&quot;x86 3dnow 3dnowext X a52 aac aalib alsa apm arts avi bash-completion 
berkdb bitmap-fonts cdr crypt cups curl dga divx4linux dvd dvdr dvdread emboss 
encode esd fam fame flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk 
gtk2 hal imagemagick imlib ipv6 ithreads java jpeg kde kdeenablefinal libg++ 
libwww logitech-mouse mad mikmod mjpeg mmx mmxext mng mopac7 motif mozsvg mp3 
mpeg mpqc ncurses nls nptl ogg oggvorbis openbabel opengl oss pam pdflib perl 
plugin png ppds python qt quicktime readline real rtc scanner sdl slang spell 
sse ssl svg svga symlink tcpd tetex threads tiff truetype truetype-fonts 
type1-fonts usb vorbis win32codecs wmf xine xml2 xmms xv xvid xvmc zlib 
linguas_de linguas_ru userland_GNU kernel_linux elibc_glibc&quot; 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS 
 
On another box I have less optimizations but it fails too</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2005-07-09 05:30:43 0000</bug_when>
            <thetext>Please use &quot;New -&gt; Gentoo Linux -&gt; Component: Ebuilds&quot; in future. Infrastructure
is not the correct addressee.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-07-09 13:31:34 0000</bug_when>
            <thetext>Looks like we need to add an -L to path containing libmopac in the workdir.

Could you try that manually and see whether it works?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>m.weigt@uni-bonn.de</who>
            <bug_when>2005-07-09 22:38:17 0000</bug_when>
            <thetext>(In reply to comment #2) 
&gt; Looks like we need to add an -L to path containing libmopac in the workdir. 
&gt;  
&gt; Could you try that manually and see whether it works? 
 
When I go to /var/tmp/portage/mopac7-1.00/work/mopac7-1.00 and write make (or 
make clean; make) it compiles cleanly. I compared the output and it seems that 
the ebuild did not link the library before trying to link the executable. 
Therefore the library libmopac7 is simply not there, when it wants to link 
against it. The manual make is doing it right, but I have no idea why. 
 
Here the last lines: 
manual make: 
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc 
-DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; -DPACKAGE_STRING=\&quot;mopac7\ 1.00\&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1  -I. -I.      -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -c mopac7lib.c 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/mopac7lib.pp -c mopac7lib.c  -fPIC 
-DPIC -o .libs/mopac7lib.o 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/mopac7lib.pp -c mopac7lib.c -o 
mopac7lib.o &gt;/dev/null 2&gt;&amp;1 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp 
-m3dnow -msse -mfpmath=sse -mmmx -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -pipe  -o 
libmopac7.la -rpath /usr/lib  aababc.lo addfck.lo addhcr.lo addnuc.lo analyt.lo 
anavib.lo axis.lo block.lo bonds.lo brlzon.lo btoc.lo calpar.lo capcor.lo 
cdiag.lo chrge.lo cnvg.lo compfg.lo consts.lo cqden.lo datin.lo dcart.lo 
delmol.lo delri.lo denrot.lo densit.lo depvar.lo deri0.lo deri1.lo deri2.lo 
deri21.lo deri22.lo deri23.lo deritr.lo deriv.lo dernvo.lo ders.lo dfock2.lo 
dfpsav.lo dgemm.lo dgemv.lo dger.lo dgetf2.lo dgetrf.lo dgetri.lo diag.lo 
diat.lo diat2.lo diegrd.lo dielen.lo diis.lo dijkl1.lo dijkl2.lo dipind.lo 
dipole.lo dlaswp.lo dofs.lo dot.lo drc.lo drcout.lo dtrmm.lo dtrmv.lo dtrsm.lo 
dtrti2.lo dtrtri.lo dvfill.lo ef.lo enpart.lo esp.lo etime.lo exchng.lo 
fdate.lo ffhpol.lo flepo.lo fmat.lo fock1.lo fock2.lo force.lo formxy.lo 
forsav.lo frame.lo freqcy.lo geout.lo geoutg.lo getgeg.lo getgeo.lo getsym.lo 
gettxt.lo gmetry.lo gover.lo greenf.lo grid.lo h1elec.lo haddon.lo hcore.lo 
helect.lo hqrii.lo ijkl.lo ilaenv.lo initsv.lo interp.lo iter.lo jcarin.lo 
linmin.lo local.lo locmin.lo lsame.lo makpol.lo mamult.lo matou1.lo matout.lo 
matpak.lo meci.lo mecid.lo mecih.lo mecip.lo moldat.lo molval.lo mullik.lo 
mult.lo nllsq.lo nuchar.lo parsav.lo partxy.lo pathk.lo paths.lo perm.lo 
polar.lo powsav.lo powsq.lo prtdrc.lo quadr.lo react1.lo reada.lo readmo.lo 
refer.lo repp.lo rotat.lo rotate.lo rsp.lo search.lo second.lo setupg.lo 
solrot.lo swap.lo sympro.lo symtry.lo symtrz.lo thermo.lo timer.lo timout.lo 
update.lo upsurf.lo vecprt.lo writmo.lo wrtkey.lo wrttxt.lo xerbla.lo xyzint.lo 
mopac7lib.lo  -lm  
i686-pc-linux-gnu-gcc 
-shared  .libs/aababc.o .libs/addfck.o .libs/addhcr.o .libs/addnuc.o .libs/analyt.o .libs/anavib.o .libs/axis.o .libs/block.o .libs/bonds.o .libs/brlzon.o .libs/btoc.o .libs/calpar.o .libs/capcor.o .libs/cdiag.o .libs/chrge.o .libs/cnvg.o .libs/compfg.o .libs/consts.o .libs/cqden.o .libs/datin.o .libs/dcart.o .libs/delmol.o .libs/delri.o .libs/denrot.o .libs/densit.o .libs/depvar.o .libs/deri0.o .libs/deri1.o .libs/deri2.o .libs/deri21.o .libs/deri22.o .libs/deri23.o .libs/deritr.o .libs/deriv.o .libs/dernvo.o .libs/ders.o .libs/dfock2.o .libs/dfpsav.o .libs/dgemm.o .libs/dgemv.o .libs/dger.o .libs/dgetf2.o .libs/dgetrf.o .libs/dgetri.o .libs/diag.o .libs/diat.o .libs/diat2.o .libs/diegrd.o .libs/dielen.o .libs/diis.o .libs/dijkl1.o .libs/dijkl2.o .libs/dipind.o .libs/dipole.o .libs/dlaswp.o .libs/dofs.o .libs/dot.o .libs/drc.o .libs/drcout.o .libs/dtrmm.o .libs/dtrmv.o .libs/dtrsm.o .libs/dtrti2.o .libs/dtrtri.o .libs/dvfill.o .libs/ef.o .libs/enpart.o .libs/esp.o .libs/etime.o .libs/exchng.o .libs/fdate.o .libs/ffhpol.o .libs/flepo.o .libs/fmat.o .libs/fock1.o .libs/fock2.o .libs/force.o .libs/formxy.o .libs/forsav.o .libs/frame.o .libs/freqcy.o .libs/geout.o .libs/geoutg.o .libs/getgeg.o .libs/getgeo.o .libs/getsym.o .libs/gettxt.o .libs/gmetry.o .libs/gover.o .libs/greenf.o .libs/grid.o .libs/h1elec.o .libs/haddon.o .libs/hcore.o .libs/helect.o .libs/hqrii.o .libs/ijkl.o .libs/ilaenv.o .libs/initsv.o .libs/interp.o .libs/iter.o .libs/jcarin.o .libs/linmin.o .libs/local.o .libs/locmin.o .libs/lsame.o .libs/makpol.o .libs/mamult.o .libs/matou1.o .libs/matout.o .libs/matpak.o .libs/meci.o .libs/mecid.o .libs/mecih.o .libs/mecip.o .libs/moldat.o .libs/molval.o .libs/mullik.o .libs/mult.o .libs/nllsq.o .libs/nuchar.o .libs/parsav.o .libs/partxy.o .libs/pathk.o .libs/paths.o .libs/perm.o .libs/polar.o .libs/powsav.o .libs/powsq.o .libs/prtdrc.o .libs/quadr.o .libs/react1.o .libs/reada.o .libs/readmo.o .libs/refer.o .libs/repp.o .libs/rotat.o .libs/rotate.o .libs/rsp.o .libs/search.o .libs/second.o .libs/setupg.o .libs/solrot.o .libs/swap.o .libs/sympro.o .libs/symtry.o .libs/symtrz.o .libs/thermo.o .libs/timer.o .libs/timout.o .libs/update.o .libs/upsurf.o .libs/vecprt.o .libs/writmo.o .libs/wrtkey.o .libs/wrttxt.o .libs/xerbla.o .libs/xyzint.o .libs/mopac7lib.o  
-lm  -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx 
-maccumulate-outgoing-args -Wl,-soname -Wl,libmopac7.so.0 
-o .libs/libmopac7.so.0.0.0 
(cd .libs &amp;&amp; rm -f libmopac7.so.0 &amp;&amp; ln -s libmopac7.so.0.0.0 libmopac7.so.0) 
(cd .libs &amp;&amp; rm -f libmopac7.so &amp;&amp; ln -s libmopac7.so.0.0.0 libmopac7.so) 
/usr/bin/ar cru .libs/libmopac7.a  aababc.o addfck.o addhcr.o addnuc.o analyt.o 
anavib.o axis.o block.o bonds.o brlzon.o btoc.o calpar.o capcor.o cdiag.o 
chrge.o cnvg.o compfg.o consts.o cqden.o datin.o dcart.o delmol.o delri.o 
denrot.o densit.o depvar.o deri0.o deri1.o deri2.o deri21.o deri22.o deri23.o 
deritr.o deriv.o dernvo.o ders.o dfock2.o dfpsav.o dgemm.o dgemv.o dger.o 
dgetf2.o dgetrf.o dgetri.o diag.o diat.o diat2.o diegrd.o dielen.o diis.o 
dijkl1.o dijkl2.o dipind.o dipole.o dlaswp.o dofs.o dot.o drc.o drcout.o 
dtrmm.o dtrmv.o dtrsm.o dtrti2.o dtrtri.o dvfill.o ef.o enpart.o esp.o etime.o 
exchng.o fdate.o ffhpol.o flepo.o fmat.o fock1.o fock2.o force.o formxy.o 
forsav.o frame.o freqcy.o geout.o geoutg.o getgeg.o getgeo.o getsym.o gettxt.o 
gmetry.o gover.o greenf.o grid.o h1elec.o haddon.o hcore.o helect.o hqrii.o 
ijkl.o ilaenv.o initsv.o interp.o iter.o jcarin.o linmin.o local.o locmin.o 
lsame.o makpol.o mamult.o matou1.o matout.o matpak.o meci.o mecid.o mecih.o 
mecip.o moldat.o molval.o mullik.o mult.o nllsq.o nuchar.o parsav.o partxy.o 
pathk.o paths.o perm.o polar.o powsav.o powsq.o prtdrc.o quadr.o react1.o 
reada.o readmo.o refer.o repp.o rotat.o rotate.o rsp.o search.o second.o 
setupg.o solrot.o swap.o sympro.o symtry.o symtrz.o thermo.o timer.o timout.o 
update.o upsurf.o vecprt.o writmo.o wrtkey.o wrttxt.o xerbla.o xyzint.o 
mopac7lib.o 
i686-pc-linux-gnu-ranlib .libs/libmopac7.a 
creating libmopac7.la 
(cd .libs &amp;&amp; rm -f libmopac7.la &amp;&amp; ln -s ../libmopac7.la libmopac7.la) 
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; -DPACKAGE_STRING=\&quot;mopac7\ 1.00\&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1  -I. -I.      -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -c mopac7app.c 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp 
-m3dnow -msse -mfpmath=sse -mmmx -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -pipe  -o mopac7 
-lmopac7 -lf2c -lm mopac7app.o  -lm  
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -o .libs/mopac7 
mopac7app.o  /var/tmp/portage/mopac7-1.00/work/mopac7-1.00/src/.libs/libmopac7.so 
-lf2c -lm 
creating mopac7 
make[1]: Leaving directory `/var/tmp/portage/mopac7-1.00/work/mopac7-1.00/src&apos; 
Making all in tests 
make[1]: Entering directory 
`/var/tmp/portage/mopac7-1.00/work/mopac7-1.00/tests&apos; 
make[1]: Nothing to be done for `all&apos;. 
make[1]: Leaving directory 
`/var/tmp/portage/mopac7-1.00/work/mopac7-1.00/tests&apos; 
make[1]: Entering directory `/var/tmp/portage/mopac7-1.00/work/mopac7-1.00&apos; 
cd . &amp;&amp; CONFIG_FILES=libmopac7.pc CONFIG_HEADERS= /bin/sh ./config.status 
config.status: creating libmopac7.pc 
make[1]: Leaving directory `/var/tmp/portage/mopac7-1.00/work/mopac7-1.00&apos; 
--------------------------------------------------------------------------- 
 
ebuild compile: 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/xyzint.pp -c xyzint.c -o xyzint.o 
&gt;/dev/null 2&gt;&amp;1 
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; -DPACKAGE_STRING=\&quot;mopac7\ 1.00\&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1  -I. -I.      -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -c mopac7app.c 
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O3 -march=athlon-xp 
-m3dnow -msse -mfpmath=sse -mmmx -fforce-addr -fomit-frame-pointer 
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 
-maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays -pipe  -o mopac7 
-lmopac7 -lf2c -lm mopac7app.o  -lm  
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx 
-fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop 
-frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -o mopac7 mopac7app.o  -lmopac7 -lf2c -lm 
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\&quot;mopac7\&quot; -DPACKAGE_TARNAME=\&quot;mopac7\&quot; 
-DPACKAGE_VERSION=\&quot;1.00\&quot; &quot;-DPACKAGE_STRING=\&quot;mopac7 1.00\&quot;&quot; 
-DPACKAGE_BUGREPORT=\&quot;\&quot; -DVERSION=\&quot;1.00\&quot; -DPACKAGE=\&quot;mopac7\&quot; 
-DVERSION=\&quot;1.00\&quot; -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DPACKAGE=\&quot;mopac7\&quot; -DVERSION=\&quot;1.00\&quot; -DHAVE_LIBM=1 -I. -I. -O3 
-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr 
-fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt 
-falign-functions=4 -maccumulate-outgoing-args -ffast-math 
-fprefetch-loop-arrays -pipe -Wp,-MD,.deps/mopac7lib.pp -c mopac7lib.c  -fPIC 
-DPIC -o .libs/mopac7lib.o 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lmopac7 
 </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-07-09 22:42:02 0000</bug_when>
            <thetext>That&apos;s odd, because the ebuild does nothing weird in the actual make process.

    emake || die &quot;emake failed&quot;

And emake is simply:

${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} &quot;$@&quot;

Do you have MAKEOPTS set to something greater than 1? If so, does reducing it to
1 fix the build?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>m.weigt@uni-bonn.de</who>
            <bug_when>2005-07-09 22:49:45 0000</bug_when>
            <thetext>&gt; Do you have MAKEOPTS set to something greater than 1? If so, does reducing it 
to 
&gt; 1 fix the build? 
 
Yes that did it. I didn&apos;t know that it can cause problems (But now its 
obvious ;-). I had -j2 as recommend by the Gentoo Handbook: 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&amp;chap=5 
 
Thanks, Mathias </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>t4bs@internode.on.net</who>
            <bug_when>2005-07-09 23:01:25 0000</bug_when>
            <thetext>This fixed it for me also...
Tks</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-07-09 23:02:54 0000</bug_when>
            <thetext>It can occasionally cause problems when you&apos;re trying to build interdependent
things at the same time. The handbook recommends it because it usually works,
and when it doesn&apos;t we usually have a fix in the ebuild.

I&apos;ve committed a fix for this. It should hit mirrors in an hour or so.

Thanks for testing!</thetext>
          </long_desc>
      
    </bug>

</bugzilla>