Bug#917985: openfoam: Openfoam should not build (nor skip) dummy libraries

littlejohn75 at laposte.net littlejohn75 at laposte.net
Tue Jan 1 23:03:40 GMT 2019


Package: openfoam
Version: 4.1+dfsg1-2pre~6.gbpa01bff
Severity: normal

Dear Maintainer,

The libopenfoam package installs  some files with paths derived from upstream ::

Libraries in questionable paths

/usr/lib/openmpi-system/libPstream.so
/usr/lib/openmpi-system/libptscotchDecomp.so

Libraries which can be taken off the build in Debian

/usr/lib/dummy/libMGridGen.so
/usr/lib/dummy/libPstream.so
/usr/lib/dummy/libmetisDecomp.so
/usr/lib/dummy/libptscotchDecomp.so

A Debian system should not have specific directories such as openmpi-system
or dummy.

git repository git at salsa.debian.org:littlejohn75-guest/openfoam.git contains
a number of patches ::
54_no_dummy_mpi.patch   (get rid of FOAM_MPI nonsense )
60_no_SCOTCH_ROOT.patch
61_no_metisDecomp.patch
62_no_dummy_decomposeMethod.patch
64_no_dummy_libdir.patch
  to get rid of dummy compatibility libraries with software not in Debian.

There are also some modifications of how to link the numerous programs and libraries
namely
 56_link_dl.patch  (get rid of zillions warnings about -ldl )
 58_simplify_LINK.patch  
 72_unused_lib_deps.patch  (do not link with a library if no symbols are used )


For the problem of potential name collisions with other packages, /usr/bin/noise
or /usr/bin/pdfPlot or /usr/lib/libsampling.so for instance, I wil open another
bug number.

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openfoam depends on:
ii  libc6            2.24-11+deb9u3
ii  libgcc1          1:6.3.0-18+deb9u1
ii  libopenfoam      4.1+dfsg1-2pre~6.gbpa01bff
ii  libreadline7     7.0-3
ii  libstdc++6       6.3.0-18+deb9u1
ii  mpi-default-bin  1.8

Versions of packages openfoam recommends:
pn  openfoam-examples  <none>

openfoam suggests no packages.

-- no debconf information

Cordialement,
Regards,
Mit freundlichen Grüßen,
مع  تحياتي الخالصة  
---
F. Petitjean
Ingénieur civil du Génie Maritime.
littlejohn75 at laposte.net

« On ne perd pas son temps en aiguisant ses outils. »
    Proverbe français

« Moi, lorsque je n’ai rien à dire, je veux qu’on le sache. »  (R. Devos)



More information about the debian-science-maintainers mailing list