[Debichem-devel] Bug#626362: Fails to build from source if libghemical is recompiled from source

Moritz Muehlenhoff muehlenhoff at univention.de
Wed May 11 10:31:42 UTC 2011


Package: ghemical
Version: 2.99.2-1
Severity: serious
Tags: squeeze

Hi Michael/Daniel,

I've tried to rebuild ghemical for Univention Corporate Server, a Debian 
derived distribution based on Debian stable (currently Lenny, our next release 
will be based on Squeeze).

The following was tested against Squeeze, but should equally apply to unstable,
since the versions are the same:

ghemical compiles fine if built against the libghemical binary packages currently
in the archive (i.e. the version uploaded in 2009). However, if libghemical is
rebuild on Squeeze, the build of ghemical fails to build from source:

----
(..)
/usr/lib/../lib/libghemical.so: undefined reference to `sc::MessageGrp::set_default_messagegrp(sc::Ref<sc::MessageGrp> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::VDWShape::VDWShape(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::MolecularEnergy::get_cartesian_gradient()'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::TCHF::TCHF(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::SCMatrixKit::set_default_matrixkit(sc::Ref<sc::SCMatrixKit> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RefSymmSCMatrix::RefSymmSCMatrix(sc::RefSCDimension const&, sc::Ref<sc::SCMatrixKit
> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::ConnollyShape::ConnollyShape(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::DiscreteConnollyShape::DiscreteConnollyShape(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::SCElementScalarProduct::SCElementScalarProduct()'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RefBase::reference(sc::RefCount*)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::ShmMessageGrp::ShmMessageGrp(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::UHF::UHF(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `typeinfo for sc::MolecularEnergy'
/usr/lib/../lib/libghemical.so: undefined reference to `typeinfo for sc::OneBodyWavefunction'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RefSymmSCMatrix::~RefSymmSCMatrix()'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::SCVectordouble::~SCVectordouble()'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RefCount::unlock_ptr() const'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::BFGSUpdate::BFGSUpdate(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::OSSHF::OSSHF(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::OneBodyWavefunction::orbital_density(sc::SCVector3 const&, int, double*)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::DistSCMatrixKit::DistSCMatrixKit(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::OOGLRender::OOGLRender(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RenderedMolecularSurface::RenderedMolecularSurface(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::MessageGrp::get_default_messagegrp()'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::KeyVal::exists(char const*)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::Appearance::Appearance(sc::Ref<sc::KeyVal> const&)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::PrefixKeyVal::PrefixKeyVal(sc::Ref<sc::KeyVal> const&, char const*)'
/usr/lib/../lib/libghemical.so: undefined reference to `sc::RenderedBallMolecule::RenderedBallMolecule(sc::Ref<sc::KeyVal> const&)'
collect2: ld returned 1 exit status
make[4]: *** [ghemical] Error 1
make[4]: Leaving directory `/var/build/temp/tmp.JyKUfIlECN/3.0-0-0/ghemical/ghemical-2.99.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/build/temp/tmp.JyKUfIlECN/3.0-0-0/ghemical/ghemical-2.99.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/build/temp/tmp.JyKUfIlECN/3.0-0-0/ghemical/ghemical-2.99.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/build/temp/tmp.JyKUfIlECN/3.0-0-0/ghemical/ghemical-2.99.2'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
---

I've filed this against ghemical, but the error might just as well be present
in libghemical.

Cheers,
        Moritz





More information about the Debichem-devel mailing list