Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-16 Thread Hilmar Preuße

Am 15.11.2016 um 23:54 schrieb Norbert Preining:

Hi,


Thanks for the confirmation.


Hilmar, I think upstream bug #133 should be closed too. Could you check it? 
Thanks!


Hilmar, I posted there that it can be closed but I cannot close it, please.


Can't do either even after login. Seems they have to do it themselves.

Hilmar
--
http://www.hilmar-preusse.de.vu/   #206401 http://counter.li.org



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-15 Thread Norbert Preining
Thanks for the confirmation.

> Hilmar, I think upstream bug #133 should be closed too. Could you check it? 
> Thanks!

Hilmar, I posted there that it can be closed but I cannot close it, please.

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-15 Thread Eugene Seliverstov
I confirm that the MWE is ok with the latest MIPS texlive-binaries.
Documentation for the package asn1c (which failed to build due this bug) also 
works fine on MIPS.

Thank you for the fix!

Hilmar, I think upstream bug #133 should be closed too. Could you check it? 
Thanks!

> On 14.11.2016, at 16:34, Norbert Preining  wrote:
> 
>> Running a test build with the s390(x) special case removed. Thanks
> 
> And that succeeded. So it seems that gcc 5 or gcc6 fixed the issues.
> Tomorrow I will make a new rebuild with all the changes and upload.
> 
> Thanks a lot.
> 
> Norbert
> 
> --
> PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
> GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
> 

---
Best regards,
Eugene Seliverstov



signature.asc
Description: Message signed with OpenPGP using GPGMail


Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-14 Thread Norbert Preining
> Running a test build with the s390(x) special case removed. Thanks

And that succeeded. So it seems that gcc 5 or gcc6 fixed the issues.
Tomorrow I will make a new rebuild with all the changes and upload.

Thanks a lot.

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-14 Thread Norbert Preining
Hi James,

> I've tried building it on mips and mipsel and it builds fine.

Great, thanks!

> I haven't tried it, but there is a s390x porterbox you could use:
> zelenka.debian.org.

Running a test build with the s390(x) special case removed. Thanks
for reminding me (I actually used zelenka for testing back than,
but forgotten about it ;-)

All the best

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-14 Thread James Cowgill
Hi,

On 13/11/16 13:59, Norbert Preining wrote:
>> I can upload a new package that reverts these changes, or prepare a new
>> package and we try to build it on mips/mipsel Debian builder machines.
> 
> Here is a source package and binaries of amd64
> 
> deb http://people.debian.org/~preining/TeX/ bin/
> deb-src http://people.debian.org/~preining/TeX/ bin/
> 
> Version is -8
> 
> If anyone feels advanterous to test this I would be happy.

I've tried building it on mips and mipsel and it builds fine.

> For someone that can also access s390 it would be nice if we
> can remove the case for s390 in the rules file (-O1), too,
> but that needs also testing.

I haven't tried it, but there is a s390x porterbox you could use:
zelenka.debian.org.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-13 Thread Norbert Preining
> I can upload a new package that reverts these changes, or prepare a new
> package and we try to build it on mips/mipsel Debian builder machines.

Here is a source package and binaries of amd64

deb http://people.debian.org/~preining/TeX/ bin/
deb-src http://people.debian.org/~preining/TeX/ bin/

Version is -8

If anyone feels advanterous to test this I would be happy.

For someone that can also access s390 it would be nice if we
can remove the case for s390 in the rules file (-O1), too,
but that needs also testing.

Thanks

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-13 Thread Norbert Preining
Hi James,

> I've managed to build texlive-bin on mips and mipsel after removing them
> from BROKEN_ICU_ARCHS. I ran the xetex testcase in this bugreport on
> both arches and it seems to work fine.
> 
> Why was it originaly added?

commit 346229ec86ccdd1ef8ce3ecf770072a4627a5528
Author: Norbert Preining 
Date:   Mon May 16 08:14:34 2016 +0900

try fixing test errors on icu-related progs

With the respective changelog entry:
texlive-bin (2016.20160513.41080-2) unstable; urgency=medium

  * uniform luajit options
  * try fixing test errors on icu-related progs
  * break context << 2016 due to luatex incompatibility (Closes: #824474)
  * syntax fix in rules
  * try to fix build/test errors on mips(el) and sparc (Closes: #824260)
- make C(XX)FLAGS additive
- remove mips(el) from luajit archs (debian/rules and /control)
- disable upmendex on sparc/mips(el)

 -- Norbert Preining   Wed, 18 May 2016 23:00:23 +0900

So please see bug #824260 where segfaults were reported for upmendex
and xetex.

Maybe recent ICU has fixed these issues?

I can upload a new package that reverts these changes, or prepare a new
package and we try to build it on mips/mipsel Debian builder machines.

Let me know what you think!

All the best

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-12 Thread James Cowgill
Hi,

On 10/11/16 15:22, Norbert Preining wrote:
> Hi James,
> 
>> BROKEN_ICU_ARCHS := mips mipsel sparc64
>>
>> [...]
>> # building on mips/sparc etc is somehow broken, try fix from tlbuild
>> # by setting U_IS_BIG_ENDIAN=0
>> ifneq (,$(findstring $(DEB_HOST_ARCH), $(BROKEN_ICU_ARCHS)))
>>   export CFLAGS += -DU_IS_BIG_ENDIAN=0
>>   export CXXFLAGS += -DU_IS_BIG_ENDIAN=0
>> else
>> endif
>>
>> But mips _is_ big endian so overriding U_IS_BIG_ENDIAN to 0 gives
>> completely wrong results.
> 
> Umpf, ok, seems like an overlap in the problems occurring in ICU
> and mips.
> 
> I would be *very* grateful if you could report about your
> experiences with building with removing mips(el) from the
> BROKEN_ICU_ARCHS and see if it works.

I've managed to build texlive-bin on mips and mipsel after removing them
from BROKEN_ICU_ARCHS. I ran the xetex testcase in this bugreport on
both arches and it seems to work fine.

Why was it originaly added?

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-10 Thread Norbert Preining
Hi James,

> BROKEN_ICU_ARCHS := mips mipsel sparc64
> 
> [...]
> # building on mips/sparc etc is somehow broken, try fix from tlbuild
> # by setting U_IS_BIG_ENDIAN=0
> ifneq (,$(findstring $(DEB_HOST_ARCH), $(BROKEN_ICU_ARCHS)))
>   export CFLAGS += -DU_IS_BIG_ENDIAN=0
>   export CXXFLAGS += -DU_IS_BIG_ENDIAN=0
> else
> endif
> 
> But mips _is_ big endian so overriding U_IS_BIG_ENDIAN to 0 gives
> completely wrong results.

Umpf, ok, seems like an overlap in the problems occurring in ICU
and mips.

I would be *very* grateful if you could report about your
experiences with building with removing mips(el) from the
BROKEN_ICU_ARCHS and see if it works.

Thanks

Norbert

--
PREINING Norbert + TeX Live & Debian Developer + http://www.preining.info
GPG: 0x860CDC13fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-11-10 Thread James Cowgill
Hi,

I've been spending some time on this bug. I tried upstream xetex and it
worked fine on mips. I then stumbled upon the debian/rules file and the
bug now seems so blindingly obvious:

# architectures where icu related programs (xetex) have problems
# and core dump etc. Possible fix, but sub-optimal because slowing down
# programs
BROKEN_ICU_ARCHS := mips mipsel sparc64

[...]
# building on mips/sparc etc is somehow broken, try fix from tlbuild
# by setting U_IS_BIG_ENDIAN=0
ifneq (,$(findstring $(DEB_HOST_ARCH), $(BROKEN_ICU_ARCHS)))
  export CFLAGS += -DU_IS_BIG_ENDIAN=0
  export CXXFLAGS += -DU_IS_BIG_ENDIAN=0
else
endif

But mips _is_ big endian so overriding U_IS_BIG_ENDIAN to 0 gives
completely wrong results.

I'll do a rebuild later today and let you know how it goes.

Thanks,
James



signature.asc
Description: OpenPGP digital signature


Bug#836454: texlive-binaries: xetex produces bad dvi at MIPS

2016-09-03 Thread Eugene Seliverstov
Package: texlive-binaries
Version: 2016.20160513.41080-6
Severity: normal

Dear TexLive Maintainers,

Compiling the following MWE with the XeLaTex at MIPS leads to the error:

xdvipdfmx:fatal: Bad DVI: negative point_size: -1371074304

MWE:

\documentclass{article}
\XeTeXtracingfonts=1  % for verbose logs
\usepackage{fontspec}
\begin{document}
\title{Test}
\author{Foo}
\maketitle
Test content test content.
\end{document}

Minimal compilation command:

xelatex test

Verbose compilation command:

xelatex -recorder -output-driver='xdvipdfmx -vv >> test.fls 2>&1’ test

Failure is reproduced only at MIPS (which is big-endian), all other systems 
(such as amd64, i386 and even similar 32-bit big-endian hppa).
It is also reproduced at QEMU chroot and at MIPS build machine (it blocks the 
asn1c build by the way).
Failure is not reproduced using debian stable (texlive 2014).

Logs and output are provided by adding the

\XeTeXtracingfonts=1

to the tex file and by running xelatex and xdvipdfmx in a verbose mode using 
the command:

xelatex -recorder -output-driver='xdvipdfmx -vv >> test.fls 2>&1’ test


Files test.log and test.xdv are attached.

Contents of test.fls:
---
PWD /tmp/t
INPUT /etc/texmf/web2c/texmf.cnf
INPUT /usr/share/texmf/web2c/texmf.cnf
INPUT /usr/share/texlive/texmf-dist/web2c/texmf.cnf
INPUT /var/lib/texmf/web2c/xetex/xelatex.fmt
INPUT test.tex
OUTPUT test.log
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/article.cls
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
INPUT /usr/share/texlive/texmf-dist/tex/generic/unicode-data/UnicodeData.txt
INPUT /usr/share/texlive/texmf-dist/tex/generic/unicode-data/CaseFolding.txt
INPUT /usr/share/texlive/texmf-dist/tex/generic/unicode-data/SpecialCasing.txt
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/tuenc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1enc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd
INPUT /usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
INPUT /usr/share/texlive/texmf-dist/tex/xelatex/xunicode/xunicode.sty
INPUT /usr/share/texmf/tex/latex/tipa/t3enc.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd
INPUT /usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg
INPUT /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg
INPUT test.aux
INPUT test.aux
OUTPUT test.aux
INPUT /usr/share/texmf/tex/latex/tipa/t3cmr.fd
INPUT /usr/share/texmf/tex/latex/tipa/t3cmr.fd
INPUT /usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi8.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm
INPUT /usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
INPUT