bad includedir in netcdf-mpi.pc

Asked by Lionel GUEZ

Hi. In the package libnetcdf-mpi-dev, in jammy, of architecture amd64, in the installed file:

/usr/lib/x86_64-linux-gnu/pkgconfig/netcdf-mpi.pc

I think the line:

includedir=/usr/include

is not correct. It should be:

includedir=${prefix}/include

(which evaluates to a different path).

Is this a problem with the Ubuntu package or should I report this to the NetCDF developers?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu netcdf-parallel Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

The version number of this software package in Ubuntu jammy is "1:4.8.1-2" and does not contain the string "ubuntu". This indicates that the package was copied from Debian without any Ubuntu-specific modification.

A quick search indicates that this problem is also visible on Debian, and there is already a bug report for a similar problem with another config file of that package https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977545

I have not verified whether that is inherited from upstreaam, or if that is an error in Debian.

I suggest that you comment in that already-existing Debian bug report.
You may also create a bug report in Ubuntu, even if Ubuntu has only inherited that problem.

Revision history for this message
Lionel GUEZ (lguez) said :
#2

Thank you. I have submitted the problem to Debian (bug 1036168).

Revision history for this message
Lionel GUEZ (lguez) said :
#3

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

For completeness' sake a link to the new Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036168