Bug#658222: Processed: Re: Bug#658222: dlocate: messes with dpkg's internal files, will break with multiarch

2012-02-01 Thread Raphael Hertzog
Hi Craig, On Wed, 01 Feb 2012, Debian Bug Tracking System wrote: Processing commands for cont...@bugs.debian.org: reassign 658222 dpkg Bug #658222 [dlocate] dlocate: messes with dpkg's internal files, will break with multiarch Bug reassigned from package 'dlocate' to 'dpkg'. You know

Bug#658222: dlocate: messes with dpkg's internal files, will break with multiarch

2012-02-01 Thread Raphael Hertzog
reassign 658222 dlocate thanks On Wed, 01 Feb 2012, Craig Sanders wrote: it makes perfect sense. a useful function provided by dpkg for the last 15+ years is being taken away. that's a bug. If dpkg can no longer provide access to the raw files (and I still don't have a clear understanding of

Bug#564955: close 564955

2012-02-01 Thread Raphael Hertzog
reopen 564955 severity 564955 wishlist thanks Hello Stéphane, On Wed, 01 Feb 2012, Stéphane Aulery wrote: close 564955 1.15.8 stop You should not close a bug that way. Instead you send a mail to 564955-d...@bugs.debian.org and you put a Version: 1.15.8 pseudo-header as the first line of your

Bug#564955: close 564955

2012-02-02 Thread Raphael Hertzog
Hi, On Thu, 02 Feb 2012, Stéphane Aulery wrote: I can try my hand at a patch then. I noticed how update-alternatives uses the logs is almost identical to that of dpkg except that it has no configuration file and it does not share the code of dpkg/log.c. We could reuse the lib dpkg for that.

Bug#658854: dpkg-maintscript-helpee, local package rebuilds and orphaned conffiles

2012-02-06 Thread Raphael Hertzog
Hello, On Mon, 06 Feb 2012, Sam Morris wrote: And the conffile will not be removed. Is the user in the wrong here? debian-faq says no, as it specifically advises the user of dch -l when performing a local build. The user cannot know when he's rebuilding the package that a subsequent version

Bug#659506: dpkg.log does not record architecture of affected package

2012-02-12 Thread Raphael Hertzog
On Sat, 11 Feb 2012, Guillem Jover wrote: The general policy regarding dpkg output is that the architecture is only significant for M-A:same packages, which need to be disambiguated. For the others either the user explicitly specified them on the command line or through apt. That might be

Bug#661538: Add support for Build-Depends-Stage1 in order to allow breaking of cyclic Build-depends loops

2012-02-27 Thread Raphael Hertzog
On Mon, 27 Feb 2012, Wookey wrote: The subject is covered in some detail here: http://wiki.debian.org/DebianBootstrap and was covered at Debconf in Baja Luka. This little patch allows Build-Depends-Stage1 to be added to package control files, for rules files to use DEB_BUILD_OPTIONS=STAGEN,

Bug#664058: dpkg-dev: please add action to dpkg-buildflags to get an overview of the settings

2012-03-16 Thread Raphael Hertzog
Hi, the idea seems good, in particular since we had to remove this from dpkg-buildpackage because the information outputted there could not be accurate (i.e. no access to DEB_*_MAINT_* variables). Here's a review so that you can bring your patch in a state where I can merge it. On Thu, 15 Mar

Bug#664058: dpkg-dev: please add action to dpkg-buildflags to get an overview of the settings

2012-03-16 Thread Raphael Hertzog
On Fri, 16 Mar 2012, Bernhard R. Link wrote: IMO this is not the proper way to extract it automatically. If you want this feature, you should add a unique (and fixed) start/end marker. Maybe something like this ? --- BEGIN DPKG-BUILDFLAGS STATUS --- […] --- END DPKG-BUILDFLAGS

Bug#664058: dpkg-dev: please add action to dpkg-buildflags to get an overview of the settings

2012-03-19 Thread Raphael Hertzog
On Mon, 19 Mar 2012, Bernhard R. Link wrote: I undestand that since 1.16.2 was released in between, I need to change the version? Attached are new versions of this patches with the version changed. Yes, thank you. Guillem, what's your opinion on the output of the --status command? Bernhard

Bug#666147: set UCF_FORCE_CONFFMISS when force-confmiss option is set

2012-03-29 Thread Raphael Hertzog
Hi, On Thu, 29 Mar 2012, Matus UHLAR - fantomas wrote: the dpkg's force-confmiss option, given as commandline parameter, or as an config option, has no effect when configuration file is maintained by ucf. that requires users to dig about the reason their config file is missing. The ucf

Bug#666147: set UCF_FORCE_CONFFMISS when force-confmiss option is set

2012-03-29 Thread Raphael Hertzog
On Thu, 29 Mar 2012, Matus UHLAR - fantomas wrote: What could be done is for dpkg to export its command line options in a new environment variable DPKG_CMDLINE_OPTS, and then ucf could inspect that new variable and verify if --force-confmiss is there. what if someone puts the option to dpkg

Bug#666987: dpkg-buildflags: DEB_*_MAINT_* overrides user options.

2012-04-03 Thread Raphael Hertzog
Hello, On Tue, 03 Apr 2012, Miguel Colon wrote: I would guess the DEB_BUILD_OPTIONS=noopt problem should be reported against the package that suffer from this case Yes, definitely. but should not the user options in DEB_flag_* (or $XDG_CONFIG_HOME/dpkg/buildflags.conf) override the

Bug#666987: dpkg-buildflags: DEB_*_MAINT_* overrides user options.

2012-04-03 Thread Raphael Hertzog
On Tue, 03 Apr 2012, Miguel Colon wrote: Well any flag not only optimization levels are affected but -OX is probably the most common case. Any flag that allow overriding a previous value of the same flag and that maintainers are likely to change... wich doesn't make many. Also some packages

Bug#667008: dpkg-dev: dpkg-gencontrol does use the control file specified with optin -c for the lock-file

2012-04-03 Thread Raphael Hertzog
retitle 667008 dpkg-dev: dpkg-gencontrol does not use the control file specified with option -c for the lock-file thanks Hi, On Tue, 03 Apr 2012, Mats Danielsson wrote: Dear Maintainer, The solution to Bug #642608 introduced another problem. The lock on the control file always uses the

Bug#667438: Support file triggers on /usr/local, manually triggered by administrator after make install

2012-04-04 Thread Raphael Hertzog
On Tue, 03 Apr 2012, Josh Triplett wrote: As a more optimal solution, packages could register file triggers on appropriate paths in /usr/local Some packages already do (man-db for example). and dpkg could provide a means for an administrator to manually trigger those triggers after running

Bug#667438: Support file triggers on /usr/local, manually triggered by administrator after make install

2012-04-04 Thread Raphael Hertzog
On Wed, 04 Apr 2012, Josh Triplett wrote: In some way we already do: $ sudo dpkg-trigger --no-await /usr/local/man $ sudo dpkg --configure -a Processing triggers for man-db ... But there's easy way to find out all the file triggers that match /usr/local/something. I meant there's

Bug#578864: dpkg-source -b in 3.0 (quilt) package modifies timestamp of, manually changed files

2012-04-18 Thread Raphael Hertzog
Hi, On Wed, 18 Apr 2012, Guo Yixuan wrote: This bug seems to be fixed, as I tried what Timo has done: $ dget http://people.debian.org/~hertzog/packages/debsrc3.0/sample7_1.0-1.dsc $ dpkg-source -x sample*.dsc $ cd sample7-1.0 Here you need to modify upstream/README to actually match the

Bug#670081: dpkg: dpkg-source: expected [ +-] at start of line

2012-04-23 Thread Raphael Hertzog
On Mon, 23 Apr 2012, jaalto wrote: | Hmm, well quilt just makes use of patch. And yes, patch seems to | assume that when there's a '\t' or '\n' on the first line character | the space got eaten, in pch.c (another_hunk():1646), so given this I | guess I'll be adding support for these kinds of

Bug#670805: dpkg: patch apply problem: line after --- isn't as expected in diff

2012-04-29 Thread Raphael Hertzog
reassign 670805 dpkg-dev forcemerge 485330 670805 thanks On Sun, 29 Apr 2012, Jari Aalto wrote: These patches work fine with quilt(1) and patch(1). Any patch that patch can apply will be automatically supported by quilt. But 3.0 (quilt) requires unified patch and what you attached is a context

Bug#671460: possibly wrong debug output in rm_conffile

2012-05-04 Thread Raphael Hertzog
Hi, On Fri, 04 May 2012, Marc Haber wrote: in dpkg-maintscript-helper's rm_conffile function, the code goes to lengths to set the PACKAGE variable correctly, but the debug output Executing $0 rm_conffile ... still refers to DPKG_MAINTSCRIPT_PACKAGE which may not be set. PACKAGE, however,

Bug#674981: dpkg-dev: support uncompressed .orig.tar

2012-05-29 Thread Raphael Hertzog
Hi, On Mon, 28 May 2012, shawn wrote: I was working on a ftbfs on armel/armhf and b/c bzip2 is so slow on a slow armel I decompressed the .orig.bz2, only to learn that I had to recompress it .gz in order for dpkg-source to recognize it. As Guillem said, do your test builds with debuild -b

Bug#644193: Processed: Re: Bug#644193 closed by Jelmer Vernooij jel...@debian.org (Not a bug in bzr-builddeb)

2012-05-31 Thread Raphael Hertzog
Hello, On Thu, 31 May 2012, Debian Bug Tracking System wrote: reopen 644193 If you reopen a bug, the least you can do is to give some justification of why you're doing this... The behaviour change has been made on purpose. If your packages fails to build due to this, then your package is

Bug#675947: Circular build-dependency between libfile-fcntllock-perl and dpkg-dev

2012-06-04 Thread Raphael Hertzog
On Mon, 04 Jun 2012, Dominic Hargreaves wrote: I wasn't sure if the small amount of code which could be factored out justified a new file (and couldn't see an exisiting one), so I left it in the scripts. Happy to refactor into a new or existing file if you let me know your preference. I think

Bug#661538: Patch generalization and field to mark staged packages

2012-06-08 Thread Raphael Hertzog
Hi, On Thu, 07 Jun 2012, P. J. McDermott wrote: Generalization == [...] Rather than modifying a lot of dpkg code to handle field patterns or the like, I propose a simple dynamic definition of Build-Depends- StageN and Build-Depends-Indep-StageN hash elements in %FIELDS:

Bug#661538: Patch generalization and field to mark staged packages

2012-06-13 Thread Raphael Hertzog
On Tue, 12 Jun 2012, P. J. McDermott wrote: And the subroutines in Dpkg::Control::Fields that get values from %FIELDS can call the following new subroutine to do so: sub field_get($) { my ($field) = @_; foreach my $key (keys %FIELDS) { return $FIELDS{$key}

Bug#661538: Patch generalization and field to mark staged packages

2012-06-13 Thread Raphael Hertzog
On Wed, 13 Jun 2012, P. J. McDermott wrote: Fair enough. I think a separate hash could address both of these points: sub field_get($) { my ($field) = @_; return $FIELDS{$field} if exists $FIELDS{$field}; foreach my $key (keys %FIELDS_RE) { return

Bug#676442: dpkg-vendor is slow

2012-06-16 Thread Raphael Hertzog
Hi, On Sat, 16 Jun 2012, Benjamin Drung wrote: debchange uses dpkg-vendor to query the vendor. «dch -e ''» takes 1.3 s with the query to dpkg-vendor and 1.1 s without that query. That's 15 % of the total execution time. Having a slow debchange is annoying. The time is accumulating if

Bug#677865: dpkg-gencontrol warns about 'File::FcntlLock not available'

2012-06-18 Thread Raphael Hertzog
Hi, On Sun, 17 Jun 2012, Julien Cristau wrote: On Sun, Jun 17, 2012 at 19:46:50 +0200, Guillem Jover wrote: But you can silence it yourself, by installing libfile-fcntllock-perl, or is that a problem? I'm not installing anything I don't have to in any build chroot, no. The only reason why

Bug#680155: dpkg-source: detection of applied patches fails if first patch is reverted

2012-07-04 Thread Raphael Hertzog
Hi, On Tue, 03 Jul 2012, David Bremner wrote: If the first patch in a 3.0 (quilt) series is reverted by later patches in the series, then the heuristic used by dpkg-source to detect if patches are applied fails. This might sound contrived, but it can arise if e.g. patches are generated from

Bug#316521: dpkg: stale directories are not removed after 'postrm purge'

2012-07-13 Thread Raphael Hertzog
Hi, On Thu, 08 Mar 2012, Andreas Beckmann wrote: (regarding the original problem:) I'm seeing a lot of owned directories remaining in the piuparts tests for sid (they are treated as error for sid and warning for other distributions):

Bug#681470: dpkg-shlibdeps: should also scan Build-Depends-Arch for minimal versions

2012-07-13 Thread Raphael Hertzog
Package: dpkg-dev Version: 1.16.4 Severity: normal User: d...@packages.debian.org Usertags: dpkg-shlibdeps dpkg 1.16.4 introduced the Build-Depends-Arch field but dpkg-shlibdeps has not been updated to deal with this field. Build dependencies are sometimes scanned to find out minimal versions to

Bug#681477: dpkg-vendor: implement --select-closest command versions

2012-07-13 Thread Raphael Hertzog
Package: dpkg-dev Version: 1.16.7 Severity: wishlist User: d...@packages.debian.org Usertags: dpkg-vendor The --derives-from command works but when you have multiple levels of derivatives, it imposes you to order your checks in the correct order to have the expected behaviour. It's also not

Bug#595112: /usr/bin/dpkg-maintscript-helper: Please provide helper for moving a conffile between packages

2012-07-13 Thread Raphael Hertzog
retitle 595112 dpkg-maintscript-helper: new helper for moving a conffile between packages thanks On Tue, 31 Aug 2010, Josh Triplett wrote: Moving a conffile from one package to another seems to prove even more difficult than renaming it or removing it. Please consider providing support for

Bug#595112: /usr/bin/dpkg-maintscript-helper: Please provide helper for moving a conffile between packages

2012-07-31 Thread Raphael Hertzog
Hi, On Fri, 13 Jul 2012, Josh Triplett wrote: On Fri, Jul 13, 2012 at 05:26:28PM +0200, Raphael Hertzog wrote: Michael Biebl reported in the thread at http://lists.debian.org/4f31c323.9090...@debian.org that the difficulty was to handle the case where the target package has no guaranty

Bug#595112: /usr/bin/dpkg-maintscript-helper: Please provide helper for moving a conffile between packages

2012-07-31 Thread Raphael Hertzog
On Tue, 31 Jul 2012, Josh Triplett wrote: Consider the original motivation for this. You have a package A, which contains a daemon B and an init script /etc/init.d/B. You split B and its init script (and any other configuration files for it) into its own package, which A does not depend on.

Bug#683547: dpkg-source fails on a patch series deleting a file after patching

2012-08-01 Thread Raphael Hertzog
Control: tag 683547 + patch On Wed, 01 Aug 2012, Thomas Koch wrote: It might not be a good idea in the first place to have such a patch series. But dpkg-source --after-build fails on it. It can not copy the original file because the parent directory of the original file does not exist

Bug#671711: Assumptions when processing triggers (was [pkg-mono-group] Bug#671711: monodoc-browser: fails to upgrade) from 'testing'

2012-08-06 Thread Raphael Hertzog
Hi, On Fri, 08 Jun 2012, Guillem Jover wrote: Hmmm, so I had prepared a patch which basically checks if the package has its dependencies fulfilled before calling the postinst script with triggered, and otherwise defers the trigger processing for later (but only as long as it is not running

Bug#685863: dpkg: The auto complete fail, for dpkg --print-foreign-architecture, end to unknown option.

2012-08-26 Thread Raphael Hertzog
On Sat, 25 Aug 2012, Guillem Jover wrote: I'm not sure I understand what the problem being reported here is, but from the mail subject I'd guess you typed: $ dpkg --print-foreign-architecture and that didn't work (due to missing trailing ‘s‘)? If so then you just need to type the

Bug#685863: dpkg: The auto complete fail, for dpkg --print-foreign-architecture, end to unknown option.

2012-09-03 Thread Raphael Hertzog
Control: submitter -1 guillaumese...@gmail.com On Mon, 03 Sep 2012, Guillaume Seren wrote: I just released that my mail, was misspelled, in my .reportbugrc, the good one is : guillaumese...@gmail.com . Fixing in the BTS. I patch the source, (from the git diff) and install it again, but, the

Bug#689508: dpkg: taking over a conffile via Breaks/Replaces leaves the entry in the Conffiles: entry in the status file of the old package

2012-10-03 Thread Raphael Hertzog
Control: reassign -1 debsums Control: retitle -1 ignore obsolete conffiles which are not owned by the package On Wed, 03 Oct 2012, Andreas Beckmann wrote: seems to work, also if the conffile gets replaced by an updated version on the way, but it leaves an old md5sum entry in the Conffiles entry

Bug#681474: Dpkg::Vendor: should support /etc/os-release and /etc/os-release.d/*

2012-10-28 Thread Raphael Hertzog
Hi, On Sat, 27 Oct 2012, Guillem Jover wrote: Control: tag -1 wontfix *shrug* I filed it because I did not found the time to implement it in a reasonable delay. But I might still want to implement it at some point. On Fri, 2012-07-13 at 15:44:22 +0200, Raphael Hertzog wrote: To be able

Bug#681474: Dpkg::Vendor: should support /etc/os-release and /etc/os-release.d/*

2012-10-29 Thread Raphael Hertzog
On Sun, 28 Oct 2012, Jonathan Nieder wrote: Raphael Hertzog wrote: Why would it be better to deploy a dpkg-specific file over a generic file even if dpkg is the only software making use of that generic file? Because it makes the purpose of the file

Bug#681474: Dpkg::Vendor: should support /etc/os-release and /etc/os-release.d/*

2012-10-29 Thread Raphael Hertzog
On Mon, 29 Oct 2012, Jonathan Nieder wrote: Raphael Hertzog wrote: In both cases the purpose of the file is to provide identification information about the OS. Identification for what purpose? So I know which programmer to complain to when running into compatibility bugs, like the HTTP

Bug#692966: dpkg: Same trigger is run several times during 1 install / upgrade

2012-11-11 Thread Raphael Hertzog
Control: reassign -1 apt Control: forcemerge 626599 -1 On Sun, 11 Nov 2012, Kurt Roeckx wrote: dpkg processes the same trigger several times during 1 upgrade or install. I mostly see for triggers on the man-db and initramfs-tools package. I would like to avoid all those processed triggers,

Bug#695800: dpkg --print-multiarch needed

2012-12-12 Thread Raphael Hertzog
Control: forcemerge 636352 -1 On Wed, 12 Dec 2012, Matthias Klose wrote: dpkg --print-architecture currently can be used to get the name of the current architecture, however nothing does exist for getting the current multiarch. I guess you mean the multiarch tuple exported as

Bug#696853: dpkg-checkbuilddeps -C somedir, please?

2012-12-28 Thread Raphael Hertzog
Hi, On Fri, 28 Dec 2012, Harald Dunkel wrote: Would it be possible to support a command line argument -C somedir to run dpkg-checkbuilddeps in another directory without pushd and popd and a temporary variable to safe the exit value? This would be very similar to make -C somedir.

Bug#699111: dpkg-gensymbols: Add option for generating c++ demangled symbols

2013-01-27 Thread Raphael Hertzog
Hi, On Sun, 27 Jan 2013, Nick Andrik wrote: I am packaging a library implemented in C++ . During my effort to generate sane symbol files for it, I saw that C++ symbols differ among architectures. One way to avoid having different symbols files for each architecture is to use the

Bug#700177: dpkg-dev: please reject native/non-native version when building native/non-native source packages

2013-02-09 Thread Raphael Hertzog
Hi, On Sat, 09 Feb 2013, Bernhard R. Link wrote: Please ensure that the package version matches its nativity state in 3.0 (quilt/native) packages. Having dpkg-source allow to create native packages with non-native versions and non-native packages with native versions can be quite confusing,

Bug#583585: dpkg-maintscript-helper: replace symlink with directory

2013-02-13 Thread Raphael Hertzog
Hi, sorry for the big delay in my answer. On Sat, 01 Dec 2012, Gregor Jasny wrote: There are some open questions on my side: 1) Do you see a demand to also require a LASTVERSION argument? Yes. We always want to restrict such code to be only executed when really needed. Think for example when

Bug#700978: libdpkg-perl: perl -w + Dpkg::Source::Package + Dpkg::Source::Archive causes redefine error

2013-02-20 Thread Raphael Hertzog
Control: tag -1 patch On Tue, 19 Feb 2013, Niels Thykier wrote: $ perl -w -MDpkg::Source::Package -MDpkg::Source::Archive -e '' Subroutine Dpkg::Source::Archive::getcwd redefined at /usr/share/perl/5.14/Exporter.pm line 67. at /usr/share/perl5/Dpkg/Source/Archive.pm line 32 In fact

Bug#703092: dpkg --set-selections ignores available packages never installed or removed by dpkg

2013-04-10 Thread Raphael Hertzog
Hi, On Wed, 10 Apr 2013, Jonathan Nieder wrote: It might look harmless, but we do *NOT* want to release Debian with a dpkg that is broken with respect to all the descriptions floating around how to clone a system. I agree that this is a problem, but I cannot convince myself it breaks

Bug#703092: dpkg --set-selections ignores available packages never installed or removed by dpkg

2013-04-10 Thread Raphael Hertzog
On Wed, 10 Apr 2013, Raphael Hertzog wrote: The impact was perfectly known. I was also concerned by the change but Guillem did not want to change his mind. See https://lists.debian.org/debian-dpkg/2012/03/msg00065.html and Guillem's reply in https://lists.debian.org/debian-dpkg/2012/03

Bug#707128: Actually warrant documented --ignore-missing-info

2013-05-07 Thread Raphael Hertzog
Hi Yaroslav, On Tue, 07 May 2013, Yaroslav Halchenko wrote: now the same couldn't find library message could be warning or error, e.g. dpkg-shlibdeps: warning: couldn't find library libmat.so needed by debian/matlab-psychtoolbox-3-nonfree/usr/lib/matlab/site/psychtoolbox-3/WaitSecs.mexa64

Bug#708607: Undefined subroutine main::_ called at /usr/share/perl5/Dpkg/File.pm

2013-05-17 Thread Raphael Hertzog
Hi, On Thu, 16 May 2013, Lincoln Myers wrote: Apparently, in this situation the build was being done in a filesystem where flock() fails to lock. I believe libdpkg-perl was unable to report the real error properly because it is translating the error message using nonexistent subroutine _. I

Bug#709064: dpkg: some packages missing metainformation after upgrading dpkg (squeeze-wheezy)

2013-05-22 Thread Raphael Hertzog
Hello, On Mon, 20 May 2013, Hans-Juergen Becker wrote: The missing files are existing, but doesn't have the :arch in there filenames: Somehow it means that you have /var/lib/dpkg/info/format with a content of 1 when you shouldn't have it yet (you certainly shouldn't have it before you upgraded

Bug#716948: [Pkg-sysvinit-devel] Bug#716948: initscripts: Removes bootlogd conf files even if bootlogd is installed

2013-07-25 Thread Raphael Hertzog
Hi, On Mon, 15 Jul 2013, Steve Langasek wrote: Attached is a tested patch for this. I'm not thrilled about invoking dpkg-query -S here, but I don't see any other way to get this information. As suggested by Guillem, it's better to use dpkg-query -L pkg | grep -q -x /path as you only have to

Bug#718295: /usr/bin/dpkg-deb: dpkg-deb -Zgzip -z0 produces invalid debian packages

2013-07-30 Thread Raphael Hertzog
Hi, On Mon, 29 Jul 2013, Guillem Jover wrote: The linux maintainers chose to pass -Zgzip -z0 to dpkg-deb to retain backwards compatibility. To retain compatibility they should either not have specified -z at all or used -z9. dpkg-deb(1) is pretty clear that -z0 for gzip is equivalent to

Bug#718984: dpkg-dev: dpkg-source ingores files in include-binaries that apply to the default -I excludes

2013-08-07 Thread Raphael Hertzog
Hi, On Wed, 07 Aug 2013, Guillem Jover wrote: I've just tested, and dpkg-source 1.15.x shows the same behavior. Not saying it's desirable, just that I don't see how this breaks stuff that used to work in the past? Which 1.15.x have you tested? Because commit

Bug#476221: jessie release goal: verbose build logs

2013-08-18 Thread Raphael Hertzog
On Wed, 14 Aug 2013, Guillem Jover wrote: Definitely, and planned (#476221) to be fixed pretty soon. But the problem is that this can not be enabled by default (only through an option initially, until the upper layers rely on a dpkg-buildpackage with such option and use it) because the

Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Raphael Hertzog
Hi, On Tue, 20 Aug 2013, Guillem Jover wrote: Although, as I've said before, I consider dpkg-maintscript-helper a dead-end and in a way a waste of time, I've also said I'd merge patches for it if they look more or less ok. For reference, I'm happy to waste my time on dpkg-maintscript-helper

Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Raphael Hertzog
Hi, On Tue, 20 Aug 2013, Guillem Jover wrote: I could not test I get problem about pkg-tests/t-normal/../dpkgdb/info/format-new running pkg-test could not create file If you could send the output and how you run it, I could take a look. I have pushed a fix already. The issue is simply

Bug#583585: [dpkg] Any news ?

2013-08-20 Thread Raphael Hertzog
Hi, On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: Now that symlink to dir is implemented, how can we implement the reverse operation ? Note that you still have to update man/dpkg-maintscript-helper.1 AFAIK. We don't want to ship undocumented features. I suppose checking that the: - path is

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-21 Thread Raphael Hertzog
Hi, On Tue, 20 Aug 2013, Bastien ROUCARIES wrote: A possible way to do this could be: * Move the directory away in preinst (dir.dpkg-backup), put in place a symlink pointing to the renamed directory ok this is easy * In postinst, move remaining files from the temporary directory to

Bug#583585: Fwd: Bug#583585: [dpkg] Any news ?

2013-08-24 Thread Raphael Hertzog
On Fri, 23 Aug 2013, Bastien ROUCARIES wrote: Find -print0 And replacing read by read -r -d $'\0' is safer but I do not know if it is portable. Or xargs but we need to fork for each file and we get the portability problem of find print0. What do you prefer ? find -print0 is fine,

Bug#583585: Something like the following code snippet ?

2013-08-26 Thread Raphael Hertzog
Hi, On Mon, 26 Aug 2013, Guillem Jover wrote: The files must not be moved from the old dir to the new symlink-to-dir, otherwise dpkg will lose track of them wrt to their canonical path, and And what about files which are not managed by dpkg? And files of other packages which are not upgraded

Bug#731484: dpkg-shlibdeps: error: no dependency information found for /usr/lib/libstdc++.so.6

2013-12-05 Thread Raphael Hertzog
Hi, On Thu, 05 Dec 2013, Daniel Kahn Gillmor wrote: dh_shlibdeps dpkg-shlibdeps: error: no dependency information found for /usr/lib/libstdc++.so.6 (used by debian/wpagui/usr/sbin/wpa_gui) dh_shlibdeps: dpkg-shlibdeps -Tdebian/wpagui.substvars debian/wpagui/usr/sbin/wpa_gui returned

Bug#732835: Provide build tools with more information

2013-12-22 Thread Raphael Hertzog
On Mon, 23 Dec 2013, Guillem Jover wrote: Doing this via a status fd would be nice[1] since we could then implement more nice things like progress information (we'd then be able to detect easily which dpkg-buildpackage's steps failed) without parsing the full build output. [1] The

Bug#732937: dpkg: fails somewhat regularly on kfreebsd-amd64

2013-12-22 Thread Raphael Hertzog
On Mon, 23 Dec 2013, Guillem Jover wrote: The problem is that something messes with dpkg's standard output and error, and it fails when doing the fflush() and ferror() check on it in m_output() I think. But this seems to be coming from something lower than dpkg or apt, perhaps a change in

Bug#733029: dpkg-buildpackage: disable signing by default (-us -uc should be the default)

2013-12-30 Thread Raphael Hertzog
On Mon, 30 Dec 2013, Jakub Wilk wrote: * Guillem Jover guil...@debian.org, 2013-12-30, 12:27: I guess it's probably a good idea to switch the default, becuse I assume most maintainers do more test builds than final ones. ACK And also, it should be friendly to non-maintainers who are just

Bug#735102: dpkg: [dpkg] dpkg-divert migrate from /usr/sbin to /usr/bin

2014-01-12 Thread Raphael Hertzog
Control: reassign -1 tiger 1:3.2.3-10 Control: retitle -1 /usr/lib/tiger/systems/Linux/2/deb_checkmd5sums hardcodes path to dpkg-divert On Mon, 13 Jan 2014, Yoric Kotchukov wrote: Hello! After upgrade dpkg-divert migrate from /usr/sbin to /usr/bin, tiger complain about

Bug#735377: 3.0 (native) silently ignores many binary files by default.

2014-01-15 Thread Raphael Hertzog
Control: retitle -1 document how to un-ignore files ignored by default in 3.0 (native) and 3.0 (quilt) On Wed, 15 Jan 2014, peter green wrote: When attempting to build such a package using the 3.0 native format the source package build and binary package builds will succeed, but the source

Bug#735377: 3.0 (native) silently ignores many binary files by default.

2014-01-19 Thread Raphael Hertzog
Hi, On Sat, 18 Jan 2014, peter green wrote: Raphael Hertzog wrote: So yes, *.a, *.la, *.o and *.so are ignored by default in native source package and this is is so for as long as I can remember. Afaict if I leave a .so or similar file in the source tree (and don't override anything

Bug#739634: dpkg-maintscript-helper supports always returns 1

2014-02-21 Thread Raphael Hertzog
On Fri, 21 Feb 2014, Eugen Dedu wrote: Sorry to ask again: why do these commands fail if no env var is set? Because they need to know in which maintainer script they are called and they need to know the package that they are acting on. Without this, they can't do the work they're supposed to

Bug#746450: dpkg-dev: New make breaks dpkg-buildpackage test for existence of targets

2014-04-30 Thread Raphael Hertzog
Hi, On Wed, 30 Apr 2014, Manoj Srivastava wrote: Of the 73 packages that failed, 10 were due to a known incompatibility, which has been fixed. About 20 or so were due to various issues i the package, unrelated to this report. However, 40 packages failed to build due to the new make

Bug#747088: python-appdirs: Upgrade failure

2014-05-06 Thread Raphael Hertzog
Control: reassign -1 python-appdirs 1.3.0-1 Control: severity -1 serious On Tue, 06 May 2014, Benjamin Drung wrote: Uninstalling the package (and everything that depends on it :( ) and reinstalling does work around the problem, and now the .egg-info item is a directory. This looks like a

Bug#677865: dpkg-gencontrol warns about 'File::FcntlLock not available'

2014-05-14 Thread Raphael Hertzog
Hi, On Tue, 13 May 2014, Gerfried Fuchs wrote: This also affects a cowbuilder chroot and ends up in its build logs. Either it is needed, then it should be a Depends, or not, then it shouldn't blabber about it and end up in build logs. Yes, installing something in a pbuilder/cowbuilder

Bug#756964: dpkg-dev: dpkg-source cannot handle -p2 addition in debian/patches

2014-08-04 Thread Raphael Hertzog
Hi, On Mon, 04 Aug 2014, Norbert Preining wrote: Umpf, not very convenient. Is there any particular reason for that? Standardization. As you say it's a convenience feature that just makes it more complicated to everybody else that righfully expects -p1 patches. I often cherry pick from

Bug#756975: dpkg-genchanges option to only include arch:all debs

2014-08-09 Thread Raphael Hertzog
Hi, On Sat, 09 Aug 2014, Joey Hess wrote: An added wrinkle is that -S doesn't build arch specific debs at all, of course, but a responsible user of this new DAK feature will want to build debs, lintian and test the locally, but not upload them. I think this calls for more than a generic

Bug#32877: Patch: cleaned up and applied previous patch

2014-08-14 Thread Raphael Hertzog
Hi, On Sat, 12 Jul 2014, Felix Berlakovich wrote: I applied the patch from Vasily i. Redkin to version 1.17.10 (and moved a redundant part into an own function). BTW his patch works great. I did this in preparation for a possible threeway merge improvement. Is there still any interest in

Bug#759404: dpkg-source: base timestamp of patched files on debian/changelog

2014-08-29 Thread Raphael Hertzog
Hi, On Thu, 28 Aug 2014, Niko Tyni wrote: In the scope of just the source package, it seems possible for dpkg-source to remember the latest timestamp it has extracted and notice if that's newer than the debian/changelog timestamp. dpkg-source delegates most of the extraction to tar so it

Bug#759754: Updating doc about handling conffile with debian/package.maintscript instead of {post,pre}[rm,inst} files

2014-09-18 Thread Raphael Hertzog
Hi, On Thu, 18 Sep 2014, Joseph Herlant wrote: I think the DpkgConffileHandling of the wiki would also be great as it currently don't even mention that debian/package.maintscript file. It's a wiki, you should have fixed it yourself. But in this case, it already had a mention, I just extended

Bug#767999: base-files: fails to install with pre-jessie debootstrap

2014-11-07 Thread Raphael Hertzog
On Fri, 07 Nov 2014, Guillem Jover wrote: I'm going to revert the commit above (only in 1.17.x, it will be kept in 1.18.x), because it is very minimal, just reintroduces again an unnecessary package queue stage, and such regression is acceptable if it makes buggy bootstrappers work again. But

Bug#769520: dpkg-dev: debuild clean fails to first apply patches to source in quilt 3.0 format

2014-11-14 Thread Raphael Hertzog
On Fri, 14 Nov 2014, Faheem Mitha wrote: The subject line says it all. I noticed today that if the patches in debian/patches are not applied, then debuild clean does not apply them, and if a patch is required to run clean successfully, then clean fails. Included is the clean section

Bug#769520: dpkg-dev: debuild clean fails to first apply patches to source in quilt 3.0 format

2014-11-14 Thread Raphael Hertzog
On Fri, 14 Nov 2014, Faheem Mitha wrote: Hi Raphael, Ok, if you don't think it is a bug, please close it. I'll let Guillem do that if he agrees with me. If you can take a moment, can you advise me what the correct approach to handling this should be? Just make sure to push the patches

Bug#769843: dpkg-maintscript-helper: Wrong pre-dependency information in man page

2014-11-21 Thread Raphael Hertzog
Hi, On Fri, 21 Nov 2014, Stefan Fritsch wrote: On Monday 17 November 2014 01:43:46, Guillem Jover wrote: I've fixed this now locally by bumping the version for both symlink commands to just 1.17.14, which avoids translation work, and targetting 1.17.22. Thanks. It seems a build-depends

Bug#775124: dpkg-statoverride with unknown group breaks any subsequent package installation

2015-01-12 Thread Raphael Hertzog
On Sun, 11 Jan 2015, Andreas Beckmann wrote: another case where a corruption could be left after removal is * preinst/postinst creates a user and a statoverride * prerm/postrm removes the user but leaves the statoverride = statoverride file will be corrupted only after removal (purge?) of

Bug#735377: 3.0 (native) silently ignores many binary files by default.

2016-04-27 Thread Raphael Hertzog
On Tue, 26 Apr 2016, Holger Levsen wrote: > Having done this, I checked my ~/.devscripts and found this: > > DEBUILD_DPKG_BUILDPACKAGE_OPTS="-uc -us -I -i" > > Is this why? Yes. -I and --tar-ignore in debian/source/options are cumulative. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support

Bug#836211: dpkg: Cannot upgrade some packages on overlayfs: Invalid cross-device link

2016-09-02 Thread Raphael Hertzog
Hi, On Wed, 31 Aug 2016, Felipe Sateler wrote: > I don't know what the correct workaround should be. Just for the record, the attached patch is what we use in Kali to work-around this problem. It works but it's not going to be merged in Debian because we really want a fix at the overlayfs level

Bug#836211: dpkg: Cannot upgrade some packages on overlayfs: Invalid cross-device link

2016-09-02 Thread Raphael Hertzog
Hi, On Wed, 31 Aug 2016, Felipe Sateler wrote: > overlayfs does not support renaming directories when the directories > live in the lower filesystem: [...] > Unfortunately this means that dpkg fails at least in the case where a > directory is converted into a file: apt 1.3~rc2 moves >

Bug#843073: Debian Installer Stretch Alpha 8 release

2016-11-14 Thread Raphael Hertzog
Control: tag -1 + patch Control: severity -1 serious Hi Guillem, On Sun, 13 Nov 2016, Guillem Jover wrote: > > The /usr merge violates core assumptions in dpkg-shlibdeps. The reason > > that amd64 isn't broken is sheer luck. > > /etc/ld.so.conf.d/x86_64-linux-gnu.conf lists /lib before /usr/lib,

Bug#843073: Debian Installer Stretch Alpha 8 release

2016-11-21 Thread Raphael Hertzog
Hello Guillem, On Mon, 14 Nov 2016, Michael Biebl wrote: > Just for the record: I can confirm it fixes the problem in dpkg-shlibdeps. [...] > Guillem, it would be great if you can upload a fixed dpkg soon. A full week went by already. What's your plan? I can offer to upload dpkg 1.18.15.1 to

Bug#843073: Debian Installer Stretch Alpha 8 release

2016-11-21 Thread Raphael Hertzog
On Mon, 21 Nov 2016, Guillem Jover wrote: > Oh, and forgot to mention, this issue has been known for over 8 > months, and now there's this need to be pushy and rush things, etc. > I certainly do not appreciate that. I have not been involved in this project so I don't know its history but #843073

Bug#134758: dpkg -S and symlinks

2016-12-12 Thread Raphael Hertzog
Hi, Now that some users enabled "usrmerge" it has become more important that "dpkg -S" deals sensibly with symlinks. I have thus raised the severity of this bug to important (following the discussion with Helmut in #843073). Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS:

Bug#843073: Debian Installer Stretch Alpha 8 release

2016-12-12 Thread Raphael Hertzog
Control: tag -1 + patch Control: severity 134758 + important I add the patch tag back because this bug is about "dpkg-shlibdeps" being broken by usrmerge. Not about dpkg -S being broken. I agree that dpkg -S ought to be fixed too... but this corresponds to bug #134758. I'm thus raising the

Bug#849913: dpkg-shlibdeps: searches wrong architecture libraries

2017-01-05 Thread Raphael Hertzog
Hi Helmut, On Tue, 03 Jan 2017, Helmut Grohne wrote: > No, because using binutils-multiarch is broken. Whenever a new > architecture is brought up, binutils-multiarch lacks support for it. Ok, that makes sense. > > That would let us use objdump to inspect any library and let > > dpkg-shlibdeps

Bug#849913: dpkg-shlibdeps: searches wrong architecture libraries

2017-01-02 Thread Raphael Hertzog
Hi Helmut, On Mon, 02 Jan 2017, Helmut Grohne wrote: > while working on #843073, we agreed to merge Raphaël's patch on the > provision that we would revert it if it causes breakage. Unfortunately, > that actually happened. It breaks build cross compilers (stage3): > >

Bug#945131: dpkg: implement a way to wait to detect whether dpkg is running

2019-11-23 Thread Raphael Hertzog
On Fri, 22 Nov 2019, Guillem Jover wrote: > That still does not explain why this needs to be done outside the dpkg's > execution context, though? I don't know any point in dpkg's execution context where we are sure that we will not install/remove other packages later on. > Triggers right now

Bug#945131: dpkg: implement a way to wait to detect whether dpkg is running

2019-11-20 Thread Raphael Hertzog
Hi, On Wed, 20 Nov 2019, Guillem Jover wrote: > > To achieve this in a more elegant way, could you possibly implement some > > "dpkg --is-running" test ? And/or maybe "dpkg --wait-lock-release" or > > something similar ? > > I'm not sure I understand why this is not done say via a trigger >

Bug#945131: dpkg: implement a way to wait to detect whether dpkg is running

2019-12-18 Thread Raphael Hertzog
On Wed, 18 Dec 2019, Guillem Jover wrote: > > We could add hundreds of path-based triggers, one for each binary that we > > reference in our desktop files but we would likely miss any path > > change... and it would be a bit tedious to maintain. > > I checked the kali package, and the solutions

<    3   4   5   6   7   8   9   >