On Fri, 6 Apr 2018 13:45:25 -0400 Michael Jeanson <[email protected]> wrote: > On 2018-04-04 11:24, Helmut Grohne wrote: > > Source: popt > > Version: 1.16-11 > > Tags: patch > > User: [email protected] > > Usertags: rebootstrap > > > > popt fails to cross build from source, because its build dependency on > > api-sanity-checker is unsatisfiable. In general, Architecture: all > > packages can never satisfy cross Build-Depends unless marked Multi-Arch: > > foreign. In this case however, api-sanity-checker is entirely > > unnecessary, because it is only used for testing and we cannot test > > during cross builds anyway. Thus annotating the dependency with > > <!nocheck> is sufficient to get satisfiable cross Build-Depends again. I > > used reproducible builds to verify that this change does not affect the > > resulting binary packages. Please consider applying the attached patch. > > > > Helmut > > > > Hi, > > Thanks for the patch, I've applied it in git, I'll wait on some other > changes to upload unless this is blocking something on your side? > > Regards, > > Michael > >
Hi Michael,
Could I perhaps convince you to do an upload with this patch in time for
buster? It will enable us to remove one hack/work around in the
"bootstrap.sh" script currently in use for bootstrapping new
architectures (as well as improve our cross-building stats for buster).
Also, you mention that you have applied it in git but I cannot see it
in salsa (admittedly, I only checked the master branch). Have you
perhaps forgotten to push it?
If you would like some additional changes/improvements to popt (albeit
unrelated to this bug), then I can think of:
* The override for dh_auto_build might be redundant now that debhelper
passes --disable-silent-rules (as of debhelper/9.20140613)
* The popt looks like a package that might be able to build with
"Rules-Requires-Root: no" set in the Source in d/control.
- If that fails in sid because the upstream build system relies on
root, please set "Rules-Requires-Root: binary-targets" explicitly.
This will enable us to flip the default and make "(fake)root"
opt-in rather than opt-out in the future.
Thanks,
~Niels
signature.asc
Description: OpenPGP digital signature

