Your message dated Thu, 17 Aug 2023 00:24:32 +0000
with message-id <[email protected]>
and subject line Bug#989401: fixed in mathtex 1.03-2
has caused the Debian Bug report #989401,
regarding mathtex FTCBFS: compiles 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.)


-- 
989401: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989401
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mathtex
Version: 1.03-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

mathtex fails to cross build from source, because it uses the build
architecture compiler. It neither passes cross tools to make nor does
the Makefile use a substitution variable. Both needs to be fixed. To
make matters worse, it actually compiles during make install. Long story
short, the attached patch makes mathtex cross buildable. Please consider
applying it.

Helmut
diff -u mathtex-1.03/Makefile mathtex-1.03/Makefile
--- mathtex-1.03/Makefile
+++ mathtex-1.03/Makefile
@@ -5,7 +5,7 @@
 
 install:
        mkdir -p debian/mathtex/usr/bin
-       gcc -DLATEX=\"/usr/bin/latex\" -DDVIPNG=\"/usr/bin/dvipng\" mathtex.c 
-o ${TARGET}
+       $(CC) -DLATEX=\"/usr/bin/latex\" -DDVIPNG=\"/usr/bin/dvipng\" mathtex.c 
-o ${TARGET}
 
 clean:
        mkdir -p debian/mathtex/usr/bin
diff -u mathtex-1.03/debian/changelog mathtex-1.03/debian/changelog
--- mathtex-1.03/debian/changelog
+++ mathtex-1.03/debian/changelog
@@ -1,3 +1,12 @@
+mathtex (1.03-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Make gcc substitutable.
+
+ -- Helmut Grohne <[email protected]>  Wed, 02 Jun 2021 19:15:45 +0200
+
 mathtex (1.03-1) unstable; urgency=high
 
   * New upstream release.
diff -u mathtex-1.03/debian/rules mathtex-1.03/debian/rules
--- mathtex-1.03/debian/rules
+++ mathtex-1.03/debian/rules
@@ -25,9 +25,6 @@
 
 build-stamp: configure-stamp  
        dh_testdir
-
-       # Add here commands to compile the package.
-       $(MAKE)
        docbook-to-man debian/mathtex.sgml > mathtex.1
 
        touch $@
@@ -47,9 +44,7 @@
        dh_testroot
        dh_prep
        dh_installdirs
-
-       # Add here commands to install the package into debian/mathtex.
-       $(MAKE) DESTDIR=$(CURDIR)/debian/mathtex install
+       dh_auto_build -- DESTDIR=$(CURDIR)/debian/mathtex install
 
 
 # Build architecture-independent files here.

--- End Message ---
--- Begin Message ---
Source: mathtex
Source-Version: 1.03-2
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mathtex, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated mathtex 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 [email protected])


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

Format: 1.8
Date: Wed, 16 Aug 2023 20:21:36 +0000
Source: mathtex
Architecture: source
Version: 1.03-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 668506 748230 989401 1043212
Changes:
 mathtex (1.03-2) unstable; urgency=medium
 .
   * QA upload
   * Convert to source format 3.0 (Closes: #1043212)
   * Drop 404 Homepage (Closes: #668506)
 .
   [ TomažSolc ]
   * Fix manpage typo (Closes: #748230)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #989401)
     + Let dh_auto_build pass cross tools to make
     + Make gcc substitutable
Checksums-Sha1:
 3f80cfe582f90ba703c0d29edbb72f9cf4417602 1522 mathtex_1.03-2.dsc
 f799e1023de08b9699581d856efb4b9b66b52332 4216 mathtex_1.03-2.debian.tar.xz
 777d12e8dcb5636558a08050da6e9c26804b24a6 5486 mathtex_1.03-2_source.buildinfo
Checksums-Sha256:
 f7fb17f3cdac8f00910630e3b29e8dc9aedf569b044ab5c1c08d25a795275d0e 1522 
mathtex_1.03-2.dsc
 6bdf3b93ffdde016f1da0b8fb42ad5a3ad430a5a6eda8a2c5ba2e01f1f5a186e 4216 
mathtex_1.03-2.debian.tar.xz
 54ebf010a148f0c396076d28d6daa8ca3b5afa6511811f1be25c666a461fddf4 5486 
mathtex_1.03-2_source.buildinfo
Files:
 1306aae6cde2bf73d8fab22c9900be9e 1522 graphics optional mathtex_1.03-2.dsc
 d60f65bde7a7f568535d30a0acf268ca 4216 graphics optional 
mathtex_1.03-2.debian.tar.xz
 2f7eb67c0348466e42ab24d24a9fcfb2 5486 graphics optional 
mathtex_1.03-2_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmTdZKcQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFHPzC/wIwYv1Ti/WFm7IGngTiblBO3uCOVXtxWlW
cSJugsJd4nwHLa5DR3Yp4UzcRQEVFNhuHf5/zHxsEPRVfEdviloHKSsgnmckmqNF
oM4OdJWqHJ0yzNwwDttpBI8d1Hrd2KWlOFmBGUJUvzZKQ8BqCydwo3lc+iAQlrkZ
vMxL+bZrwHe/qHryIsioj1hY0hyTlDT12y5Y00u/FTlbWugJIER97t8SGJ2vgDeg
zYoq5lwBp61VY4sBEvhsShWnkUF+HNLg4W4iac3ZtZTLmudeLdHL3zA9WfvDSBU/
d/zVhTmDccPL7hheXbsabIgVVtzOQ/4OWenBsloZcAoLcSdwX6/rl0vUFLjqTRuH
vsbS4Ef1utyeTNvBbaocqnE4QgdNhPxbZuRkODOOXQjJjPLyCYaWx6YutiHZoDbj
pSN0dJRgh5/J7shjq4FhqYZjP/PUi8YeCFaAlASZvz2StgXrQBvus/yb+8fSZTgw
Sd4l52sqwj9hMwpw+iCqF3dgPvdExDQ=
=92KU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to