Article View: linux.debian.bugs.dist
Article #7453Bug#1156341: tchbench FTCBFS: Hard-codes pkgconf and passes `install -s`
From: Nilesh Patra
Date: Fri, 04 Dec 2026 12:40
Date: Fri, 04 Dec 2026 12:40
49 lines
3820 bytes
3820 bytes
Source: tcpbench
Version: 2.02-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org
tcpbench FTCBFS because
a) It hard-codes pkgconf so the arch-prefixed pkg-config does not work
b) strips the binary which at install step. This is already done by `dh_strip`
The patch below fixes it. Please consider applying.
diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
new file mode 100644
index 0000000..d2972fe
--- /dev/null
+++ b/debian/patches/cross.patch
@@ -0,0 +1,22 @@
+--- a/GNUmakefile
++++ b/GNUmakefile
+@@ -1,7 +1,8 @@
++PKG_CONFIG ?= pkgconf
+ CFLAGS+= -D_DEFAULT_SOURCE -D_GNU_SOURCE -Wall \
+- $(shell pkgconf --cflags libbsd-overlay)
++ $(shell $(PKG_CONFIG) --cflags libbsd-overlay)
+ LDFLAGS+= -levent -lm \
+- $(shell pkgconf --libs libbsd-overlay)
++ $(shell $(PKG_CONFIG) --libs libbsd-overlay)
+ BINDIR?= /usr/local/bin
+ MANDIR?= /usr/local/man/man
+
+@@ -15,7 +16,7 @@
+ rm -f tcpbench tcpbench.o out
+
+ install:
+- install -c -m 555 -s tcpbench -D -t ${DESTDIR}${BINDIR}
++ install -c -m 555 tcpbench -D -t ${DESTDIR}${BINDIR}
+ install -c -m 444 tcpbench.1 -D -t ${DESTDIR}${MANDIR}1
+
+ .PHONY: test test-localhost test-localhost6
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..def274a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+cross.patch
Technical Details
Message-ID:
<O6AJX-fW11-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Nilesh Patra <nilesh@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1156341: tchbench FTCBFS: Hard-codes pkgconf and passes `install -s` Date: Fri, 04 Dec 2026 13:40:01 +0100 Message-ID: <O6AJX-fW11-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Dec 4 12:35:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Nilesh Patra <nilesh@debian.org>, 1156341@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-cross@lists.debian.org, me@tobhe.de X-Debian-Pr-Message: report 1156341 X-Debian-Pr-Package: src:tcpbench X-Debian-Pr-Keywords: patch X-Debian-Pr-Source: tcpbench MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Autocrypt: addr=nilesh@debian.org; keydata= xjMEYzwXMxYJKwYBBAHaRw8BAQdAsv3h7PxLm3vMbvdmN1bVnqUGyr3k2CKtdRmMDrX/jSXN IE5pbGVzaCBQYXRyYSA8bmlsZXNoQGRlYmlhbi5vcmc+wpAEExYIADgWIQSglbZu4JAkvuai 8HIqJ5BL1yQ+2gUCYzwXMwIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRAqJ5BL1yQ+ 2hfuAQDBmH+Sec1bAb/BQNlnNOn7+o69yLi1S7bIQA67WpjCBwD9HoQ3dFMmHbDwu5Mi18z+ 0HoPHLKwQYWJCkOLn9vMFAHOOARjPBczEgorBgEEAZdVAQUBAQdAlnuvB8w06//G6pFqAo98 IrNeskq+iLAbSPZ0Tse9zUIDAQgHwngEGBYIACAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUC YzwXMwIbDAAKCRAqJ5BL1yQ+2mzwAP0SR+JseZKh5BThCb5VijeJD2mCNhZFhvKYmlb8y6nb HwD/d3PmHHDDi6JR4oPGuYK/Z+j9tAiV5q8hGZilIFqfgQU= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Debian-User: nilesh X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006921 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 4 Dec 2026 18:04:00 +0530 X-Original-Message-ID: <0f271204-5504-4694-91a0-d00bea251e34@debian.org>