这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #746122
libdpkg-dev: Has stopped providing MD5 functions

version graph

Package: libdpkg-dev; Maintainer for libdpkg-dev is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for libdpkg-dev is src:dpkg (PTS, buildd, popcon).

Affects: deets

Reported by: David Suárez <david.sephirot@gmail.com>

Date: Sun, 27 Apr 2014 13:16:02 UTC

Severity: important

Tags: jessie, sid

Fixed in version dpkg/1.17.10

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#746122; Package src:deets. (Sun, 27 Apr 2014 13:16:07 GMT) (full text, mbox, link).


Acknowledgement sent to David Suárez <david.sephirot@gmail.com>:
New Bug report received and forwarded. Copy sent to Clint Adams <clint@debian.org>. (Sun, 27 Apr 2014 13:16:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: David Suárez <david.sephirot@gmail.com>
To: submit@bugs.debian.org
Subject: deets: FTBFS: (.text+0x1d): undefined reference to `MD5Update'
Date: Sun, 27 Apr 2014 14:02:57 +0200
Source: deets
Version: 0.2-3
Severity: serious
Tags: jessie sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20140426 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> gcc -I/usr/include/lua5.1  -DDEETS_LUADIR=\"/usr/share/deets\" -Wall -g -O2  -Wl,--as-needed -g -o luau luau-luau.o -llua5.1  -ldpkg  
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libdpkg.a(buffer.o): In function `buffer_filter_update.isra.1':
> (.text+0x1d): undefined reference to `MD5Update'
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libdpkg.a(buffer.o): In function `buffer_md5_done.isra.2':
> (.text+0x95): undefined reference to `MD5Final'
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libdpkg.a(buffer.o): In function `buffer_copy':
> (.text+0x2ef): undefined reference to `MD5Init'
> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libdpkg.a(buffer.o): In function `buffer_filter':
> (.text+0x3da): undefined reference to `MD5Init'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/04/26/deets_0.2-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#746122; Package src:deets. (Tue, 29 Apr 2014 15:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Clint Adams <clint@debian.org>:
Extra info received and forwarded to list. (Tue, 29 Apr 2014 15:51:08 GMT) (full text, mbox, link).


Message #10 received at 746122@bugs.debian.org (full text, mbox, reply):

From: Clint Adams <clint@debian.org>
To: 746122@bugs.debian.org
Subject: Re: Bug#746122: deets: FTBFS: (.text+0x1d): undefined reference to `MD5Update'
Date: Tue, 29 Apr 2014 15:49:42 +0000
On Sun, Apr 27, 2014 at 02:02:57PM +0200, David Suárez wrote:
> The full build log is available from:
>    http://aws-logs.debian.net/ftbfs-logs/2014/04/26/deets_0.2-3_unstable.log

Something changed with libdpkg-dev.



Information forwarded to debian-bugs-dist@lists.debian.org, Clint Adams <clint@debian.org>:
Bug#746122; Package src:deets. (Mon, 12 May 2014 01:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Clint Adams <clint@debian.org>. (Mon, 12 May 2014 01:51:04 GMT) (full text, mbox, link).


Message #15 received at 746122@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Clint Adams <clint@debian.org>, 746122@bugs.debian.org
Subject: Re: Bug#746122: deets: FTBFS: (.text+0x1d): undefined reference to `MD5Update'
Date: Mon, 12 May 2014 03:46:28 +0200
Control: reassign -1 libdpkg-dev
Control: retitle -1 libdpkg-dev: Has stopped providing MD5 functions
Control: affects -1 deets

Hi!

Just noticed deets stopped building with lattest libdpkg-dev, and
and of course here's the RC bug.

On Tue, 2014-04-29 at 15:49:42 +0000, Clint Adams wrote:
> On Sun, Apr 27, 2014 at 02:02:57PM +0200, David Suárez wrote:
> > The full build log is available from:
> >    http://aws-logs.debian.net/ftbfs-logs/2014/04/26/deets_0.2-3_unstable.log
> 
> Something changed with libdpkg-dev.

Indeed, that's my fault. I moved those functions to libcompat. I'm
working now on a fix for 1.17.10.

Clint, in the future, please do not hesitate to poke me to check if
such changes are intentional or not.

Thanks,
Guillem



Bug reassigned from package 'src:deets' to 'libdpkg-dev'. Request was from Guillem Jover <guillem@debian.org> to 746122-submit@bugs.debian.org. (Mon, 12 May 2014 01:51:04 GMT) (full text, mbox, link).


No longer marked as found in versions deets/0.2-3. Request was from Guillem Jover <guillem@debian.org> to 746122-submit@bugs.debian.org. (Mon, 12 May 2014 01:51:05 GMT) (full text, mbox, link).


Changed Bug title to 'libdpkg-dev: Has stopped providing MD5 functions' from 'deets: FTBFS: (.text+0x1d): undefined reference to `MD5Update'' Request was from Guillem Jover <guillem@debian.org> to 746122-submit@bugs.debian.org. (Mon, 12 May 2014 01:51:06 GMT) (full text, mbox, link).


Added indication that 746122 affects deets Request was from Guillem Jover <guillem@debian.org> to 746122-submit@bugs.debian.org. (Mon, 12 May 2014 01:51:07 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 17 May 2014 12:12:09 GMT) (full text, mbox, link).


Message sent on to David Suárez <david.sephirot@gmail.com>:
Bug#746122. (Sat, 17 May 2014 12:12:40 GMT) (full text, mbox, link).


Message #28 received at 746122-submitter@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 746122-submitter@bugs.debian.org
Subject: Bug#746122 marked as pending
Date: Sat, 17 May 2014 12:09:08 +0000
tag 746122 pending
thanks

Hello,

Bug #746122 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=93a8d74

---
commit 93a8d7423561f90559a00a760945e529a5e6e414
Author: Guillem Jover <guillem@debian.org>
Date:   Mon May 12 07:33:56 2014 +0200

    build: Switch to use libtool for the static libraries
    
    This makes it possible to embed libcompat inside libdpkg, so that the
    static library that we ship is self contained with the required
    compatibility code, specifically the MD5 functions.
    
    This also prepares the build system for when we start building a
    shared library, although it disables it by default.
    
    Closes: #746122

diff --git a/debian/changelog b/debian/changelog
index aac0672..5314469 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 dpkg (1.17.10) UNRELEASED; urgency=low
 
+  [ Guillem Jover ]
+  * Use libtool to build the static libraries, which makes it possible to
+    embed libcompat inside libdpkg, as required by some external programs
+    linking against the latter. Closes: #746122
+
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
 



Severity set to 'important' from 'serious' Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 24 May 2014 21:51:16 GMT) (full text, mbox, link).


Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Thu, 05 Jun 2014 19:51:21 GMT) (full text, mbox, link).


Notification sent to David Suárez <david.sephirot@gmail.com>:
Bug acknowledged by developer. (Thu, 05 Jun 2014 19:51:21 GMT) (full text, mbox, link).


Message #35 received at 746122-close@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: 746122-close@bugs.debian.org
Subject: Bug#746122: fixed in dpkg 1.17.10
Date: Thu, 05 Jun 2014 19:48:41 +0000
Source: dpkg
Source-Version: 1.17.10

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 746122@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: SHA256

Format: 1.8
Date: Thu, 05 Jun 2014 20:18:04 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source amd64 all
Version: 1.17.10
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: 584233 731530 734452 746122 746498 746973 747148 747370 748012 748544 749044 749183 750105
Changes: 
 dpkg (1.17.10) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * Use libtool to build the static libraries, which makes it possible to
     embed libcompat inside libdpkg, as required by some external programs
     linking against the latter. Closes: #746122
   * Fix word wrapping logic in dselect. Regression introduced in dpkg 1.17.3.
   * Fix possible out of bounds buffer read access in the error output on
     bogus ar member sizes.
   * Fix memory leaks in buffer_copy() on error conditions.
   * Test suite:
     - Improve C code coverage.
     - Add template test cases for most perl modules.
     - Add test cases for Dpkg::Deps OR relationships.
     - Add minimal test case for Dpkg::Source::Quilt.
     - Add test cases for Dpkg::Source::Patch CVE-2014-0471 and CVE-2014-3127.
     - Add test case for patch disabling hunks; not security sensitive.
   * Fix non-security sensitive TOCTOU race in triggers database loading.
   * Fix non-security sensitive TOCTOU race in update-alternative alternative
     database loading.
   * Fix non-security sensitive TOCTOU race in update-alternative rename code.
   * Add a workaround to start-stop-daemon for bogus OpenVZ Linux kernels that
     prepend, instead of appending, the " (deleted)" marker in /proc/PID/exe.
     Closes: #731530
   * Move dpkg-architecture -L argument to the Commands --help output section.
   * Make dpkg-maintscript-helper print only once that we are moving a
     conffile, and not on every interim state transition. Closes: #747370
   * Do not use global match variables in perl code.
   * Man pages:
     - Attempt to clarify and improve wording of some strange or confused
       constructs. Reported by Helge Kreutzmann.
     - Expand Vcs-* field names into each supported field name in
       deb-src-control(5) to make it easier to search for them.
     - Change control.tar.gz reference to simply control.tar in deb(5).
     - Document in dpkg-deb(1) -Z option that bzip2 and lzma are deprecated.
     - Add notes in dpkg-gensymbols(1) about symbol backward-compatibility.
       Based on a patch by Bernhard R. Link <brlink@debian.org>.
       Closes: #746973
     - Document that dpkg-buildpackage(1) -j argument is optional.
     - Add current and deprecated media types to deb(5).
     - Document in dpkg(1) that --audit now does more than just searching for
       partially installed packages.
   * Add support for automatic parallel job selection in dpkg-buildpackage,
     matching currently active processors, when using -jauto. Closes: #748012
   * Perl modules:
     - Bump $VERSION for Dpkg::Patch, missed in 1.16.1.
     - Bump $VERSION for Dpkg::Deps, missed in 1.17.0.
     - Update and fix CHANGES POD sections for public modules.
     - Add missing Dpkg::Deps::Multiple profile_is_concerned() and
       reduce_profiles() methods, inherited by Dpkg::Deps::Union,
       Dpkg::Deps::AND and Dpkg::Deps::OR.
   * Do not mangle quilt series files with a missing newline on the last line.
     Closes: #584233
   * Quiesce tar warnings in cron job by redirecting stderr to /dev/null, as
     it seems --warning=none does not work correctly. Closes: #748544
   * Do not emit a trailing space from Dpkg::Control::Hash on a field's empty
     first line. Bump dpkg-dev Breaks on devscripts to 2.14.4, as previous
     versions expect a trailing space from dpkg-parsechangelog output.
     Based on a patch by Johannes Schauer <j.schauer@email.de>. Closes: #749044
   * Do not assume that sensible-editor is present on «dpkg-source --commit»,
     as that command is very Debian specific. Fallback to try VISUAL, EDITOR,
     or vi, if the previous commands are either unset or not found.
   * Use badusage() instead of ohshit() on dpkg --ignore-depends argument
     parsing errors.
   * Add per package dpkg --audit support.
   * Add support for DragonFlyBSD to ostable and triplettable.
     Thanks to Hleb Valoshka <375gnu@gmail.com>.
   * Add support for DragonFlyBSD to start-stop-daemon. Closes: #734452
     Based on a patch by Hleb Valoshka <375gnu@gmail.com>.
   * Correctly parse patch headers in Dpkg::Source::Patch, to avoid directory
     traversal attempts from hostile source packages when unpacking them.
     Reported by Javier Serrano Polo <javier@jasp.net> as an unspecified
     directory traversal; meanwhile also independently found by me both
     #749183 and what was supposed to be #746498, which was later on published
     and ended up being just a subset of the other non-reported issue.
     Fixes CVE-2014-3864 and CVE-2014-3865. Closes: #746498, #749183
 .
   [ Updated programs translations ]
   * Catalan (Guillem Jover).
   * Italian (Milo Casagrande). Closes: #750105
 .
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
 .
   [ Updated manpages translations ]
   * German (Helge Kreutzmann).
 .
   [ Raphaël Hertzog ]
   * Let dpkg-source unpack additional tarballs in a deterministic order.
     Thanks to Samuel Bronson for the report. Closes: #747148
Checksums-Sha1: 
 c91e1e1bb0dc5918f20e3874c4b371425dac0da3 2055 dpkg_1.17.10.dsc
 2d88ef04db662d046fadb005bb31667fc0ba64de 4198340 dpkg_1.17.10.tar.xz
 be325d2d7fac12f031e537b5ed269724542f118c 799530 libdpkg-dev_1.17.10_amd64.deb
 ab90f4afdca78f0a5b8cf359b6c1c31c8c3f9e66 2704088 dpkg_1.17.10_amd64.deb
 6e9d00f6e0e8155085c619090292a548373842c5 1059422 dselect_1.17.10_amd64.deb
 8c56a5720faf36231f2ce88c271d34941bb4d61b 1425374 dpkg-dev_1.17.10_all.deb
 6bbd6bddfe2a6af99cfbf547e5de9abbb48d7a81 974696 libdpkg-perl_1.17.10_all.deb
Checksums-Sha256: 
 8552763122f36a4ede1e040dee28a84202de9f4b65dbcc90e2c068101d2a599d 2055 dpkg_1.17.10.dsc
 a3a6d4da2b99484c04b2aa8af83d59d87a988baea627d276308467b22310b4d9 4198340 dpkg_1.17.10.tar.xz
 a6b8ed0b95af7748ee3daf9e297c94bb0ab166d7908bbc46e2f5ef5ab93c08b1 799530 libdpkg-dev_1.17.10_amd64.deb
 81a2e6111e825e8a01caa8bf2c8876d806fe9e7297deea0eb61e5a9d93c9a82c 2704088 dpkg_1.17.10_amd64.deb
 1a8a3924786f18c9e0432b8cb34c8c99576dd96221fab9cda2a0f3b5b7606d51 1059422 dselect_1.17.10_amd64.deb
 ba58996d596f73a312b9d92bf01f40f2eeac1ba6db4011875bfbd685371c9619 1425374 dpkg-dev_1.17.10_all.deb
 702028918cfda7e1eaf7391717818b2e6dd05b00b02e4091ea084791e8308234 974696 libdpkg-perl_1.17.10_all.deb
Files: 
 7c8852829f4caa99b6c3a232915ac28c 799530 libdevel optional libdpkg-dev_1.17.10_amd64.deb
 90ba5aa300a72a9a54eeda5990b2641f 2704088 admin required dpkg_1.17.10_amd64.deb
 b6f581a13931bfedde3719dc4340b476 1059422 admin optional dselect_1.17.10_amd64.deb
 405cccbb6024ecb98fa6fc8939365cbc 1425374 utils optional dpkg-dev_1.17.10_all.deb
 be5fa2aa735a59ec34d1e4c889c6b7d4 974696 perl optional libdpkg-perl_1.17.10_all.deb
 274a6b2892d179ed04ad916dd2103676 2055 admin required dpkg_1.17.10.dsc
 545f3cbac8b5f0b3d888574f3f79936c 4198340 admin required dpkg_1.17.10.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJTkMS1AAoJELlyvz6krlejNxcP+wT/0vQECEQh1CI3DIS9aPYE
FfvmpoHioGn8dE8Su318SeZy+IADIis9IeE6GytqwMGIIekh6tC4ES574GRuLiRc
Edy4IrAlLnrGfM5VbAh5f1F9vmgZkBy2Z8R/oRjnQthgy5SUbGe1Bx9jqbh2sR4k
94EsdCuAxTiDI9+O15prM2u3Vxe7TD4Z7n9kjD3Tj35THVp6okpj1qGbTQ9bQJ04
nIcaWtZf6NXxyTNvXJ9Ac8Cdv47q1/CB4yXNQf47v0U6Rjorvh3EHkWyEtVpP1Ps
JVprxVwuxb9ayYn5j2MeBcMWS3igyowsh9a23+lZCwz0SALChZMHeYV74TB1/b8p
Gc53g6jSjI6bKK5xy5hst7tcG/ALmY0HE+jpkgVK/EJPwGKYq1julwgjd6kmrHA+
MBGs3p5ZTbR2PmzLYAmyzD2Ctabz7dFHZpMJ0c3pPsrGLUYD89gSZqp2k4zmrPIp
EEkhJNCsUFJbnG0ZpEw5aYCCHgPcKWazvsGh/DgYYytrWatJkmzgZi4I8KW+jEYG
85volBskw5V6aqJWJ9Sum/W2A11iR3El46YKqfqqSI83D2ucLWE5eXaMF3o5x+LP
AJ/XshrbiouHSu4GKiH/N7WGbD9OSYpnU/fdNbtiw+GNUC5KfsztDFWUWmiX4JP1
XzNrK95rGu/atNhtRghC
=d8BF
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 09 Jul 2014 07:30:22 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: Tue Jul 29 18:32:09 2025; Machine Name: berlioz

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.