Your message dated Sat, 01 Apr 2017 21:04:53 +0000
with message-id <e1cuqcb-000b2j...@fasolo.debian.org>
and subject line Bug#859257: fixed in ngs-sdk 1.3.0-2
has caused the Debian Bug report #859257,
regarding libngs-sdk-dev: installs .a files to the incorrect directory
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.)


-- 
859257: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859257
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libngs-sdk-dev
Version: 1.2.3-3
Severity: serious
Tags: patch

Hi Maintainer

.a files are installed to the incorrect directory (e.g.
/usr/lib/i686-linux-gnu/ instead of /usr/lib/i386-linux-gnu/) , as can
be seen in the following excerpt from a recent buildlog [1]:


libngs-sdk-dev_1.3.0-1_i386.deb
───────────────────────────────
 new debian package, version 2.0.
 size 99736 bytes: control archive=3479 bytes.
    1035 bytes,    24 lines      control
    6887 bytes,    98 lines      md5sums
 Package: libngs-sdk-dev
 Source: ngs-sdk
 Version: 1.3.0-1
 Architecture: i386
...
drwxr-xr-x root/root         0 2016-11-09 07:54 ./usr/lib/
drwxr-xr-x root/root         0 2016-11-09 07:54 ./usr/lib/i386-linux-gnu/
lrwxrwxrwx root/root         0 2016-11-09 07:54
./usr/lib/i386-linux-gnu/libngs-sdk.so -> libngs-sdk.so.1
drwxr-xr-x root/root         0 2016-11-09 07:54 ./usr/lib/i686-linux-gnu/
lrwxrwxrwx root/root         0 2016-11-09 07:54
./usr/lib/i686-linux-gnu/libngs-adapt-c++-static.a ->
libngs-adapt-c++.a


This causes at least sra-sdk to FTBFS on i386 [2] with the following error:


checking for ngs-sdk package...
includes... /usr
libraries...
checking /usr/lib/i386-linux-gnu/libngs-c++.a
checking /usr/lib32/libngs-c++.a
checking /usr/linux/gcc/i386/dbg/lib/libngs-c++.a
no
libraries...
checking 
/«BUILDDIR»/sra-sdk-2.8.1-2+dfsg/debian/tmp/usr/lib/i386-linux-gnu/libngs-c++.a
checking /«BUILDDIR»/sra-sdk-2.8.1-2+dfsg/debian/tmp/usr/lib32/libngs-c++.a
checking 
/«BUILDDIR»/sra-sdk-2.8.1-2+dfsg/debian/tmp/usr/linux/gcc/i386/dbg/lib/libngs-c++.a
no
not found /«BUILDDIR»/sra-sdk-2.8.1-2+dfsg/debian/tmp/usr/ngs-sdk
libraries...
checking /usr/lib/i386-linux-gnu/libngs-c++.a
checking /usr/lib32/libngs-c++.a
checking /usr/linux/gcc/i386/dbg/lib/libngs-c++.a
no
ngs-sdk: includes: /usr/include; libs: ; ilibs: not needed
configure: error: required ngs-sdk package not found.
debian/rules:24: recipe for target 'override_dh_auto_configure' failed


The following patch lets the .a files be installed to the correct
multiarch directory:


--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@
 OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 CPU := $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
 BUILDTYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 # since build-results are not ending up in the proper dir its saver
to use "*" instead of "$(CPU)"
 SODIR := $(DEBPKGNAME)/$(BUILDTYPE)/$(DEBPKGNAME)/$(OS)/gcc/*

@@ -61,8 +62,8 @@
             --devunversioned \
             --exclude-a \
             --exclude-la \
-            --movedev "$(SODIR)/rel/lib/*.a*" usr/lib/$(BUILDTYPE) \
-            --movedev "$(SODIR)/rel/ilib/*.a" usr/lib/$(BUILDTYPE) \
+            --movedev "$(SODIR)/rel/lib/*.a*" usr/lib/$(MULTIARCH) \
+            --movedev "$(SODIR)/rel/ilib/*.a" usr/lib/$(MULTIARCH) \
             --movedev ngs-sdk/ngs usr/include \
             $(SODIR)/rel/lib/libngs-sdk.so


Regards
Graham


[1] 
https://buildd.debian.org/status/fetch.php?pkg=ngs-sdk&arch=i386&ver=1.3.0-1&stamp=1478684848&raw=0
[2] 
https://buildd.debian.org/status/fetch.php?pkg=sra-sdk&arch=i386&ver=2.8.1-2%2Bdfsg-1&stamp=1485249305&raw=0

--- End Message ---
--- Begin Message ---
Source: ngs-sdk
Source-Version: 1.3.0-2

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated ngs-sdk 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: SHA256

Format: 1.8
Date: Sat, 01 Apr 2017 22:33:07 +0200
Source: ngs-sdk
Binary: libngs-sdk1 libngs-sdk-dev libngs-java python-ngs python3-ngs
Architecture: source amd64
Version: 1.3.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Description:
 libngs-java - Next Generation Sequencing language Bindings (Java bindings)
 libngs-sdk-dev - Next Generation Sequencing language Bindings (development)
 libngs-sdk1 - Next Generation Sequencing language Bindings
 python-ngs - Next Generation Sequencing language Bindings (Python bindings)
 python3-ngs - Next Generation Sequencing language Bindings (Python3 bindings)
Closes: 859257
Changes:
 ngs-sdk (1.3.0-2) unstable; urgency=medium
 .
   * Fix install dir by using DEB_HOST_MULTIARCH instead of DEB_BUILD_GNU_TYPE
     (thanks for the patch to Graham Inggs <gin...@debian.org>)
     Closes: #859257
Checksums-Sha1:
 e3f650d1099db6082c59ff2097de3772262e1ffc 2358 ngs-sdk_1.3.0-2.dsc
 4f85ebdea0cdb851519e12e0a85d1e3722a73d56 11460 ngs-sdk_1.3.0-2.debian.tar.xz
 a965260b2b62931e993585157167dfac2a2df1ac 71056 libngs-java_1.3.0-2_amd64.deb
 7ccbc7ed3ba79a664defec27c8c632ec24b80aa8 92380 libngs-sdk-dev_1.3.0-2_amd64.deb
 40e781dd1bc771d07026405a25a6c5c8daa73a33 9536 
libngs-sdk1-dbgsym_1.3.0-2_amd64.deb
 916ea7d5b4b221df306b0d230e6ed80818479a52 51210 libngs-sdk1_1.3.0-2_amd64.deb
 f83855d2b6fddd25e1af7ee719c4fea05e1e70f8 12428 ngs-sdk_1.3.0-2_amd64.buildinfo
 5f068c40fcadd744cba479e2d3513b3d021b0777 17982 python-ngs_1.3.0-2_amd64.deb
 f6dc4ff79be2eb4c2cfa2d2183d64172148fc493 18054 python3-ngs_1.3.0-2_amd64.deb
Checksums-Sha256:
 f91a77d448b3de7735c77f3733d02738257726eb975053583356af4e5cd7d6d2 2358 
ngs-sdk_1.3.0-2.dsc
 238edb86eec79d8ad79b07c3d01997715ca0df9fa0c94bd4dfa1bbe5e525d628 11460 
ngs-sdk_1.3.0-2.debian.tar.xz
 193f1f55bed25f12eb984b7a53e0e03f7861242506bb97b14cb4ee9c92790cf1 71056 
libngs-java_1.3.0-2_amd64.deb
 9f80d8119c0edf453a85df5379d6bd181d0dcec0ac2be6e3c4cf304b2c07eaf1 92380 
libngs-sdk-dev_1.3.0-2_amd64.deb
 645d4fe75b06ca936c55ddc9f7a9bb6c2edf4a5ccf1763d63b897706d0625a57 9536 
libngs-sdk1-dbgsym_1.3.0-2_amd64.deb
 fea1a3232f9c966f5b7bb9f291b196c2a54365f6a34bfe25e592ebdd43abb3ff 51210 
libngs-sdk1_1.3.0-2_amd64.deb
 5d344787fae920825f431ff85e96ed11139ab07a0efade11d1e9858432cc441c 12428 
ngs-sdk_1.3.0-2_amd64.buildinfo
 705dfe4ca1527f70cad769375dd8b4d8ddbcfd4a56acd543946524444ce5c9c3 17982 
python-ngs_1.3.0-2_amd64.deb
 ac9915f2357c3eac5e424d699ccf7777b37dd0ad7425531a27fc25116ae58e87 18054 
python3-ngs_1.3.0-2_amd64.deb
Files:
 afe028119fd22b5214fe432faac0a750 2358 science optional ngs-sdk_1.3.0-2.dsc
 c3612c88f0ca45631cc47afd848b6889 11460 science optional 
ngs-sdk_1.3.0-2.debian.tar.xz
 8b98a5f683ea8fbf0b74647f5cdb6f6d 71056 java optional 
libngs-java_1.3.0-2_amd64.deb
 d8f2033f18e08553800ca598ccc3eabb 92380 libdevel optional 
libngs-sdk-dev_1.3.0-2_amd64.deb
 510396ca28e49c3bcebd48312188b870 9536 debug extra 
libngs-sdk1-dbgsym_1.3.0-2_amd64.deb
 e028ffc9458150d6fe13fa37dad6c08a 51210 libs optional 
libngs-sdk1_1.3.0-2_amd64.deb
 c246896435cb20d3ef8b2ffeabd8e976 12428 science optional 
ngs-sdk_1.3.0-2_amd64.buildinfo
 c8d22d7d9934c0a8dad5f5f40f948c05 17982 python optional 
python-ngs_1.3.0-2_amd64.deb
 f38d9ce833cb61617f8236e512af2958 18054 python optional 
python3-ngs_1.3.0-2_amd64.deb

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAljgD2URHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEqzw//ZWHJiQ/AQ9640CsC5IdYvChO08SpsuM3
vfuNXC1+5q+Tu8L62HtBThqtVA+PK9LklnogrLfMDJWgG2UlO+aZnvwayyBp0Y6k
Fr3NblbXaDbzbQw4N2V+haNGRO+YCU07D/ZSDs7SYWnMGLB/xNY/nuPavOJuZrPr
ezDRv6nY/AfXLxFhg9rpSFg3xP2tC8ml0F9fIbV6cYftv4gl2/MAZ6xqJ++5fAFH
yjDY5gYBzZ/p5LYg/X/4zId49kG39UdYPlef+PLTx+Cs9GB26K4zBmfUOQg4elah
edVHt3tRAGlBQXir9bvQYmXpAIGfUNSMprrsQNwy/apYnqiCjB1Le7+/ZVZ7Kxhr
rEEWX7mxjW6ElYtq0obBrX+yjm6x+L4Jy4Z5A2Gq3qfPlvqy1TzW+Uq8cm9cGMwP
UaAuumAHF3nL9tG+DoNstSUYp7s4v0CvvOfSldlKiJjZqpDlgfE5XrYa6AO8oCIv
ZxFQa5AO5AH0NAHQTsmHuFFQ3GwKmTUti9UDwRwU4WyNoFis6IDQ9zyMdTHjz8JD
fbHgNyYphSg28yKS1kE1YnSOMiSfZhDU77I0lpUCvGR4SOeNXfuXsQwSIl3EOwQ0
ArZkCRhXKc8bKhamlCk1JMuLX7XqJ8CIEy3k5hgrCVqln5t4We2/rn1T6sVkwI6g
8EoaPK57Tqk=
=XlK/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to