Summary: | sci-chemistry/vmd ebuild failes silently to compile plugins | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bjoern Olausson <contactme> |
Component: | Current packages | Assignee: | Gentoo Chemistry-Related Packages <sci-chemistry> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | vmd-1.9-compile.log |
Description
Bjoern Olausson
2011-04-27 08:27:20 UTC
Created attachment 271297 [details]
vmd-1.9-compile.log
# grep -n Error vmd-1.9-compile.log
570:make[2]: *** [../compile/lib_LINUX/bin/catdcd4.0/catdcd.o] Error 1
605:make[2]: *** [../compile/lib_LINUX/bin/cionize1.0/getplugins.o] Error 1
616:make[2]: *** [../compile/lib_LINUX/bin/cionize1.0/cionize_molfileio.o] Error 1
620:make[2]: *** [../compile/lib_LINUX/bin/cionize1.0/cionize_internals.o] Error 1
1241:make[2]: *** [../compile/lib_LINUX/tcl/volutil1.3/getplugins.o] Error 1
Cheers,
Bjoern
Perhaps you could provide an initial patch for the ebuild. Lets see who is faster, but my schedule doesn't look that good :-( Since I am not into the building process of VMD/Plugins I will not try to fix this, but see if I can ramp up the ebuild to include a useflag for the plugins as soon as the major bug has been fixed. Cheers, Bjoern Hmpf, I can't figure out why libmolfile_plugin.h is missing when the lib is called molfile_plugin.h It's here /var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/include/molfile_plugin.h but gcc invoked from portage looks for libmolfile_plugin.h. Portage: emake TCLINC=-I/usr/include TCLLIB=-L/usr/lib64 NETCDFLIB=-L/usr/lib64 NETCDFINC=-I/usr/include NETCDFLDFLAGS=-lnetcdf LINUX [...] make[2]: Entering directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' mkdir -p ../compile/lib_LINUX/bin/catdcd4.0 x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./hash.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/hash.o x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./catdcd.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/catdcd.o ./catdcd.c:17:31: fatal error: libmolfile_plugin.h: No such file or directory compilation terminated. make[2]: *** [../compile/lib_LINUX/bin/catdcd4.0/catdcd.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' Manual (in /var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/): make TCLINC=-I/usr/include TCLLIB=-L/usr/lib64 NETCDFLIB=-L/usr/lib64 NETCDFINC=-I/usr/include NETCDFLDFLAGS=-lnetcdf LINUX [...] make[2]: Entering directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' mkdir -p ../compile/lib_LINUX/bin/catdcd4.0 x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./hash.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/hash.o x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./catdcd.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/catdcd.o make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' [...] To reproduce the portage compile process I ran the following steps: # ebuild vmd-1.9-r1.ebuild prepare # cd /var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/ # make TCLINC=-I/usr/include TCLLIB=-L/usr/lib64 NETCDFLIB=-L/usr/lib64 NETCDFINC=-I/usr/include NETCDFLDFLAGS=-lnetcdf LINUX [...] make[2]: Entering directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' mkdir -p ../compile/lib_LINUX/bin/catdcd4.0 x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./hash.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/hash.o x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -I. -I../include -I../compile/lib_LINUX/molfile -c ./catdcd.c -fPIC -o../compile/lib_LINUX/bin/catdcd4.0/catdcd.o make[2]: Leaving directory `/var/tmp/portage/sci-chemistry/vmd-1.9-r1/work/plugins/catdcd' [...] This works perfectly... no Errors here. I am just using catdcd as an example since this is the first to fail. Others depending on molfile_plugin.h fail the same way. Any ideas? Cheers, Bjoern + 10 Jan 2012; Justin Lecher <jlec@gentoo.org> vmd-1.9.ebuild: + Remove USE=static-libs beacuse this breaks build, #365051 + |