Control: tag -1 patch

Emilio Pozuelo Monfort <po...@debian.org> (2014-05-29):
> Package: texlive-bin
> Version: 2014.20140528.34243-1
> Severity: serious
> Control: block 746709 by -1
> 
> Dear maintainer,
> 
> Your package failed to build on s390x. That is making some packages not
> installable, which is blocking some binNMUs for the python3 transition.
> 
> Log at 
> https://buildd.debian.org/status/fetch.php?pkg=texlive-bin&arch=s390x&ver=2014.20140528.34243-1&stamp=1401337053

So s390x isn't supported by luajit (as seen on [1]), so I had to disable
it explicitly to get texlive-bin built. See attached patch. Another way
might be to update m4/kpse-setup.m4 directly.

 1. https://packages.debian.org/unstable/libluajit-5.1-dev


Not sure about the possible security implications, but you may want to
get in touch with the security team to get the embedded code copies list
updated (see libs/luajit/LuaJIT-2.0.3).

Mraw,
KiBi.
diff -Nru texlive-bin-2014.20140528.34243/debian/changelog texlive-bin-2014.20140528.34243/debian/changelog
--- texlive-bin-2014.20140528.34243/debian/changelog	2014-05-28 11:14:18.000000000 +0200
+++ texlive-bin-2014.20140528.34243/debian/changelog	2014-05-29 14:57:39.000000000 +0200
@@ -1,3 +1,11 @@
+texlive-bin (2014.20140528.34243-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable luajit on s390x, where it is not supported, fixing the FTBFS
+    (Closes: #749718).
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 29 May 2014 14:56:45 +0200
+
 texlive-bin (2014.20140528.34243-1) unstable; urgency=medium
 
   * upload to unstable
diff -Nru texlive-bin-2014.20140528.34243/debian/rules texlive-bin-2014.20140528.34243/debian/rules
--- texlive-bin-2014.20140528.34243/debian/rules	2014-05-28 11:14:18.000000000 +0200
+++ texlive-bin-2014.20140528.34243/debian/rules	2014-05-29 15:01:40.000000000 +0200
@@ -24,6 +24,12 @@
   export CFLAGS = -marm
 endif
 
+#
+# luajit isn't supported on s390x, so disable it there
+ifeq ($(DEB_HOST_ARCH), s390x)
+  EXTRA_CONFIGURE_FLAGS += --disable-luajittex
+endif
+
 # warning: if the --with autoreconf is removed then
 # the patch debian/patches/debian-no-linked-scripts
 # must be adapted to also patch the Makefile.in!
@@ -90,7 +96,8 @@
 	--disable-texdoctk			\
 	--disable-ttf2pk			\
 	--enable-ttf2pk2			\
-	--enable-ipc				
+	--enable-ipc				\
+	$(EXTRA_CONFIGURE_FLAGS)
 
 override_dh_auto_install:
 	dh_auto_install -- DESTDIR=$(CURDIR)/debian/tmp

Attachment: signature.asc
Description: Digital signature

Reply via email to