#1012018 texlive-bin: FTBFS during separate binary-indep build

Package:
src:texlive-bin
Source:
texlive-bin
Submitter:
Andreas Beckmann
Date:
2022-06-05 10:09:03 UTC
Severity:
serious
Tags:
#1012018#5
Date:
2022-05-28 19:53:04 UTC
From:
To:
Hi,

texlive-bin fails to build the arch-indep packages during a separate run
as would be done by the buildds.

   debian/rules override_dh_install
make[1]: Entering directory '/build/texlive-bin-2022.20220321.62855'
# remove .la files which we do not install, so that dh_install
# can work with --fail-missing
rm -f debian/tmp/usr/lib/*.la debian/tmp/usr/lib/*/*.la
# mv c-auto.h into arch-dependent include path
mkdir -p debian/tmp/usr/include/x86_64-linux-gnu/kpathsea
mv debian/tmp/usr/include/kpathsea/c-auto.h \
        debian/tmp/usr/include/x86_64-linux-gnu/kpathsea/
dh_install --sourcedir=/build/texlive-bin-2022.20220321.62855/debian/tmp
dh_missing --sourcedir=/build/texlive-bin-2022.20220321.62855/debian/tmp --fail-missing
# replace xdvi wrapper shell script with perl variant to
# allow for opening of gz etc files
rm debian/texlive-binaries/usr/bin/xdvi
rm: cannot remove 'debian/texlive-binaries/usr/bin/xdvi': No such file or directory
make[1]: *** [debian/rules:163: override_dh_install] Error 1
make[1]: Leaving directory '/build/texlive-bin-2022.20220321.62855'
make: *** [debian/rules:67: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2


Looks like you need to move some bits that are irrelevant for the
binary-indep build to a override_dh_install-arch (or probably
better execute_after_dh_install-arch) target.


Andreas

#1012018#10
Date:
2022-06-01 19:37:16 UTC
From:
To:
Am 28.05.2022 um 21:53 teilte Andreas Beckmann mit:

Hi Andreas,
Many thanks for the report! Unfortunately it came to me very late as the
mailing list does not like large E-Mails containing build logs. Please
avoid attaching large log files.

Hilmar

#1012018#15
Date:
2022-06-01 22:05:42 UTC
From:
To:
Am 28.05.2022 um 21:53 teilte Andreas Beckmann mit:

Hi,
Our build system did not change between TL 2021 & 2022. The only
difference is, that we introduced some transitional packages, which are
of arch "all" and hence the sbuild is started for arch "all". Now the
d/rules files makes some assumption about, which files are there after
build, which differs between arch "any" and "all".
What would work is to convert the transitional packages into arch "any",
but I'm pretty sure some people would not like the idea.

Hilmar

#1012018#20
Date:
2022-06-03 22:04:07 UTC
From:
To:
Am 28.05.2022 um 21:53 teilte Andreas Beckmann mit:

Hi Andreas,
Many thanks for the pointer! I could separate the install indep and the
install arch target a little better and therefore (hopefully) solve the
issue.
We are far from being perfect, i.e. we still do a full build for arch
"all" just to get 2 transitional packages, but this may be sorted out later.

Hilmar

#1012018#25
Date:
2022-06-04 02:23:27 UTC
From:
To:
Maybe add an empty
override_dh_auto_build-indep:
target?

Andreas

#1012018#30
Date:
2022-06-05 10:04:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
texlive-bin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012018@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilmar Preusse <hille42@web.de> (supplier of updated texlive-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 04 Jun 2022 23:44:11 +0200
Source: texlive-bin
Architecture: source
Version: 2022.20220321.62855-4
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Hilmar Preusse <hille42@web.de>
Closes: 1012018
Changes:
 texlive-bin (2022.20220321.62855-4) unstable; urgency=medium
 .
   * Separate "indep" and "arch" in d/rules better (Closes: #1012018).
Checksums-Sha1:
 78a721cf52300582dbea32017680826a909083df 3340 texlive-bin_2022.20220321.62855-4.dsc
 5a905bb819fec879b60df6b46df092ae9a879e76 120672 texlive-bin_2022.20220321.62855-4.debian.tar.xz
Checksums-Sha256:
 45eb82ef45a0779129d524490418e950dc27c6971e354ddac55cdd6c7b10f038 3340 texlive-bin_2022.20220321.62855-4.dsc
 aff22923c6be2f1d8b9532a95d3e6e859b935a83056018d9c392dd954743ce18 120672 texlive-bin_2022.20220321.62855-4.debian.tar.xz
Files:
 9a8c709196cc9692d224edfe96410a23 3340 tex optional texlive-bin_2022.20220321.62855-4.dsc
 0471a6e988745868eb71305acbf35e78 120672 tex optional texlive-bin_2022.20220321.62855-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEE6XYjQ9o8g2p4zSVKamMCj1p06JMFAmKcfysSHGFuc2dhckBk
ZWJpYW4ub3JnAAoJEGpjAo9adOiTtocQAK2Oo1cym2cYx1Nh7SKvoy4IXcUVLtJe
6FhyevRSvakzU0613959vX0ET1YrmFFh6C7JQ1QiOr88cYAA9MedI6Df5yahCIkH
F+rnNJgoQEcfkXoYb8lm1ZIg+A/tCKtrQ2FfV7M3B5YrmBUp77YLFf7l01ZFfkW+
4JJFLMmRL+AZfAZMsAvWvqFPCDAj4r/BDCbWjsFVJ29XJ7ZbLIskOEyPWdNzP9Lk
BfVnhalKitRgBTls2rznqgt/BihBsSyFdfsWCTxlxzU45JjT2xm+bOuYuxy7+3PP
UqkIUs3uPO38zqk/Hc+TXDwdrdxVoJI/Z2hKyrieOsahVQmCPp4LC0APGgBnzrwf
/57eLnyOexGEBcCj5cb1pUI3hufBzObJp/rGTO9DZKacFf3WML2MA88pn/MELuw9
yjhJzf0/eeG8kjRRWC6F5Wl/CFPUSbYNJxdwpwmSz6NGp/eLWBQzkbdgPIBi24Rq
LO0ET6H+np2+9F2eGsqxW2FdI/zfEzf2PMhpV7hOpk4PFAdH7vjQOdWsTc2V9/tT
JsvvdLi0r2byTPLv38S+UKQ3E17Q4mD6NwxixRwceYQdmYB6HkIfL8jBoJ5zpsFc
o3YHuymZvJkrGXYLR0MZnMsQV7BbVroNpkO+opc8mtEIhNxXWu0B20K/X5tPcS/7
oq8TVTbX/IKi
=ojkB
-----END PGP SIGNATURE-----