[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#822110: odil: FTBFS when built with dpkg-buildpackage -A (chrpath fails)



On Fri, Apr 22, 2016 at 12:27:17PM +0200, Julien Lamy wrote:
> Le 22/04/2016 11:55, Mattia Rizzolo a écrit :
> > On Fri, Apr 22, 2016 at 11:14:16AM +0200, Julien Lamy wrote:
> > Have you really tested that `dpkg-buildpackage -B` (what is done on
> > arch-dep builds in buildds) and `dpkg-buildpackage -A` (for the -indep)
> > work as expected?
> 
> For the pbuilder setup, I used --binary-arch instead "--debbuildopts -B"
> as per their man page (it seem that they modify debbuildopts with more
> than just -B) and -A in a separate builds. I also tried directly with
> dpkg-buildpackage outside the pbuilder (both with -B and -A), and it
> behaves as expected.

The pbuilder in git gained a --binary-indep too since a couple of days,
btw :)

> This yields another question: should I switch from pbuilder to sbuild to
> be closer to the buildd setup?

well, I'm the pbuilder maintainer, I'm way too biased to reply to this
:P

> > From a quick glance on git, to me it seems that you forgot about the
> > override_dh_configure override (as you don't want it for -indep, but you
> > do for -arch).
> 
> This is by choice: since dh_configure is very fast for this package, I
> favored a smaller d/rules. If it's a bad choice, just tell me :-)

well, it's just a single line, but ok.  Since the dependencies are
installed anyway (as they are in Build-Depends) this is not a problem.

> > Also, it would imho be nice to have Build-Depends splitted on
> > Build-Depends-Arch too, but the support for it is pretty limited, and
> > only 5 packages in the whole archive currently use it, so maybe this is
> > not something to care about now :)
> 
> Since the wiki (https://wiki.debian.org/Build-Depends-Indep) says "There
> is currently no build-depends-arch field", I did not split the
> dependencies :-) But I'll keep this in mind for a later version.

Yeah, it's something very very new.
support in dpkg is quite old (since 1.16.4, 2012), sbuild supports it
since even before (!) (since fall 2011), pbuilder support is instead
very new (some months ago, I added it after we noticed failures in
reproducible testing, before i was not even aware of that field).

All in all, a bit more than 2 years are not that much in debian terms of
time :)
Then, it's not in debian policy yet, but debian policy lags way too much
behind reality to be considered for these cases...

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: