Your message dated Sun, 19 Apr 2020 11:00:09 +0000
with message-id <[email protected]>
and subject line Bug#912139: fixed in cbflib 0.9.6+dfsg1-1
has caused the Debian Bug report #912139,
regarding cbflib FTCBFS: multiple reasons
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.)


-- 
912139: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912139
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cbflib
Version: 0.9.5.18+dfsg1-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

cbflib fails to cross build from source. There are actually three
distinct causes:

 * The default make target of the Makefile is called "default" and does
   nothing but print a message. Rather the packaging builds the package
   during dh_auto_install. However, debhelper does not pass cross tools
   to make for dh_auto_install.

 * The upstream Makefile calls the C++ compiler "C++" while the rest of
   the world (including debhelper) calls ist CXX. Thus it uses the build
   architecture compiler rather than debhelper's substitution.

 * The upstream Makefile hard codes the build architecture pkg-config.

The attached patch fixes all of that and makes cbflib cross buildable.
Please consider applying it.

Helmut
diff --minimal -Nru cbflib-0.9.5.18+dfsg1/debian/changelog 
cbflib-0.9.5.18+dfsg1/debian/changelog
--- cbflib-0.9.5.18+dfsg1/debian/changelog      2018-10-15 19:58:57.000000000 
+0200
+++ cbflib-0.9.5.18+dfsg1/debian/changelog      2018-10-28 09:19:37.000000000 
+0100
@@ -1,3 +1,13 @@
+cbflib (0.9.5.18+dfsg1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build during dh_auto_build rather than dh_auto_install.
+    + Pass C++ compiler as variabl C++.
+    + Make pkg-config substitutable.
+
+ -- Helmut Grohne <[email protected]>  Sun, 28 Oct 2018 09:19:37 +0100
+
 cbflib (0.9.5.18+dfsg1-1) unstable; urgency=medium
 
   * New upstream version 0.9.5.18+dfsg1
diff --minimal -Nru cbflib-0.9.5.18+dfsg1/debian/patches/cross.patch 
cbflib-0.9.5.18+dfsg1/debian/patches/cross.patch
--- cbflib-0.9.5.18+dfsg1/debian/patches/cross.patch    1970-01-01 
01:00:00.000000000 +0100
+++ cbflib-0.9.5.18+dfsg1/debian/patches/cross.patch    2018-10-28 
09:19:34.000000000 +0100
@@ -0,0 +1,25 @@
+--- cbflib-0.9.5.18+dfsg1.orig/Makefile
++++ cbflib-0.9.5.18+dfsg1/Makefile
+@@ -279,6 +279,7 @@
+ DATADIRS  = $(ROOT)/../CBFlib_$(VERSION)_Data_Files_Output_Sigs_Only
+ CBF_PREFIX  ?= $(DESTDIR)/usr
+ INSTALL_LIB ?= lib
++PKG_CONFIG ?= pkg-config
+ 
+ #
+ # Comment out the next line if scratch test files should be retained
+@@ -336,11 +337,11 @@
+ HDF5_INSTALL =
+ HDF5LIBS_LOCAL =
+ #HDF5LIBS_SYSTEM = -L$(HDF5_PREFIX)/lib -lhdf5 -lz -ldl
+-HDF5LIBS_SYSTEM = $(shell pkg-config --libs hdf5-serial)
++HDF5LIBS_SYSTEM = $(shell $(PKG_CONFIG) --libs hdf5-serial)
+ HDF5SOLIBS_LOCAL =
+ #HDF5SOLIBS_SYSTEM = -L$(HDF5_PREFIX)/lib -lhdf5 -lz
+-HDF5SOLIBS_SYSTEM = $(shell pkg-config --libs hdf5-serial)
+-HDF5_CFLAGS = $(shell pkg-config --cflags hdf5-serial)
++HDF5SOLIBS_SYSTEM = $(shell $(PKG_CONFIG) --libs hdf5-serial)
++HDF5_CFLAGS = $(shell $(PKG_CONFIG) --cflags hdf5-serial)
+ HDF5REGISTER ?= --register manual
+ endif
+ H5DUMP = $(HDF5_PREFIX)/bin/h5dump
diff --minimal -Nru cbflib-0.9.5.18+dfsg1/debian/patches/series 
cbflib-0.9.5.18+dfsg1/debian/patches/series
--- cbflib-0.9.5.18+dfsg1/debian/patches/series 2018-10-15 19:58:57.000000000 
+0200
+++ cbflib-0.9.5.18+dfsg1/debian/patches/series 2018-10-28 09:18:26.000000000 
+0100
@@ -13,3 +13,4 @@
 0013-makefile-deb-Use-DESTDIR-usr-as-CBF_PREFIX.patch
 0014-makefile-deb-Do-not-build-tiff2cbf.patch
 0015-Makefile-deb-Use-dynamic-linking-to-cbflib-in-progra.patch
+cross.patch
diff --minimal -Nru cbflib-0.9.5.18+dfsg1/debian/rules 
cbflib-0.9.5.18+dfsg1/debian/rules
--- cbflib-0.9.5.18+dfsg1/debian/rules  2018-10-15 19:58:57.000000000 +0200
+++ cbflib-0.9.5.18+dfsg1/debian/rules  2018-10-28 09:19:37.000000000 +0100
@@ -22,6 +22,9 @@
 %:
        dh $@ --no-parallel
 
+override_dh_auto_build:
+       dh_auto_build -- 'C++:=$$(CXX)' all
+
 override_dh_install:
        # Exclude duplicates (lintian check duplicate-files)
        dh_install -Xcif_img_1.3.2_22Jun05.html -Xcif_img_1.3.1.html

--- End Message ---
--- Begin Message ---
Source: cbflib
Source-Version: 0.9.6+dfsg1-1
Done: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cbflib, 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.
Picca Frédéric-Emmanuel <[email protected]> (supplier of updated cbflib 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: Sat, 18 Apr 2020 09:46:28 +0200
Source: cbflib
Binary: cbflib-bin cbflib-bin-dbgsym cbflib-doc libcbf-dev libcbf1 
libcbf1-dbgsym python3-pycbf python3-pycbf-dbg python3-pycbf-dbgsym
Architecture: source amd64 all
Version: 0.9.6+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Picca Frédéric-Emmanuel <[email protected]>
Description:
 cbflib-bin - utilities to manipulate CBF files
 cbflib-doc - documentation for CBFlib
 libcbf-dev - development files for CBFlib
 libcbf1    - shared library supporting CBFlib
 python3-pycbf - Python modules for CBFLib -- Python3
 python3-pycbf-dbg - Python modules for CBFLib -- Python3 (Debug)
Closes: 681997 912139
Changes:
 cbflib (0.9.6+dfsg1-1) unstable; urgency=medium
 .
   * Team upload
 .
   [ Helmut Grohne ]
   * Non-maintainer upload.
   * Fix FTCBFS: (Closes: #912139)
     + Build during dh_auto_build rather than dh_auto_install.
     + Pass C++ compiler as variabl C++.
     + Make pkg-config substitutable.
 .
   [ Picca Frédéric-Emmanuel ]
   * New upstream version 0.9.6+dfsg1
   * Reverted all patches, the package source format is now a real 3.0 (quilt)
   * d/salsa-ci.yml: Added for continuous intégration.
   * d/copyright: Files-Excluded is used to removed unwanted files.
   * d/rules: Removed the get-orig-source which is useless now.
   * Bump debhelper from old 11 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * New binary packages: python3-pycbf and python3-cbflib-dbg (Closes: #681997)
   * d/control: Updated standards-version to 4.5.0 (nothing to do).
Checksums-Sha1:
 fdc9a5af5b276d280c85154cbf653a776b187066 2386 cbflib_0.9.6+dfsg1-1.dsc
 7ea0e090bf29ab9795167796e2466491481ce61a 5498744 cbflib_0.9.6+dfsg1.orig.tar.xz
 1c78f39d4aa529c8cb048f1525400518f0098c04 24764 
cbflib_0.9.6+dfsg1-1.debian.tar.xz
 091402b53b01fbacbd554a1030108427506ab271 3826252 
cbflib-bin-dbgsym_0.9.6+dfsg1-1_amd64.deb
 4b99653d1e9ddee5cc8055ccd2028eab2e9b230f 520528 
cbflib-bin_0.9.6+dfsg1-1_amd64.deb
 cd5e6d2c44af686bddb62b3502d1d65c699f89a7 319488 
cbflib-doc_0.9.6+dfsg1-1_all.deb
 24fe5c8d39f982743306a90d060da469b11ecf1e 9353 
cbflib_0.9.6+dfsg1-1_amd64.buildinfo
 ddeeef5161f63d2fd60364675ce2f81fea6b49a4 442144 
libcbf-dev_0.9.6+dfsg1-1_amd64.deb
 f13d85e3fa352a386e51fe8203da4fa2ede78063 960760 
libcbf1-dbgsym_0.9.6+dfsg1-1_amd64.deb
 6b964b0a5b7bd4fa97869e39fd6b3c3f0ae14121 349804 libcbf1_0.9.6+dfsg1-1_amd64.deb
 2cfec82db93d9fbfb8c8c8423e15777b6329e2a4 155420 
python3-pycbf-dbg_0.9.6+dfsg1-1_amd64.deb
 42db9f16cfb9a68a8e4ba49f6efb94995cf404fc 483856 
python3-pycbf-dbgsym_0.9.6+dfsg1-1_amd64.deb
 390d3a3a0a837ce40a8084aa3b7371f54c739b6c 168572 
python3-pycbf_0.9.6+dfsg1-1_amd64.deb
Checksums-Sha256:
 e3b8a0ba4410ca2600d924616b3bb4d59816aa989f8c79578137f615514e4826 2386 
cbflib_0.9.6+dfsg1-1.dsc
 1686b32cca010717c2c4f980f536c672460b5de583c1828fa19b388738d25d42 5498744 
cbflib_0.9.6+dfsg1.orig.tar.xz
 5fe5551e4f0187e8b2383031dd8624ba58cd53271614724a87c693ad0e4a89ea 24764 
cbflib_0.9.6+dfsg1-1.debian.tar.xz
 5f194030bc1e8e16a8f5d2679a8000899ec4a7941f67f0df7e3f90b01f0e0b1a 3826252 
cbflib-bin-dbgsym_0.9.6+dfsg1-1_amd64.deb
 27db1e3119803bdbf7459d84b8eb4d0cff8c727ca3bcfdb78fa02429ae44acd0 520528 
cbflib-bin_0.9.6+dfsg1-1_amd64.deb
 256602fe731bea2f31a95f579c6d34d3719f9f62b7d9406182eeffc57a870665 319488 
cbflib-doc_0.9.6+dfsg1-1_all.deb
 8dcccc90b6d0baf1395c472d9b2b907aac5f00cce7a24fca0cb149bb831a1415 9353 
cbflib_0.9.6+dfsg1-1_amd64.buildinfo
 f8d71082509ae959590aa916934cdfe6084186c15606666580110cd53a823521 442144 
libcbf-dev_0.9.6+dfsg1-1_amd64.deb
 b803903ba92646873f7230fa92a3da61263e4aaf49caf821c065965eb6c21642 960760 
libcbf1-dbgsym_0.9.6+dfsg1-1_amd64.deb
 9f23e10933ef81af3e1353b659aed9450787485d73be200ac2dc7eb8ee8f93bf 349804 
libcbf1_0.9.6+dfsg1-1_amd64.deb
 931abe67754a0738e1a9960edaf325a11814175f378d35053bc11a10ec039eb3 155420 
python3-pycbf-dbg_0.9.6+dfsg1-1_amd64.deb
 b9485768f1028c6d172afab7d089b119e95546e68911456222ebd35fe990ccd7 483856 
python3-pycbf-dbgsym_0.9.6+dfsg1-1_amd64.deb
 adab5739d4b7b18dbaa03b90da263d9e0a680077b7646707e887a49430365f28 168572 
python3-pycbf_0.9.6+dfsg1-1_amd64.deb
Files:
 d7237d0f2514c2ebf9fc114710309f8b 2386 science optional cbflib_0.9.6+dfsg1-1.dsc
 eda0eb5b995a3ea95e64c9bfd7612c25 5498744 science optional 
cbflib_0.9.6+dfsg1.orig.tar.xz
 365dede00e07a4642826c3bf6fa2768f 24764 science optional 
cbflib_0.9.6+dfsg1-1.debian.tar.xz
 18663f27fea698360560f41b4df70377 3826252 debug optional 
cbflib-bin-dbgsym_0.9.6+dfsg1-1_amd64.deb
 fd39aeee0853b5a8fab14bd94520e919 520528 science optional 
cbflib-bin_0.9.6+dfsg1-1_amd64.deb
 a1df3f46ce4ec488b2a1e3d076416856 319488 doc optional 
cbflib-doc_0.9.6+dfsg1-1_all.deb
 8a5a5ba58fda2e46078d8b1886cadc44 9353 science optional 
cbflib_0.9.6+dfsg1-1_amd64.buildinfo
 527b89ec5a86bc246595d0a43a45d07c 442144 libdevel optional 
libcbf-dev_0.9.6+dfsg1-1_amd64.deb
 ea72e786e0b7226bd3863f5d1daf3b87 960760 debug optional 
libcbf1-dbgsym_0.9.6+dfsg1-1_amd64.deb
 032948b2c3276f536ba7678d7357211e 349804 libs optional 
libcbf1_0.9.6+dfsg1-1_amd64.deb
 97feb7ee97aea425571512f493ee444d 155420 debug optional 
python3-pycbf-dbg_0.9.6+dfsg1-1_amd64.deb
 5d9bcdd71c0ab628cf1a87044736393f 483856 debug optional 
python3-pycbf-dbgsym_0.9.6+dfsg1-1_amd64.deb
 13f5fd651e2c65cd2afda69401b5e51c 168572 python optional 
python3-pycbf_0.9.6+dfsg1-1_amd64.deb

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

iQJFBAEBCgAvFiEE2bRTt5m4gw2UXmoKW/VOXhK5ALsFAl6ayuQRHHBpY2NhQGRl
Ymlhbi5vcmcACgkQW/VOXhK5ALvmBRAAqGNjkxch8WkQ1VMpmRuKYfAv3jt4X4dF
zaLEJw61+YmldAF6UrAElUFzpbTHmAUAFNyorB481HxJKMWVRmvfDnYR215QDt18
XU2f0t8RPM8qNN3JGGjmvTNQyFZrxCk/Nc5cEgI82b2bXIIXCRGllIC9Kj7siD4h
gZadMuH/YlNCf4DuCeefkwPpeYBY+2T6/MaMvZlWZzJ4YMIc6yiC8dTW34EjrzUw
7OUsbZlMRG2CAHcKSRjnYw5GWg2tiGjlHSmUMAqa1xmNNzhYVmi3YMv1uDecaLf7
99LdncZfq+puVdiTPHDHjk+o1s8LETzK9RAWRr+/43pSudyxPsu6LF4Vyvi7uJds
ziJ+Kby7OQEr2bMPpXd0+jX8Ul36quNoywUn3jXCvGd9OJ45UVmzHfPyAFGZ+NId
PnInn5L2kyi1btbLiL21aTJ8EKvl9ht3J0MtGlVY4vYYLV4GnuR7twKlcWVAHW8W
+s1iTmGfxXCFF0PlWuOTMrzAzke56ibKSaWr0nVe7I/QvVttt0Hk9ez2zB7q2CnI
8Jpeh+tAsBhEwXfCAPvj/V039Tmy4S3RTzXMZlufPEAMgn7g9Wr33SHratnX/yvX
veFE3r5AYrsQ3DbnwbmkQvukCzLosYeSkcOMDbRAEcoYbc8oT9+FH70cAlSBzg1n
tRQ4ri1F7eU=
=OjxP
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to