Package: libhdf5-openmpi-dev
Version: 1.10.8+repack-1
Severity: important
Control: block 1020054 by -1

h5pcc is showing an unexpected default configuration:

$ h5pcc --showconfig
gcc -I/usr/include/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi 
/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5_hl.a 
/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.a -lcrypto -lcurl -lsz -lz -ldl 
-lm -Wl,-rpath -Wl,/usr/lib/x86_64-linux-gnu/hdf5/openmpi 
-I/usr/lib/x86_64-linux-gnu/openmpi/include 
-I/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi 
-L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi

Note how it includes static linking to libhdf5_hl.a and libhdf5.a

I would expect the default configuration to use dynamic linking with
shared libraries, as in

$ h5pcc --showconfig -shlib
gcc -I/usr/include/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi 
-lhdf5_hl -lhdf5 -lcrypto -lcurl -lsz -lz -ldl -lm -Wl,-rpath 
-Wl,/usr/lib/x86_64-linux-gnu/hdf5/openmpi

As far as I can tell, the default static linking is causing the RC
Bug#1020054 reported against h5py.

Should the default configuration of h5pcc be changed to confirm with
the -shlib configuration?


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libhdf5-openmpi-dev depends on:
ii  libaec-dev                         1.0.6-1+b1
ii  libcurl4-gnutls-dev [libcurl-dev]  7.86.0-1
ii  libhdf5-openmpi-103-1              1.10.8+repack-1
ii  libhdf5-openmpi-cpp-103-1          1.10.8+repack-1
ii  libhdf5-openmpi-fortran-102        1.10.8+repack-1
ii  libhdf5-openmpi-hl-100             1.10.8+repack-1
ii  libhdf5-openmpi-hl-cpp-100         1.10.8+repack-1
ii  libhdf5-openmpi-hl-fortran-100     1.10.8+repack-1
ii  libjpeg-dev                        1:2.1.2-1+b1
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:2.1.2-1+b1
ii  libopenmpi-dev                     4.1.4-3
ii  libssl-dev                         3.0.7-1
ii  zlib1g-dev                         1:1.2.11.dfsg-4.1

libhdf5-openmpi-dev recommends no packages.

Versions of packages libhdf5-openmpi-dev suggests:
pn  libhdf5-doc  <none>

-- no debconf information

Reply via email to