Your message dated Sat, 29 Oct 2016 04:46:04 +0000
with message-id <e1c0lwu-0004g6...@franck.debian.org>
and subject line Bug#842355: Removed package(s) from unstable
has caused the Debian Bug report #840022,
regarding iptraf FTCBFS: uses build architecture compiler
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 ow...@bugs.debian.org
immediately.)


-- 
840022: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840022
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: iptraf
Version: 3.0.0-8.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

iptraf fails to cross build from source, because it uses build
architecture tools. Unfortunately, passing a triplet-prefixed CC to make
is insufficient, because support/Makefile calls gcc explicitly. Thus
upstream sources need to be patched as well. Please consider applying
the attached patch that makes cross builds succeed.

Helmut
diff -u iptraf-3.0.0/debian/changelog iptraf-3.0.0/debian/changelog
--- iptraf-3.0.0/debian/changelog
+++ iptraf-3.0.0/debian/changelog
@@ -1,3 +1,12 @@
+iptraf (3.0.0-8.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (closes: #-1)
+    + Pass triplet-prefixed CC to make
+    + Call compiler via CC
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 07 Oct 2016 20:43:24 +0200
+
 iptraf (3.0.0-8.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u iptraf-3.0.0/debian/rules iptraf-3.0.0/debian/rules
--- iptraf-3.0.0/debian/rules
+++ iptraf-3.0.0/debian/rules
@@ -6,7 +6,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 makeopts      := \
+                CC="$(CC)"                                     \
                 WORKDIR=/var/lib/iptraf                        \
                 LOGDIR=/var/log/iptraf                         \
                 TARGET=/usr/sbin                               \
only in patch2:
unchanged:
--- iptraf-3.0.0.orig/support/Makefile
+++ iptraf-3.0.0/support/Makefile
@@ -12,7 +12,7 @@
 #      gcc -shared -o libtextbox.so $(OBJS)
 
 %.o: %.c *.h
-       gcc -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
+       $(CC) -O2 -g -Wall -fPIC $(INCLUDEDIR) -c -o $*.o $<
 
 clean:
        rm -rf *.o *~ libtextbox.a libtextbox.so

--- End Message ---
--- Begin Message ---
Version: 3.0.0-8.1+rm

Dear submitter,

as the package iptraf 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/842355

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

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

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

--- End Message ---

Reply via email to