Bug#1108897: src:apache2: debian/rules file reference hardcoded x86_64-linux-gnu path

Laurent Bigonville <[email protected]> Mon, 07 Jul 2025 11:15:41 +0200
Newsgroups gmane.linux.debian.devel.apache
Message-ID <175187974136.1134192.15879871725219122249.reportbug__40287.8269831248$1751879854$gmane$org@eriador.bigon.be>
Source: apache2
Version: 2.4.63-1
Severity: important

Hello,

Looking at the debian/rules file, I see that x86_64-linux-gnu is
hardcoded: 

-L/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0

That doesn't sound right, shouldn't that be using the path for the built
architecture?

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: 13.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.15-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled