Debian Bug report logs -
#823288
dpkg misplaces tpl-config.tlib during unpack
Reported by: Helmut Grohne <helmut@subdivi.de>
Date: Tue, 3 May 2016 04:21:02 UTC
Severity: grave
Found in version dpkg/1.18.5
Fixed in version dpkg/1.18.6
Done: Guillem Jover <guillem@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>:
Bug#823288; Package src:gnutls28.
(Tue, 03 May 2016 04:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>.
(Tue, 03 May 2016 04:21:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: gnutls28
Version: 3.4.11-4
Severity: serious
User: helmutg@debian.org
Usertags: rebootstrap
Hi Andreas,
I am attaching a failing build log of gnutls28 while building it
natively in plain sid on amd64 (with DEB_BUILD_OPTIONS=nocheck, but it
doesn't get into checking).
I have little clue what is going on here, but what I can tell already is
that this issue is not caused by the 3.4.11-4 upload. My first
failing[1] build was on 2nd of May at 21:00 UTC. My last successful[2]
build was on the same day at 16:00 UTC (both using the ftp.de.debian.org
mirror). Now all of my gnutls28 builds fail with that error. They differ
by one or two mirror pushes, so not many things can have caused that
regression. The only potentially relevant piece I could find thus far
is the tar NMU.
Comparing the build logs didn't prove that much helpful either. Any idea
of what is going on here? I'm almost certain that this isn't gnutls28's
fault, but in the absence of a better victim, I have to file the bug
somewhere.
Helmut
[1] https://jenkins.debian.net/job/rebootstrap_armhf_gcc6/19/consoleText
[2] https://jenkins.debian.net/job/rebootstrap_mipsel_gcc6/15/consoleText
[gnutls28_3.4.11-4_amd64.build (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>:
Bug#823288; Package src:gnutls28.
(Tue, 03 May 2016 15:06:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <helmut@subdivi.de>:
Extra info received and forwarded to list. Copy sent to Debian GnuTLS Maintainers <pkg-gnutls-maint@lists.alioth.debian.org>.
(Tue, 03 May 2016 15:06:04 GMT) (full text, mbox, link).
Message #10 received at 823288@bugs.debian.org (full text, mbox, reply):
Control: retitle -1 dpkg misplaces tpl-config.tlib during unpack
Control: reassign -1 dpkg
Control: found -1 1.18.5
Control: affects -1 + autogen src:gnutls28
Control: severity -1 grave
On Tue, May 03, 2016 at 06:17:38AM +0200, Helmut Grohne wrote:
> I have little clue what is going on here, but what I can tell already is
> that this issue is not caused by the 3.4.11-4 upload. My first
> failing[1] build was on 2nd of May at 21:00 UTC. My last successful[2]
> build was on the same day at 16:00 UTC (both using the ftp.de.debian.org
> mirror). Now all of my gnutls28 builds fail with that error. They differ
> by one or two mirror pushes, so not many things can have caused that
> regression. The only potentially relevant piece I could find thus far
> is the tar NMU.
Simple. /usr/lib/x86_64-linux-gnu/autogen/tpl-config.tlib isn't there.
It's part of autogen, but dpkg 1.18.5 fails place it correctly.
Unpacking autogen with dpkg 1.18.4 places it at the correct location.
Unpacking autogen with dpkg 1.18.5 places it at
/usr/lib/x86_64-linux-gnu/autogen/tpl-config.tlib.dpkg-new.
It is yet unclear under what conditions this happens. Still we can
conclude that dpkg 1.18.5 can result in broken installations, thus
marking grave.
Helmut
Changed Bug title to 'dpkg misplaces tpl-config.tlib during unpack' from 'gnutls28: FTBFS: gcc: error: srptool-args.c: No such file or director'.
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:04 GMT) (full text, mbox, link).
Bug reassigned from package 'src:gnutls28' to 'dpkg'.
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:05 GMT) (full text, mbox, link).
No longer marked as found in versions gnutls28/3.4.11-4.
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:06 GMT) (full text, mbox, link).
Marked as found in versions dpkg/1.18.5.
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:07 GMT) (full text, mbox, link).
Added indication that 823288 affects autogen and src:gnutls28
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:08 GMT) (full text, mbox, link).
Severity set to 'grave' from 'serious'
Request was from Helmut Grohne <helmut@subdivi.de>
to 823288-submit@bugs.debian.org.
(Tue, 03 May 2016 15:06:09 GMT) (full text, mbox, link).
Message sent on
to Helmut Grohne <helmut@subdivi.de>:
Bug#823288.
(Tue, 03 May 2016 18:21:04 GMT) (full text, mbox, link).
Message #25 received at 823288-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag 823288 pending
Hi!
Bug #823288 in package dpkg reported by you has been fixed in
the dpkg/dpkg.git Git repository. You can see the changelog below, and
you can check the diff of the fix at:
https://anonscm.debian.org/cgit/dpkg/dpkg.git/diff/?id=c931762
---
commit c931762286a22626b4f9958d457248a027bfc0f7
Author: Guillem Jover <guillem@debian.org>
Date: Tue May 3 18:11:06 2016 +0200
dpkg: Fix file queue tail assignment in file queue pop
When we are popping a file from the files queue, we might end up messing
it up. To check for the side-effects on the file-system one should look
for files with .dpkg-new extension for packages that have been fully
configured and where those files are not listed as owned by them. These
packages will need to be reinstalled.
Closes: #823288
diff --git a/debian/changelog b/debian/changelog
index b8acd2b..e070e58 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
dpkg (1.18.6) UNRELEASED; urgency=medium
+ * Fix file queue tail assignment on file queue pop during unpack. This
+ could mess up the file queue in some circumstances and leave behind
+ files in the filesystem as «pathname».dpkg-new after configuration
+ and without traces of the files in the dpkg database. Closes: #823288
* Packaging:
- Bump Standards-Version to 3.9.8 (no changes needed).
Added tag(s) pending.
Request was from Guillem Jover <guillem@debian.org>
to 823288-submitter@bugs.debian.org.
(Tue, 03 May 2016 18:21:04 GMT) (full text, mbox, link).
Reply sent
to Guillem Jover <guillem@debian.org>:
You have taken responsibility.
(Tue, 03 May 2016 19:21:08 GMT) (full text, mbox, link).
Notification sent
to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer.
(Tue, 03 May 2016 19:21:09 GMT) (full text, mbox, link).
Message #32 received at 823288-close@bugs.debian.org (full text, mbox, reply):
Source: dpkg
Source-Version: 1.18.6
We believe that the bug you reported is fixed in the latest version of
dpkg, 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 823288@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated dpkg 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 03 May 2016 20:17:05 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.18.6
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
libdpkg-dev - Debian package management static library
libdpkg-perl - Dpkg perl modules
Closes: 823288
Changes:
dpkg (1.18.6) unstable; urgency=medium
.
[ Guillem Jover ]
* Fix file queue tail assignment on file queue pop during unpack. This
could mess up the file queue in some circumstances and leave behind
files in the filesystem as «pathname».dpkg-new after configuration
and without traces of the files in the dpkg database. Closes: #823288
* Use m_strdup() instead of strdup() in dpkg recursive installation code.
* Fix off-by-one array allocation in dpkg recursive installation code that
can cause segfaults.
* Rename sysctl() “name” variable to “mib”, to avoid a clash with the
call site function argument with the same name in start-stop-daemon.
This fixes a build failure on */kFreeBSD systems.
* Initialize number of entries on initial process scan in start-stop-daemon
on */kFreeBSD.
* Packaging:
- Bump Standards-Version to 3.9.8 (no changes needed).
.
[ Updated programs translations ]
* German (Sven Joachim).
Checksums-Sha1:
c997a652e94e3faa80a56bd9f725e4cf58a07294 2026 dpkg_1.18.6.dsc
0a6006875bf85b9101109d989f6fff8e5d8083c3 4617492 dpkg_1.18.6.tar.xz
Checksums-Sha256:
ee284047ac5cc7d5586f3ac03631621cc8d440cc0ea2da07966c7a6a2452d64d 2026 dpkg_1.18.6.dsc
dd0bc323baafe7aae1571a41d37ab92452171e7a2ce34429f77621fdc0e5dea2 4617492 dpkg_1.18.6.tar.xz
Files:
e7108c75a1bd3e6d7b735770e7c13305 2026 admin required dpkg_1.18.6.dsc
d71b6c2e4dfcc89bab5534130f41b0e1 4617492 admin required dpkg_1.18.6.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJXKPI8AAoJELlyvz6krlejjjoQAMDaRgJnT7v9D8RBZj8PF9Jq
UbfFYj29L1pVs8nd6p70+tAk220qzqaBy/va19qjuzgOxwNa5chuhF4DgUs9MWwq
aKnlTj0f9OOf9ZeIkIK8vf661/2kv52o/WVhZsEOgR2uhgXN0cA3nSkzjQhZFdmh
NJCRNzj2polj61Gdf9x3DInxEoTTnFw9+L5vNAGcZ2EAMbyJvPEL9iaGcxE4YZUY
DvmUKzGBVMP9LMk/zgb9YmB/aP04BmgINQVQ6MrJWRQGggpDryaZieZ7eD4yBxaL
BGf7RpSfaCjRloU36TUWqKnmAq618yoJ7LJX28Hcw9inH+fng+D/Ac5W01Emoys4
H8avn1GHnpuaD0EopRGRCcTtv/q9lmjpM/V/495n89kWuO/MVtl3kSgXXdTbPTOi
QcyPKz5RcEWHGGFugfCxqk9b63gqri9e3doI8T35+/d0MYFsr3qS981tTCdCYg/S
p8KhcrvsAnNmTGEoYs7WPJFARsXbLWq+06KFexxZX8c/O7mHGS0spGUkeRXVLS7z
EaBfXmEw9lRaGa3VqZFJB7sF/aLrt+kc/b/SzxC91jYU+hOGql9AFMNwbhPxcSVp
bsWnjx4bKMXMZAmL64b4t8HEKmeNisqqvgAT0QMaakxpkt6hOun1jCn6YGKRYJNL
DMvVhSVdzhPV6yYJAhzP
=unb1
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 01 Jun 2016 07:31:17 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 12 20:34:40 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.