Am 10.12.22 um 22:58 schrieb Hilmar Preuße:
Am 10.12.2022 um 18:16 teilte Bernhard Übelacker mit:
Hi,
I have seen other packages that added a dependency
to package sse2-support in such cases.
That would not solve the issue, but would make it
visible at installation time for the user,
if I understand it right.
Thanks for the hint. My "git diff" below. As far as I understood I need
to declare a Pre-Dep....wait: the sse2-support fails already in preinst
if SSE2 support is missing, so a Dep should be OK. Do you agree?
Hilmar
hille@sid-amd64:~/devel/TeXLive/github/texlive-bin$ git diff
diff --git a/debian/control b/debian/control
index 6286e991..21349a62 100644
--- a/debian/control
+++ b/debian/control
@@ -50,6 +50,7 @@ Depends: libptexenc1 (>= ${source:Version}),
libtexlua53-5 (<< ${source:Version}.1~),
libtexluajit2 (>= ${source:Version}) [amd64 armel armhf hurd-i386
i386 kfreebsd-amd64 kfreebsd-i386 powerpc],
libtexluajit2 (<< ${source:Version}.1~) [amd64 armel armhf hurd-i386
i386 kfreebsd-amd64 kfreebsd-i386 powerpc],
+ sse2-support [ i386 ],
t1utils, tex-common, perl:any,
${shlibs:Depends}, ${misc:Depends}
Hlimar
--
sigfault
Hello Hilmar,
yes, I tried to find a few other examples below,
there it was also added to the Depends section.
Some added it also to the Build-Depends, looks like
it should stop the build early if tests are known
to need sse2 too?
I don't know, but maybe the build infrastructure is expected
to support sse2, so I think the import one is the Depends,
as far as I understand.
Thanks for your work.
Kind regards,
Bernhard
https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/commit/c1bec552565587e3537da60d66ef3c6f5c1be36e
https://salsa.debian.org/debian/rr/-/commit/d948829b8125a016df4d0f249350a8f7e330f48d
https://salsa.debian.org/js-team/nodejs/-/commit/4778765225e86a1337f38c49ef19c4f22a81e279