Package: libnetcdf-mpi-dev
Version: 1:4.9.0-1+b1
Severity: important
X-Debbugs-Cc: jul...@julien-bigot.fr

Dear Maintainer,

Using libnetcdf-mpi-dev to build a package through cmake results in the
following message in case libblosc-dev is not installed:
```
make[4]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libblosc.so', 
needed by 'libpdi_decl_netcdf_plugin.so'.  Stop.
```

I believe this is due to the fact that 
`/usr/lib/x86_64-linux-gnu/cmake/netCDF_mpi/netCDFTargets.cmake` contains the
following:
```
  INTERFACE_LINK_LIBRARIES 
"dl;/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5_hl.so;/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;/usr/lib/x86_64-linux-gnu/libcurl.so;/usr/lib/x86_64-linux-gnu/libsz.so;/usr/lib/x86_64-linux-gnu/libz.so;/usr/lib/x86_64-linux-gnu/libdl.a;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libblosc.so;/usr/lib/x86_64-linux-gnu/libbz2.so;/usr/lib/x86_64-linux-gnu/libxml2.so"
```
more specifically, the `/usr/lib/x86_64-linux-gnu/libblosc.so` bit.

I'm not sure wether this is an actual dependency that should be added to the
package or if this is an erroneous artefact that should not appear there.

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

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnetcdf-mpi-dev depends on:
ii  libhdf5-mpi-dev   1.10.8+repack-1
ii  libnetcdf-mpi-19  1:4.9.0-1+b1
ii  pkg-config        0.29.2-1

libnetcdf-mpi-dev recommends no packages.

Versions of packages libnetcdf-mpi-dev suggests:
pn  netcdf-bin  <none>
pn  netcdf-doc  <none>

-- no debconf information

Reply via email to