Your message dated Sun, 03 Oct 2021 13:49:23 +0000
with message-id <e1mx1rn-000fv1...@fasolo.debian.org>
and subject line Bug#995594: fixed in hdf5 1.10.7+repack-3
has caused the Debian Bug report #995594,
regarding libhdf5[-openmpi]-dev: missing Depends: libcurl-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
995594: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995594
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libhdf5-openmpi-dev
Version: 1.10.7+repack-2
Severity: serious
Justification: FTBFS
Control: affects -1 src:fenics-dolfinx

The hdf5 compiler wrappers declare -lcurl as a linked library
e.g. 
$ h5cc -showconfig | grep curl
                Extra libraries: -lcrypto -lcurl -lpthread -lsz -lz -ldl -lm 
$ h5pcc -showconfig | grep curl
                Extra libraries: -lcrypto -lcurl -lsz -lz -ldl -lm 


But libcurl-dev is not declared as a Dependency for libhdf5-openmpi-dev.
This means that compiling with h5pcc (or h5cc) fails unless [a]
libcurl-dev is installed.

This affects client packages using cmake that check HDF5
configuration using find_package(hdf5),
e.g. a trivial sample CMakeLists.txt

------------------
project(TEST_hdf5)

set(HDF5_PREFER_PARALLEL TRUE)
find_package(HDF5 REQUIRED COMPONENTS C)
------------------

gives the result,

  -- HDF5 C compiler wrapper is unable to compile a minimal HDF5 program.
  CMake Error at 
/usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
    Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS C) (found
    version "")


A current example is the broken build of fenics-dolfinx on i386,
https://buildd.debian.org/status/fetch.php?pkg=fenics-dolfinx&arch=i386&ver=1%3A0.3.0-3&stamp=1633198410&raw=0


cmake is desparately opaque, but with enough sweat and tears
(ultimately, by compiling the cmake hdf5 test file manually with
h5pcc) one can eventually discover that the problem is the -lcurl flag
in h5pcc,

  CMakeFiles/hdf5$ h5pcc cmake_hdf5_test.c
  /usr/bin/ld: cannot find -lcurl



I'm filing this bug against libhdf5-openmpi-dev, providing h5pcc, 
since I want to use hdf5-mpi, but the problem also affects libhdf5-dev
(providing h5cc).

Since h5pcc and h5cc invoke -lcurl, libhdf5-openmpi-dev, libhdf5-dev (and
probably libhdf5-mpich-dev also) should declare Depends: libcurl-dev

Finally, since libcurl-dev is virtual, the actual declaration should be
(following hdf5's Build-Depends)

  Depends: libcurl4-openssl-dev

or possibly Depends: libcurl4-openssl-dev | libcurl-dev
(the libcurl variants seem to be interchangeable)


Why h5cc needs -lcurl is a separate question! What is it trying to
download?


Drew


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

Kernel: Linux 5.14.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: 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 /usr/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
ii  libhdf5-openmpi-103-1              1.10.7+repack-2
ii  libhdf5-openmpi-cpp-103-1          1.10.7+repack-2
ii  libhdf5-openmpi-fortran-102        1.10.7+repack-2
ii  libhdf5-openmpi-hl-100             1.10.7+repack-2
ii  libhdf5-openmpi-hl-cpp-100         1.10.7+repack-2
ii  libhdf5-openmpi-hl-fortran-100     1.10.7+repack-2
ii  libjpeg-dev                        1:2.0.6-4
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:2.0.6-4
ii  libopenmpi-dev                     4.1.2~rc1-4
ii  zlib1g-dev                         1:1.2.11.dfsg-2

libhdf5-openmpi-dev recommends no packages.

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

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hdf5
Source-Version: 1.10.7+repack-3
Done: Gilles Filippini <p...@debian.org>

We believe that the bug you reported is fixed in the latest version of
hdf5, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 995...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gilles Filippini <p...@debian.org> (supplier of updated hdf5 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 03 Oct 2021 12:28:05 +0200
Source: hdf5
Architecture: source
Version: 1.10.7+repack-3
Distribution: unstable
Urgency: medium
Maintainer: Gilles Filippini <p...@debian.org>
Changed-By: Gilles Filippini <p...@debian.org>
Closes: 995594
Changes:
 hdf5 (1.10.7+repack-3) unstable; urgency=medium
 .
   * libhdf5*-dev: Depends: libcurl4-openssl-dev | libcurl-dev (Closes:
     #995594). This is a consequence of enabling read-only S3 virtual file
     driver.
   * Fix 103-1 package name in shlibs files
Checksums-Sha1:
 af6eaaef28446d72657a85aac7b84ab2cc1b935b 3872 hdf5_1.10.7+repack-3.dsc
 a1a9b5b1f97f744c2d51c9980cab08ed068e3795 147840 
hdf5_1.10.7+repack-3.debian.tar.xz
 be598b429bd5a912b06b1be7a73bb146642564dc 28276 
hdf5_1.10.7+repack-3_amd64.buildinfo
Checksums-Sha256:
 a78081231cd9a59c4cd99b22a857af574c22c156c623dc23287e6174a5492e3e 3872 
hdf5_1.10.7+repack-3.dsc
 4f47993e6e156bab4a5c6a44ba7023e5c19f0ac5229f785bf5aea4bc2d464bb0 147840 
hdf5_1.10.7+repack-3.debian.tar.xz
 d35ff52afb6d43e9cd536966d8823b18d0b193121f6b6029523c58a3b53869ae 28276 
hdf5_1.10.7+repack-3_amd64.buildinfo
Files:
 baa645ea03cf8bb2a4dfcb0113ac90e5 3872 science optional hdf5_1.10.7+repack-3.dsc
 53987125e3917fce2e8774c2a08378ed 147840 science optional 
hdf5_1.10.7+repack-3.debian.tar.xz
 44551c64626e8bca85fe55e01914703c 28276 science optional 
hdf5_1.10.7+repack-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFEBAEBCgAuFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmFZresQHHBpbmlAZGVi
aWFuLm9yZwAKCRDv6Gxsf/7Pg7MhB/9gfXw+Zt57VM2kjwa0rLlSfoXQSR2V3DmL
hkBPHEREml+yXgTT81qM82BLeP0WsxohijhQy5yDQdHF5IBvppAa8Zl/oJoN3MWh
MlCcluZEeC/vW2siWi69K2I+jXfHTjS4D7dmD+jFFTOMUrZjHV7c3QMnYP2ehaYO
14F45LRhSP1ahfN9q7oXiFWDOiZGFe2lpN4HoHegWjba2my1hHEJFIAoO2iw6Vws
ja1Ie4ASkKIu1q7GhaiNyypxvmjfJat1D2oZU5GovstO53D5lAVLB9bIOf0lUEcl
NUFW0kIJ54NucMLLQs3IdgMQskK4uV+BQAhwgkYhaYwpm8Mzyyw6
=Jduf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to