Bug#606825: mingw-w64 triplets/ostable

2019-12-30 Thread Jonathan Nieder
Hi Stephen, Stephen Kitt wrote: > We still need to figure out how to handle the triplet. There are multiple > goals, from end users’ perspectives, some conflicting: > > * provide a Windows cross-compiler with a good selection of libraries, within > Debian, so that it’s easy to build Windows

Bug#918030: please provide DEB_HOST_UNAME_MACHINE

2019-01-02 Thread Jonathan Nieder
Hi, Helmut Grohne wrote: > I find myself repeating a mapping from Debian architectures to the > typical output of uname -m (and occasionally -s) in various packages. > Copying such code is going to be a maintenance nightmare, so it should > live somewhere central. I propose

Bug#909754: dpkg -l now always pipes to less and ignores $COLUMNS

2018-10-02 Thread Jonathan Nieder
Hi, Guillem Jover wrote: > So, first, thanks for the constructive proposals! But I'd rather not > revert this change. I'm happy to implement anything sane people might > find useful to cope with such change. This includes the following > changes which I've started coding: > > * DPKG_PAGER

Bug#877688: libdpkg-perl: dpkg-source requires git to use 3.0 (git) format

2017-10-04 Thread Jonathan Nieder
Hi, Nicholas Brown wrote: > /usr/share/perl5/Dpkg/Source/Package/V3/Git.pm regularly calls out to git > using > "system('git'," yet libdpkg-perl does not Require or even Recommend that > Git is installed. > > This makes using dpkg-source with the 3.0 (git) format fail, for example in a >

Bug#483997: dpkg: please allow for a mechanism to specify postinst ordering beyond Depends:

2014-09-02 Thread Jonathan Nieder
Hi, Petter Reinholdtsen wrote: [Guillem Jover] I've not checked those bug reports, but I'm assuming that the package might also fail in case apache2 is not installed at all? Or how do you handle that case? And the subsequent missing configuration when apache2 gets installed later on? For

Bug#733746: dpkg-source - can't build with source format '3.0 (quilt)' when version number is 1.0.0

2014-01-02 Thread Jonathan Nieder
forcemerge 733746 719348 # confusing error message severity 733746 minor quit Hi, Thomas Mayer wrote: pd-purest-json (1.0.0) UNRELEASED; urgency=low Is this a native package? (See [1] for what I mean.) Curious, Jonathan [1]

Bug#592839: dpkg-source option to remove files on unpack: debian/source/remove-files

2013-09-03 Thread Jonathan Nieder
Hi, David Bremner wrote: [Subject: please consider it anyway, even if useless for non-free files] Please keep in mind that these emails appear in a crowded inbox, so the subject line can be a good place to put valuable context. It is sometimes convenient to keep files deleted in the

Bug#719844: dpkg-source: Make compresing of {data,control}.tar.gz a deterministic process

2013-08-31 Thread Jonathan Nieder
Hi, Jérémy Bobbio wrote: Guillem Jover: For example, in the generated data.tar the files will contain different modification times, some will come untouched from the source files if they just get copied, and others will be newer if the files got created at build time. Preserving these

Bug#708830: dpkg: colourise dpkg output

2013-05-20 Thread Jonathan Nieder
Hi, Christoph Anton Mitterer wrote: - Preparing to replace foo 1.0 (using .../foo_2.0-1_amd64.deb) ... Unpacking replacement foo ... - Setting up foo (2.0-1) ... but also the less oftem messages like: - (Reading database ... ?% - Processing triggers for ? Quite frankly, these are

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

2013-05-04 Thread Jonathan Nieder
Guillem Jover wrote: ... I'm attaching a small tentative patch, on the best place I could find, just in case. I think it belongs in section issues.dbk: Sometimes, changes introduced in a new release have side-effects we cannot reasonably avoid, [...] Ideally it should be

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

2013-04-10 Thread Jonathan Nieder
severity 703092 important quit Hi, Norbert Preining wrote: [Subject: setting this to critical] Please keep in mind that these appear as emails in a crowded inbox, where a subject line can provide valuable context. It might look harmless, but we do *NOT* want to release Debian with a dpkg

Bug#657627: Improve dpkg-buildflags manpage

2013-04-08 Thread Jonathan Nieder
Guillem Jover wrote: Ok, I've merged these two patches with some modifications Looks good. Thanks for taking care of it. Regards, Jonathan -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Bug#698957: dpkg poorly handles dependencies with | operator

2013-01-25 Thread Jonathan Nieder
Hi Maurizio, Maurizio Oliveri wrote: Of course, dpkg --get-selections | grep gnome-terminal returns gnome-terminal install. What is the output of dpkg --configure -a? Regards, Jonathan -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of unsubscribe.

Bug#682659: dpkg-buildflags: Please add -Wall to CFLAGS

2013-01-25 Thread Jonathan Nieder
Guillem Jover wrote: Some packages might be using -Werror, adding -Wall might cause FTBFS, please see the recently created FAQ [0] for the procedure to follow to add a new flag to the default set. When working with upstream projects that don't use -Wall, adding it can create a lot of noise

Bug#698999: Links to the Policy for dpkg's manual pages.

2013-01-25 Thread Jonathan Nieder
), The link should go in the SEE ALSO section, not the EXAMPLES section. With that tweak Reviewed-by: Jonathan Nieder jrnie...@gmail.com Thanks. -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Bug#692164: dpkg-source should throw an error on quilt format packages with upstream tarballs already containing a .pc directory

2012-11-03 Thread Jonathan Nieder
retitle 692164 dpkg-source -x: upstream .pc directory prevents patch application severity 692164 normal quit Hi Michael, Michael Gilbert wrote: Hi, dpkg-source will have trouble dealing with upstream tarballs containing pre-existing .pc directories. For example, see:

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

2012-10-29 Thread Jonathan Nieder
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 User-Agent field? For display and theming? To

Bug#691449: dpkg-buildflags should have an export mode for shell scripts

2012-10-29 Thread Jonathan Nieder
Guillem Jover wrote: On Sun, 2012-10-28 at 02:53:57 -0700, Jonathan Nieder wrote: Here's another try at putting it in the description of --export. What do you think? Certainly an improvement, although I'm not yet sold on the embedded examples, it would probably also make more sense

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

2012-10-29 Thread Jonathan Nieder
Raphael Hertzog wrote: Surely you don't have to invent X ways to identify the OS just because you want to identify it in different contexts? Yes, I think this is where we disagree. Using a single source is just a better design that avoids mistakes where /etc/dpkg/origins/default says Debian

Bug#691449: dpkg-buildflags should have an export mode for shell scripts

2012-10-28 Thread Jonathan Nieder
it in the description of --export. What do you think? Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- man/dpkg-buildflags.1 | 35 +-- 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/man/dpkg-buildflags.1 b/man/dpkg-buildflags.1 index ea61306b

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

2012-10-28 Thread Jonathan Nieder
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 clearer, and if other programs make use of files with

Bug#691449: dpkg-buildflags should have an export mode for shell scripts

2012-10-27 Thread Jonathan Nieder
it uses double quotes ('') around arguments that might contain spaces. Any additional escaping (e.g., '\' before spaces) would be passed through to configure and break the build. How about this patch? Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- man/dpkg-buildflags.1 | 18

Bug#691449: dpkg-buildflags should have an export mode for shell scripts

2012-10-25 Thread Jonathan Nieder
Hi Matthias, Matthias Klose wrote: A lot of rules files uses loops around configure calls, however there's no export mode which escapes the spaces in the output. Please add one. The sh mode won't work either for this case. Doesn't set -e; \ eval $$(dpkg-buildflags

Bug#689062: dpkg-dev: Need to add support for Built-Using to dpkg-shlibdeps or new similar tool

2012-09-29 Thread Jonathan Nieder
Hi, Nicholas Bamber wrote: Sorry yes I did not mean to imply that there was a copyright issue with the inclusion of debhelper fragments in maintenance scripts, just an example of techincally it might happen. The policy explicitly mentions incorporating source code. Based on

Bug#685378: qt4-x11: Conflict due to different package version while update

2012-08-20 Thread Jonathan Nieder
reassign 685378 src:qt4-x11 4:4.8.2-2 forcemerge 684556 685378 quit Hi Benedikt, Benedikt Spranger wrote: Unpacking replacement libqtcore4:amd64 ... dpkg: error processing /var/cache/apt/archives/libqtcore4_4%3a4.8.2-2+b1_amd64.deb (--install): trying to overwrite shared

Bug#606825: mingw-w64 triplets/ostable

2012-08-13 Thread Jonathan Nieder
Hi, Guillem Jover wrote: The main issue I have with this request is that the upstream triplet just seems wrong, as it encodes part of the ABI in the vendor field. That's AFAIR, from reading the thread back then. For dpkg tools the vendor is irrelevant, and having to take it into account

Bug#606825: mingw-w64 triplets/ostable

2012-08-11 Thread Jonathan Nieder
Hi Stephen, Stephen Kitt wrote: [...] I've added tests to deactivate stack protector and relro on Windows, Good. Thanks much for that. and more controversially I've added x86 and x64 entries in cputable. I think that's a

Bug#684625: dpkg: Broken upgrade with multiarch and binNMU

2012-08-11 Thread Jonathan Nieder
block 684625 by 681289 # difficult severity 684625 wishlist quit Hi Nelson, Nelson A. de Oliveira wrote: dpkg: error processing /var/cache/apt/archives/libqtcore4_4%3a4.8.2-2+b1_amd64.deb (--unpack): trying to overwrite shared '/usr/share/doc/libqtcore4/changelog.Debian.gz', which is

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

2012-07-04 Thread Jonathan Nieder
Hi Raphael, Raphael Hertzog wrote: I'm also not sure that there's any nicer solution... this feature has been there to ease the transition between 1.0 and 3.0 (quilt) mainly. I was not expecting that people would continue to create new packages where patches would be pre-applied without the

Bug#671074: dpkg-buildpackage: option for building multiple times in a row

2012-07-02 Thread Jonathan Nieder
Hi again, Jakub Wilk wrote: * Jonathan Nieder jrnie...@gmail.com, 2012-05-01, 13:22: I'm not convinced this is worth a dpkg-buildpackage option on its own. Well, I am. Good, now our positions are staked out. Hopefully it is possible to take care of all our needs without interfering

Bug#671074: dpkg-buildpackage: option for building multiple times in a row

2012-07-02 Thread Jonathan Nieder
Jakub Wilk wrote: * Jonathan Nieder jrnie...@gmail.com, 2012-07-02, 09:24: In case (a), wouldn't you only need to patch one builder (namely the one you use), Is this a polite way of saying nobody else but you would use this feature anyway? No. I said before that the proposed feature would

Bug#676122: gnome-doc-tools: Does not register itself in /etc/sgml/catalog (Re: still not fixed)

2012-06-17 Thread Jonathan Nieder
Miroslav Suchý wrote: Negative. I run update-catalog --update-super. The build is still failing with the same error. Ok, thanks. What indicates that this is the same bug? If it's the same bug, then reopening would be the right thing, but if I understand http://bugs.debian.org/675613

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

2012-06-17 Thread Jonathan Nieder
Guillem Jover wrote: On Sun, 2012-06-17 at 13:02:31 +0200, Julien Cristau wrote: dpkg-gencontrol makes annoying noise like this: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe Please silence it. But you can silence it yourself, by installing

Bug#521813: lapack: update-alternatives breaks application linking

2012-06-16 Thread Jonathan Nieder
Hi Sylvestre, Sylvestre Ledru wrote: I will be very happy to have help (or a patch) for this bug. There is a patch at http://bugs.debian.org/638236#10. Anything more flexible will require infrastructure that does not exist. What do you think should be done? Thanks, Jonathan -- To

Bug#676122: gnome-doc-tools: Does not register itself in /etc/sgml/catalog (Re: still not fixed)

2012-06-16 Thread Jonathan Nieder
Hi, Miroslav Suchý wrote: [Subject: Re: Bug#676122: still not fixed] Please keep in mind that these appear as emails in a crowded inbox, so the subject line can be a good place to put valuable context. I'm still getting the error. [...] nsgmls:/etc/sgml/gnome-doc-tools.cat:8:8:E: cannot

Bug#677631: libdpkg-perl: Dpkg::Source::Package assumes $ENV{'HOME'} is defined

2012-06-15 Thread Jonathan Nieder
'} and -r $ENV{'HOME'}/.gnupg/trustedkeys.gpg) { push @exec, --keyring, $ENV{'HOME'}/.gnupg/trustedkeys.gpg; For what it's worth, Reviewed-by: Jonathan Nieder jrnie...@gmail.com The house style would be to use if ($ENV{'HOME}' and -r ... but I think the behavior here is better anyway

Bug#627333: start-stop-daemon: Would like to be able to redirect IO of daemon process

2012-06-15 Thread Jonathan Nieder
Marc Haber wrote: On Thu, May 19, 2011 at 05:05:33PM +0100, Nicholas Bamber wrote: It would be nice to have --stderr, --stdout and --stdin options to control the IO of the daemon process. +1! Can you say a little more? What daemon, what workaround are you using instead, can you think of

Bug#676874: ghc fails to configure after install (update-alternatives priority out of range)

2012-06-14 Thread Jonathan Nieder
Joachim Breitner wrote: An in case this bug now hinders the migration that mehdi set up for today: The severity does seem inflated. Luckily it doesn't hinder migration since it is not a new bug (debbugs shows the version in testing as already affected). [...] (Doesn’t

Bug#676874: ghc fails to configure after install (update-alternatives priority out of range)

2012-06-10 Thread Jonathan Nieder
clone 676874 -1 found 676874 dpkg/1.16.4 reassign -1 ghc 7.4.1-3 found -1 ghc6/6.4-1 retitle -1 ghc: update-alternatives priority out of range quit Joachim Breitner wrote: Am Sonntag, den 10.06.2012, 22:05 +0200 schrieb Guillem Jover: OTOH I honestly don't see the danger in lowering the

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

2012-06-08 Thread Jonathan Nieder
P. J. McDermott wrote: As mentioned previously by Wookey and Jonathan, staged binary packages should be marked as such in their control files so they aren't accidentally uploaded to the archive as complete packages. To this end, I propose the addition of a new Build-Stage: N (or similar)

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

2012-06-08 Thread Jonathan Nieder
Wookey wrote: an uploadable build should always be done against complete build-deps - anything built against 'staged' packages must be considered 'tainted'. Sounds good. If I understand correctly: * dpkg-checkbuilddeps: in a stage-N

Bug#675979: dpkg-buildpackage does not always support building twice in a row

2012-06-05 Thread Jonathan Nieder
retitle 675979 dpkg-buildpackage: --no-unapply-patches should be the default severity 675979 wishlist block 675979 by 643043 tags 675979 + wontfix quit Santiago Vila wrote: On Mon, 4 Jun 2012, Jonathan Nieder wrote: Thanks again for explaining, and sorry for the ramble. I think

Bug#675979: dpkg-buildpackage does not always support building twice in a row

2012-06-05 Thread Jonathan Nieder
Santiago Vila wrote: Hmm, why do you say that the usual case does not involve modifying any source files? Sorry, I was probably unclear. I meant that running debian/rules binary usually does not cause source files to be modified. There is one exception I know of: some build systems run

Bug#675979: dpkg-buildpackage does not always support building twice in a row

2012-06-04 Thread Jonathan Nieder
Hi Santiago, Santiago Vila wrote: The problem is that at the same time, dpkg-buildpackage seems to unapply the patches *after* building the package, when the source tree is full of executables, objects, Makefiles and so on. This is when a disaster might happen, as some of the patches might

Bug#675979: dpkg-buildpackage does not always support building twice in a row

2012-06-04 Thread Jonathan Nieder
Santiago Vila wrote: I see it as an inconsistent state which does not make any sense. As far as I can tell, most people starting from the patches-unapplied state keep that form in version control. If the build does not involve modifying any source files (the usual case), they can use usual

Bug#674711: dpkg-deb -b: allow compression strategy (-S) to be unset by later parameters

2012-05-29 Thread Jonathan Nieder
Guillem Jover wrote: On Sat, 2012-05-26 at 16:03:01 -0500, Jonathan Nieder wrote: dh_builddeb -- -Zgzip -z9 dpkg-deb: building package `btrfs-tools' in `../btrfs-tools_0.19+20120328-1_amd64.deb'. dpkg-deb: building package `btrfs-tools-dbg' in `../btrfs-tools-dbg_0.19+20120328-1_amd64

Bug#674711: dpkg-deb -b: allow compression strategy (-S) to be unset by later parameters

2012-05-26 Thread Jonathan Nieder
. (For example, maybe the first -Z option should not reset the strategy, while later ones would? I can imagine the result being very confusing.) So I don't want to see this patch applied as is, but perhaps it can provide some amusement. What do you think? Signed-off-by: Jonathan Nieder jrnie

Bug#673190: dpkg-query: --list should add arch suffix to all foreign arch packages

2012-05-16 Thread Jonathan Nieder
Hi, Guillem Jover wrote: On Wed, 2012-05-16 at 22:04:30 +0200, Carsten Hey wrote: dpkg-query --list should add arch suffix to all foreign arch packages. [...] single-instanced packages should not really be arch-qualified because there will always only be a single instance Would it

Bug#671074: dpkg-buildpackage: option for building multiple times in a row

2012-05-01 Thread Jonathan Nieder
Hi Jakub, Jakub Wilk wrote: The attached patch adds option to build package multiple times in a row. This is useful for testing correctness of the clean target. The patch looks noisy, because I had to indent a few dozen of lines; but other than that, it adds just a few lines. If case you

Bug#670607: dpkg --configure fails with multiarch, interpreting those as ambiguous package names

2012-04-27 Thread Jonathan Nieder
reassign 670607 apt 0.8.15.10 # making the bug more visible to avoid dups severity 665727 important forcemerge 665727 670607 quit Hi Steffen, Steffen Moeller wrote: To update a package that is available both as amd64 and i386 on my machine, dpkg fails as in [...] dpkg: error: --configure

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

2012-04-23 Thread Jonathan Nieder
jaalto wrote: It looks like Emacs diff-mode does something to it on save. That makes sense and is analagous to Guillem's mangling-by-mail- client guess. Thanks and sorry for the noise. (I was trying to see if git had started misbehaving in some circumstance.) Jonathan -- To UNSUBSCRIBE,

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

2012-04-22 Thread Jonathan Nieder
jaalto wrote: On 2012-04-22 21:52, Guillem Jover wrote: | but it seems | to me those are just somewhat bogus anyway, did you manually create | that patch or maybe it was extracted from a mail client that mangles | the body (evolution for example)? It was straight diff from git 1.7.10:

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

2012-04-13 Thread Jonathan Nieder
Wookey wrote: (out of order for convenience) Attached is a slightly better version which is at least useful enough to work with. Thanks. What did you think of Raphaël's idea of the virtual bootstrap-stage package? Won't there be need for a Build-Conflicts-Stage1, too? [...] I've been

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

2012-04-12 Thread Jonathan Nieder
tags 661538 - patch quit Gustavo Prado Alkmim wrote: Patch updated to work on dpkg-1.16.2. Same comments as before apply. Hope that helps, Jonathan -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Bug#667843: dpkg: error ambiguous package name during upgrade to multiarch package

2012-04-06 Thread Jonathan Nieder
reassign 667843 apt 0.8.15.10 forcemerge 665727 667843 quit Hi, Flavio Stanchina wrote: The plan was to find a couple of packages that I don't normally use, with a small set of dependencies, and try to install the i386 version of those packages on amd64. The

Bug#667037: dpkg: please add x32 abi to triplettable

2012-04-04 Thread Jonathan Nieder
Hi Helmut, Helmut Grohne wrote: On IRC Steve Langasek pointed out that some part of the difference resides in the architecture-kernel part. You cannot run a x32 binary on an arbitrary x86_64 linux kernel Yes, that's true. The kernel needs CONFIG_X86_X32_ABI set. There are all sorts of

Bug#664964: redundant format security flags

2012-03-21 Thread Jonathan Nieder
Hi Peter, Peter Eisentraut wrote: The format security flags offered by dpkg-buildflags are CFLAGS/CXXFLAGS=-Wformat -Wformat-security -Werror=format-security [...] Please remove -Wformat-security from the default configuration. I suspect the intent is to allow

Bug#664557: dpkg tar dependency

2012-03-18 Thread Jonathan Nieder
forcemerge 642802 664557 quit Hi László, Szalma László wrote: Upgrading dpkg 1.15.8.12 to dpkg_1.16.1.2_i386.deb breaks all package installation, because further package install fail with: tar: --warning=no-timestamp switch unknown (translated back to English) Yes, this is

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

2012-02-27 Thread Jonathan Nieder
Hi, Wookey wrote: Cyclic build-dependencies are a big problem in Debian, which make new ports very difficult, or rebuilds for other reasons such as hardware optimisations. Thanks very much for working on this. I'll let others talk about any thorny design issues. :) I just have a couple of

Bug#655411: Compat vsnprintf implementation subject to race condition

2012-01-10 Thread Jonathan Nieder
found 655411 dpkg/1.16.1.2 # doesn't affect Debian architectures severity 655411 wishlist quit Hi, dan...@ruoso.com wrote: The implementation of vsnprintf in the compat library uses and caches the file descriptor for a temporary file. If the vsnprintf function is called before a fork, two

Bug#655411: [dan...@ruoso.com: Re: Compat vsnprintf implementation subject to race condition]

2012-01-10 Thread Jonathan Nieder
[Just forwarding to the correct bug. :)] ---BeginMessage--- Jonathan Nieder jrnie...@gmail.com escreveu: Yeah, that's true. Maybe it would be worth dropping the !HAVE_VSNPRINTF fallback altogether, or we could use one of the many implementations of vsnprintf available under GPL-compatible

Bug#655411: Compat vsnprintf implementation subject to race condition

2012-01-10 Thread Jonathan Nieder
Guillem Jover wrote: I'm committing a fix, that still uses a cached file per process. Thanks, that makes sense. Sorry, I should think more before throwing things out like that atfork suggestion. Thanks and sorry for the noise. Jonathan -- To UNSUBSCRIBE, email to

Bug#654905: Cannot configure dpkg-dev, complains about tar --warning

2012-01-06 Thread Jonathan Nieder
severity 654905 normal notfound 654905 dpkg/1.15.8.8 found 654905 dpkg/1.16.1.2 merge 642802 654905 quit Hi Raphael, Raphael Manfredi wrote: The following happens when I attempt to install 1.16.1.2: tar: unrecognized option `--warning=no-timestamp' Try `tar --help' or `tar --usage' for more

Bug#620958: Cannot configure dpkg-dev, complains about tar --warning

2012-01-06 Thread Jonathan Nieder
found 620958 dpkg/1.16.1.2 quit Hi Raphael, Raphael Manfredi wrote: dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 1682 package 'sudo': missing architecture What do I need to do to fix these warnings Reinstalling sudo (and any other packages that have the missing

Bug#620958: dpkg outputs tons of new warning messages with no obvious way to fix them

2012-01-06 Thread Jonathan Nieder
Raphael Manfredi wrote: I wrote a little perl script to do the conversion. God bless you for using a text file for the database and not some binary format: --- #!/usr/bin/perl use strict; my @lines; my $seen_arch = 0; while () { push (@lines, $_);

Bug#613428: dpkg --force-unsafe-io still calls fsync()

2012-01-02 Thread Jonathan Nieder
Petter Reinholdtsen wrote: The users of --force-unsafe-io seem to be those that [...] In retrospect, introducing --force-unsafe-io was probably a mistake. Making sure to always call a wrapper function that behaves just like fsync() but can be disabled would be a maintenance burden for almost no

Bug#653846: Please add an option for dpkg-buildflags to emit a different optimization level

2012-01-02 Thread Jonathan Nieder
Moritz Muehlenhoff wrote: Is the evaluation order of GCC options properly specified, i.e. is there a guarantee that -Os overrides the previous -O2 Yes. (From the manual: If you use multiple -O options, with or without level numbers, the last such option is the one that is

Bug#629480: dpkg: Add support for Build-Depends-Arch and Build-Conflicts-Arch

2012-01-01 Thread Jonathan Nieder
Roger Leigh wrote: On Sun, Nov 13, 2011 at 04:53:07PM -0600, Jonathan Nieder wrote: Roger Leigh wrote: New version attached. It includes your changes, plus the documentation fixes you suggested. Looks good to me. Super. If you need anything further, I'll be happy to do more work

Bug#653810: symbol lookup error: undefined symbol: Perl_Gthr_key_ptr

2011-12-31 Thread Jonathan Nieder
reassign 653810 ibritish-insane tags 653810 = moreinfo quit Hi Mark, Mark Hobley wrote: # dpkg -r ibritish-insane (Reading database ... 109559 files and directories currently installed.) Removing ibritish-insane ... /usr/bin/perl:

Bug#653834: dpkg: update-alternatives removing manually selected alternative on upgrade

2011-12-31 Thread Jonathan Nieder
reassign 653834 xfce4-session 4.8.2-1 quit Hi Arno, Arno Schuring wrote: I noticed the following when doing a regular safe-upgrade from aptitude: Preparing to replace xfce4-session 4.8.2-1 (using .../xfce4-session_4.8.2-2_i386.deb) ... update-alternatives: removing manually selected

Bug#653846: Please add an option for dpkg-buildflags to emit a different optimization level

2011-12-31 Thread Jonathan Nieder
Moritz Muehlenhoff wrote: One recurring issue I found in many rules files is that they're building with different optimization levels other than O2. In most cases it's -O3 or -Os. In such cases, maintainers have to query dpkg-buildflags and substitute the output with the optimitation level

Bug#649531: dpkg-buildpackage -Ttarget should call dpkg-source --before-build first

2011-11-22 Thread Jonathan Nieder
retitle 649531 dpkg-buildpackage -T: manpage should explain need to run dpkg-source --before-build first severity 649531 minor quit Raphael Hertzog wrote: I'm pretty sure we will have people complaining that debuild clean should also unapply the patches if they have been applied by the

Bug#649521: dpkg-dev: Patches got unapplied automatically, no way to turn this wierd behaviour off

2011-11-21 Thread Jonathan Nieder
Hi Robert, Robert Luberda wrote: While working on my package, I've noticed that the debuild -nc -b command no longer works properly - i.e. it recompiles almost everything instead of just use already built files. It's because dpkg-source automatically unapplied patches as a part of the

Bug#649521: dpkg-dev: Patches got unapplied automatically, no way to turn this wierd behaviour off

2011-11-21 Thread Jonathan Nieder
clone 649521 -1 retitle -1 dpkg-buildpackage -Ttarget should call dpkg-source --before-build first quit Robert Luberda wrote: I've just came up with another reason why the current behavious is wrong: let's imagine that maintainer modifies the clean action of upstream's Makefile (see the

Bug#649521: dpkg-dev: Patches got unapplied automatically, no way to turn this wierd behaviour off

2011-11-21 Thread Jonathan Nieder
retitle 649521 please add dpkg-buildpackage --no-unapply-patches, to keep patches applied severity 649521 wishlist unarchive 643043 forcemerge 649521 643043 quit Robert Luberda wrote: I can even modify my debuild script to do `quilt push -a', but it won't change the fact that unapplying

Bug#642608: /usr/bin/dpkg-gencontrol: Race condition with tempfile for parallel builds

2011-10-11 Thread Jonathan Nieder
Raphael Hertzog wrote: I have another idea to propose. Create debian/files.new with O_CREAT|O_EXCL and if it fails with EEXIST, sleep for Xms and try again. That sounds right to me fwiw. Fortunately dpkg-gencontrol opens $fileslistfile.new for writing before opening $fileslistfile for

Bug#644664: dpkg-architecture -aANYTHING displays warning about GNU system type

2011-10-07 Thread Jonathan Nieder
Hi, Tom Hughes wrote: [...] +++ b/scripts/Dpkg/Arch.pm @@ -66,11 +66,17 @@ my %debarch_to_debtriplet; return $ENV{DEB_BUILD_ARCH} || get_raw_build_arch(); } -sub get_gcc_host_gnu_type() -{ - return $gcc_host_gnu_type if defined $gcc_host_gnu_type; - - my

Bug#643043: dpkg: new feature breaks stuff, leaves meaningless option, leaves no way to override

2011-09-26 Thread Jonathan Nieder
Hi Nicholas, Nicholas Bamber wrote: The following change: * Changed dpkg-source --after-build to automatically unapply patches that it has applied during --before-build. causes a problem where the clean rules of the upstream makefile have been patched to ensure that the clean works.

Bug#643043: dpkg: new feature breaks stuff, leaves meaningless option, leaves no way to override

2011-09-26 Thread Jonathan Nieder
Jonathan Nieder wrote: Note that --after-build only unapplies patches when patches were applied during --before-build (as indicated by debian/patches/.dpkg-source-applied). For the confused: I should have said as indicated by .pc/.dpkg-source-unapply. Sorry for the noise

Bug#643043: dpkg: new feature breaks stuff, leaves meaningless option, leaves no way to override

2011-09-26 Thread Jonathan Nieder
Nicholas Bamber wrote: I maintain a package using git. So in the normal state in which I check stuff in the the patches are unapplied. The upstream makefiles happen to remake a number of files (to generate random numbers for security). Obviously I don't want to stop that, but I do want to

Bug#629480: dpkg: Add support for Build-Depends-Arch and Build-Conflicts-Arch

2011-09-25 Thread Jonathan Nieder
Roger Leigh wrote: I'm a bit busy for the next week (thesis submission), but I'll take care of all the points you've raised in early October as time allows, and I'll get an updated patch back to you. Thanks. Here's another tweak to consider when the time comes. With the proposed semantics,

Bug#642573: dpkg-buildflags: include $(getconf LFS_CFLAGS)?

2011-09-24 Thread Jonathan Nieder
Jonathan Nieder wrote: For example, dpkg itself doesn't seem to have large-file support. ... in squeeze. Looks like aspects of this were fixed in version 1.16.0. I'm not sure yet why the squeeze dpkg binary here has a reference to the (32-bit) open() function --- another pitfall

Bug#642573: dpkg-buildflags: include $(getconf LFS_CFLAGS)?

2011-09-24 Thread Jonathan Nieder
Steve Langasek wrote: On Sat, Sep 24, 2011 at 03:49:11PM -0500, Jonathan Nieder wrote: It also has a negative side-effect that Debian would no longer be doing its part to get #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 put directly in upstream's config.h when appropriate

Bug#629480: dpkg: Add support for Build-Depends-Arch and Build-Conflicts-Arch

2011-09-24 Thread Jonathan Nieder
found 629480 dpkg/1.16.1 quit Roger Leigh wrote: dpkg currently supports Build-Depends (arch all and any) Build-Depends-Indep (arch all) and the same Build-Conflicts. This patch adds Build-Depends-Arch (arch any) and Build-Conflicts-Arch. Sorry for the slow reply. Let’s see.

Bug#641602: -L and -c/--content should work on multiple .deb files

2011-09-14 Thread Jonathan Nieder
Hi Steffen, Steffen Moeller wrote: [Subject: -L and -c/--content should work on multiple .deb files] Actually, dpkg -L already works with multiple package arguments. ;-) $ dpkg -c ../build-area/*.deb dpkg-deb: error: --contents takes exactly one argument I just do not see why. Would you

Bug#635683: sid perl update problem with 5.12.4-2: text file busy

2011-08-12 Thread Jonathan Nieder
Niko Tyni wrote: From fsync(2): EBADF fd is not a valid file descriptor open for writing. *digs* Looks like that description was added between man-pages-1.10 (16-Jan-1996) and man-pages-1.11 (15-Apr-1996). From a look at Linux 0.99.10, I think fsync has just looked at the dirent and

Bug#635683: sid perl update problem with 5.12.4-2: text file busy

2011-08-12 Thread Jonathan Nieder
/changelog @@ -186,6 +186,16 @@ dpkg (1.16.1~jrn) local; urgency=low * Add new --raw-extract option to dpkg-deb combining --control and --extract. Closes: #552123 + [ Jonathan Nieder ] + * Defer installing hard links with their final name until the file has +been fsynced. This avoids

Bug#635683: [PATCH/RFC v3] Re: sid perl update problem with 5.12.4-2: text file busy

2011-08-12 Thread Jonathan Nieder
@@ dpkg (1.16.1~jrn) local; urgency=low * Add new --raw-extract option to dpkg-deb combining --control and --extract. Closes: #552123 + [ Jonathan Nieder ] + * Defer installing hard links with their final name until the file has +been fsynced. + * Open extracted files for reading

Bug#635683: [PATCH/RFC v3] Re: sid perl update problem with 5.12.4-2: text file busy

2011-08-12 Thread Jonathan Nieder
Jonathan Nieder wrote: To fix that, we should fsync() each file with multiple hard links only once and then rename all links, so the logic to skip fsync would be no longer needed. ... and here's a patch on top implementing that. --- debian/changelog | 13 ++--- src/archives.c

Bug#635683: [PATCH/RFC v3] Re: sid perl update problem with 5.12.4-2: text file busy

2011-08-12 Thread Jonathan Nieder
. Therefore open files for reading, not writing, before fsyncing them and only fall back to opening for writing if the system requires it. Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- debian/changelog |4 src/archives.c | 51 ++- 2

Bug#635683: sid perl update problem with 5.12.4-2: text file busy

2011-08-10 Thread Jonathan Nieder
and --extract. Closes: #552123 + [ Jonathan Nieder ] + * Open extracted files for reading, not writing, in order to fsync() them. +Otherwise the open can error out when preparing to rename a binary into +place that has a hard link already in use. Regression introduced in +1.15.6.1

Bug#636352: dpkg: no option to deretmine multiarch architecture

2011-08-03 Thread Jonathan Nieder
Michal Suchanek wrote: It's possible to take some random binary which is likely to be native (eg. /bin/sh), run ldd on it, and parse the output to determine what libc is actually used. But that's the point. Which libc is used depends on the binary. /bin/sh might be an i386 binary and /bin/ls

Bug#636352: dpkg: no option to deretmine multiarch architecture

2011-08-02 Thread Jonathan Nieder
Hi, Raphael Hertzog wrote: On Tue, 02 Aug 2011, Michal Suchanek wrote: Also you can have libraries for *both* subarchs and there is no way to tell on what arch you are actually running, /etc/ld.so.conf will surely include both. Sorry I have been a bit quick to close the report. But it's

Bug#606839: dpkg-buildflags: please provide a makefile snippet to set all build flags

2011-07-22 Thread Jonathan Nieder
Raphaël Hertzog wrote: dpkg-dev: add some common makefile snippets for use in rules files Hoorah! Thanks, Raphaël. -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Bug#633410: dpkg-trigger.1: does not explain trigger-name and command arguments

2011-07-10 Thread Jonathan Nieder
Raphael Hertzog wrote: There's no explicit list of value... a trigger name is just that, the name of a trigger. Can you suggest a wording that would make it clearer for you because I don't see what can be improved. Have you tried reading it as though you were a new packager, forgetting what

Bug#633406: dpkg-shlibdeps: error: couldn't find library libc.so.6

2011-07-10 Thread Jonathan Nieder
reopen 633406 reassign 633406 libc6 tags 633406 + moreinfo quit Raphaël Hertzog wrote: On Sun, 10 Jul 2011, Jameson Graef Rollins wrote: Maybe, or I'm just the first person to report it. If all builds were failing since a month, we would have noticed it. :-) That's true. But an upgrade

Bug#633406: dpkg-shlibdeps: error: couldn't find library libc.so.6

2011-07-09 Thread Jonathan Nieder
Hi, Jameson Graef Rollins wrote: dpkg-shlibdeps: error: couldn't find library libpthread.so.0 needed by debian/notmuch/usr/bin/notmuch (ELF format: 'elf64-x86-64'; RPATH: ''). What does ldd debian/notmuch/usr/bin/notmuch say? Thanks for reporting, Jonathan -- To UNSUBSCRIBE, email

Bug#633410: dpkg-trigger.1: does not explain trigger-name and command arguments

2011-07-09 Thread Jonathan Nieder
Package: dpkg Version: 1.16.0.3 Severity: minor Justification: documentation Files: /usr/share/man/man1/dpkg-trigger.1.gz Hi, Today I was looking to make a bug fix that would involve using dpkg-trigger in a maintainer script directly. So, to the manpage. It says: SYNOPSIS

Bug#620958: Add Architecture: all or (in my case) i386?

2011-07-07 Thread Jonathan Nieder
Hi, Raphael Hertzog wrote: The easiest solution for now is to purge the packages in config-files status. sudo aptitude purge ~c Make sure you don't need to keep the configuration of the affected packages though. And for the other affected packages you should just reinstall them. Thanks

Bug#628516: dpkg-buildflags: add some no-effect flags

2011-06-07 Thread Jonathan Nieder
Roger Leigh wrote: There's no reason why we can't add such a feature to sbuild. We could add a build environment hash to allow specific environment variables to be set when running dpkg-buildpackage (if this is what you're asking for?). That also sounds very interesting. I actually meant

  1   2   >