Your message dated Sun, 03 Jun 2018 00:19:43 +0000
with message-id <[email protected]>
and subject line Bug#893958: fixed in hexer 1.0.4-1
has caused the Debian Bug report #893958,
regarding hexer FTCBFS: fails running bin2c
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.)
--
893958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: hexer
Version: 1.0.3-1
Tags: patch
User: [email protected]
Usertags: rebootstrap
hexer fails to cross build from source, because it fails running
./bin2c. I'm attaching a patch that updates the build system to
recognize CC_FOR_BUILD to build bin2c with the build architecture
compiler. The variable also needs to be passed to the build. Finally it
installs with -s, which breaks cross compilation and -dbgsym packages.
Starting with debhelper 11 that will be disabled. For now, we can just
fix it explicitly. Please consider applying the attached patch that
makes hexer cross build successfully.
Helmut
diff --minimal -Nru hexer-1.0.3/debian/changelog hexer-1.0.3/debian/changelog
--- hexer-1.0.3/debian/changelog 2016-11-09 13:05:51.000000000 +0100
+++ hexer-1.0.3/debian/changelog 2018-03-24 07:44:25.000000000 +0100
@@ -1,3 +1,13 @@
+hexer (1.0.3-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + cross.patch: Build bin2c with the build architecture compiler.
+ + Pass CC_FOR_BUILD along.
+ + Do not strip during make install (drop with compat 11).
+
+ -- Helmut Grohne <[email protected]> Sat, 24 Mar 2018 07:44:25 +0100
+
hexer (1.0.3-1) unstable; urgency=medium
* Point the Vcs-* fields to my full-source GitLab repository.
diff --minimal -Nru hexer-1.0.3/debian/patches/cross.patch
hexer-1.0.3/debian/patches/cross.patch
--- hexer-1.0.3/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ hexer-1.0.3/debian/patches/cross.patch 2018-03-24 07:43:57.000000000
+0100
@@ -0,0 +1,21 @@
+Index: hexer-1.0.3/Makefile
+===================================================================
+--- hexer-1.0.3.orig/Makefile
++++ hexer-1.0.3/Makefile
+@@ -30,6 +30,7 @@
+
+ # -- Which compiler? --
+ CC ?= cc
++CC_FOR_BUILD ?= $(CC)
+ CFLAGS ?= -O
+ LDFLAGS ?=
+ LDLIBS = $(LTERMCAP) -lm
+@@ -71,7 +72,7 @@
+ $(CC) $(LDFLAGS) $(CPPFLAGS) $(CFLAGS) -DMYCALC=1 -o $@ calc.c -lm
+
+ bin2c: bin2c.c
+- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ bin2c.c
++ $(CC_FOR_BUILD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ bin2c.c
+
+ helptext.c: help.txt bin2c
+ ./bin2c -n helptext -o $@ help.txt
diff --minimal -Nru hexer-1.0.3/debian/patches/series
hexer-1.0.3/debian/patches/series
--- hexer-1.0.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ hexer-1.0.3/debian/patches/series 2018-03-24 07:43:13.000000000 +0100
@@ -0,0 +1 @@
+cross.patch
diff --minimal -Nru hexer-1.0.3/debian/rules hexer-1.0.3/debian/rules
--- hexer-1.0.3/debian/rules 2016-11-09 10:06:22.000000000 +0100
+++ hexer-1.0.3/debian/rules 2018-03-24 07:44:25.000000000 +0100
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
# debhelper rules file for hexer.
+-include /usr/share/dpkg/buildtools.mk
+export CC_FOR_BUILD ?= cc
+
# Aim for the top, adapt if anything should break on the buildds.
DEB_BUILD_MAINT_OPTIONS= hardening=+all
export DEB_BUILD_MAINT_OPTIONS
@@ -17,7 +20,7 @@
export DEB_LDFLAGS_MAINT_APPEND
override_dh_auto_install:
- dh_auto_install -- PREFIX=/usr MANDIR=/usr/share/man/man1
+ dh_auto_install -- PREFIX=/usr MANDIR=/usr/share/man/man1
INSTALL='install --strip-program=/bin/true'
%:
dh $@
--- End Message ---
--- Begin Message ---
Source: hexer
Source-Version: 1.0.4-1
We believe that the bug you reported is fixed in the latest version of
hexer, 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.
Peter Pentchev <[email protected]> (supplier of updated hexer 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: SHA256
Format: 1.8
Date: Sun, 03 Jun 2018 01:31:16 +0300
Source: hexer
Binary: hexer
Architecture: source
Version: 1.0.4-1
Distribution: unstable
Urgency: medium
Maintainer: Peter Pentchev <[email protected]>
Changed-By: Peter Pentchev <[email protected]>
Description:
hexer - interactive binary editor with a Vi-like interface
Closes: 893958
Changes:
hexer (1.0.4-1) unstable; urgency=medium
.
* Declare compliance with Debian Policy 4.1.4 with no changes.
* Bump the year on my debian/* copyright notice.
* Add "Rules-Requires-Root: no" to the source control stanza.
* Bump the debhelper compatibility level to 11 with no changes and
use the B-D: debhelper-compat (= 11) mechanism.
* New upstream version:
- update the upstream copyright years
- pass the CC_FOR_BUILD variable to fix the FTCBFS for bin2c.
Closes: #893958
* Use my Debian e-mail address.
* Drop a blank line at the end of the changelog file.
Checksums-Sha1:
c13f4f652e36028966226ef072b81a0f95f022e3 2056 hexer_1.0.4-1.dsc
f3a61e2181f4cb471b9fc4b38cdf67c57cd74189 93900 hexer_1.0.4.orig.tar.xz
a96fc979118c5a93bffec805d60220ee43b9ae42 833 hexer_1.0.4.orig.tar.xz.asc
a82893cec411a464f3048ba4020a024ff19776a6 19624 hexer_1.0.4-1.debian.tar.xz
7dcdc76d55e759bb5de80e173b116e26f4335c67 5685 hexer_1.0.4-1_amd64.buildinfo
Checksums-Sha256:
fe6f524d2a8a8f3a00042590e520b964dc735bef34c937fc7454ee9ae7300ebf 2056
hexer_1.0.4-1.dsc
757005881d210e72764d43f366782fec40cf8a4e143904242996d5366030223d 93900
hexer_1.0.4.orig.tar.xz
2c4aa57fe06ac9b513e52f7fe4c76309b4ea8b71993ea2c082254aa2cbd0a1f0 833
hexer_1.0.4.orig.tar.xz.asc
becc31dadc7040c985754e6e1af47216c0f8f81de1e8055400e40f245a54d7eb 19624
hexer_1.0.4-1.debian.tar.xz
ebd293126441ca7323c04b5a19fedf3e033398fe94409509914301d773f0025e 5685
hexer_1.0.4-1_amd64.buildinfo
Files:
cab9beb1bddeb3dd61512625bb9a5114 2056 utils optional hexer_1.0.4-1.dsc
c75bcf9675941995f171f7e854a7f029 93900 utils optional hexer_1.0.4.orig.tar.xz
202aa6a27b116f72e17170e8288b16e0 833 utils optional hexer_1.0.4.orig.tar.xz.asc
5d9799cb3d99b34950c9d28dbaea8260 19624 utils optional
hexer_1.0.4-1.debian.tar.xz
3c36bdf98974ffee0eb267513361e9eb 5685 utils optional
hexer_1.0.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAlsTL7IACgkQZR7vsCUn
3xO3OA/9EGFYOHGT6vrlGJ7vKx/Sj9mlon2Su1h//tTajlV3FAm1tC9O5OqNTKJe
tMyTvC3VO1V4pYV9N9STyjLQH2JVkp3xoz3DCatbjbzQCzAvZZ47upwZQU8BAJeY
5qPJGDSda/YRfuNJ+6I05TAWSPh0zDbRdYVbhowHtf92znPKbPMEm/WYKbR9LuXc
1L5vl+072YYfrO+yLKhVhx5P/6gpXxxuvV8hdwRrO772hE7XP4A3qN8hmTRbQYHA
pDfuDW5+n8hZmTMEsKumZrhyf6sFVCUQAQ9ZIhygEosq/JiSVi9FnLnNgim7HYhx
D1g3XYIseAkFLhZmrzZd3qpEsdPd7aC9c77mEbJbtPcaFgymrcIsvBIYvMjtYu+l
6lZHKe/QITHVyqEPYTegkfWY1749cIt5QBv2J0mVFofAw/rgmyOE4MvT3teSFL9t
9z5RrFnhGnBlNposQWSmIboQwDThhCpJPiLyJ/Znj0fXD/ihFKgrau3RkwX4EKJ1
mN61mUdx7JgQNODDYpjm46oWr1Dtls2T4vZlJ+QeSKdJ9HlYfbmG3DkgbUJ5t8id
iAZIKUnxIwHjRoslNZHYNJMITL5WDz1vRB4SiLzf4lFgYOMqPIKVh3XFxM7rEwzN
ECtlprbhDe4pv0e7qSE8SzYV206Co2gW+WYH41u6G+P69xJ81n0=
=eSnk
-----END PGP SIGNATURE-----
--- End Message ---