[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916253: marked as done (efax FTCBFS: builds for the wrong architecture)



Your message dated Thu, 12 May 2022 04:48:51 +0000
with message-id <E1np0kt-000EKC-IV@fasolo.debian.org>
and subject line Bug#916253: fixed in efax 1:0.9a-21
has caused the Debian Bug report #916253,
regarding efax FTCBFS: builds for the wrong architecture
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 owner@bugs.debian.org
immediately.)


-- 
916253: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916253
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: efax
Version: 1:0.9a-19.1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

efax fails to cross build from source, because it passes the build
architecture compiler "gcc" to make. Using the one supplied from dpkg's
buildtools.mk fixes that. The upstream build system then runs the build
architectrue strip, which breaks generation of -dbgsym packages and
DEB_BUILD_OPTIONS=nostrip beyond breaking cross compilation. The
attached patch enables cross building efax-dbgsym. Please consider
applying it.

Helmut
diff -u efax-0.9a/debian/changelog efax-0.9a/debian/changelog
--- efax-0.9a/debian/changelog
+++ efax-0.9a/debian/changelog
@@ -1,3 +1,12 @@
+efax (1:0.9a-19.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Supply $(CC) from dpkg's buildtools.mk.
+    + Defer stripping to dh_strip.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Wed, 12 Dec 2018 07:07:06 +0100
+
 efax (1:0.9a-19.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u efax-0.9a/debian/rules efax-0.9a/debian/rules
--- efax-0.9a/debian/rules
+++ efax-0.9a/debian/rules
@@ -10,6 +10,7 @@
 #export DH_VERBOSE=1
 
 include /usr/share/dpatch/dpatch.make
+-include /usr/share/dpkg/buildtools.mk
 
 
 CFLAGS = -Wall -g -DDEBIAN
@@ -26,8 +27,8 @@
 build-stamp: patch-stamp
 	dh_testdir
 
-	$(MAKE) efax CC="gcc" CFLAGS="$(CFLAGS)" 
-	$(MAKE) efix CC="gcc" CFLAGS="$(CFLAGS)"
+	$(MAKE) efax CC="$(CC)" CFLAGS="$(CFLAGS)" 
+	$(MAKE) efix CC="$(CC)" CFLAGS="$(CFLAGS)"
 
 	touch build-stamp
 
--- efax-0.9a.orig/Makefile
+++ efax-0.9a/Makefile
@@ -25,11 +25,9 @@
 
 efax:	efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
 	$(CC) -o efax $(LDFLAGS) efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
-	strip efax
 
 efix:	efix.o efaxlib.o efaxmsg.o
 	$(CC) -o efix $(LDFLAGS) efix.o efaxlib.o efaxmsg.o
-	strip efix
 
 install:
 	cp fax efax efix $(BINDIR)

--- End Message ---
--- Begin Message ---
Source: efax
Source-Version: 1:0.9a-21
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
efax, 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 916253@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated efax 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 11 May 2022 21:16:23 -0700
Source: efax
Architecture: source
Version: 1:0.9a-21
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 916253 999252 1005979 1010872
Changes:
 efax (1:0.9a-21) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Vagrant Cascadian ]
   * debian/patches: Switch to "3.0 (quilt)" source format.
     (Closes: #1005979)
   * debian/rules: Switch to "dh" (Closes: #999252, #1010872)
   * debian/copyright: References GPL-2 directly.
   * debian/rules: Use default CC passed via dh_auto_build.
     (Closes: #916253)
   * debian/control: Set Rules-Requires-Root to "binary-targets".
 .
   [ Helmut Grohne ]
   * debian/patches: Defer stripping to dh_strip. (Closes: #916253)
Checksums-Sha1:
 af581a00b0b97ffa5b16127c4060b5980fa8ee36 1190 efax_0.9a-21.dsc
 3bc9f7311ea93c6dbe571caf80a18666f7985245 17612 efax_0.9a-21.debian.tar.xz
Checksums-Sha256:
 99cf9c2f12d3c6b465112d03693dc1993584571c7a2d5a64ada7f3dd8ed135dc 1190 efax_0.9a-21.dsc
 a9d69c8796f2fe083b6f8c64dbb1278a1695675e905e10425a942e9faa7dec54 17612 efax_0.9a-21.debian.tar.xz
Files:
 7ec70aa60ee70145c611ba6673099195 1190 comm optional efax_0.9a-21.dsc
 4e8ab37fa977f1c7a590a9f7b00eda88 17612 comm optional efax_0.9a-21.debian.tar.xz

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

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnyMLiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqrJbAP0X+YiaFsu/EzE+
GdwENXNNml4NkXUxA/hmbxLbRpdrmAD/ebVpzXWgv/tsEvWlzDKIyWniWXmvDbM9
3+Wx+HOREww=
=uIeB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: