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

Bug#804070: texlive-bin: FTBFS when built with dpkg-buildpackage -A



On Thu, Nov 05, 2015 at 08:13:21AM +0900, Norbert Preining wrote:
> > Moreover, according to sbuild, the (failed) build needed 30 minutes
> > and 1 GB of disk space. That's certainly suboptimal considering that
> > the only architecture-independent package generated by this source
> > package has just three files:
> 
> Well, but this is what is supposed to do when we have to 
> provide upgrade path, so that is not a reason to complain, but
> a failure - or problem with the separate arch=all builder, and
> not a bug in the package.

dh is just a framework for maintainers to write simplified
debian/rules. If dh did not exist, you would probably do this:

build-arch:
	build the arch-dependent packages using the required amount
	of time and disk space

build-indep:
	build luatex in less than 10 seconds
	In fact, do nothing, as there is really nothing to "build"
	for an empty dummy package.

But this, if required, may and should be translated to "dh" language,
for example, using the -indep and -arch overrides:

override_dh_auto_build-indep:
	Do nothing

In other words: If you still wanted to generate "Arch: all" luatex
in less than 10 seconds when building with "dpkg-buildpackage -A",
you could still do it with dh.

Thanks.


Reply to: