Hi Tomasz,

On Tue, Dec 15, 2015 at 11:49:29AM +0100, Tomasz Buchert wrote:
> I've reworked d/rules for nghttp2 a bit. Building of the doc/all
> package is now super-fast and can be omitted if arch-only build is
> done. Please take a look and let me know if it solves the problems for
> you:
> 
>   https://anonscm.debian.org/cgit/collab-maint/nghttp2.git/log/?h=indep-build

Thanks for putting up with the work right away. I thought that I tried
something pretty close to what you committed here and am unsure why I
gave up on that approach. Yet, if this version of the package builds
natively on buildds (i.e. arch-only) then it definitely solves the cross
woes already. The package in unstable crosses fine if you interpret
those Build-Depends in the right way (and pass -d to dpkg-buildpackage).

In general, the separation of indep is a benefit to buildd time
(especially if you are using source-only uploads), so I think the change
is useful beyond cross building and you should go ahead regardless of
whether we find a more general solution that also covers e.g. jansson.

> Moreover, note that jemalloc is a soft dependency of nghttp2 and may
> be dropped if it is causing problems.

jemalloc crosses fine once you know the value of je_cv_static_page_shift
and apply patch #807532. The former is annoying (as figuring this value
costs some time), but not a problem. As long as jemalloc generally
builds natively, I have no objections. You might want to widen the arch
restriction for hurd-i386 to hurd-any though, as we are in the process
of bootstrapping hurd-amd64.

Helmut

Reply via email to