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

Bug#941679: marked as done (snarf FTCBFS: configures for the build architecture)



Your message dated Sat, 03 Jul 2021 18:18:29 +0000
with message-id <E1lzkDl-000BXq-2J@fasolo.debian.org>
and subject line Bug#941679: fixed in snarf 7.0-7
has caused the Debian Bug report #941679,
regarding snarf FTCBFS: configures 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 owner@bugs.debian.org
immediately.)


-- 
941679: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941679
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: snarf
Version: 7.0-6
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

snarf fails to cross build from source, because it configures for the
build architecture. Usually, this is solved by passing a --host switch
(and this is what dh_auto_configure does automatically). Unfortunately,
snarf's configure is too old to understand that. Instead, one is
supposed to export a cross compiler in CC. Please consider applying the
attached patch.

Helmut
diff -u snarf-7.0/debian/changelog snarf-7.0/debian/changelog
--- snarf-7.0/debian/changelog
+++ snarf-7.0/debian/changelog
@@ -1,3 +1,9 @@
+snarf (7.0-7) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Export CC for ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 03 Oct 2019 20:19:28 +0200
+
 snarf (7.0-6) unstable; urgency=medium
 
   * QA upload.
diff -u snarf-7.0/debian/rules snarf-7.0/debian/rules
--- snarf-7.0/debian/rules
+++ snarf-7.0/debian/rules
@@ -2,6 +2,8 @@
 
 export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+-include /usr/share/dpkg/buildtools.mk
+export CC
 
 clean:
 	dh_testdir

--- End Message ---
--- Begin Message ---
Source: snarf
Source-Version: 7.0-7
Done: David da Silva Polverari <david.polverari@gmail.com>

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

Debian distribution maintenance software
pp.
David da Silva Polverari <david.polverari@gmail.com> (supplier of updated snarf 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: Sun, 13 Jun 2021 01:25:46 +0000
Source: snarf
Architecture: source
Version: 7.0-7
Distribution: experimental
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: David da Silva Polverari <david.polverari@gmail.com>
Closes: 941679
Changes:
 snarf (7.0-7) experimental; urgency=medium
 .
   * QA upload.
   * Migrations:
       - DH to new level format. Consequently:
           ~ debian/compat: removed.
           ~ debian/control: changed from 'debhelper' to 'debhelper-compat' in
             Build-Depends field and bumped level to 13.
       - DebSrc to 3.0.
       - debian/copyright to 1.0 format.
       - debian/rules to new (reduced) format.
   * Ran wrap-and-sort.
   * debian/control:
       - Added 'Rules-Requires-Root: no' to source stanza.
       - Added Homepage field.
       - Added Vcs-* fields.
       - Bumped Standards-Version to 4.5.1.
   * debian/copyright:
       - Added licensing information for snarf.1 file.
       - Updated upstream and packaging copyright information.
   * debian/patches/:
       - 010_old-diffs.patch: created to apply all previous diffs from old Debian
         source format.
       - 020_fix-buildsystem.patch: created to fix problems caused by removal of
         deprecated functionality on newer versions of autotools.
   * debian/rules: fix FTCBFS by exporting CC to ./configure. Thanks to Helmut
     Grohne <helmut@subdivi.de> (Closes: #941679).
   * debian/salsa-ci.yml: added to provide CI tests for Salsa.
   * debian/tests/control: created to perform CI tests.
   * debian/upstream/metadata: created.
   * debian/watch: created.
Checksums-Sha1:
 d9b522cb7e784c19251e4df8de1d1e265f5cc08b 1793 snarf_7.0-7.dsc
 e42dafbadab7ad51fb0fbbe182c00baa82339bfe 5760 snarf_7.0-7.debian.tar.xz
 19ea887c242c71b2efbe728a5118503af7c61381 5287 snarf_7.0-7_source.buildinfo
Checksums-Sha256:
 0dbeca937e0cf15a31206569abf04d608e343e38695e0975dd439f60dc2bb960 1793 snarf_7.0-7.dsc
 05730fdec5f95977e35607ae1e79267747e6231f311aa0a8a5a30e0ace398f2e 5760 snarf_7.0-7.debian.tar.xz
 964821225b1c85d264613bcbbedda5f16f2d68f8f2d5735c0062f41110f474f8 5287 snarf_7.0-7_source.buildinfo
Files:
 f40dc12cfba4fafe15cbad708645766e 1793 net optional snarf_7.0-7.dsc
 3f373a44154002d42db25a42555cc246 5760 net optional snarf_7.0-7.debian.tar.xz
 286d2b42e3d9da54086bc926255a017b 5287 net optional snarf_7.0-7_source.buildinfo

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

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAmDgpLEACgkQ3mO5xwTr
6e878RAAq0E2OfQGsr5+Q2RnKrbd4wh3uEg7Qrtvb005nOslyaNvOVSS8n4KbrMA
0WXVzavn3qILfNC2QbRhl8T3+XVekh/p4hHD5DvZC0X8BbAUfZkv4DEg/8bHWdRA
CBlP2KB03DBXxKfAo1Xh4qvpWOucZ2yBzjlEcYZgDXms+BZpfgOgZZa+kxwUuDHm
mEQCYqXLyveV/cEku+0KsoPoJrMY9CFNqJkP9tzQx24tCVFHjFd5qKmuRLOJjbIS
CXkN7qGMaqniXnc4XplpGhkvq3plzD6OyEDwA5Ngc97Klb7bPgtuS3M4KkfVEYKM
PHRd82kEtcMP+GR9UA5w0xS5MCgUqZeiHkQEXTVQW4oNlVCfr72l7xhaOkf4r4Vg
g6QADt+yZs512pNI4srW5Gs957RV/qnLlZlkI7Nrsme+HiBW3eLI5sIPvYFcUdJx
KTw/1t7nbKMrd29df1I0ijs5PJ4pAqoQgp2DWlBRP2zhLKKa9UvhGYeJ7ozk0rJK
2CuMHdM/haSf9fmra03H1UwSKpwSqucGP8PRsRuJH1ID/XVbtv7AuscFLJxh7KiH
FnXJW42G82biY9m+C4uVzyWnKiAK/TyRGgMobjxPviT4scJMwXPbWyE3NNbFxpIr
EI7vCsNdsy9bJp25pF6jyX7yHEmmPBVryl4Di3DgGMQFQ4X6M9s=
=E6CD
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: