Your message dated Mon, 17 Feb 2025 12:49:04 +0000
with message-id <e1tk0ya-00hgax...@fasolo.debian.org>
and subject line Bug#841644: fixed in enca 1.19-3
has caused the Debian Bug report #841644,
regarding enca FTCBFS: build tool make_hash built with host 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.)


-- 
841644: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841644
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: enca
Version: 1.19-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

enca fails to cross build from source, because the build tool make_hash
is compiled with the host architecture compiler and thus cannot be
reliably executed during the build. Please consider applying the
attached patch to switch to the build architecture compiler.

Helmut
diff --minimal -Nru enca-1.19/debian/changelog enca-1.19/debian/changelog
--- enca-1.19/debian/changelog  2016-09-05 16:23:32.000000000 +0200
+++ enca-1.19/debian/changelog  2016-10-21 18:40:29.000000000 +0200
@@ -1,3 +1,11 @@
+enca (1.19-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build make_hash.c with the build architecture compiler
+    (Closes: #-1).
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 21 Oct 2016 18:40:04 +0200
+
 enca (1.19-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru enca-1.19/debian/control enca-1.19/debian/control
--- enca-1.19/debian/control    2016-09-05 16:23:19.000000000 +0200
+++ enca-1.19/debian/control    2016-10-21 18:35:13.000000000 +0200
@@ -1,7 +1,7 @@
 Source: enca
 Priority: optional
 Maintainer: Michal Čihař <ni...@debian.org>
-Build-Depends: debhelper (>= 9), dh-autoreconf, librecode-dev, dpkg-dev (>= 
1.16.1~)
+Build-Depends: debhelper (>= 9), dh-autoreconf, autoconf-archive, 
librecode-dev, dpkg-dev (>= 1.16.1~)
 Standards-Version: 3.9.8
 Section: text
 Vcs-Browser: 
http://anonscm.debian.org/viewvc/collab-maint/deb-maint/enca/trunk/
diff --minimal -Nru enca-1.19/debian/patches/cross.patch 
enca-1.19/debian/patches/cross.patch
--- enca-1.19/debian/patches/cross.patch        1970-01-01 01:00:00.000000000 
+0100
+++ enca-1.19/debian/patches/cross.patch        2016-10-21 18:40:02.000000000 
+0200
@@ -0,0 +1,63 @@
+From: Helmut Grohne <hel...@subdivi.de>
+Subject: build make_hash with the build arch compiler
+
+Also note that we cannot include config.h in make_hash.c, because it is
+specific to the host architecture.
+
+Index: enca-1.19/configure.ac
+===================================================================
+--- enca-1.19.orig/configure.ac
++++ enca-1.19/configure.ac
+@@ -35,6 +35,7 @@
+ dnl Checks for programs.
+ AC_PROG_AWK
+ AC_PROG_CC
++AX_PROG_CC_FOR_BUILD
+ AC_GNU_SOURCE
+ AC_AIX
+ AC_ISC_POSIX
+Index: enca-1.19/tools/Makefile.am
+===================================================================
+--- enca-1.19.orig/tools/Makefile.am
++++ enca-1.19/tools/Makefile.am
+@@ -2,7 +2,8 @@
+ noinst_HEADERS = encodings.h
+ noinst_SCRIPTS = expand_table.pl
+ 
+-make_hash_SOURCES = make_hash.c
++make_hash$(EXEEXT): make_hash.c
++      $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ $<
+ 
+ BUILT_SOURCES = $(noinst_HEADERS)
+ 
+Index: enca-1.19/tools/make_hash.c
+===================================================================
+--- enca-1.19.orig/tools/make_hash.c
++++ enca-1.19/tools/make_hash.c
+@@ -17,25 +17,9 @@
+   with this program; if not, write to the Free Software Foundation, Inc.,
+   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+-#ifdef HAVE_CONFIG_H
+-#  include "config.h"
+-#endif /* HAVE_CONFIG_H */
+-
+ #include <stdlib.h>
+ #include <stdio.h>
+-
+-#ifdef HAVE_STRING_H
+-#  include <string.h>
+-#else /* HAVE_STRING_H */
+-#  ifdef HAVE_STRINGS_H
+-#    include <strings.h>
+-#  endif /* HAVE_STRINGS_H */
+-#endif /* HAVE_STRING_H */
+-
+-#ifdef HAVE_MEMORY_H
+-#  include <memory.h>
+-#endif /* HAVE_MEMORY_H */
+-
++#include <string.h>
+ #include <unistd.h>
+ #include <ctype.h>
+ 
diff --minimal -Nru enca-1.19/debian/patches/series 
enca-1.19/debian/patches/series
--- enca-1.19/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
+++ enca-1.19/debian/patches/series     2016-10-21 18:34:13.000000000 +0200
@@ -0,0 +1 @@
+cross.patch

--- End Message ---
--- Begin Message ---
Source: enca
Source-Version: 1.19-3
Done: Bastian Germann <b...@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <b...@debian.org> (supplier of updated enca 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 17 Feb 2025 12:51:27 +0100
Source: enca
Architecture: source
Version: 1.19-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packa...@qa.debian.org>
Changed-By: Bastian Germann <b...@debian.org>
Closes: 841644 1077989
Changes:
 enca (1.19-3) unstable; urgency=medium
 .
   * QA upload.
   * Drop recode support as iconv is active. (Closes: #1077989)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Build make_hash.c with the build architecture compiler.
     (Closes: #841644)
Checksums-Sha1:
 1c625d58cefab0b59c86b76503c626006ae5ba11 1747 enca_1.19-3.dsc
 d207249e717dcac9b83396c36263b9e0311eba6e 5292 enca_1.19-3.debian.tar.xz
 50c275c3c1925b7caaca24a387c7d32bcfc030f9 5129 enca_1.19-3_source.buildinfo
Checksums-Sha256:
 a80cba752b433cdfcc20f899e5bcdf27bb5685fe5ab726cd53a72cab887aabf4 1747 
enca_1.19-3.dsc
 a5d77dd666c4ad92708ab29b03ce2cc1fb2f337dd7a04976e7d6ceeeec99d3eb 5292 
enca_1.19-3.debian.tar.xz
 a7dbe94df7a2a26c7b59ea36b9245ac8fd8a049ed059068730bbee9716136917 5129 
enca_1.19-3_source.buildinfo
Files:
 44632eb33a984702ca8faebd769b3c7d 1747 text optional enca_1.19-3.dsc
 0304fb37380c98a33d80b614e81844ac 5292 text optional enca_1.19-3.debian.tar.xz
 4894352c31e1a29d37b9347ca44b2379 5129 text optional 
enca_1.19-3_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmezLIgQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFOssC/9kW+F1ZwRAKteP/ChA+ZB+gUkGzPEc0ZPC
RKh299JS7k5R7/EY+ccIRnmMxSRwRr21HHF20u/6ceaKzWS7K2Gdzf9SPIk+75DC
X8ffLqTHOTx0EanTL/RKYXgJz0AiC/CkXQQE22MQAFWxt6fEGQYfoGe5lbsmqdSy
lpp0G6rcGHm02QXWIx80zZE3XlU7emS7UHUCdVNwhcVjGvA/4eoO2c8JKUWn8gL1
QEmV8vnSMUbF7To06oUBSP8VQKINDkv2JeySsiT3FCqcz44Nql3Max17B8X0pewZ
qs49U/UH0QI2nMe8Go3puYobkAT+NoneOKaeDvxY6OAob5XFJ/ExgdrN01WeA90m
KAqEt6AllMvWkwMqc7JoiI2Rg8VSDYE1pqrn8QXxaq8HIzrXyJXRgk2iQStQE3Fi
eS8afsHpda73Z/PVDwugzNF4F6hLVmX5FiqtRoKOEbBI+o3MM4qlHIKydUOHJPUv
1uPm4qo76r+7lbQTUhbPZA5yjj/LfFE=
=w2xf
-----END PGP SIGNATURE-----

Attachment: pgp7I69lQNmUH.pgp
Description: PGP signature


--- End Message ---

Reply via email to