🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #7455

Bug#1156341: tchbench FTCBFS: Hard-codes pkgconf and passes `install -s`

#7455
From: Tobias Heider
Date: Fri, 04 Dec 2026 13:10
57 lines
3953 bytes
On Fri, Dec 04, 2026 at 06:04:00PM +0530, Nilesh Patra wrote:
> 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.

Looks like this is also fixed in 3.03 with
https://github.com/bluhm/tcpbench-portable/commit/d42678446a275c6ee90929264c9cac239ce784d6

I'll just update to the latest version, that should fix it.
I suppose we could still propose your patch to upstream.

> 
> 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: <O6BcZ-fWkS-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!srl.newsdeef.eu!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O6AJX-fW11-5@gated-at.bofh.it> <O6AJX-fW11-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-nl.newsdeef.eu!srl.newsdeef.eu!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Tobias Heider <me@tobhe.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156341: tchbench FTCBFS: Hard-codes pkgconf and passes `install -s`
Date: Fri, 04 Dec 2026 14:10:01 +0100
Message-ID: <O6BcZ-fWkS-5@gated-at.bofh.it>
References: <O6AJX-fW11-5@gated-at.bofh.it> <O6AJX-fW11-5@gated-at.bofh.it>
X-Original-To: Nilesh Patra <nilesh@debian.org>, 1156341@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 13:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Tobias Heider <me@tobhe.de>, 1156341@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: me@tobhe.de
X-Debian-Pr-Message: followup 1156341
X-Debian-Pr-Package: src:tcpbench
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: tcpbench
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Greylist: delayed 530 seconds by postgrey-1.37 at buxtehude; Fri, 04 Dec 2026 13:00:40 UTC
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006924
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 57
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Debian Bug Tracking System <submit@bugs.debian.org>
X-Original-Date: Fri, 4 Dec 2026 13:51:39 +0100
X-Original-Message-ID: <axK2xZXFd6JoC9fS@shodan.l0w.de>
X-Original-References: <0f271204-5504-4694-91a0-d00bea251e34@debian.org> <0f271204-5504-4694-91a0-d00bea251e34@debian.org>