Package: libpnetcdf-dev Version: 1.14.0-2 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, The pkg-config support file /usr/lib/x86_64-linux-gnu/pkgconfig/pnetcdf.pc leaks some incorrect paths into the config. In particular, it contains the following: ``` # prefix can be changed by "make install prefix=/path" prefix=/build/reproducible-path/pnetcdf-1.14.0/debian/tmp//usr # exec_prefix can be changed by "make install exec_prefix=/path" exec_prefix=/build/reproducible-path/pnetcdf-1.14.0/debian/tmp//usr ``` Both prefix and exec_prefix should be set to /usr on the host's machine. As a consequence of this leak, ``` $ pkg-config --cflags pnetcdf -I/build/reproducible-path/pnetcdf-1.14.0/debian/tmp/usr/include ``` Programs which actively check the validity of this path, such as the Model for Prediction Across Scales (MPAS) CMake-based build system produce an error. -- System Information: Debian Release: 13.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.63+deb13-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libpnetcdf-dev depends on: ii libpnetcdf6 1.14.0-2 libpnetcdf-dev recommends no packages. libpnetcdf-dev suggests no packages. -- no debconf information

