Your message dated Mon, 02 Jul 2018 12:34:17 +0000
with message-id <[email protected]>
and subject line Bug#902097: fixed in fuse-zip 0.4.5-1
has caused the Debian Bug report #902097,
regarding fuse-zip 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.)


-- 
902097: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902097
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fuse-zip
Version: 0.4.4-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

fuse-zip fails to cross build from source, because its Makefiles hard
code the build architecture pkg-config. After making it substitutable,
it mostly cross builds, but it insists on relinking fuse-zip during make
install and dh_auto_install does not pass any cross tools along
(expecting that you build during dh_auto_build). Thus we need to export
build tools ourselves (or fix the Makefile) to make it cross buildable.
Please consider applying the attached patch.

Helmut
--- fuse-zip-0.4.4/debian/changelog
+++ fuse-zip-0.4.4/debian/changelog
@@ -1,3 +1,12 @@
+fuse-zip (0.4.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + cross.patch: Make build tools substitutable.
+    + Also substitute build tools for make install.
+
+ -- Helmut Grohne <[email protected]>  Thu, 21 Jun 2018 21:34:10 +0200
+
 fuse-zip (0.4.4-1) unstable; urgency=low
 
   * New upstream release (Closes: #795675)
--- fuse-zip-0.4.4/debian/patches/cross.patch
+++ fuse-zip-0.4.4/debian/patches/cross.patch
@@ -0,0 +1,35 @@
+--- fuse-zip-0.4.4.orig/Makefile
++++ fuse-zip-0.4.4/Makefile
+@@ -7,12 +7,13 @@
+ mandir=$(datarootdir)/man
+ man1dir=$(mandir)/man1
+ manext=.1
+-LIBS=-Llib -lfusezip $(shell pkg-config fuse --libs) $(shell pkg-config 
libzip --libs)
++PKG_CONFIG?=pkg-config
++LIBS=-Llib -lfusezip $(shell $(PKG_CONFIG) fuse --libs) $(shell $(PKG_CONFIG) 
libzip --libs)
+ LIB=lib/libfusezip.a
+ CXXFLAGS=-g -O0 -Wall -Wextra
+ RELEASE_CXXFLAGS=-O2 -Wall -Wextra
+-FUSEFLAGS=$(shell pkg-config fuse --cflags)
+-ZIPFLAGS=$(shell pkg-config libzip --cflags)
++FUSEFLAGS=$(shell $(PKG_CONFIG) fuse --cflags)
++ZIPFLAGS=$(shell $(PKG_CONFIG) libzip --cflags)
+ SOURCES=main.cpp
+ OBJECTS=$(SOURCES:.cpp=.o)
+ MANSRC=fuse-zip.1
+--- fuse-zip-0.4.4.orig/lib/Makefile
++++ fuse-zip-0.4.4/lib/Makefile
+@@ -1,9 +1,10 @@
+ DEST=libfusezip.a
+-LIBS=$(shell pkg-config fuse --libs) $(shell pkg-config libzip --libs)
++PKG_CONFIG?=pkg-config
++LIBS=$(shell $(PKG_CONFIG) fuse --libs) $(shell $(PKG_CONFIG) libzip --libs)
+ CXXFLAGS=-g -O0 -Wall -Wextra
+ RELEASE_CXXFLAGS=-O2 -Wall -Wextra
+-FUSEFLAGS=$(shell pkg-config fuse --cflags)
+-ZIPFLAGS=$(shell pkg-config libzip --cflags)
++FUSEFLAGS=$(shell $(PKG_CONFIG) fuse --cflags)
++ZIPFLAGS=$(shell $(PKG_CONFIG) libzip --cflags)
+ SOURCES=$(sort $(wildcard *.cpp))
+ OBJECTS=$(SOURCES:.cpp=.o)
+ CLEANFILES=$(OBJECTS) $(DEST)
--- fuse-zip-0.4.4/debian/patches/series
+++ fuse-zip-0.4.4/debian/patches/series
@@ -1 +1,2 @@
 reproducible-build.patch
+cross.patch
--- fuse-zip-0.4.4/debian/rules
+++ fuse-zip-0.4.4/debian/rules
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+# for relinking fuse-zip during make install
+DPKG_EXPORT_BUILDTOOLS=1
+-include /usr/share/dpkg/buildtools.mk
+
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
 CXXFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)

--- End Message ---
--- Begin Message ---
Source: fuse-zip
Source-Version: 0.4.5-1

We believe that the bug you reported is fixed in the latest version of
fuse-zip, 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.
Matthew Harm Bekkema <[email protected]> (supplier of updated fuse-zip 
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: Mon, 02 Jul 2018 19:13:49 +1000
Source: fuse-zip
Binary: fuse-zip
Architecture: source amd64
Version: 0.4.5-1
Distribution: unstable
Urgency: low
Maintainer: Matthew Harm Bekkema <[email protected]>
Changed-By: Matthew Harm Bekkema <[email protected]>
Description:
 fuse-zip   - ZIP archive mounter based on FUSE
Closes: 902097
Changes:
 fuse-zip (0.4.5-1) unstable; urgency=low
 .
   * New upstream release
     - Drop debian/patches/reproducible-build.patch (now included upstream)
   * Run whitebox tests on build
   * Run blackbox tests on autopkgtest
   * Apply Helmut Grohne's patch to fix FTCBFS: (Closes: #902097)
     + cross.patch: Make build tools substitutable.
     + Also substitute build tools for make install.
   * Bump standards
Checksums-Sha1:
 75b107bd63bc20824a480324b3e02bff5d3ecd55 1896 fuse-zip_0.4.5-1.dsc
 df9241d930619fd2b2d71d36899292ef1ab37e6e 695684 fuse-zip_0.4.5.orig.tar.gz
 4d3475a9e2ef50efd2cb9491fd725a97abfea037 3248 fuse-zip_0.4.5-1.debian.tar.xz
 fac46c30af4a7a6fe54df70aeb7fbd78f6172318 203712 
fuse-zip-dbgsym_0.4.5-1_amd64.deb
 f5454cb230e654753f84b9d2f8f6cd1191567072 6265 fuse-zip_0.4.5-1_amd64.buildinfo
 bd5f138c5e5695d27b894ddfc0dde67cae258555 30032 fuse-zip_0.4.5-1_amd64.deb
Checksums-Sha256:
 090565ccb2265af2b06e7985a9dc57ea3eafadea0452807fc2e5366000a0ef5a 1896 
fuse-zip_0.4.5-1.dsc
 124b25b885c9e4075307579b6b5e609ae36333074b6dd3dde4077a4e66134bae 695684 
fuse-zip_0.4.5.orig.tar.gz
 1c8c208f5bc6ea84d8b21b627f3424ced406d66a3a12618a96d1194383320b88 3248 
fuse-zip_0.4.5-1.debian.tar.xz
 327191687c0cb983ad917ef6e2bc2d91f74654a58992d868a7be925236604182 203712 
fuse-zip-dbgsym_0.4.5-1_amd64.deb
 54bd8c4e1eb3ce23595237a8aa74e27fe0af2122efde26832f96788f4ab429c1 6265 
fuse-zip_0.4.5-1_amd64.buildinfo
 d6abe69cbcc101cc1d278d773cb4a7c9597d09096a7a99aab8a02d119e344470 30032 
fuse-zip_0.4.5-1_amd64.deb
Files:
 3ed831608cc01963b086db5c24927935 1896 utils optional fuse-zip_0.4.5-1.dsc
 95f77193e2d786687ad7e1225ddd809e 695684 utils optional 
fuse-zip_0.4.5.orig.tar.gz
 a3ded9bc776b7ff355808930776e5b4f 3248 utils optional 
fuse-zip_0.4.5-1.debian.tar.xz
 a8edfdf2da96855375a511ba2caa21d2 203712 debug optional 
fuse-zip-dbgsym_0.4.5-1_amd64.deb
 45428ec8830a0c55ab5b0afbb50b27b8 6265 utils optional 
fuse-zip_0.4.5-1_amd64.buildinfo
 4643708fcf910ab44dd9a348a9b18abc 30032 utils optional 
fuse-zip_0.4.5-1_amd64.deb

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

iQIzBAEBCgAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAls6FoEACgkQq1PlA1ho
d6aIIA/+JknvMgY+d/lI7O+7/0dfnd9MTOARIoC+yDmmb0puc1F9MGZxmQnzqH+E
eZDYchZD5spMla57pt6KbvWTNmxF9fYuIEOeLQw3txME+6k79vmrKMrCP5EiKhPA
M0uJFRa6CcV8Dyz2lrsdCVGaL2KyW5QnOzJEsii3IP39Q4+EEOfyDF13REPdpgsT
Ne+PWS/RwjgpSSlPFXwRIrm7p1j4ZpR/4WqWRlGal9w8npzjXkbApJyIV6PsDSRx
q/p4KcHqLpcybtK601qdo3wif97D0tjnd0oWdOHGTgwdhRNfP9YKDJ8K8WuVrjt1
U6FRCnFkDe6zCvU1U8BhBFNq4ortC6z6feStRmG3BmraHCqAlPaS1kpr1F4Nm51v
AmXBc1ZVDhYz+dNWceldpgVQwErLdfktEsILfTMVRSb75BfhsfvDWxSNjA6H79wv
F0xpIU96GhJoN+X/b2YVZiru36dtyc8xNd0Ntqq16nGeUw08TCejeT02XnJQbZwr
w+CSwVABd2rk3Mx3GRL82O9uqYzITdc+X1JjbiNH9WK2m3orliHC11pcXWXuXdo3
VtNn5tuN7IHRXilJoMJss36KEvBSh330kbJTPxCiu6RSLUjUxodSjFr5+BNIA+ki
fR++aNGro3jXwGusMAjoYLG6lSVbIov+osMhe17yPk1lbi1gJJE=
=0SAJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to