[Pkg-scicomp-devel] Comments regarding slepc_3.0.0-p2-1_amd64.changes

Johannes Ring johannr at simula.no
Fri Apr 3 09:30:12 UTC 2009


Hi Frank,

On Thu, April 2, 2009 23:25, Frank Lichtenheld wrote:
> Why do the lib and the -dev package conflict with the earlier
> versions? They do not seem to share any files.

Yes, you are right about the lib package but the -dev package creates
links (in libslepc3.0.0-dev.postinst) to /usr/include/slepc,
/usr/lib/libslepc.a, and /usr/libslepc.so and they are all in
libslepc2.3.2-dev. Is it necessary to remove the Conflicts line from the
lib package and rebuild?

> Also do you really need the build-dependency on the -dbg packages?
> That seems unusual.

I added these build-dependencies but I'm not sure if they are really
needed. My thought was that when building the static debugging libraries
for SLEPc we should build them against the static debugging libraries for
PETSc, like this

        PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
          SLEPC_DIR=$(CURDIR) ./configure
--with-arpack-dir=/usr/lib/debug/usr/lib \
          --with-arpack-flags=-lparpack,-larpack
        $(MAKE) PETSC_ARCH=$(PETSC_ARCH)-c-debug PETSC_DIR=$(PETSC_DIR) \
          SLEPC_INSTALL_DIR=/usr/lib/slepcdir/$(SLEPC_VERSION) \
          SLEPC_DIR=$(CURDIR)

I'm not that experienced with these kind of things so maybe someone else
can have a look at debian/rules and see if it makes any sense?

Best regards,

Johannes





More information about the Pkg-scicomp-devel mailing list