Bug#854961: marked as done (xfslibs-dev won't install in Docker image (where /lib -> /usr/lib))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your message dated Fri, 17 Mar 2017 19:51:28 +0000
with message-id <E1coxuK-000ALN-Uw@xxxxxxxxxxxxxxxxx>
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 owner@xxxxxxxxxxxxxxx
immediately.)


-- 
766811: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766811
Debian Bug Tracking System
Contact owner@xxxxxxxxxxxxxxx with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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 766811@xxxxxxxxxxxxxxx,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <biebl@xxxxxxxxxx> (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 ftpmaster@xxxxxxxxxxxxxxxxxxxxx)


-----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 <linux-xfs@xxxxxxxxxxxxxxx>
Changed-By: Michael Biebl <biebl@xxxxxxxxxx>
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-----

--- End Message ---

[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux