Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1280338
| From | Jonathan Brandmeyer <jonathan.brandmeyer@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1126726: libpnetcdf-dev: Build system paths leak into pnetcdf.pc |
| Date | 2026-01-31 20:30 +0100 |
| Message-ID | <MjoPo-eLDY-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: libpnetcdf-dev Version: 1.14.0-2 Severity: normal X-Debbugs-Cc: jonathan.brandmeyer@gmail.com 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
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1126726: libpnetcdf-dev: Build system paths leak into pnetcdf.pc Jonathan Brandmeyer <jonathan.brandmeyer@gmail.com> - 2026-01-31 20:30 +0100
csiph-web