Bug#749718: FTBFS on s390x
Argg, indeed, there is one place left ... in the libpaper code. I uploaded a new texlive-base that *disables* the luajittex format completely. It is too much pain to support an experimental format that is not necessary, since there is the normal luatex format. Those who *want* to play around can re-activate it easily by editing a conffile. Thanks for your patience. Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
+LUAJIT_FAIL_ARCHS=s390x hppa Looks like this should also include ppc64 and ppc64el, at least. And also arm64 ... ... Adam -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, 30 May 2014, Adam Conrad wrote: Looks like this should also include ppc64 and ppc64el, at least. And also arm64 ... Hmmm, armel and armhf are fine? Maybe I turn it upsidedown ;-) Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, 30 May 2014, Adam Conrad wrote: +LUAJIT_FAIL_ARCHS=s390x hppa Looks like this should also include ppc64 and ppc64el, at least. And also arm64 ... Ahh, but for all of them the build succeed, right? We have already tests in TeX Live source code and automatically disable luajittex for most archs ... only a few actually failed. So guys, did you *try* to build the source code and it failed? Anyway, I have disabled luajittex on all these archs for now. All the best Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, May 30, 2014 at 06:07:27PM +0900, Norbert Preining wrote: On Fri, 30 May 2014, Adam Conrad wrote: Looks like this should also include ppc64 and ppc64el, at least. And also arm64 ... Hmmm, armel and armhf are fine? armel and armhf should be fine, yes. Though, as noted earlier in the bug, it's pretty poor form to use embedded libraries (and runtimes!) anyway, so is this a feature we really need? Can it be built against the system liblua/libluajit? ... Adam -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, 30 May 2014, Adam Conrad wrote: armel and armhf should be fine, yes. Though, as noted earlier in the Thanks. bug, it's pretty poor form to use embedded libraries (and runtimes!) I know, but there are many more embedded libs (png, gd, ...) - this is all due to the libpng maintainers not going forward although I offered several times help in updating libpng to anything newer than 1.2 ... ahhh. the system liblua/libluajit? These are libs that are changed from the official release. luatex and luajittex cannot be built from the official libs. Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, May 30, 2014 at 06:10:00PM +0900, Norbert Preining wrote: On Fri, 30 May 2014, Adam Conrad wrote: +LUAJIT_FAIL_ARCHS=s390x hppa Looks like this should also include ppc64 and ppc64el, at least. And also arm64 ... Ahh, but for all of them the build succeed, right? We have already tests in TeX Live source code and automatically disable luajittex for most archs ... only a few actually failed. So guys, did you *try* to build the source code and it failed? Ubuntu tried on arm64[1] and ppc64el[2], and the Debian tried on ppc64[3], all failed the same way as the s390x and hppa failures: [1] https://launchpad.net/ubuntu/+source/texlive-bin/2014.20140528.34243-1/+build/6053703 [2] https://launchpad.net/ubuntu/+source/texlive-bin/2014.20140528.34243-1/+build/6053707 [3] http://buildd.debian-ports.org/status/fetch.php?pkg=texlive-binarch=ppc64ver=2014.20140522.34183-1stamp=1400795747 ... Adam -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
Ubuntu tried on arm64[1] and ppc64el[2], and the Debian tried on ppc64[3], all failed the same way as the s390x and hppa failures: Ahh, Ubuntu, did see build stats there. Thanks. Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, 30 May 2014, Adam Conrad wrote: Also, I cherry-picked your git commit, and it doesn't actually work as advertised. See below: Yes, fixed already .. I am building with this now .. .. LUAJIT_FAIL_ARCHS := s390x hppa arm64 ppc64 ppc64el ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS))) DISABLE_JIT=--disable-luajittex endif Which works. If you change that to 'LUAJIT_FAIL_ARCHS= s390x hppa ppc64 ppc64el arm64 ' (note the leading and trailing space), then it catches all of the arches. Did the same tests like you ;-) BUt a different outcome. Thanks! Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x (and others)
On Fri, May 30, 2014 at 06:15:59PM +0900, Norbert Preining wrote: Ubuntu tried on arm64[1] and ppc64el[2], and the Debian tried on ppc64[3], all failed the same way as the s390x and hppa failures: Also, I cherry-picked your git commit, and it doesn't actually work as advertised. See below: --- (base)adconrad@cthulhu:~/review/tex$ cat Makefile LUAJIT_FAIL_ARCHS=s390x hppa ppc64 ppc64el arm64 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS))) DISABLE_JIT=--disable-luajittex endif foo: echo $(DISABLE_JIT) (base)adconrad@cthulhu:~/review/tex$ for i in s390x hppa ppc64 ppc64el arm64; do echo $i; DEB_HOST_ARCH=$i make; done s390x echo hppa echo --disable-luajittex --disable-luajittex ppc64 echo --disable-luajittex --disable-luajittex ppc64el echo --disable-luajittex --disable-luajittex arm64 echo --- If you change that to 'LUAJIT_FAIL_ARCHS= s390x hppa ppc64 ppc64el arm64 ' (note the leading and trailing space), then it catches all of the arches. ... Adam -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On 30/05/14 05:08, Norbert Preining wrote: Hi everyone, I committed this patch to the git repository: diff --git a/debian/rules b/debian/rules index 76e6101..3f2f36b 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,8 @@ export SHELL=/bin/bash export CONFIG_SHELL=/bin/sh +LUAJIT_FAIL_ARCHS=s390x hppa + # In case one wants to build with old automake ( 1.13.1), the following # variable has to be set. By default the debian/control requires high # enough versions of automake and friends @@ -14,6 +16,9 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq ($(DEB_HOST_ARCH), alpha) export LDFLAGS = -Wl,--no-relax endif +ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS))) + DISABLE_JIT=--disable-luajittex +endif # # it seems that ARM metafont segfaults due to a problem with armhf's malloc @@ -73,6 +78,7 @@ override_dh_auto_configure: --with-x\ --with-mf-x-toolkit \ --with-xdvi-x-toolkit=xaw \ + $(DISABLE_JIT) \ --disable-lcdf-typetools\ --disable-biber \ --disable-dvipng\ Hope that is it, but I guess there will be more . Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: https://buildd.debian.org/status/fetch.php?pkg=s3qlarch=s390xver=2.8.1%2Bdfsg-1%2Bb1stamp=1401449820 https://buildd.debian.org/status/fetch.php?pkg=colordarch=s390xver=1.2.0-3stamp=1401451042 https://buildd.debian.org/status/fetch.php?pkg=rhythmboxarch=s390xver=3.0.3-1%2Bb1stamp=1401449743 I'm not sure if they are related to this change or a different issue. Can you take a look? Thanks, Emilio -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On 30.05.14 Emilio Pozuelo Monfort (po...@debian.org) wrote: Hil Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: https://buildd.debian.org/status/fetch.php?pkg=s3qlarch=s390xver=2.8.1%2Bdfsg-1%2Bb1stamp=1401449820 Building format(s) --all. fmtutil-sys failed. Output has been stored in /tmp/fmtutil.j7OU4Axi Please include this file if you report a bug. Could you provide that file for investigation? Hilmar -- sigmentation fault signature.asc Description: Digital signature
Bug#749718: FTBFS on s390x
On 30/05/14 14:39, Hilmar Preusse wrote: On 30.05.14 Emilio Pozuelo Monfort (po...@debian.org) wrote: Hil Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: https://buildd.debian.org/status/fetch.php?pkg=s3qlarch=s390xver=2.8.1%2Bdfsg-1%2Bb1stamp=1401449820 Building format(s) --all. fmtutil-sys failed. Output has been stored in /tmp/fmtutil.j7OU4Axi Please include this file if you report a bug. Could you provide that file for investigation? Those logs are from buildds and I don't have access to them. This may be reproducible in a porterbox, but I don't have time right now. I can try to reproduce it later and attach that file, but if somebody beats me to it that'll be fine. Regards, Emilio -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On 30/05/14 16:08, Emilio Pozuelo Monfort wrote: On 30/05/14 14:39, Hilmar Preusse wrote: On 30.05.14 Emilio Pozuelo Monfort (po...@debian.org) wrote: Hil Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: https://buildd.debian.org/status/fetch.php?pkg=s3qlarch=s390xver=2.8.1%2Bdfsg-1%2Bb1stamp=1401449820 Building format(s) --all. fmtutil-sys failed. Output has been stored in /tmp/fmtutil.j7OU4Axi Please include this file if you report a bug. Could you provide that file for investigation? Those logs are from buildds and I don't have access to them. This may be reproducible in a porterbox, but I don't have time right now. I can try to reproduce it later and attach that file, but if somebody beats me to it that'll be fine. I have just reproduced in a porterbox but the logfile is root:root. I've asked DSA for it, will send it here when I get access. Regards, Emilio -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On 31/05/14 01:03, Emilio Pozuelo Monfort wrote: On 30/05/14 16:08, Emilio Pozuelo Monfort wrote: On 30/05/14 14:39, Hilmar Preusse wrote: On 30.05.14 Emilio Pozuelo Monfort (po...@debian.org) wrote: Hil Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: https://buildd.debian.org/status/fetch.php?pkg=s3qlarch=s390xver=2.8.1%2Bdfsg-1%2Bb1stamp=1401449820 Building format(s) --all. fmtutil-sys failed. Output has been stored in /tmp/fmtutil.j7OU4Axi Please include this file if you report a bug. Could you provide that file for investigation? Those logs are from buildds and I don't have access to them. This may be reproducible in a porterbox, but I don't have time right now. I can try to reproduce it later and attach that file, but if somebody beats me to it that'll be fine. I have just reproduced in a porterbox but the logfile is root:root. I've asked DSA for it, will send it here when I get access. The relevant part is: fmtutil: running `luajittex -ini -jobname=luajittex -progname=luajittex luatex.ini' ... /usr/bin/fmtutil: 381: /usr/bin/fmtutil: luajittex: not found luajittex is of course not found because it was disabled on s390x. HTH, Emilio -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On Fri, 30 May 2014, Emilio Pozuelo Monfort wrote: Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: Did you use the package I uploaded? It requires tex-common = 5.02 and tex-common 5.02 fixes this problem, hopefully! Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On 30-May-14, at 7:39 PM, Norbert Preining wrote: On Fri, 30 May 2014, Emilio Pozuelo Monfort wrote: Thanks! It has been built on s390x, but I'm seeing some problems when texlive is installed, e.g.: Did you use the package I uploaded? It requires tex-common = 5.02 and tex-common 5.02 fixes this problem, hopefully! I'm also seeing a problem during installation of texlive-base: Setting up texlive-base (2014.20140528-1) ... mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Done. /usr/bin/tl-paper: setting paper size for dvips to letter. /usr/bin/tl-paper: setting paper size for dvipdfmx to letter. /usr/bin/tl-paper: setting paper size for xdvi to letter. /usr/bin/tl-paper: setting paper size for pdftex to letter. Running mktexlsr. This may take some time... done. Building format(s) --all. This may take some time... fmtutil-sys failed. Output has been stored in /tmp/fmtutil.q1QfX8tz Please include this file if you report a bug. At the end of /tmp/fmtutil.q1QfX8tz, I see: fmtutil: running `luajittex -ini -jobname=luajittex - progname=luajittex luatex.ini' ... /usr/bin/fmtutil: 381: /usr/bin/fmtutil: luajittex: not found Dave -- John David Anglin dave.ang...@bell.net -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
On Fri, 30 May 2014, John David Anglin wrote: /usr/bin/tl-paper: setting paper size for xdvi to letter. /usr/bin/tl-paper: setting paper size for pdftex to letter. Running mktexlsr. This may take some time... done. Building format(s) --all. Argg, indeed, there is one place left ... in the libpaper code. Uploading as soon as possible, I am on the train ... Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
Package: textlive-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-binarch=s390xver=2014.20140528.34243-1stamp=1401337053 Regards, Emilio -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
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-binarch=s390xver=2014.20140528.34243-1stamp=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.0 +0200 +++ texlive-bin-2014.20140528.34243/debian/changelog 2014-05-29 14:57:39.0 +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.0 +0200 +++ texlive-bin-2014.20140528.34243/debian/rules 2014-05-29 15:01:40.0 +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 signature.asc Description: Digital signature
Processed: Re: Bug#749718: FTBFS on s390x
Processing control commands: tag -1 patch Bug #749718 [texlive-bin] FTBFS on s390x Added tag(s) patch. -- 749718: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749718 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#749718: FTBFS on s390x
Hi everyone, I committed this patch to the git repository: diff --git a/debian/rules b/debian/rules index 76e6101..3f2f36b 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,8 @@ export SHELL=/bin/bash export CONFIG_SHELL=/bin/sh +LUAJIT_FAIL_ARCHS=s390x hppa + # In case one wants to build with old automake ( 1.13.1), the following # variable has to be set. By default the debian/control requires high # enough versions of automake and friends @@ -14,6 +16,9 @@ DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq ($(DEB_HOST_ARCH), alpha) export LDFLAGS = -Wl,--no-relax endif +ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS))) + DISABLE_JIT=--disable-luajittex +endif # # it seems that ARM metafont segfaults due to a problem with armhf's malloc @@ -73,6 +78,7 @@ override_dh_auto_configure: --with-x\ --with-mf-x-toolkit \ --with-xdvi-x-toolkit=xaw \ + $(DISABLE_JIT) \ --disable-lcdf-typetools\ --disable-biber \ --disable-dvipng\ Hope that is it, but I guess there will be more . Thanks for your patience. Norbert PREINING, Norbert http://www.preining.info JAIST, Japan TeX Live Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org