bugGNU Octave - Bugs: bug #65726, [octave forge] (communications)...


bug #65726: [octave forge] (communications) Failure to detect the HDF5 library

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Sat 11 May 2024 07:05:26 PM UTC
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 21 May 2024 12:41:16 PM UTC, comment #4: 

Looks like fedora 30 doesnt find the pkg config file either, however the fallback for trying just the lib hdf5 works and allows it to compile

John Donoghue <lostbard>
Group Member
Mon 20 May 2024 03:57:30 PM UTC, comment #3: 

Has something changed compared to previous versions of Octave or HDF5 that's leading to this error?

Nir Krakauer <nir_krakauer>
Sat 18 May 2024 08:03:41 PM UTC, comment #2: 

The bug summary is wrong. It should have been: "[octave forge] (communications) Failure to detect the HDF5 library"

Could you please change it?

Rafael Laboissière <rlaboiss>
Wed 15 May 2024 04:23:58 PM UTC, comment #1: 

Is it communications or netcdf package? (I guess the latter)

Philip Nienhuis <philipnienhuis>
Group Member
Sat 11 May 2024 07:05:26 PM UTC, original submission:  

In my Debian system (amd64 architecture, unstable distribution), the communications package fails to build from source due to the absence of the hdf5.pc file:

$ debuild
checking for hdf5... no
checking for H5Fopen in -lhdf5... no
configure: error: hdf5 not found

In Debian, the available pkgconfig files for HDF5 are the following:

$ apt-file find pkgconfig/hdf5
libhdf5-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-serial.pc
libhdf5-mpich-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-mpich.pc
libhdf5-openmpi-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/hdf5-openmpi.pc

I am applying the patch attached to this bug report to the Debian package octave-communications. I am not sure that it will be useful for other systems.

Rafael Laboissière <rlaboiss>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #56035:  pkg-config-hdf5.patch added by rlaboiss (748B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by nrjank (Updated the item)
  • -email is unavailable- added by rlaboiss (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-19 nrjank Summary[octave forge] (communications) Octave segfaults on exit after running test_netcdf [octave forge] (communications) Failure to detect the HDF5 library
    2024-05-11 rlaboiss Attached File- Added pkg-config-hdf5.patch, #56035

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code