Your message dated Wed, 24 Sep 2025 21:30:59 +0200
with message-id <[email protected]>
and subject line Re: Bug#991794: duperemove FTCBFS: uses the build architecture
pkg-config
has caused the Debian Bug report #991794,
regarding duperemove FTCBFS: uses the build architecture pkg-config
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.)
--
991794: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991794
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: duperemove
Version: 0.11.2-3
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
duperemove fails to cross build from source, because the upstream
Makefile hard codes the build architecture pkg-config and thus fails
finding required libraries. Please consider applying the attached patch
to make it substitutable.
Helmut
--- duperemove-0.11.2.orig/Makefile
+++ duperemove-0.11.2/Makefile
@@ -2,6 +2,7 @@ VER=0.11.2
RELEASE=v$(VER)
CC ?= gcc
+PKG_CONFIG ?= pkg-config
CFLAGS ?= -Wall -ggdb
MANPAGES=duperemove.8 btrfs-extent-same.8 hashstats.8 show-shared-extents.8
@@ -41,10 +42,10 @@ csum_test_obj = $(hash_obj) util.o csum.
install_progs = duperemove hashstats btrfs-extent-same show-shared-extents
progs = $(install_progs) csum-test
-glib_CFLAGS=$(shell pkg-config --cflags glib-2.0)
-glib_LIBS=$(shell pkg-config --libs glib-2.0)
-sqlite_CFLAGS=$(shell pkg-config --cflags sqlite3)
-sqlite_LIBS=$(shell pkg-config --libs sqlite3)
+glib_CFLAGS=$(shell $(PKG_CONFIG) --cflags glib-2.0)
+glib_LIBS=$(shell $(PKG_CONFIG) --libs glib-2.0)
+sqlite_CFLAGS=$(shell $(PKG_CONFIG) --cflags sqlite3)
+sqlite_LIBS=$(shell $(PKG_CONFIG) --libs sqlite3)
ifdef DEBUG
DEBUG_FLAGS = -ggdb3 -fsanitize=address -fno-omit-frame-pointer -O0 \
--- End Message ---
--- Begin Message ---
Version: 0.15.2-1
On Wed, Sep 24, 2025 at 04:53:25PM +0200, Marc Haber wrote:
> new package maintainer here. The patch does no longer apply, but there
> is some mention of $(PKG_CONFIG) in the Makefile now. Can you please
> check whether this bug is still there?
Practically speaking, the patch is applied. Generally, please just close
FTCBFS bugs when the patch is no longer applicable or a significant
fraction of it has been applied.
I scheduled[1] a retest and it succeeds now:
http://crossqa.debian.net/src/duperemove
Helmut
[1] Note that you can do so as well at the bottom of the page.
--- End Message ---