[pkg-lua-devel] Building the archive with make --shuffle
Santiago Vila
sanvila at debian.org
Fri Sep 13 00:08:04 BST 2024
Dear Lua Team:
Before I announce this widely I believe you might want to look at it first.
I've built trixie/sid using make's new --shuffle option from make 4.4.
This option is explained here by the author:
https://trofi.github.io/posts/238-new-make-shuffle-mode.html
As a result, I've detected more than 800 packages with makefile bugs:
https://people.debian.org/~sanvila/make-shuffle/
This is normal and expected (to some extent). The problem is that
there are a lot of lua packages affected.
My theory is that there is probably a bug in dh-lua which
is responsible for more than 80 lua packages which fail.
If you want to reproduce those failures, this is how I use
make --shuffle in a nearly transparent way:
I'm using sbuild. Make 4.4 is taken from the GNU site ftp.gnu.org
and built by hand using "./configure; make". Only the "make" executable is
required. I put the make executable somewhere, for example in /srv/make,
and then I add this line to the "copyfiles" file in /etc/schroot/sbuild
/srv/make /usr/bin/make
That way, the make executable in the chroot is automatically
overwritten by make from make 4.4. Additionally, we have to
define GNUMAKEFLAGS=--shuffle in the environment, which I do
by using this in my .sbuildrc:
$build_environment = {
'GNUMAKEFLAGS' => '--shuffle'
};
I think that's all.
Thanks.
More information about the pkg-lua-devel
mailing list