Your message dated Thu, 03 Feb 2022 17:03:55 +0000
with message-id <[email protected]>
and subject line Bug#951469: fixed in dmraid 1.0.0.rc16-10
has caused the Debian Bug report #951469,
regarding dmraid FTCBFS: fails linking an incompatible libgcc_s.so.1
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.)


-- 
951469: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951469
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dmraid
Version: 1.0.0.rc16-8
Tags: patch
User: [email protected]
Usertags: ftcbfs

dmraid fails to cross build from source, because it fails linking an
incompatible libgcc_s.so.1. Passing an incompatible -L flag used to
work, but for some reason gcc got more picky about it and fails hard
now. dmraid passes -L$(DESTDIR)$(libdir) in tools/Makefile.in. At that
point DESTDIR is empty and libdir is $(exec_prefix)/lib where
exec_prefix is /. Thus the flag becomes -L//lib (in both native and
cross builds). Bummer.

A simple way to get around this is to use a multiarch --libdir, which is
a good thing in general. Please consider applying the attached patch.

Helmut
diff -u dmraid-1.0.0.rc16/debian/changelog dmraid-1.0.0.rc16/debian/changelog
--- dmraid-1.0.0.rc16/debian/changelog
+++ dmraid-1.0.0.rc16/debian/changelog
@@ -1,3 +1,10 @@
+dmraid (1.0.0.rc16-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a multiarch --libdir. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 17 Feb 2020 05:42:58 +0100
+
 dmraid (1.0.0.rc16-8) unstable; urgency=medium
 
   * Fix library dev symlink (closes: 856946).
diff -u dmraid-1.0.0.rc16/debian/control dmraid-1.0.0.rc16/debian/control
--- dmraid-1.0.0.rc16/debian/control
+++ dmraid-1.0.0.rc16/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
 Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), libdevmapper-dev, libklibc-dev, 
libselinux1-dev, quilt (>= 0.40), autotools-dev
+Build-Depends: debhelper (>= 9), dh-exec, libdevmapper-dev, libklibc-dev, 
libselinux1-dev, quilt (>= 0.40), autotools-dev
 Vcs-git: git://git.debian.org/git/users/derevko-guest/dmraid.git
 Vcs-Browser: http://git.debian.org/?p=users/derevko-guest/dmraid.git
 Homepage: http://people.redhat.com/~heinzm/sw/dmraid/
diff -u dmraid-1.0.0.rc16/debian/libdmraid-dev.install 
dmraid-1.0.0.rc16/debian/libdmraid-dev.install
--- dmraid-1.0.0.rc16/debian/libdmraid-dev.install
+++ dmraid-1.0.0.rc16/debian/libdmraid-dev.install
@@ -1,2 +1,3 @@
-debian/standard/lib/*.a usr/lib
+#!/usr/bin/dh-exec
+debian/standard/lib/${DEB_HOST_MULTIARCH}/*.a usr/lib/${DEB_HOST_MULTIARCH}
 debian/standard/usr/include/dmraid usr/include
diff -u dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16-udeb.install 
dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16-udeb.install
--- dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16-udeb.install
+++ dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16-udeb.install
@@ -1 +1,2 @@
-debian/udeb/lib/*.so.* lib
+#!/usr/bin/dh-exec
+debian/udeb/lib/${DEB_HOST_MULTIARCH}/*.so.* lib/${DEB_HOST_MULTIARCH}
diff -u dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16.install 
dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16.install
--- dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16.install
+++ dmraid-1.0.0.rc16/debian/libdmraid1.0.0.rc16.install
@@ -1 +1,2 @@
-debian/standard/lib/*.so.* lib
+#!/usr/bin/dh-exec
+debian/standard/lib/${DEB_HOST_MULTIARCH}/*.so.* lib/${DEB_HOST_MULTIARCH}
diff -u dmraid-1.0.0.rc16/debian/rules dmraid-1.0.0.rc16/debian/rules
--- dmraid-1.0.0.rc16/debian/rules
+++ dmraid-1.0.0.rc16/debian/rules
@@ -11,8 +11,7 @@
 
 # These are used for cross-compiling and for saving the configure script
 # from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+include /usr/share/dpkg/architecture.mk
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
 else
@@ -23,7 +22,7 @@
 buildroot := $(CURDIR)/debian/build
 flavours := standard udeb
 
-common-config-flags := $(CROSS) --prefix=/usr --exec-prefix=/
+common-config-flags := $(CROSS) --prefix=/usr --exec-prefix=/ 
'--libdir=$${exec_prefix}/lib/$(DEB_HOST_MULTIARCH)'
 
 methods: methods-stamp
 methods-stamp:
@@ -74,6 +73,7 @@
 binary-arch: install
        dh_testdir
        dh_testroot
+       chmod +x debian/libdmraid*.install
        dh_install
        dh_installdirs
        dh_installudev --priority=85

--- End Message ---
--- Begin Message ---
Source: dmraid
Source-Version: 1.0.0.rc16-10
Done: Laszlo Boszormenyi (GCS) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dmraid, 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.
Laszlo Boszormenyi (GCS) <[email protected]> (supplier of updated dmraid 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: Thu, 03 Feb 2022 17:28:13 +0100
Source: dmraid
Architecture: source
Version: 1.0.0.rc16-10
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Changed-By: Laszlo Boszormenyi (GCS) <[email protected]>
Closes: 951469 962300 990188 996954
Changes:
 dmraid (1.0.0.rc16-10) unstable; urgency=medium
 .
   [ Johannes Schauer Marin Rodrigues <[email protected]> ]
   * Make sure udevadm trigger never fails in postinst (closes: #996954,
     #962300, #990188).
 .
   [ Helmut Grohne <[email protected]> ]
   * Fix FTCBFS: Use a multiarch --libdir (closes: #951469).
Checksums-Sha1:
 bb7fa25ab8dff2e6149fabe05cbc7c507939a892 2123 dmraid_1.0.0.rc16-10.dsc
 26206104cf3681916c21316222382145074a642d 31024 
dmraid_1.0.0.rc16-10.debian.tar.xz
Checksums-Sha256:
 24111bd868c0e3932754772746a566fa427ce4f29f433a505ceba36090f84f4a 2123 
dmraid_1.0.0.rc16-10.dsc
 15b6971edd5ee62c2835525001e87dc56d6b0c23eb2017a5e407d70633a34af0 31024 
dmraid_1.0.0.rc16-10.debian.tar.xz
Files:
 a48fec6a5706ee4ad419dd80d66f4608 2123 admin optional dmraid_1.0.0.rc16-10.dsc
 562fce6bf8c59e1bf1dc3d96e18a1f87 31024 admin optional 
dmraid_1.0.0.rc16-10.debian.tar.xz

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

iQIzBAEBCgAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAmH8B84ACgkQ3OMQ54ZM
yL/dXhAAoaVGnawP/VhXsM+gTVchcM5r+HBfcO9PKT03sp37bgzyBL+Kv3Cy/xNG
t+zNINwe6i64yW2FXi+ByFo85N7en7xIJggemMGouXBNqj+hYIOh0GPBf8vRLx4m
IHLppW8L72c8/lzYzkBTbyajw1wuEBsrq+a9G057xtyTF+EkFwJct/MyOJ/kndlt
zl0vm/wGStkZqgTmM8nfHM+OIAEM8NPDhuzKfAMxl6M/3/eh2jJJ6M52Xzn0XkR3
S0llFS9a3UZHqtwwZp2uCL3jlfhOqqaL37NRJmJNoXJtQ6jf7EkxHSku6xgES9RW
PiMIic3pfDM8gtoVIuKB7LTZINc0YjIq6aE8+87D73BRXf0wRVpg1BUZ5vWvfuou
rIkhwisosIZwjdc0NFrr6czvERgBqShQZfI3GYyWv8T8/084TYQ/8ZYdY0k98cMN
UFCAKZTlALu3UhGKjSDQ6ZzYApgAXNbaeqhhXieVXdMJRAx+LU7ytcfCppoUkZjK
6bHSVHREWVrRnCr1ojqtcy54z3iQoKAfteqDiZs28EOCTS0duuMygVj9i47bKGiL
HDrkdiY4SE+1c/1jhIT6iTv5GcL4caD0uR74akoWnaqJqi7WZW95kQlWYUfIeTui
pz2/zxJhBlkTvUpJh+08N292C12HIE4l5U5mkNADpjmv4f2v5IA=
=7B0z
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to