Your message dated Sat, 16 May 2026 17:54:05 +0000
with message-id <[email protected]>
and subject line Bug#1128055: fixed in highs 1.14.0+ds-1
has caused the Debian Bug report #1128055,
regarding highs.pc has incorrect libdir and includedir paths (double usr prefix)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1128055: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: highs
Version: 1.12.0+ds1-3
Severity: important
Tags: patch
The installed highs.pc pkg-config file contains incorrect libdir and
includedir paths with a duplicated "usr" prefix, causing compilation and
linking failures for any project using pkg-config to locate HiGHS.
Current (broken) highs.pc:
prefix=/usr
libdir=/usr/usr/lib/x86_64-linux-gnu
includedir=/usr/usr/include/highs
The correct paths should be:
libdir=/usr/lib/x86_64-linux-gnu
includedir=/usr/include/highs
Impact: Any software using "pkg-config --cflags highs" or
"pkg-config --libs highs" gets non-existent paths and fails to
compile or link.
Root cause:
In debian/rules, CMAKE_INSTALL_PREFIX is set to the relative path "usr",
while CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR are also set to
paths starting with "usr/":
TARGET_PREFIX = usr
TARGET_LIBDIR = $(TARGET_PREFIX)/lib/$(DEB_HOST_MULTIARCH)
SKBUILD_ARGS = \
-C skbuild.cmake.args=-DCMAKE_INSTALL_PREFIX=$(TARGET_PREFIX) \
-C skbuild.cmake.args=-DCMAKE_INSTALL_LIBDIR=$(TARGET_LIBDIR) \
-C skbuild.cmake.args=-DCMAKE_INSTALL_INCLUDEDIR=$(TARGET_PREFIX)/include
The upstream highs.pc.in template uses CMAKE_INSTALL_FULL_LIBDIR and
CMAKE_INSTALL_FULL_INCLUDEDIR:
prefix=@CMAKE_INSTALL_PREFIX@
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/highs
CMake's GNUInstallDirs computes the FULL_ variants by prepending the
prefix to relative paths. Since both the prefix ("usr") and the dir
variables ("usr/lib/...") are relative, CMake concatenates them:
CMAKE_INSTALL_FULL_LIBDIR = usr/usr/lib/x86_64-linux-gnu
CMAKE_INSTALL_FULL_INCLUDEDIR = usr/usr/include
The post-build sed command only strips $(CURDIR) but does not fix the
double "usr" issue:
sed -i "s|$(CURDIR)||g" $(TARGET_LIBDIR)/pkgconfig/highs.pc
Suggested fix:
Pass CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR as paths relative
to the prefix (without the leading "usr/"):
-C skbuild.cmake.args=-DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) \
-C skbuild.cmake.args=-DCMAKE_INSTALL_INCLUDEDIR=include
Since TARGET_LIBDIR is also used elsewhere in debian/rules (BUILD_LIBDIR,
execute_after_dh_auto_install, dh_link), a safer approach is to introduce
a separate variable for the cmake args:
TARGET_PREFIX = usr
TARGET_LIBDIR = $(TARGET_PREFIX)/lib/$(DEB_HOST_MULTIARCH)
CMAKE_LIBDIR = lib/$(DEB_HOST_MULTIARCH)
CMAKE_INCLUDEDIR = include
And use CMAKE_LIBDIR / CMAKE_INCLUDEDIR only in the skbuild cmake args.
How to reproduce:
apt install libhighs-dev
cat /usr/lib/x86_64-linux-gnu/pkgconfig/highs.pc
# Observe libdir=/usr/usr/lib/... and includedir=/usr/usr/include/...
pkg-config --cflags highs
# Returns -I/usr/usr/include/highs (wrong path)
Both 1.12.0+ds1-2 (Ubuntu resolute) and 1.12.0+ds1-3 (Debian sid)
are affected.
-- System Information:
Debian Release: forky/sid
APT prefers resolute
APT policy: (500, 'resolute')
Architecture: amd64 (x86_64)
Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: highs
Source-Version: 1.14.0+ds-1
Done: Shengqi Chen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
highs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Shengqi Chen <[email protected]> (supplier of updated highs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 17 May 2026 01:07:21 +0800
Source: highs
Architecture: source
Version: 1.14.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Shengqi Chen <[email protected]>
Closes: 1121933 1128055
Changes:
highs (1.14.0+ds-1) unstable; urgency=medium
.
* New upstream version 1.14.0+ds.
* d/patches: refresh patches.
* d/patches: do not install extra files into dist-packages.
* d/control: bump std-ver to 4.7.4 (no changes needed).
* d/copyright: remove unused pattern.
* d/rules: bump full SOVERSION.
* d/rules: fix install prefix and libdir passed to cmake.
(closes: #1128055, #1121933)
Checksums-Sha1:
b704e87cedd864e660c3c65a9a8bf700caf0e868 2305 highs_1.14.0+ds-1.dsc
b18b0eb18b9f0c221b696da5249bf9ac5571007a 1856036 highs_1.14.0+ds.orig.tar.xz
13cb6836076260c646f887fecba228d67f3e3c09 7596 highs_1.14.0+ds-1.debian.tar.xz
974070456485f6bcc1a7025f9da0cf12c41403c8 9922 highs_1.14.0+ds-1_amd64.buildinfo
Checksums-Sha256:
929573739c6279468c5f3c36f203b1a8771f13901be0aec441c269a55ab3ec72 2305
highs_1.14.0+ds-1.dsc
86b88cb7c6c8f33303f2adb1173c41085dca66749576e8f49a8f6554982dabba 1856036
highs_1.14.0+ds.orig.tar.xz
595b0c51370733e6af8789e299d919c07b4349b7928139ceacc6d2968139830c 7596
highs_1.14.0+ds-1.debian.tar.xz
5378e3c4f512a5637f22843f364b0cd6de6912803f91017231aafb83c2c8924a 9922
highs_1.14.0+ds-1_amd64.buildinfo
Files:
5b355bd41f3f6d985c99b0ea6ccdbf5c 2305 science optional highs_1.14.0+ds-1.dsc
e982506c110078c2f0fa35d406d38ab2 1856036 science optional
highs_1.14.0+ds.orig.tar.xz
1d046e8771937b289c0e94bb704e3f65 7596 science optional
highs_1.14.0+ds-1.debian.tar.xz
b8b0419afbd0fc1727c0ab6ded9358db 9922 science optional
highs_1.14.0+ds-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+Fg++qmpHzqjSzySzhGnsHs6uUYFAmoIqVcACgkQzhGnsHs6
uUZQXQ//TlZawJ8eHcWlFxH7SFFO6Kq0pVmsewgC8gKF5NlTBonridkHKJesq5v7
FCAlNGzVc2j1OjAgeelG2hdMML62Q6OXq3SqXnJKOTfi4hTEfOgjXhOPhWGTol8Z
sDTQG8vqHKoIzr34SJ1mhOoj48KW6hkLc8ftv2ahxEZEKVXO3wq8CB1FvF08yTi7
rQ2epu2fZJzi7W0Ajr9ZaAbsBR+VcLD+y7fRx6wZSYIUFsaB7qOEOyqE59RSdIKH
Oo7zeDpYHVQ2TRJAEU9ixXgasnwFIqXEyjzrglbjqNRcGClJ+c/sCp1vCF6P96oa
aeG8PyxsxvgO44+j6/Jx1WoY+qo3n853se1a1k2vOYOxE/Mzq/Nu8eh6ah7uzhGe
dlkfIwinEOwQejRpYnUJit7PA2+aitkLLkf2ZtFIiK1zNEGBwYZqIyjqlv8+mrnL
MtxmDVZR+PCvp+f/UM4fxodslfusRTfi0nYfENOQUAqsUSmuESLk4AKZ6dzKeyQT
sho+aL1nlf8VaqWFesh15nWupy4QKuUSOgcnWNAfRXqG97cGseO24Syo7G01QeL2
rT7RKwBdWwimZnP7hXKWtMaY7A+Grf9SBh4mSikIIC2/lp5CrOzD1QzA7nnp8ztR
AdvalKPtebJQCTuqNwbJy+M02M6OzYpyCyKlMVEc6+j6vOR6npI=
=tF6x
-----END PGP SIGNATURE-----
pgp9WkdtPytOG.pgp
Description: PGP signature
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers