Your message dated Sat, 24 Aug 2024 22:15:58 +0000
with message-id <[email protected]>
and subject line Bug#1079290: Removed package(s) from unstable
has caused the Debian Bug report #929589,
regarding twofish FTCBFS: builds for the build 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 [email protected]
immediately.)


-- 
929589: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929589
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: twofish
Version: 0.3-5
Tags: patch
User: [email protected]
Usertags: rebootstrap

twofish fails to cross build from source, because debian/rules hard
codes the build architecture compiler. The host compiler is best
obtained from dpkg's buildtools.mk. After doing so, twofish fails
running its tests despite DEB_BUILD_OPTIONS=nocheck. The attached patch
fixes both. Please consider applying it.

Helmut
diff --minimal -Nru twofish-0.3/debian/changelog twofish-0.3/debian/changelog
--- twofish-0.3/debian/changelog        2016-05-07 12:27:19.000000000 +0200
+++ twofish-0.3/debian/changelog        2019-05-26 17:16:32.000000000 +0200
@@ -1,3 +1,12 @@
+twofish (0.3-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Use $(CC) from dpkg's buildtools.mk.
+    + Support DEB_BUILD_OPTIONS=nocheck.
+
+ -- Helmut Grohne <[email protected]>  Sun, 26 May 2019 17:16:32 +0200
+
 twofish (0.3-5) unstable; urgency=low
 
   * Step Standards-Version to 3.9.8, no changes.
diff --minimal -Nru twofish-0.3/debian/rules twofish-0.3/debian/rules
--- twofish-0.3/debian/rules    2016-05-07 10:44:38.000000000 +0200
+++ twofish-0.3/debian/rules    2019-05-26 17:16:32.000000000 +0200
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 # Debian package build rules file for twofish
 
+-include /usr/share/dpkg/buildtools.mk
 CFLAGS  = $(shell dpkg-buildflags --get CFLAGS) -Wall -Wextra
 CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
 LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,now
@@ -26,17 +27,19 @@
 build-arch-stamp:
        dh_testdir
        #
-       gcc -c -o twofish.o $(CPPFLAGS) $(CFLAGS) twofish.c
+       $(CC) -c -o twofish.o $(CPPFLAGS) $(CFLAGS) twofish.c
        ar clq $(ANAME) twofish.o
        ranlib $(ANAME)
        # Shared library
        -rm twofish.o
-       gcc $(CPPFLAGS) $(CFLAGS) -fPIC -shared -Wl,-soname,$(SONAME) \
+       $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -shared -Wl,-soname,$(SONAME) \
                $(LDFLAGS) -Wl,-z,defs -lc -o $(SONAME) twofish.c
        #
        # test suite
-       gcc -o twofishtest $(CPPFLAGS) $(CFLAGS) main.c $(LDFLAGS) -L. 
$(ALINKING)
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+       $(CC) -o twofishtest $(CPPFLAGS) $(CFLAGS) main.c $(LDFLAGS) -L. 
$(ALINKING)
        ./twofishtest
+endif
        touch build-arch-stamp
 
 clean:

--- End Message ---
--- Begin Message ---
Version: 0.3-5+rm

Dear submitter,

as the package twofish has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1079290

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to