Reported by: Mark Hymers <firstname.lastname@example.org>
Date: Tue, 22 Mar 2011 20:21:02 UTC
Found in version dpkg/188.8.131.52
Fixed in version dpkg/1.16.0
Done: Guillem Jover <email@example.com>
Bug is archived. No further changes may be made.
Toggle useless messages
firstname.lastname@example.org, Dpkg Developers <email@example.com>:
dpkg. (Tue, 22 Mar 2011 20:21:04 GMT) Full text and rfc822 format available.
Mark Hymers <firstname.lastname@example.org>:
Dpkg Developers <email@example.com>. (Tue, 22 Mar 2011 20:21:05 GMT) Full text and rfc822 format available.
Message #5 received at firstname.lastname@example.org (full text, mbox):
Package: dpkg Version: 184.108.40.206 Severity: normal Tags: patch Hi, We've been implementing Built-Using support in the archive to allow us to better deal with GPL compliance: http://lists.debian.org/debian-devel/2011/03/msg00852.html As discussed on IRC, I'd like to make dpkg-gencontrol not complain about the field: 15:36 < mhy> buxy: just looking at Fields.pm and trying to work out how I should declare Built-Using in my patch for it. I think it should be dependency => 'union' and dep_order => 10, but I'm not sure 15:40 < buxy> mhy: yeah, should be ok and allowed => ALL_PKG 15:41 * mhy nods - that's what I had 15:41 < mhy> I'll push a git branch and submit a bug / merge request 15:42 < buxy> mhy: please document the field in man/deb-control.5 also 15:43 < buxy> (and man/deb-src-control.5) 15:50 < mhy> buxy: done. I'll submit a bug pointing at my branch 15:50 < buxy> thanks 15:51 < mhy> we might want helper scripts and so on later to make life easier for maintainers, but my first priority was to get dpkg-gencontrol not to throw it out by default (obviously it can be worked around using -D for now I've pushed a built-using branch to: git://git.debian.org/users/mhy/dpkg.git The commit is: http://git.debian.org/?p=users/mhy/dpkg.git;a=commitdiff;h=6ccb466ffc71ac8f497c881dfa6e0441719caed5 Please consider merging it. Note that dpkg-deb still complains that it's a user-defined field although it gets added to the binary control file anyways. I looked at patching it into lib/dpkg/parse.c as well but wasn't sure how far down this road to go - do I need to patch it in as a true dependency field in lib/dpkg/dpkg-db.h even though it doesn't matter for dep resolution? If so, does support need to be added to dselect/pkgdepcon.cc and src/depcon.c even if just to ignore it? Thanks, Mark -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii coreutils 8.5-1 GNU core utilities ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii xz-utils 5.0.0-2 XZ-format compression utilities ii zlib1g 1:220.127.116.11.dfsg-3 compression library - runtime dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.8.10.3 Advanced front-end for dpkg -- no debconf information
email@example.com, Dpkg Developers <firstname.lastname@example.org>:
dpkg. (Wed, 23 Mar 2011 09:12:05 GMT) Full text and rfc822 format available.
Raphael Hertzog <email@example.com>:
Dpkg Developers <firstname.lastname@example.org>. (Wed, 23 Mar 2011 09:12:05 GMT) Full text and rfc822 format available.
Message #10 received at email@example.com (full text, mbox):
Hi, On Tue, 22 Mar 2011, Mark Hymers wrote: > Please consider merging it. Note that dpkg-deb still complains that it's a > user-defined field although it gets added to the binary control file anyways. > I looked at patching it into lib/dpkg/parse.c as well but wasn't sure how far > down this road to go - do I need to patch it in as a true dependency field in > lib/dpkg/dpkg-db.h even though it doesn't matter for dep resolution? If so, > does support need to be added to dselect/pkgdepcon.cc and src/depcon.c even > if just to ignore it? No, I just added it to the list of known arbitrary fields in dpkg-deb/build.c. I have merged your work with this supplementary change. Cheers, -- Raphaël Hertzog ◈ Debian Developer Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français)
Raphaël Hertzog <firstname.lastname@example.org>to
email@example.com. (Wed, 23 Mar 2011 09:12:07 GMT) Full text and rfc822 format available.
Mark Hymers <firstname.lastname@example.org>:
Message #15 received at email@example.com (full text, mbox):
tag 619311 pending thanks Hello, Bug #619311 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=a8cb927 --- commit a8cb927edb7dbd67c7a6084685998818b811caec Author: Mark Hymers <firstname.lastname@example.org> Date: Tue Mar 22 15:50:16 2011 +0000 dpkg-gencontrol: add support for Built-Using field And teach dpkg-deb to not complain about it. Signed-off-by: Raphaël Hertzog <email@example.com> diff --git a/debian/changelog b/debian/changelog index 2d0883c..bf542c9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -105,6 +105,9 @@ dpkg (1.16.0) UNRELEASED; urgency=low architecture which should be used as the path component for library installation. + [ Mark Hymers ] + * Add support for Built-Using field. Closes: #619311 + [ Updated programs translations ] * German (Sven Joachim). * Portuguese (Miguel Figueiredo).
Guillem Jover <firstname.lastname@example.org>:
Mark Hymers <email@example.com>:
Message #20 received at firstname.lastname@example.org (full text, mbox):
Source: dpkg Source-Version: 1.16.0 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: dpkg-dev_1.16.0_all.deb to main/d/dpkg/dpkg-dev_1.16.0_all.deb dpkg_1.16.0.dsc to main/d/dpkg/dpkg_1.16.0.dsc dpkg_1.16.0.tar.bz2 to main/d/dpkg/dpkg_1.16.0.tar.bz2 dpkg_1.16.0_amd64.deb to main/d/dpkg/dpkg_1.16.0_amd64.deb dselect_1.16.0_amd64.deb to main/d/dpkg/dselect_1.16.0_amd64.deb libdpkg-dev_1.16.0_amd64.deb to main/d/dpkg/libdpkg-dev_1.16.0_amd64.deb libdpkg-perl_1.16.0_all.deb to main/d/dpkg/libdpkg-perl_1.16.0_all.deb 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@example.com, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Guillem Jover <firstname.lastname@example.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 email@example.com) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Fri, 01 Apr 2011 23:56:54 +0200 Source: dpkg Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect Architecture: source amd64 all Version: 1.16.0 Distribution: unstable Urgency: low Maintainer: Dpkg Developers <firstname.lastname@example.org> Changed-By: Guillem Jover <email@example.com> 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: 31141 97076 397121 476335 483119 591858 594179 596841 598922 600854 604914 605719 606080 608829 611741 612203 612465 612472 613023 616096 616502 617923 619311 619541 620380 Changes: dpkg (1.16.0) unstable; urgency=low . [ Guillem Jover ] * Use DPKG_MAINTSCRIPT_PACKAGE environment variable as package name on dpkg-divert when no --package or --local options have been specified. * Do not allow versions starting with non-digit when doing strict parsing, warn otherwise. * Update dpkg(1) to note that --status-fd output does not contain newlines in error messages anymore (this was fixed in 1.15.0). * Add a new --status-logger option to dpkg, similar to --status-fd but instead invoke the command ourselves and feed the status information to its standard input. Suggested by Raphaël Hertzog. * Add missing space in update-alternative --set-selections output. * Add missing options to update-alternative --help output. * Count “conffile name is duplicated” for dpkg-deb warning count summary. * Improve and clarify strings for translation. Closes: #604914 * Prefix all fatal error messages with “error: ”. * Do not check presence of update-rc.d in the PATH in dpkg, as it's not a program needed for dpkg correct operation. * Fix dpkg -GEO options on multiple versions of the same packages. Closes: #31141 * Propagate --admindir to programs run from maintainer scritpts. Closes: #97076 * Do not fail when trying to remove the root directory. This will only happen either on distributions where dpkg is a foreign package manager, or on artificial dpkg databases. * Always warn when parsing any package control data which does not have an Architecture field except for status and status log files when packages are not-installed or half-installed. * By default reject installing packages w/o an Architecture field. They now need --force-architecture, dpkg will still warn about them though. * Fix build failure when passing --disable-nls to configure. * Do not segfault on “dpkg -i --no-act”. * Add missing semicolon to the vsnprintf() compat declaration. Thanks to Robert Millan. Closes: #612203 * On install for Ubuntu adjust the i386 GNU cpu name in cputable. Thanks to Colin Watson <firstname.lastname@example.org>. Closes: #611741 * Sync the info database directory on unpack instead of the temporary control information directory, and print the correct pathname on error instead of the last file acted on that directory. * Document in dpkg-query --help output and man page that --list and --show arguments are optional. * Do not read and write the available file unnecessarily. Thanks to Michel Lespinasse <email@example.com>. Closes: #397121 * Fix typo in «dpkg-name --overwrite» argument parsing so that it actually works at all. Thanks to Ivan Gagis <firstname.lastname@example.org>. LP: #728708 * Add armhf support to ostable and triplettable. Closes: #594179 * Set the modification time for unpacked symlinks on supported systems. * Fix undefined value useage in dpkg-genchanges when adding files w/o a matching architecture, because they are not present in debian/control, this is most commonly the case due to dpkg-distaddfile. * Terminate immediately on dpkg-divert rename errors instead of propagating up the error codes, this improves error reporting and avoids triggering leak detectors. Closes: #620380 * When moving a diverted file across filesystems in dpkg-divert, remove the source file. . [ Raphaël Hertzog ] * Fail properly when debian/source/format is empty. Closes: #600854 * Add new deb-src-control(5) manual page documenting the debian/control file contained in source packages. - it documents the X[SBC]- prefix. Closes: #476335 - it documents the VCS-* fields too. Closes: #483119 Thanks to Oxan van Leeuwen <email@example.com> who wrote it as part of the Google Code In program. * Enhance dpkg-shlibdeps to not fail immediatly when a library is not found. Instead continue and fail after all problems have been reported. Thanks to Chris Baines <firstname.lastname@example.org> for the patch. Closes: #596841 * Fix dpkg-source to not list Debian packaging files as modified upstream files in Format "1.0" when unpacking to a non-standard directory. * Apply patch from Colin Watson to let dpkg-buildflags return -O3 instead of -O2 when building ppc64 packages on Ubuntu. Closes: #612472 * Add new function get_control_path() to Dpkg::Path, it wraps dpkg-query --control-path. * Update dpkg-shlibdeps to be multiarch-ready: - use get_control_path() to find symbols/shlibs files - parse correctly the output of dpkg --search * Small fix to support files >2GB in .deb on 64-bit systems. Closes: #616502 Thanks to Martin Dorey <email@example.com> for the patch. * dpkg-source now keeps the file ordering in the autogenerated patch when regenerating it. Closes: #606080 Thanks to Colin Watson for the patch. * dpkg-source now uses a timestamp retrieved from the filesystem when resetting the timestamp of patched files so that a time skew when using NFS doesn't introduce any inconsistency. Closes: #613023 Thanks to Jonathan Nieder <firstname.lastname@example.org> for the patch and the diagnosis. * dpkg-source will now remove quilt's .pc directory when --unapply-patches is in use. Closes: #591858 * dpkg-source is now a bit less strict when parsing patches: - it accepts seeing the same file twice; Closes: #608829 - it doesn't match on the English text "No newline at end of file" as it might be translated in some cases. Closes: #612465 * Improve parser in Dpkg::Control::Hash to not require an empty line before the PGP signature. Closes: #617923 Thanks to Roger Leigh for the initial patch. * Fix a regression in dpkg-divert where using --rename led to a failure when the rename implies crossing file systems. Thanks to Durk Strooisma for spotting it. * Use the correct mtime when installing a file with statoverrides. Regression introduced in 1.16.0. LP: #739179 * Remove duplicate word in german translation of dpkg(1). Closes: #616096 * Strip repeated non-significant spaces before and after newlines in Uploaders. Closes: #598922 * Ignore whitespaces after options in headers of changelog entries. Closes: #605719 * Fix dpkg-source's regression with empty patches (introduced while fixing #613023). Closes: #619541 . [ Jonathan Nieder ] * Remove support for use of synchronous sync(2), due to its pernicious side-effects and to ease maintenance. * Clarify that an up-to-date dpkg only needs to be unpacked for dpkg-maintscript-helper to work. . [ Steve Langasek ] * Add new variables to dpkg-architecture, DEB_HOST_MULTIARCH and DEB_BUILD_MULTIARCH, that return the "ideal" GNU triplet for each architecture which should be used as the path component for library installation. . [ Mark Hymers ] * Add support for Built-Using field. Closes: #619311 . [ Updated programs translations ] * German (Sven Joachim). * Portuguese (Miguel Figueiredo). * Spanish (Javier Fernandez-Sanguino). * Swedish (Peter Krefting). . [ Updated man page translations ] * German (Helge Kreutzmann). * Swedish (Peter Krefting). . [ Updated scripts translations ] * German (Helge Kreutzmann). * Swedish (Peter Krefting). . [ Updated dselect translations ] * Spanish (Javier Fernandez-Sanguino). Checksums-Sha1: ce2157f0050ae5307c0b3f867219e90eccea417f 1200 dpkg_1.16.0.dsc c5588cfa254ff0d698fc1eb7d9d11be9da235371 5321098 dpkg_1.16.0.tar.bz2 68d767846ee0bd9a20d627ef3371c2c98c12e066 494608 libdpkg-dev_1.16.0_amd64.deb 239a3d17163706530443fb847bb61703ac6e0c00 2230440 dpkg_1.16.0_amd64.deb 59ad8d6ca4573c2bb85861472c9437ed23a0e77c 948708 dselect_1.16.0_amd64.deb 64c9a96eb3caaf34d1d14f09c5c81c4826539da6 870310 dpkg-dev_1.16.0_all.deb 24c2b86c3cb1867ae4ddf1e3c1a631ca73b8fe0d 746970 libdpkg-perl_1.16.0_all.deb Checksums-Sha256: dc45d4c80599fb4fb377caf497c003ef5fef8e1fcf0b0cba51bae457041c2554 1200 dpkg_1.16.0.dsc 2536bd1493ba5de8d0914c30d6b83d4390013caa98580bd33a735cebe445004a 5321098 dpkg_1.16.0.tar.bz2 1e1e7e02834b554932aa0b7ef48b3b2e982893011f7261629f19882a0271a1b3 494608 libdpkg-dev_1.16.0_amd64.deb 0f7858e704d1e0dd8f7195921cb29d6e296ff71e4568cf6a99c9a89a62907670 2230440 dpkg_1.16.0_amd64.deb e068fa295a74e769407ab9230208a20c3385c9f978d130077a0a5b506e66e14b 948708 dselect_1.16.0_amd64.deb 54603f6285f06b8f805394ed63c63aad3671e66c9385818361a89190ced55972 870310 dpkg-dev_1.16.0_all.deb 10aa393491951ac72f6d8429974e7be5c62b52fbb10fe8437fceb274ce8a2b1c 746970 libdpkg-perl_1.16.0_all.deb Files: 8aaddcf28fe29848e0839e4f49aa5b27 1200 admin required dpkg_1.16.0.dsc dc83fe7c1346a2a7bf78548306447c1d 5321098 admin required dpkg_1.16.0.tar.bz2 700983a5d39442c66f07403f13afc3bb 494608 libdevel optional libdpkg-dev_1.16.0_amd64.deb 7a243ebcc1618a0b7a1054c510459191 2230440 admin required dpkg_1.16.0_amd64.deb 433d60711295f8c311c85a9d31020ac1 948708 admin optional dselect_1.16.0_amd64.deb 6a049c453a6370cab4e0a8611ed0153e 870310 utils optional dpkg-dev_1.16.0_all.deb 86124110a1596fddc34fff8fc29a15e8 746970 perl optional libdpkg-perl_1.16.0_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk2WnHUACgkQuW9ciZ2SjJvVoQCdEWDb2Bi1NhycZk3sZ1Ak7ARE kR4AoPHbIFD2mzngex1DGcFIKQ1CRXaH =QKGg -----END PGP SIGNATURE-----
Debbugs Internal Request <email@example.com>to
firstname.lastname@example.org. (Tue, 17 May 2011 07:36:23 GMT) Full text and rfc822 format available.
Send a report that this bug log contains spam.
Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.