Your message dated Fri, 22 Feb 2019 14:47:05 +0000
with message-id <[email protected]>
and subject line Bug#901692: fixed in dvi2ps 5.1j-1.3
has caused the Debian Bug report #901692,
regarding dvi2ps FTCBFS: multiple reasons
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.)


-- 
901692: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901692
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dvi2ps
Version: 5.1j-1.2
Tags: patch
User: [email protected]
Usertags: rebootstrap

dvi2ps fails to cross build from source. The first issue is that it
configures for the build architecture. Letting dh_auto_configure pass
--host fixes this part. Then debian/Makefile.tools uses the build
architecture compiler. Letting dh_auto_build pass cross tools fixes that
part. Then debian/rules uses install -s to install, which uses the build
architecture strip. Dropping the -s flag fixes that as dh_strip will
take care of stripping. Dropping the -s flag also partially fixes
#436778. The attached patch implements all of that and makes dvi2ps
cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru dvi2ps-5.1j/debian/changelog dvi2ps-5.1j/debian/changelog
--- dvi2ps-5.1j/debian/changelog        2014-10-14 23:40:23.000000000 +0200
+++ dvi2ps-5.1j/debian/changelog        2018-06-16 21:44:31.000000000 +0200
@@ -1,3 +1,13 @@
+dvi2ps (5.1j-1.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_configure pass --host to ./configure.
+    + Let dh_auto_build pass cross tools to debian/Makefile.tools.
+    + Do not strip at install time.
+
+ -- Helmut Grohne <[email protected]>  Sat, 16 Jun 2018 21:44:31 +0200
+
 dvi2ps (5.1j-1.2) unstable; urgency=medium
 
   * NMU
diff --minimal -Nru dvi2ps-5.1j/debian/control dvi2ps-5.1j/debian/control
--- dvi2ps-5.1j/debian/control  2014-10-14 23:40:23.000000000 +0200
+++ dvi2ps-5.1j/debian/control  2018-06-16 21:44:28.000000000 +0200
@@ -2,7 +2,7 @@
 Section: tex
 Priority: optional
 Maintainer: OHURA Makoto <[email protected]>
-Build-Depends: debhelper (>= 5.0.0), nkf, libkpathsea-dev, vflib3-dev, 
libfreetype6-dev, autotools-dev
+Build-Depends: debhelper (>= 7), nkf, libkpathsea-dev, vflib3-dev, 
libfreetype6-dev, autotools-dev
 Standards-Version: 3.8.4
 
 Package: dvi2ps
diff --minimal -Nru dvi2ps-5.1j/debian/rules dvi2ps-5.1j/debian/rules
--- dvi2ps-5.1j/debian/rules    2014-10-14 23:40:23.000000000 +0200
+++ dvi2ps-5.1j/debian/rules    2018-06-16 21:44:31.000000000 +0200
@@ -28,7 +28,7 @@
        dh_testdir
        dh_autotools-dev_updateconfig
        # Add here commands to configure the package.
-       ./configure --prefix=/usr --with-dvi2pslib=/usr/lib/dvi2ps
+       dh_auto_configure -- --with-dvi2pslib=/usr/lib/dvi2ps
 
        touch configure-stamp
 
@@ -45,7 +45,7 @@
        $(MAKE) PREFIX=/usr MFMODE=ljfour \
                CCFLAGS='-g -O -DPOSIX -DSYSV -DANSI -Wall'
        $(MAKE) lprdvi newlib CCFLAGS='-g -O -DPOSIX -DSYSV -DANSI -Wall'
-       (cd tools ; $(MAKE) -f ../debian/Makefile.tools)
+       dh_auto_build --buildsystem=makefile --sourcedirectory=tools -- -f 
../debian/Makefile.tools
 
        find lib -type d -name 'CVS' |xargs rm -rf
        touch build-stamp
@@ -78,8 +78,8 @@
 #      make install-lprdvi DESTDIR=debian/dvi2ps
        install -m 755 lprdvi debian/dvi2ps/usr/bin
        install -m 644 tools/lprdvi.conf debian/dvi2ps/etc/texmf/dvi2ps
-       install -c -s -m 755 tools/nup debian/dvi2ps/usr/bin
-       install -c -s -m 755 tools/texfix debian/dvi2ps/usr/bin/texfix
+       install -c -m 755 tools/nup debian/dvi2ps/usr/bin
+       install -c -m 755 tools/texfix debian/dvi2ps/usr/bin/texfix
        #-install -m 644 lib/PS600J \
        #               debian/dvi2ps/etc/texmf/dvi2ps/fontdesc
        install -m 644 debian/fontdesc $(ETCD)/fontdesc

--- End Message ---
--- Begin Message ---
Source: dvi2ps
Source-Version: 5.1j-1.3

We believe that the bug you reported is fixed in the latest version of
dvi2ps, 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.
Hugh McMaster <[email protected]> (supplier of updated dvi2ps 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: Sun, 17 Feb 2019 23:29:43 +1100
Source: dvi2ps
Architecture: source
Version: 5.1j-1.3
Distribution: unstable
Urgency: medium
Maintainer: OHURA Makoto <[email protected]>
Changed-By: Hugh McMaster <[email protected]>
Closes: 659141 887604 901692
Changes:
 dvi2ps (5.1j-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Use pkg-config to detect the freetype libraries (Closes: #887604).
   * Patch debian/rules to allow dvi2ps to cross-build from source:
     - Let dh_auto_configure pass --host to ./configure.
     - Let dh_auto_build pass cross-tools to debian/Makefile.tools.
     - Do not strip at install time.
     - Thanks to Helmut Grohne for supplying a patch (Closes: #901692).
   * debian/control:
     - Build-Depend on dh-autoreconf and pkg-config.
   * debian/po:
     - Add Italian translation by Beatrice Torracca (Closes: #659141).
     - Add LINGUAS file.
   * debian/rules:
     - Call dh_autoreconf and dh_autoreconf_clean during the 'configure' and
       'clean' targets respectively.
     - Allow dvi2ps to cross-build from source (see above for details).
Checksums-Sha1:
 db8dd79877994ca65528d668d70a976f38ca4cbf 1754 dvi2ps_5.1j-1.3.dsc
 ff8c19dfb11f93d457137304ac447e8f9eeda479 21872 dvi2ps_5.1j-1.3.debian.tar.xz
 2d3fa3746ce06858274bd8b2291aba882a7ca815 5871 dvi2ps_5.1j-1.3_amd64.buildinfo
Checksums-Sha256:
 542c4adc9d34e4830ceae272d411867f667e0249c35c8cb036815d3268466120 1754 
dvi2ps_5.1j-1.3.dsc
 533fc2fa08ae682f6616e991e7a8135e72f9a368ce759887f3be87697d6ebd96 21872 
dvi2ps_5.1j-1.3.debian.tar.xz
 df885a98c755fb248d2ec4f93e10ca7bfc7bffc34f3beac3a333bd9a63b19903 5871 
dvi2ps_5.1j-1.3_amd64.buildinfo
Files:
 7f747d8c0f1a3455a227d18abce401a4 1754 tex optional dvi2ps_5.1j-1.3.dsc
 510dd86a611c08766107b8c894245448 21872 tex optional 
dvi2ps_5.1j-1.3.debian.tar.xz
 9e4f164a41b3ec228af81588d94c8622 5871 tex optional 
dvi2ps_5.1j-1.3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlxpZMsACgkQCBa54Yx2
K63leRAAhpgUNrzSR+64sYROaCpaVMRtRestWVSoz5sb4/xuMxsWu3kXKaU48Jqs
amucjzmv+ln2SO+5zQI/fAGsEdZdPrxScmzEqJxaJ50JmgCWarOyzGYNL1iF8H+1
Z9LZrE/Ts+VJE0CWabGjJiIguJv18dcxnCjdzmj8D8DfcGa6YoWhz8KxXEHwu2Zr
J/4MmOrVZxV9HimO92X/j1LkyYY/bDj/Onsq748RJs8/diatX2ldQjjV1SMTrzP4
LKXhn3Fom0CVuy0aJ05+A+tNxsfKzzdkc1ViTpaD8iuITamhjZBK1LPEz5W9lrj/
293NQXpc5CeAPssRpCi9DYO0x9WHjcteNgwLHBfCJBRcLRCFPlT4sSyqi7jCvvXS
VQDFzgt52/8DvGiy7Ee/1sfb1YdaD1dqaxf+NsjqZEr+ZgBcyA5TJ6p7E3C9CTbk
xWNgKRMKU7jjd3aV69ITITLm2A1AjdcbF9878k3Y0k7EwUq5aP9DjtLxD0SLeFrg
0q1hsGG3EU+bU+nuuGtRniZUm+FNhkCOqPCToI2SsTtlFhsUi7B1rBKlxh9M9f0R
4swTSxLMsAR9aDpoFjZ95hYc8tc3LLOJwraeXDzW/EvPBuqPrfP3fELDjPw3+sT5
lGncgRetaRdTE8lffRq4R/onIx7cjC801HheecgCj/wpla9rbNw=
=FvoH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to