Your message dated Tue, 06 Oct 2015 01:19:08 +0000 with message-id <[email protected]> and subject line Bug#798252: fixed in devscripts 2.15.9 has caused the Debian Bug report #798252, regarding [build-rdeps] should not search /var/lib/apt/lists/partial 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.) -- 798252: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798252 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: devscripts Version: 2.15.8 Severity: normal Tags: patch File: /usr/bin/build-rdeps User: [email protected] Usertag: build-rdeps Hi, apt 1.1 in experimental now sets the permissions of the apt partial directory (/var/lib/apt/lists/partial) to 700 which causes build-rdeps to output this warning every time it is used: > Can't cd to (/var/lib/apt/lists/) partial: Permission denied > at /usr/bin/build-rdeps line 310 Since that directory only contains partial source lists, build-rdeps should simply not search that directory (or any subdirectories in /var/lib/apt/lists). I've atttached a patch which uses glob instead of find so that subdirectories are not searched. Thanks, Jamesdiff --git a/scripts/build-rdeps.pl b/scripts/build-rdeps.pl index dbbb98f..68a576a 100755 --- a/scripts/build-rdeps.pl +++ b/scripts/build-rdeps.pl @@ -91,7 +91,6 @@ and run apt-get update afterwards or use the update option of this tool. use warnings; use strict; use File::Basename; -use File::Find; use Getopt::Long qw(:config gnu_getopt); use Pod::Usage; use Data::Dumper; @@ -307,7 +306,10 @@ if ($opt_distribution) { } # Find sources files -find(sub { readrelease($_, $1) if /$release_pattern/ }, $sources_path); +chdir($sources_path); +for (glob "*") { + readrelease($_, $1) if /$release_pattern/; +} if (!@source_files) { die "$progname: unable to find sources files.\nDid you forget to run apt-get update (or add --update to this command)?";
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---Source: devscripts Source-Version: 2.15.9 We believe that the bug you reported is fixed in the latest version of devscripts, 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. James McCoy <[email protected]> (supplier of updated devscripts 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: SHA512 Format: 1.8 Date: Mon, 05 Oct 2015 21:00:08 -0400 Source: devscripts Binary: devscripts Architecture: source Version: 2.15.9 Distribution: unstable Urgency: medium Maintainer: Devscripts Devel Team <[email protected]> Changed-By: James McCoy <[email protected]> Closes: 788820 789579 794689 795470 795573 796506 796880 796984 797018 797084 797265 797562 798252 799553 Description: devscripts - scripts to make the life of a Debian Package maintainer easier Changes: devscripts (2.15.9) unstable; urgency=medium . [ Joachim Breitner ] * mk-origtargz: + Work around tar --delete not working unless piping. This should make the support for Excluded-Files more reliable. Thanks to Felix Natter for identifying the problem and solution. * debcommit: + Detect git repositories even if .git is a file instead of a directory, as it can be the case with "git worktree" worktrees. * origtargz: Call rm -rf with "--", so that files starting with - are not considered arguments by rm. . [ James McCoy ] * bts: + Add reference to pts-subscribe(1) in bts(1). (Closes: #794689) * tagpending: + Fix warning when there are no fixed bugs in the changelog. (Closes: #795470) + Avoid querying the BTS when there are no bugs closed in the changelog. * mergechanges: + Add -S/--source argument to skip all binary packages. Thanks to Ansgar Burchardt for the patch. (Closes: #795573) * debchange: + Only emit "no orig tarball" for non-native packages. (Closes: #797018) * debcheckout: + Clarify documentation of -f option. Thanks to Daniel Shahaf for the patch! (Closes: #797265) * annotate-output: + Optimize the case of FORMAT not containing any date format codes. Thanks to Stefan Fritsch for the patch. (Closes: #799553) * build-rdeps: + Avoid recursing into apt's lists directory. Only the top-level files are interesting and this avoids a “Permission denied” warning with apt versions that restrict access to the lists/partial directory. Thanks to James Cowgill for the patch. (Closes: #798252) * wrap-and-sort: + Avoid modifying an empty file. Thanks to Chris Lamb for the patch. (Closes: #789579) * dd-list: + Omit information from stanzas with “Extra-Source-Only: yes”. + Use only the information from the most recent version of a package within each sources file. (Closes: #788820) + Enable reading sources data from gz or bzip2 compressed files. If the --dctrl switch is being used, the -z switch is needed to enabled decompression. Compressed files specified with the -s switch will automatically be handled if using a .gz/.bz2 extension. . [ Dominique Dumont ] * licensecheck: * added --text option to avoid scanning binary files (Closes: #797562) * use 'file' command to decide whether to scan a file or not (instead of testing file suffix) * remove trailing '#' from © information * store only first © block to avoid duplicated information * remove '\' from © information (useful for nroff files) . [ Adam D. Barratt ] * getbuildlog: + Stop downloading logs from debian-ports explicitly, now that it has been merged into buildd.debian.org and downloading from both locations causes duplicate downloads. (Closes: #796506) . [ Dmitry Shachnev ] * uscan: Use https protocol for pypi.debian.net redirector, now that it is available. (Closes: #796880) . [ Osamu Aoki ] * uscan: + Ensure the version field in the watch line is defined, rather than "true" before using it in a comparison. The enables the use of 0 as a value for the version. (Closes: #796984) . [ Gunnar Wolf ] * debchange: + Allow the current preferred security upload targets (wheezy|jessie|stretch)-security instead of their changing counterparts (oldstable|stable|testing)-security (Closes: #797084) . [ Antonio Terceiro ] * chdist: + Add support for running apt-file * debian/lintian-overrides: remove overrides for false positives that had been fixed in lintian . [ Christoph Berg ] * debcheckout: Add auth mapping for git://github.com. Checksums-Sha1: 673809fe8ad451606f0e2bff3fb3f0d4a4798175 2257 devscripts_2.15.9.dsc 095acb1e04031f89d55510d11c12131a7038c620 627784 devscripts_2.15.9.tar.xz Checksums-Sha256: 47413bfaf20be37a9fc135fa85965c07db98ffad05ae95ad0406163722b55d0c 2257 devscripts_2.15.9.dsc 409c7527ea91dda844688707b365485a9f5cc2e733e93f996fb597c64c78589d 627784 devscripts_2.15.9.tar.xz Files: 026d28defafcdc7e8f5a73d7948571f8 2257 devel optional devscripts_2.15.9.dsc ee374a77adb4c7e782e2a6a79f64a66d 627784 devel optional devscripts_2.15.9.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJWEyADXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6Pbus4QAIUcVkHxFIS6rumsPcQuRqaY E487/AP3ewAuAPmUtFgorYDpOa5Zfoq+XvVglreUcY5x0hElbtnDZeKGoHak0xZv wKtQL684TeHfQ99jZ1FMjyjIQ/g3KBccXy8apRNWU4tc9xFLT8qRrAaSNxEGMeyF Fjzb4NVqk0up6g8dfpEhsXi+UcdWGH1iwdXVDslBWKyeI/i5xpHdfk3XV/xaowUb 1eZ2LytOpHzeVZ+slxkJ31A+D2/frrHkJvGgXG1/1tautKeaiwul35uvCkcaOMDU WbkHIqHnwpAs571yG+VmVB9D9E43Ui9W0uG5cd5ra1tCFZF/oSrYwx0EHxkpUp0u 8vyvHFckRgj5qQjFd0zBVyS9Fhd7EtTY5Q9akK9p21eXR32Aip5lu7c6zzX4y3/x zsVjStL6/oWmuWcMa0kuJ6H5hYsr/dJmD2I7PyZkmjkHJ6ndac7Qo8As281UancS kPN4DOk+eAZtOMrVZiEzShPLXRxBwFjdKMXbW5yehXz+ruptF8SZhuh/ixIZAYpV IYZfO6DZEiz4YTJC63zr6Hxu98oBf3inkmA9vObjDslu8YztrAzKTKyQt+xR+g1R VfwAxfXDiws+mh9SDbBSBv7Uzj0qNutx/UaBICgLmPnBl0mBISQ/8EfuupjpoM4l dhQiw0B0hfRCWhJ3pRbr =GgGi -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
