Your message dated Tue, 07 May 2019 07:18:22 +0000
with message-id <[email protected]>
and subject line Bug#928447: fixed in patman 1.2.2+dfsg-6
has caused the Debian Bug report #928447,
regarding patman FTCBFS: upstream Makefile hard codes tools
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.)


-- 
928447: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928447
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: patman
Version: 1.2.2+dfsg-5
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

patman fails to cross build from source, because the upstream Makefile
hard codes g++. It also hard codes "install -s", which breaks generation
of -dbgsym packages and DEB_BUILD_OPTIONS=nostrip in addition to
breaking cross compilation. Making these tools substitutable is enough
to fix all of these. Please consider applying the attached patch.

Helmut
--- patman-1.2.2+dfsg.orig/Makefile
+++ patman-1.2.2+dfsg/Makefile
@@ -9,6 +9,7 @@
 prefix := ${HOME}
 version := 1.2
 
+INSTALL ?= install
 TARGETS := patman
 OBJS := prefix_tree.o fasta.o main.o
 CXXFLAGS += -Wall
@@ -19,16 +20,16 @@
 all: $(TARGETS)
 
 patman:	$(OBJS)
-	g++ $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+	$(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
 
 %.o:	%.cpp
-	g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
+	$(CXX) -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
 
 install: $(TARGETS)
-	install -d ${prefix}/bin
-	install -d ${prefix}/share/man/man1
-	install -s -m755 $^ ${prefix}/bin
-	install -m644 patman.1 ${prefix}/share/man/man1
+	$(INSTALL) -d ${prefix}/bin
+	$(INSTALL) -d ${prefix}/share/man/man1
+	$(INSTALL) -s -m755 $^ ${prefix}/bin
+	$(INSTALL) -m644 patman.1 ${prefix}/share/man/man1
 	
 fasta.o: fasta.h 
 prefix_tree.o: prefix_tree.h global.h

--- End Message ---
--- Begin Message ---
Source: patman
Source-Version: 1.2.2+dfsg-6

We believe that the bug you reported is fixed in the latest version of
patman, 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.
Andreas Tille <[email protected]> (supplier of updated patman 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: SHA256

Format: 1.8
Date: Tue, 07 May 2019 08:56:07 +0200
Source: patman
Binary: patman
Architecture: source
Version: 1.2.2+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description:
 patman     - rapid alignment of short sequences to large databases
Closes: 928447
Changes:
 patman (1.2.2+dfsg-6) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Do not hardcode tools in upstream Makefile
     Closes: #928447
Checksums-Sha1:
 8e64d0375dd09ab1bacf202bbf9aa26485807239 1989 patman_1.2.2+dfsg-6.dsc
 e0416604ad228dc901fe3ba70fc5aec5348720d9 3216 patman_1.2.2+dfsg-6.debian.tar.xz
Checksums-Sha256:
 41bef70181ef8236b478e11b761c0e664cb3765600be5353a3808d02603948d0 1989 
patman_1.2.2+dfsg-6.dsc
 d624e6ca254468612734bf8a0e582e91811c8623b0b8cdb3167c305c37acf906 3216 
patman_1.2.2+dfsg-6.debian.tar.xz
Files:
 5fb722c4a757ac384daac7d0dc633b23 1989 science optional patman_1.2.2+dfsg-6.dsc
 1ed52294c3a251728853e268367c483a 3216 science optional 
patman_1.2.2+dfsg-6.debian.tar.xz

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlzRLV0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGstQ/8Cuz0HjnUhYntKcaqdxkTpQwcqnGTVMfo
++vvEeRJtXysSMuDGU4r9qOyPIX62/ZufgyMz/BOY2mga2ucFB27Z0EfHQ9hl7f3
zYpdDU8JvzzunQBmUtyKJSuGPDIwOB3Ch0iQVU8opzeIPjTSbuIUJY7AalZ06p7c
1JcuS1UfhTxuAx7kMgHElASuu2yL1XxB0eyQIRd03I2OlDMMoVsg1P/6XtdG5oc7
nPcHtGguGtmEXRc3t7Ep2Zw8JEZsH6zM1mgo7X3zEZooZGcjgc7E8Xgv65sbp/5b
213m03Cx+n6fFl65jOHJ1Caq3EOGOd0b6lB+w2SbBghnAVgQk0QuQoYa+HamqtkO
qGUTIq7MCGn3ArMsTmWFE7q4axMLTpozWoTQfYH18ZscZy03BTcE4ZeQuf13WnW7
/zFn3d2PupNbeK1i+5p3jpPjmxLxyInwE+ZJGHVczfTaEOpJv8GfMs8FR6KIasqV
jKUx2q7QXNWUyufHyKeQ3knRX6ycOHMOUOGydeqoULFqssVeyz7/jfUYz29qJAWC
LI9hqlW7mTAZr2HH6sy21XBhThJISYNxQVj+OpmJ1SASjHAFjB4DviAoVChSC310
KUoHajrxInprvV547yHjkVVO5lmW0iC+5K9kmiMRkKMK7Qm62CQi0wWEeyhMURCE
7+DwFqtl2wE=
=206t
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to