Your message dated Tue, 06 Aug 2019 15:25:14 +0000
with message-id <[email protected]>
and subject line Bug#933400: fixed in signify-openbsd 26-2
has caused the Debian Bug report #933400,
regarding signify-openbsd 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.)


-- 
933400: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933400
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: signify-openbsd
Version: 26-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

signify-openbsd fails tocross build from source, because the upstream
Makefile hard codes the build architecture pkg-config. After making it
substitutable, it still fails make clean, because (unlike
dh_auto_build), dh_auto_clean does not pass a PKG_CONFIG. Exporting a
suitable pkg-config will do here. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru signify-openbsd-26/debian/changelog 
signify-openbsd-26/debian/changelog
--- signify-openbsd-26/debian/changelog 2019-07-28 09:56:59.000000000 +0200
+++ signify-openbsd-26/debian/changelog 2019-07-30 13:12:52.000000000 +0200
@@ -1,3 +1,10 @@
+signify-openbsd (26-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a host architecture pkg-config. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 30 Jul 2019 13:12:52 +0200
+
 signify-openbsd (26-1) unstable; urgency=medium
 
   * New upstream version 26
diff --minimal -Nru signify-openbsd-26/debian/patches/cross.patch 
signify-openbsd-26/debian/patches/cross.patch
--- signify-openbsd-26/debian/patches/cross.patch       1970-01-01 
01:00:00.000000000 +0100
+++ signify-openbsd-26/debian/patches/cross.patch       2019-07-30 
13:12:50.000000000 +0200
@@ -0,0 +1,38 @@
+--- signify-openbsd-26.orig/Makefile
++++ signify-openbsd-26/Makefile
+@@ -5,6 +5,7 @@
+ MUSL           ?= 0
+ BUNDLED_LIBBSD ?= 0
+ PLEDGE         ?= noop
++PKG_CONFIG     ?= pkg-config
+ WGET           ?= wget
+ libbsd_VERSION ?= 0.9.1
+ libbsd_BASEURL ?= http://libbsd.freedesktop.org/releases/
+@@ -141,13 +142,13 @@
+ else
+ 
+ LIBBSD_PKG_VERSION := 0.7
+-LIBBSD_PKG_CHECK   := $(shell pkg-config libbsd 
--atleast-version=$(LIBBSD_PKG_VERSION) && echo ok)
++LIBBSD_PKG_CHECK   := $(shell $(PKG_CONFIG) libbsd 
--atleast-version=$(LIBBSD_PKG_VERSION) && echo ok)
+ ifneq ($(strip $(LIBBSD_PKG_CHECK)),ok)
+   $(error libbsd is not installed or version is older than 
$(LIBBSD_PKG_VERSION))
+ endif
+ LIBBSD_DEPS    :=
+-LIBBSD_CFLAGS  := $(shell pkg-config libbsd --cflags)
+-LIBBSD_LDFLAGS := $(shell pkg-config libbsd --libs)
++LIBBSD_CFLAGS  := $(shell $(PKG_CONFIG) libbsd --cflags)
++LIBBSD_LDFLAGS := $(shell $(PKG_CONFIG) libbsd --libs)
+ 
+ endif
+ 
+@@ -156,8 +157,8 @@
+ # Git submodule corresponding to libwaive is properly checked out.
+ #
+ ifeq ($(PLEDGE),waive)
+-SECCOMP_CFLAGS := $(shell pkg-config libseccomp --cflags)
+-SECCOMP_LIBS   := $(shell pkg-config libseccomp --libs)
++SECCOMP_CFLAGS := $(shell $(PKG_CONFIG) libseccomp --cflags)
++SECCOMP_LIBS   := $(shell $(PKG_CONFIG) libseccomp --libs)
+ CFLAGS  += $(SECCOMP_CFLAGS) -pthread
+ LDFLAGS += $(SECCOMP_LIBS) -pthread
+ S       += libwaive/waive.c
diff --minimal -Nru signify-openbsd-26/debian/patches/series 
signify-openbsd-26/debian/patches/series
--- signify-openbsd-26/debian/patches/series    2019-07-28 09:56:59.000000000 
+0200
+++ signify-openbsd-26/debian/patches/series    2019-07-30 13:12:10.000000000 
+0200
@@ -1 +1,2 @@
 0001-replace-signify-with-signify-openbsd-in-the-manpage.patch
+cross.patch
diff --minimal -Nru signify-openbsd-26/debian/rules 
signify-openbsd-26/debian/rules
--- signify-openbsd-26/debian/rules     2018-01-02 14:50:54.000000000 +0100
+++ signify-openbsd-26/debian/rules     2019-07-30 13:11:44.000000000 +0200
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
+export PKG_CONFIG ?= pkg-config
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 

--- End Message ---
--- Begin Message ---
Source: signify-openbsd
Source-Version: 26-2

We believe that the bug you reported is fixed in the latest version of
signify-openbsd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tomasz Buchert <[email protected]> (supplier of updated signify-openbsd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 06 Aug 2019 16:21:14 +0200
Source: signify-openbsd
Architecture: source
Version: 26-2
Distribution: unstable
Urgency: medium
Maintainer: Tomasz Buchert <[email protected]>
Changed-By: Tomasz Buchert <[email protected]>
Closes: 933400
Changes:
 signify-openbsd (26-2) unstable; urgency=medium
 .
   [Helmut Grohne]
   * Fix FTCBFS: Use a host architecture pkg-config (Closes: #933400)
Checksums-Sha1:
 70be8386ca02c4c58b87da1b1bb30974a28b4708 1945 signify-openbsd_26-2.dsc
 f134250a240601b6330a0f75374c9d9fff1ebffd 6404 
signify-openbsd_26-2.debian.tar.xz
 2cd322f75a6a6018fb1b169f4523f9e7b0127c43 5989 
signify-openbsd_26-2_amd64.buildinfo
Checksums-Sha256:
 c419c7d15de9c0d6ee99823c65a7474af416bd4190dba105002bf3e8449ef49a 1945 
signify-openbsd_26-2.dsc
 a8494d7c227f485b72e4bcded23d73fab647fa91f0d06d3e2cf5f31493c18776 6404 
signify-openbsd_26-2.debian.tar.xz
 78f9d0a5358600b793d7f8d687d17171f8ee19b326b17d31253deaed7ead1a71 5989 
signify-openbsd_26-2_amd64.buildinfo
Files:
 ebd4d9fb65f7c280730dac6a5021061f 1945 utils optional signify-openbsd_26-2.dsc
 965c654f477dbc5bf3a53c9b8a0fadb0 6404 utils optional 
signify-openbsd_26-2.debian.tar.xz
 1f742dfa03524bea20320f70f70d38e2 5989 utils optional 
signify-openbsd_26-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEzmRl4OZ9N8ZVV+eKAK40x+rZ6zgFAl1JjaASHHRvbWFzekBk
ZWJpYW4ub3JnAAoJEACuNMfq2es4dloP/iW81P3X+13X2tVG2uktFtbQdBghGxma
/FarASXYHZcOK31+HB/DUd8oEpBEF7C7ydCK/sYRT/+jfHUSQY7LflFhlrUKKG1g
bT1NS2aQaPF+09o/t45214zNBm4bV9Iv70OGhiajKniyZ2MEoPG8j0yfUK73Weo6
t3/DLfmabSfel+yWp0i5LJ1tIZj/qdV68j2Tz8GjNNIFjCy+9Anmin+KaJoGYvaB
8lwDT185nvvCPFX48VKqDDPUTx3kCqVx1omc+n6TOO2uf04Qn2VgVFvQcPqCEyKG
mwqeGjFwKH2lN3VPHR0z626LvORbJOIaxq/lYrpkd45PXodYqONEtb3f6D8wuiks
gspdFjPfx9C0WS58VtpBE/99PX8hTkpnOG6W5wQX8Zeev7k+4OJIofGga7D7XSXR
8rzmDj8mXWaqKeQZ9IysgXFy5rcEl/WO2Z9ID7mFq93rCroOq1SavP1HkwbNAApL
J6acEqJj3OAQsv/Zv9zNElHJL0pIpQCfEXKr9/pzXF7cbLdDLbJbS2jdliR2dkzL
gR7mI3wcZj3Cuiw4IZQuIfqkPmqkf59+G9SbFIHLWDRu5aiFsEl5mUtwKGUKFdst
IN1NePl3fQnRjxp+PpciTefiRN3tKrQVD/Kw5+lsIpxoMVB0p7MPs7Gm1RY6f3Gz
xN8GLPj8tkAI
=TKag
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to