Bug#766811: spurious library links
Package: xfslibs-dev
Version: 3.2.1
Severity: normal
These links do not appear to have any purpose and should be removed:
/lib/libhandle.a -> /usr/lib/libhandle.a/lib/libhandle.la -> /usr/lib/libhandle.la/usr/lib/libhandle.so -> /lib/libhandle.so
Also, policy forbids to thip the .la files at all for normal libraries.
Signature · 2 lines
ciao, Marco
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 7 lines · Marco d'Itri
These links do not appear to have any purpose and should be removed:
/lib/libhandle.a->/usr/lib/libhandle.a/lib/libhandle.la->/usr/lib/libhandle.la/usr/lib/libhandle.so->/lib/libhandle.soAlso, policy forbids to thip the .la files at all for normal libraries.
This is an obvious bug and I have not heard back from you in over one year, what are your plans about fixing this? Do you need help?
Signature · 2 lines
ciao, Marco
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Control: found -1 4.3.0
* Marco d'Itri <[email protected]>, 2014-10-26, 02:48:
Quoted 5 lines
These links do not appear to have any purpose and should be removed:
/lib/libhandle.a->/usr/lib/libhandle.a/lib/libhandle.la->/usr/lib/libhandle.la/usr/lib/libhandle.so->/lib/libhandle.so
I can still see them in the current version:
$ dpkg -c xfslibs-dev_4.3.0_amd64.deb | grep ^l.*/usr/lib/libhandle lrwxrwxrwx root/root 0 2015-11-27 01:33 ./usr/lib/libhandle.so -> /lib/libhandle.so lrwxrwxrwx root/root 0 2015-11-27 01:33 ./lib/libhandle.a -> /usr/lib/libhandle.a lrwxrwxrwx root/root 0 2015-11-27 01:33 ./lib/libhandle.la -> /usr/lib/libhandle.la
Signature · 6 lines
Jakub Wilk _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 1 line · Jakub Wilk
I can still see them in the current version:
You are right, I was fooled because the extra files disappear if you rebuild the package:
md@bongo:/tmp/xfs/xfsprogs-4.3.0+nmu1$ find debian/|grep libhandle debian/xfslibs-dev/lib/libhandle.so debian/xfslibs-dev/usr/lib/libhandle.a debian/xfslibs-dev/usr/lib/libhandle.la debian/xfsprogs/lib/libhandle.so.1 debian/xfsprogs/lib/libhandle.so.1.0.3
So I wonder if this was a libtool bug and we just need to request a binnmu of the package.
Signature · 2 lines
ciao, Marco
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
* Marco d'Itri <[email protected]>, 2016-02-06, 01:58:
Quoted 10 lines
Quoted 1 line
I can still see them in the current version:
You are right, I was fooled because the extra files disappear if you rebuild the package:
md@bongo:/tmp/xfs/xfsprogs-4.3.0+nmu1$ find debian/|grep libhandle debian/xfslibs-dev/lib/libhandle.so debian/xfslibs-dev/usr/lib/libhandle.a debian/xfslibs-dev/usr/lib/libhandle.la debian/xfsprogs/lib/libhandle.so.1 debian/xfsprogs/lib/libhandle.so.1.0.3
I can't reproduce this disappearance in a clean up-to-date sid chroot.
AFAICS this is the code responsible for creating /lib/libfoo <-> /usr/lib/libfoo symlinks (see include/buildmacros:79):
if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \
"x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \
../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \
../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \
../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so $(PKG_LIB_DIR)/$(LIBNAME).so; \fi
I guess the symlinks weren't created on your system only because your /lib is symlinked to /usr/lib.
Signature · 6 lines
Jakub Wilk _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 9 lines · Jakub Wilk
AFAICS this is the code responsible for creating
/lib/libfoo<->/usr/lib/libfoosymlinks (seeinclude/buildmacros:79):if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \ ../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so $(PKG_LIB_DIR)/$(LIBNAME).so; \fi
Right. Nathan, this code path is not used on Red Hat and SuSE, which already implemented a merged /usr, and it has always been wrong on
Debian: I think it should just be removed from the upstream package. Should I NMU?
Signature · 2 lines
ciao, Marco
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
----- Original Message -----
Quoted 5 lines
[..]
Right. Nathan, this code path is not used on Red Hat and SuSE, which already implemented a merged /usr, and it has always been wrong on
Debian: I think it should just be removed from the upstream package. Should I NMU?
Please go right ahead Marco - many thanks!
--
Nathan
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Hi Nathan
Quoted 3 lines · On Tue, 9 Feb 2016 22:20:23 -0500 (EST) Nathan Scott <[email protected]> wrote:
Quoted 1 line
Should I NMU?
Please go right ahead Marco - many thanks!
So this NMU happened, but unfortunately your followup maintainer upload, i.e. 4.5.0 did not include the changes from the NMU.
Nathan, could you make another upload including the fix from Marco?
I've attached the debdiff which still seems to apply against 4.9.0
Seeing that this issue already caused two duplicates being filed, I'd say it's worth fixing for stretch.
Regards,
Michael
Signature · 2 lines
Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
debian/changelog +8 -0
@@ -1,3 +1,11 @@ +xfsprogs (4.3.0+nmu1) unstable; urgency=medium + + * Non-maintainer upload. + * Disabled the code in include/buildmacros which creates bogus symlinks + for libraries. (Closes: #766811) + + -- Marco d'Itri <[email protected]> Wed, 10 Feb 2016 04:24:23 +0100 + xfsprogs (4.3.0) unstable; urgency=low * New upstream release
include/buildmacros +1 -1
@@ -76,7 +76,7 @@ ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \ ../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \ ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \ - if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ + if false && [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \ ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \
A message that is not in the archive (sent off-list or not yet received): CAFMei7NSLSmONCC6AT1hbyLi18e4MWkYwt9pjqBrWACBEa+AfA@mail.gmail.com
Hi Nathan,
thanks for your quick reply
Am 17.03.2017 um 13:22 schrieb Nathan Scott:
Quoted 5 lines
Quoted 2 lines
So this NMU happened, but unfortunately your followup maintainer upload, i.e. 4.5.0 did not include the changes from the NMU.
(d'oh, these changes needs to be sent upstream to the kernel.org
<http://kernel.org> XFS list)
I'm not sure about Marco, but I don't know the procedures getting a patch into xfsprogs. So I would very much prefer if you forward the patch to the right people.
Quoted 3 lines
Quoted 1 line
Nathan, could you make another upload including the fix from Marco?
I'm currently traveling and will be unable to attend to this for some time.
Should Marco or myself do another NMU then? I would send you an updated debdiff in this case.
Regards,
Michael
Signature · 2 lines
Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
A message that is not in the archive (sent off-list or not yet received): CAFMei7Obi6WV2+RW4kccQn7zyqMZZcm7WtSAKt6D2a-VKH0cDA@mail.gmail.com
Am 17.03.2017 um 16:50 schrieb Nathan Scott:
Quoted 3 lines
Hi Michael,
Yes, please go right ahead with NMU -
Done. I've just uploaded xfsprogs_4.9.0+nmu1
I will follow up with the XFS
Quoted 1 line
folks when I can.
debdiff is attached. It slightly differs from Marco's original patch. Instead of disabling the code, I simply removed it. This should be more suitable for upstreaming.
Regards,
Michael
Signature · 2 lines
Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
debian/changelog +8 -0
@@ -1,3 +1,11 @@ +xfsprogs (4.9.0+nmu1) unstable; urgency=medium + + * Non-maintainer upload. + * Remove code in include/buildmacros which creates bogus symlinks for + libraries. (Closes: #766811) + + -- Michael Biebl <[email protected]> Fri, 17 Mar 2017 19:27:58 +0100 + xfsprogs (4.9.0) unstable; urgency=low * New upstream release
include/buildmacros +1 -7
@@ -75,13 +75,7 @@ ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \ ../$(INSTALL) -m 644 $(LIBNAME).lai $(PKG_LIB_DIR)/$(LIBNAME).la ; \ ../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \ - ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \ - if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \ - "x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \ - ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a $(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \ - ../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la $(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \ - ../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so $(PKG_LIB_DIR)/$(LIBNAME).so; \ - fi + ../$(INSTALL) -T so_base $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); else INSTALL_LTLIB_DEV = $(INSTALL_LTLIB_STATIC) endif
Bug#766811: marked as done (spurious library links)
In reply to Marco d'ItriYour message dated Fri, 17 Mar 2017 19:51:28 +0000 with message-id <[email protected]> and subject line Bug#766811: fixed in xfsprogs 4.9.0+nmu1 has caused the Debian Bug report #766811, regarding spurious library links
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.)
Signature · 3 lines
766811: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766811 Debian Bug Tracking System Contact [email protected] with problems
Package: xfslibs-dev
Version: 3.2.1
Severity: normal
These links do not appear to have any purpose and should be removed:
/lib/libhandle.a -> /usr/lib/libhandle.a/lib/libhandle.la -> /usr/lib/libhandle.la/usr/lib/libhandle.so -> /lib/libhandle.so
Also, policy forbids to thip the .la files at all for normal libraries.
Signature · 2 lines
ciao, Marco
Source: xfsprogs
Source-Version: 4.9.0+nmu1
We believe that the bug you reported is fixed in the latest version of xfsprogs, 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.
Michael Biebl <[email protected]> (supplier of updated xfsprogs 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: Fri, 17 Mar 2017 19:27:58 +0100
Source: xfsprogs
Binary: xfsprogs xfslibs-dev xfsprogs-udeb
Architecture: source
Version: 4.9.0+nmu1
Distribution: unstable
Urgency: medium
Maintainer: XFS Development Team <[email protected]>
Description:
xfslibs-dev - XFS filesystem-specific static libraries and headers
xfsprogs - Utilities for managing the XFS filesystem
xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer (udeb)
Closes: 766811
Changes:
xfsprogs (4.9.0+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove code in include/buildmacros which creates bogus symlinks for
libraries. (Closes: #766811)
Checksums-Sha1:
5c954e8054ca48d1857919c236bd9a0c1d87b5d8 1815 xfsprogs_4.9.0+nmu1.dsc 4d3d77915ac1e71c5418119121ab1d0f2386e704 1643816 xfsprogs_4.9.0+nmu1.tar.gz 443b18c4123b93f76f7111d34b1574cbdd8d27cc 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Checksums-Sha256:
c06dfa6510a7c2182bae08bd96287f16df4201e6e3b3ce51f336b0ef1833fc38 1815 xfsprogs_4.9.0+nmu1.dsc 7866bb0e7d7256a52dc5a6aec84329858575ecd6b544db03d6af3bb66cd39631 1643816 xfsprogs_4.9.0+nmu1.tar.gz 5100c328228196d8117429f7e802bf756f10285aafce72b9fba8087b03b567e3 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Files:
1acb0a512e3d007978d4aa23fc2192a2 1815 admin optional xfsprogs_4.9.0+nmu1.dsc a8cf31861e3922a004cc7ecbc5d7f30d 1643816 admin optional xfsprogs_4.9.0+nmu1.tar.gz 89d8f8097f9a6036798c3c2e9dfebb19 5592 admin optional xfsprogs_4.9.0+nmu1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEECbOsLssWnJBDRcxUauHfDWCPItwFAljMNl0RHGJpZWJsQGRl Ymlhbi5vcmcACgkQauHfDWCPItwXhRAAj6+zQiPdFZNsF2X4ooLcRuMnPWp5k113 IYhgS5DfWoIj8IGBziSv258dosjrUK+EjVRQ0xIjD2HlNcT7/ArdA9YJh+3a2KRu H3mmCr2c/dxlGjqk3Y1B9hCUIuGrZDFUePVt641xs2bzpHDrjATZQ1X+DA7hYFAk PXUysxz9Amioiz1mkaHGrb1itJ6G//YIYB+9WIlfRfbr6M2XqmWtrenEWykXO+OC BlpDE4GSKwaUlcw3KMFfLItREcl9ZpcNErCbSc3j2rzdbgosyvS2Yv7sBYI6SETX Fll27GWtmaIGimFvZD+HlOE/SH1RjAAaDnYxzJE7qBfHoJFlfa3jrZp9ytKKUmTI 5fgLlDjPDUIBimMfnZmzthWk6Fm+Ar4l4Fa5RUcqi6gXycxvoeuK93lOS45XMNGR 1i6mA2nQmZqGLl+UlluJbhbTqd+Go3UH0AGlKl1qH8JFCJ1YxRVZRcHWm23iLNz3 p75XHSGZqmdS1HVk+T0cBAszJkOdv47FbFQbg5nFVfUN+Cj4Tv4CEFunCNbotV96 Bm6c6cLolQJkkemMmTVSQyM2+INYE4bKxzDKW20pH7RsLg2NznDLys+3jQKMzXPl dMILQEFpCKrZ7VYTYSWkzboq5sdfdJnstLvbMlplimRs2u6jhJ1xPgYN+5joveui aUld6mwrkMA=
=q/qr
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 148691383691.1180.7344036562989980417.reportbug@9c82cf89c040
Bug#854961: marked as done (xfslibs-dev won't install in Docker image (where /lib -> /usr/lib))
Your message dated Fri, 17 Mar 2017 19:51:28 +0000
with message-id <[email protected]>
and subject line Bug#766811: fixed in xfsprogs 4.9.0+nmu1
has caused the Debian Bug report #766811,
regarding xfslibs-dev won't install in Docker image (where /lib -> /usr/lib) 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.)
Signature · 3 lines
766811: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766811 Debian Bug Tracking System Contact [email protected] with problems
Package: xfslibs-dev
Version: 4.9.0
Severity: important
Dear Maintainer,
I was trying to rebuild qemu, which somehow pulls into xfslibs-dev. To avoid cluttering my system I tried to build qemu inside Docker, with the debian:stretch image. The installation fails with the error below. Before (and after) running apt-get there is no libhandle.a in /lib or /usr/lib.
# apt-get install xfslibs-dev Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: xfslibs-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 58.3 kB of archives. After this operation, 243 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 xfslibs-dev amd64 4.9.0 [58.3 kB] Fetched 58.3 kB in 0s (490 kB/s) debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 28662 files and directories currently installed.) Preparing to unpack .../xfslibs-dev_4.9.0_amd64.deb ... Unpacking xfslibs-dev (4.9.0) ... dpkg: error processing archive /var/cache/apt/archives/xfslibs-dev_4.9.0_amd64.deb (--unpack): unable to install new version of '/lib/libhandle.a': No such file or directory Errors were encountered while processing: /var/cache/apt/archives/xfslibs-dev_4.9.0_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
On my host system (also running stretch) xfslibs-dev installs fine. I tried to figure out what's different between the two environments, and I found that the Docker image had /lib symlinked to /usr/lib, which my host system had not.
https://packages.debian.org/stretch/amd64/xfslibs-dev/filelist shows that the package tries to install both /lib/libhandle.a and /usr/lib/libhandle.a . I speculate that this might confuse dpkg, but I don't know how to test if this is the cause.
I tried running apt-get in strace, and found this fragment that I believe confirms my suspicion. Because /lib -> /usr/lib, /lib/libhandle.a.dpkg-new will be removed by
the rename("/usr/lib/libhandle.a.dpkg-new", "/usr/lib/libhandle.a")
call.
rename("/usr/include/xfs/handle.h.dpkg-new", "/usr/include/xfs/handle.h") = 0 rename("/usr/include/xfs/jdm.h.dpkg-new", "/usr/include/xfs/jdm.h") = 0 rename("/usr/include/xfs/linux.h.dpkg-new", "/usr/include/xfs/linux.h") = 0 rename("/usr/include/xfs/xfs.h.dpkg-new", "/usr/include/xfs/xfs.h") = 0 rename("/usr/include/xfs/xfs_arch.h.dpkg-new", "/usr/include/xfs/xfs_arch.h") = 0 rename("/usr/include/xfs/xfs_da_format.h.dpkg-new", "/usr/include/xfs/xfs_da_format.h") = 0 rename("/usr/include/xfs/xfs_format.h.dpkg-new", "/usr/include/xfs/xfs_format.h") = 0 rename("/usr/include/xfs/xfs_fs.h.dpkg-new", "/usr/include/xfs/xfs_fs.h") = 0 rename("/usr/include/xfs/xfs_log_format.h.dpkg-new", "/usr/include/xfs/xfs_log_format.h") = 0 rename("/usr/include/xfs/xfs_types.h.dpkg-new", "/usr/include/xfs/xfs_types.h") = 0 rename("/usr/include/xfs/xqm.h.dpkg-new", "/usr/include/xfs/xqm.h") = 0 rename("/usr/lib/libhandle.a.dpkg-new", "/usr/lib/libhandle.a") = 0 rename("/usr/lib/libhandle.la.dpkg-new", "/usr/lib/libhandle.la") = 0 rename("/usr/share/doc/xfslibs-dev/changelog.Debian.gz.dpkg-new", "/usr/share/doc/xfslibs-dev/changelog.Debian.gz") = 0 rename("/usr/share/doc/xfslibs-dev/changelog.gz.dpkg-new", "/usr/share/doc/xfslibs-dev/changelog.gz") = 0 rename("/usr/share/doc/xfslibs-dev/copyright.dpkg-new", "/usr/share/doc/xfslibs-dev/copyright") = 0 rename("/usr/share/man/man3/path_to_handle.3.gz.dpkg-new", "/usr/share/man/man3/path_to_handle.3.gz") = 0 rename("/usr/share/man/man3/xfsctl.3.gz.dpkg-new", "/usr/share/man/man3/xfsctl.3.gz") = 0 rename("/lib/libhandle.a.dpkg-new", "/lib/libhandle.a") = -1 ENOENT (No such file or directory)
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Source: xfsprogs
Source-Version: 4.9.0+nmu1
We believe that the bug you reported is fixed in the latest version of xfsprogs, 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.
Michael Biebl <[email protected]> (supplier of updated xfsprogs 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: Fri, 17 Mar 2017 19:27:58 +0100
Source: xfsprogs
Binary: xfsprogs xfslibs-dev xfsprogs-udeb
Architecture: source
Version: 4.9.0+nmu1
Distribution: unstable
Urgency: medium
Maintainer: XFS Development Team <[email protected]>
Description:
xfslibs-dev - XFS filesystem-specific static libraries and headers
xfsprogs - Utilities for managing the XFS filesystem
xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer (udeb)
Closes: 766811
Changes:
xfsprogs (4.9.0+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove code in include/buildmacros which creates bogus symlinks for
libraries. (Closes: #766811)
Checksums-Sha1:
5c954e8054ca48d1857919c236bd9a0c1d87b5d8 1815 xfsprogs_4.9.0+nmu1.dsc 4d3d77915ac1e71c5418119121ab1d0f2386e704 1643816 xfsprogs_4.9.0+nmu1.tar.gz 443b18c4123b93f76f7111d34b1574cbdd8d27cc 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Checksums-Sha256:
c06dfa6510a7c2182bae08bd96287f16df4201e6e3b3ce51f336b0ef1833fc38 1815 xfsprogs_4.9.0+nmu1.dsc 7866bb0e7d7256a52dc5a6aec84329858575ecd6b544db03d6af3bb66cd39631 1643816 xfsprogs_4.9.0+nmu1.tar.gz 5100c328228196d8117429f7e802bf756f10285aafce72b9fba8087b03b567e3 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Files:
1acb0a512e3d007978d4aa23fc2192a2 1815 admin optional xfsprogs_4.9.0+nmu1.dsc a8cf31861e3922a004cc7ecbc5d7f30d 1643816 admin optional xfsprogs_4.9.0+nmu1.tar.gz 89d8f8097f9a6036798c3c2e9dfebb19 5592 admin optional xfsprogs_4.9.0+nmu1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEECbOsLssWnJBDRcxUauHfDWCPItwFAljMNl0RHGJpZWJsQGRl Ymlhbi5vcmcACgkQauHfDWCPItwXhRAAj6+zQiPdFZNsF2X4ooLcRuMnPWp5k113 IYhgS5DfWoIj8IGBziSv258dosjrUK+EjVRQ0xIjD2HlNcT7/ArdA9YJh+3a2KRu H3mmCr2c/dxlGjqk3Y1B9hCUIuGrZDFUePVt641xs2bzpHDrjATZQ1X+DA7hYFAk PXUysxz9Amioiz1mkaHGrb1itJ6G//YIYB+9WIlfRfbr6M2XqmWtrenEWykXO+OC BlpDE4GSKwaUlcw3KMFfLItREcl9ZpcNErCbSc3j2rzdbgosyvS2Yv7sBYI6SETX Fll27GWtmaIGimFvZD+HlOE/SH1RjAAaDnYxzJE7qBfHoJFlfa3jrZp9ytKKUmTI 5fgLlDjPDUIBimMfnZmzthWk6Fm+Ar4l4Fa5RUcqi6gXycxvoeuK93lOS45XMNGR 1i6mA2nQmZqGLl+UlluJbhbTqd+Go3UH0AGlKl1qH8JFCJ1YxRVZRcHWm23iLNz3 p75XHSGZqmdS1HVk+T0cBAszJkOdv47FbFQbg5nFVfUN+Cj4Tv4CEFunCNbotV96 Bm6c6cLolQJkkemMmTVSQyM2+INYE4bKxzDKW20pH7RsLg2NznDLys+3jQKMzXPl dMILQEFpCKrZ7VYTYSWkzboq5sdfdJnstLvbMlplimRs2u6jhJ1xPgYN+5joveui aUld6mwrkMA=
=q/qr
-----END PGP SIGNATURE-----
A message that is not in the archive (sent off-list or not yet received): [email protected]
Bug#857932: marked as done (xfslibs-dev:ppc64el Fails to install on multi-arch setup with merged /usr)
Your message dated Fri, 17 Mar 2017 19:51:28 +0000
with message-id <[email protected]>
and subject line Bug#766811: fixed in xfsprogs 4.9.0+nmu1
has caused the Debian Bug report #766811,
regarding xfslibs-dev:ppc64el Fails to install on multi-arch setup with merged /usr 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.)
Signature · 3 lines
766811: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766811 Debian Bug Tracking System Contact [email protected] with problems
Package: xfslibs-dev
Severity: normal
Tags: stretch, sid
Usertags: usr, usrmerge, multiarch
Hi,
While trying to build a cross-build environment for QEMU I ran into a problem installing xfslibs-dev. The docker build looked like this:
#
# Docker ppc64el cross-compiler target
#
# This docker target builds on the base debian image. #
# Broken in Jessie
FROM debian:stretch-slim
# Duplicate deb line as deb-src
RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/sources.list
# Add the foreign architecture we want and install dependencies RUN dpkg --add-architecture ppc64el RUN apt update && apt dist-upgrade -yy RUN apt-get build-dep -yy -a ppc64el qemu RUN apt install -yy gcc-multilib-ppc64el binutils-multiarch # Specify the cross prefix for this image (see tests/docker/common.rc) ENV QEMU_CONFIGURE_OPTS --cross-prefix=ppc64el-linux-gnu-
The error message reported by the build-dep stage was:
Unpacking xfslibs-dev:ppc64el (4.9.0) ...
dpkg: error processing archive /tmp/apt-dpkg-install-u0zpz1/10-xfslibs-dev_4.9.0_ppc64el.deb (--unpack):
unable to install new version of '/lib/libhandle.a': No such file or directory
Errors were encountered while processing:
/tmp/apt-dpkg-install-u0zpz1/10-xfslibs-dev_4.9.0_ppc64el.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Testing with debian:unstable-slim produced the same result.
After discussion on #debian-bootstrap we reproduced with a simpler setup:
<helmut> I can reproduce your problem in unstable now. fresh sid
debootstrap amd64; dpkg --add-architecture ppc64el; apt-get update; apt-get install usrmerge; apt-get install xfslibs-dev:ppc64el # reproduces
There seems to be debate as to if this is a straight up multi-arch bug or a user merge bug so I've tagged them as both for now. Certainly static libraries need to be properly placed in the relevant multi-arch paths but this seems to work for arm64 and armhf (which I have also set up QEMU cross build environments for).
---
Alex Bennée
Source: xfsprogs
Source-Version: 4.9.0+nmu1
We believe that the bug you reported is fixed in the latest version of xfsprogs, 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.
Michael Biebl <[email protected]> (supplier of updated xfsprogs 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: Fri, 17 Mar 2017 19:27:58 +0100
Source: xfsprogs
Binary: xfsprogs xfslibs-dev xfsprogs-udeb
Architecture: source
Version: 4.9.0+nmu1
Distribution: unstable
Urgency: medium
Maintainer: XFS Development Team <[email protected]>
Description:
xfslibs-dev - XFS filesystem-specific static libraries and headers
xfsprogs - Utilities for managing the XFS filesystem
xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer (udeb)
Closes: 766811
Changes:
xfsprogs (4.9.0+nmu1) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove code in include/buildmacros which creates bogus symlinks for
libraries. (Closes: #766811)
Checksums-Sha1:
5c954e8054ca48d1857919c236bd9a0c1d87b5d8 1815 xfsprogs_4.9.0+nmu1.dsc 4d3d77915ac1e71c5418119121ab1d0f2386e704 1643816 xfsprogs_4.9.0+nmu1.tar.gz 443b18c4123b93f76f7111d34b1574cbdd8d27cc 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Checksums-Sha256:
c06dfa6510a7c2182bae08bd96287f16df4201e6e3b3ce51f336b0ef1833fc38 1815 xfsprogs_4.9.0+nmu1.dsc 7866bb0e7d7256a52dc5a6aec84329858575ecd6b544db03d6af3bb66cd39631 1643816 xfsprogs_4.9.0+nmu1.tar.gz 5100c328228196d8117429f7e802bf756f10285aafce72b9fba8087b03b567e3 5592 xfsprogs_4.9.0+nmu1_source.buildinfo
Files:
1acb0a512e3d007978d4aa23fc2192a2 1815 admin optional xfsprogs_4.9.0+nmu1.dsc a8cf31861e3922a004cc7ecbc5d7f30d 1643816 admin optional xfsprogs_4.9.0+nmu1.tar.gz 89d8f8097f9a6036798c3c2e9dfebb19 5592 admin optional xfsprogs_4.9.0+nmu1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEECbOsLssWnJBDRcxUauHfDWCPItwFAljMNl0RHGJpZWJsQGRl Ymlhbi5vcmcACgkQauHfDWCPItwXhRAAj6+zQiPdFZNsF2X4ooLcRuMnPWp5k113 IYhgS5DfWoIj8IGBziSv258dosjrUK+EjVRQ0xIjD2HlNcT7/ArdA9YJh+3a2KRu H3mmCr2c/dxlGjqk3Y1B9hCUIuGrZDFUePVt641xs2bzpHDrjATZQ1X+DA7hYFAk PXUysxz9Amioiz1mkaHGrb1itJ6G//YIYB+9WIlfRfbr6M2XqmWtrenEWykXO+OC BlpDE4GSKwaUlcw3KMFfLItREcl9ZpcNErCbSc3j2rzdbgosyvS2Yv7sBYI6SETX Fll27GWtmaIGimFvZD+HlOE/SH1RjAAaDnYxzJE7qBfHoJFlfa3jrZp9ytKKUmTI 5fgLlDjPDUIBimMfnZmzthWk6Fm+Ar4l4Fa5RUcqi6gXycxvoeuK93lOS45XMNGR 1i6mA2nQmZqGLl+UlluJbhbTqd+Go3UH0AGlKl1qH8JFCJ1YxRVZRcHWm23iLNz3 p75XHSGZqmdS1HVk+T0cBAszJkOdv47FbFQbg5nFVfUN+Cj4Tv4CEFunCNbotV96 Bm6c6cLolQJkkemMmTVSQyM2+INYE4bKxzDKW20pH7RsLg2NznDLys+3jQKMzXPl dMILQEFpCKrZ7VYTYSWkzboq5sdfdJnstLvbMlplimRs2u6jhJ1xPgYN+5joveui aUld6mwrkMA=
=q/qr
-----END PGP SIGNATURE-----