Package: libxxhash-dev Version: 0.8.2-1 Severity: normal X-Debbugs-Cc: cru...@debian.org
In 0.8.1-1, libxxhash.pc defines the following exec_prefix=${prefix} includedir=${prefix}/include libdir=${exec_prefix}/lib/x86_64-linux-gnu In 0.8.2-1 the prefixes are doubled: exec_prefix=${prefix}/${prefix} includedir=${prefix}/${prefix}/include libdir=${exec_prefix}/${exec_prefix}/lib/x86_64-linux-gnu This produces nonsense results like # pkg-config --variable libdir libxxhash /usr//usr//usr//usr/lib/x86_64-linux-gnuWhich breaks any package with a build-dep on libxxhash-dev and which uses pkg-config, like seqan-raptor and its autopkgtests
Looks like the error came from https://salsa.debian.org/debian/xxhash/-/commit/1ac98075f1dc2da1b188250ff86fe8ac7975bce3
Attached is a patch to fix this -- Michael R. Crusoe
commit 91f5401f9535e5490c3c48edfc71abbf7e24956f Author: Michael R. Crusoe <cru...@debian.org> Date: Tue Sep 12 13:57:10 2023 +0200 d/patches: fix libxxhash.pc.in diff --git a/debian/changelog b/debian/changelog index 5f7db32..57d3d53 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +xxhash (0.8.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * d/patches: fix libxxhash.pc.in + + -- Michael R. Crusoe <cru...@debian.org> Tue, 12 Sep 2023 13:57:05 +0200 + xxhash (0.8.2-1) unstable; urgency=medium [ Debian Janitor ] diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch index d55a483..4f86ca6 100644 --- a/debian/patches/reproducible-build.patch +++ b/debian/patches/reproducible-build.patch @@ -2,20 +2,14 @@ Description: Make the build reproducible Author: Chris Lamb <la...@debian.org> Last-Update: 2023-09-10 ---- a/libxxhash.pc.in -+++ b/libxxhash.pc.in -@@ -2,10 +2,10 @@ +--- xxhash.orig/libxxhash.pc.in ++++ xxhash/libxxhash.pc.in +@@ -2,7 +2,7 @@ # Copyright (C) 2012-2021, Yann Collet, Facebook # BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) -prefix=@PREFIX@ --exec_prefix=@EXECPREFIX@ --includedir=@INCLUDEDIR@ --libdir=@LIBDIR@ +prefix=/usr -+exec_prefix=${prefix}/@EXECPREFIX@ -+includedir=${prefix}/@INCLUDEDIR@ -+libdir=${exec_prefix}/@LIBDIR@ - - Name: xxhash - Description: extremely fast hash algorithm + exec_prefix=@EXECPREFIX@ + includedir=@INCLUDEDIR@ + libdir=@LIBDIR@
OpenPGP_signature
Description: OpenPGP digital signature