Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-20 Thread Michael Käppler
Am 19.06.2020 um 18:48 schrieb Jonas Hahnfeld via Discussions on LilyPond development: Am Freitag, den 19.06.2020, 16:31 +0200 schrieb Han-Wen Nienhuys: Thanks; yours is much nicer. Meanwhile, mine is failing for unknown reasons. How does this thing work? make doc => # Making input/regression

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 16:31 +0200 schrieb Han-Wen Nienhuys: > Thanks; yours is much nicer. > > Meanwhile, mine is failing for unknown reasons. > > How does this thing work? > > make doc > => > # Making input/regression/out-www/collated-files.pdf < texi > TEX=/home/hanwen/vc/lilypond/script

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
Thanks; yours is much nicer. Meanwhile, mine is failing for unknown reasons. How does this thing work? make doc => # Making input/regression/out-www/collated-files.pdf < texi TEX=/home/hanwen/vc/lilypond/scripts/build/xetex-with-options.sh PDFTEX=/home/hanwen/vc/lilypond/scripts/build/xetex-with

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 15:36 +0200 schrieb Jonas Hahnfeld: > Am Freitag, den 19.06.2020, 15:11 +0200 schrieb Jonas Hahnfeld: > > Am Freitag, den 19.06.2020, 14:49 +0200 schrieb Han-Wen Nienhuys: > > > [hanwen@t460-wlan lilypond]$ qpdf --qdf --object-streams=disable > > > broken2.pdf /dev/stdou

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread David Kastrup
Han-Wen Nienhuys writes: > On Fri, Jun 19, 2020 at 3:13 PM David Kastrup wrote: >> >> Han-Wen Nienhuys writes: >> >> > On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: >> >> No changes for me. Please also keep in mind that the same command >> >> string works via the API interpreter. It c

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 3:13 PM David Kastrup wrote: > > Han-Wen Nienhuys writes: > > > On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: > >> No changes for me. Please also keep in mind that the same command > >> string works via the API interpreter. It could be that this is related > >> t

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 15:11 +0200 schrieb Jonas Hahnfeld: > Am Freitag, den 19.06.2020, 14:49 +0200 schrieb Han-Wen Nienhuys: > > On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: > > > No changes for me. Please also keep in mind that the same command > > > string works via the API inte

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread David Kastrup
Han-Wen Nienhuys writes: > On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: >> No changes for me. Please also keep in mind that the same command >> string works via the API interpreter. It could be that this is related >> to processing other files before the "empty" one... >> I'll try to w

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 14:49 +0200 schrieb Han-Wen Nienhuys: > On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: > > No changes for me. Please also keep in mind that the same command > > string works via the API interpreter. It could be that this is related > > to processing other files

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 2:49 PM Han-Wen Nienhuys wrote: > This does present a quandary, because we'd either have to find > configuration that causes the problem to go away, or we have to modify > the string we're executing if we're not using the API. > > But the latter undoes the benefit of unifyi

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: > No changes for me. Please also keep in mind that the same command > string works via the API interpreter. It could be that this is related > to processing other files before the "empty" one... > I'll try to write a small wrapper around the A

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 1:01 PM Han-Wen Nienhuys wrote: > > It looks like this was discussed here: > > https://github.com/CTeX-org/forum/issues/29 > > (it's in Chinese, but google translate does a good job on the text.) > > According to the report, it's a bug in xdvipdfmx, and the blank pdf > file

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 12:50 PM Jonas Hahnfeld wrote: > > Am Freitag, den 19.06.2020, 12:18 +0200 schrieb Han-Wen Nienhuys: > > On Fri, Jun 19, 2020 at 12:11 PM David Kastrup wrote: > > > Jonas Hahnfeld via Discussions on LilyPond development > > > writes: > > > > > > > Am Freitag, den 19.06.20

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
It looks like this was discussed here: https://github.com/CTeX-org/forum/issues/29 (it's in Chinese, but google translate does a good job on the text.) According to the report, it's a bug in xdvipdfmx, and the blank pdf file is within spec. I looked at epdf.c, but there was no change in the las

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 12:18 +0200 schrieb Han-Wen Nienhuys: > On Fri, Jun 19, 2020 at 12:11 PM David Kastrup wrote: > > Jonas Hahnfeld via Discussions on LilyPond development > > writes: > > > > > Am Freitag, den 19.06.2020, 11:47 +0200 schrieb Han-Wen Nienhuys: > > > > On Thu, Jun 18, 202

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Fri, Jun 19, 2020 at 12:11 PM David Kastrup wrote: > > Jonas Hahnfeld via Discussions on LilyPond development > writes: > > > Am Freitag, den 19.06.2020, 11:47 +0200 schrieb Han-Wen Nienhuys: > >> On Thu, Jun 18, 2020 at 7:45 PM Jonas Hahnfeld wrote: > >> > Am Donnerstag, den 18.06.2020, 11:2

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread David Kastrup
Jonas Hahnfeld via Discussions on LilyPond development writes: > Am Freitag, den 19.06.2020, 11:47 +0200 schrieb Han-Wen Nienhuys: >> On Thu, Jun 18, 2020 at 7:45 PM Jonas Hahnfeld wrote: >> > Am Donnerstag, den 18.06.2020, 11:21 -0600 schrieb Carl Sorensen: >> > > is it the difference between a

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Freitag, den 19.06.2020, 11:47 +0200 schrieb Han-Wen Nienhuys: > On Thu, Jun 18, 2020 at 7:45 PM Jonas Hahnfeld wrote: > > Am Donnerstag, den 18.06.2020, 11:21 -0600 schrieb Carl Sorensen: > > > is it the difference between an output .ps file and an output .eps file? > > > > No, broken.ps file

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-19 Thread Han-Wen Nienhuys
On Thu, Jun 18, 2020 at 7:45 PM Jonas Hahnfeld wrote: > > Am Donnerstag, den 18.06.2020, 11:21 -0600 schrieb Carl Sorensen: > > On Thu, Jun 18, 2020 at 11:04 AM Jonas Hahnfeld via Discussions on > > LilyPond development wrote: > > > Am Donnerstag, den 18.06.2020, 00:23 +0200 schrieb Valentin Vill

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-18 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Donnerstag, den 18.06.2020, 19:03 +0200 schrieb Jonas Hahnfeld via Discussions on LilyPond development: > I think the way forward for now is reverting above commit, even if I > don't really like it. Unless somebody has a really clever idea how to > 1) avoid GS producing a broken PDF (if that's t

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-18 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Donnerstag, den 18.06.2020, 11:21 -0600 schrieb Carl Sorensen: > On Thu, Jun 18, 2020 at 11:04 AM Jonas Hahnfeld via Discussions on > LilyPond development wrote: > > Am Donnerstag, den 18.06.2020, 00:23 +0200 schrieb Valentin Villenave: > > > On 6/17/20, Valentin Villenave wrote: > > > > `make

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-18 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Donnerstag, den 18.06.2020, 19:03 +0200 schrieb Jonas Hahnfeld via Discussions on LilyPond development: > Am Donnerstag, den 18.06.2020, 00:23 +0200 schrieb Valentin Villenave: > > On 6/17/20, Valentin Villenave wrote: > > > `make doc’ has been broken for nearly a week on my system (even with a

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-18 Thread Carl Sorensen
On Thu, Jun 18, 2020 at 11:04 AM Jonas Hahnfeld via Discussions on LilyPond development wrote: > > Am Donnerstag, den 18.06.2020, 00:23 +0200 schrieb Valentin Villenave: > > On 6/17/20, Valentin Villenave wrote: > > > `make doc’ has been broken for nearly a week on my system (even with a > > > cl

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-18 Thread Jonas Hahnfeld via Discussions on LilyPond development
Am Donnerstag, den 18.06.2020, 00:23 +0200 schrieb Valentin Villenave: > On 6/17/20, Valentin Villenave wrote: > > `make doc’ has been broken for nearly a week on my system (even with a > > clean git clone), with the following error: > > > > xdvipdfmx:fatal: typecheck: Invalid object type: -1 7 (

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Werner LEMBERG
> Where can I find the source code for xdvipdfmx? Here: https://www.tug.org/svn/texlive/trunk/Build/source/texk/dvipdfm-x/ This is the code for a binary that gets stored under five different names (either as links or as exact copies): xdvipdfmx dvipdfm dvipdfmx ebb extractbb The bi

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Werner LEMBERG
> Git bisect actually tells me that xdvipdfmx started misbehaving from > the same commit that caused gs issues: > > 017927b4d63c317e1fc450be2537ccc058072538 (HEAD) > Author: Han-Wen Nienhuys > Date: Fri Jun 5 20:36:42 2020 +0200 > Unify calling convention for command-line and API G

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Valentin Villenave
On 6/17/20, Valentin Villenave wrote: > `make doc’ has been broken for nearly a week on my system (even with a > clean git clone), with the following error: > > xdvipdfmx:fatal: typecheck: Invalid object type: -1 7 (line 2161) Git bisect actually tells me that xdvipdfmx started misbehaving from t

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Valentin Villenave
On 6/17/20, Werner LEMBERG wrote: > I suggest upgrading. The current maintainer of xdvipdfmx fixes bugs > in TeXLive directly – however, this doesn't automatically update the > binaries that are in TeXLive's SVN repository. It's not that > complicated to get the TeXLive sources and compile a pri

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Werner LEMBERG
>> It seems that you probably have to update your TeX system... > > Update or downgrade? I suggest upgrading. The current maintainer of xdvipdfmx fixes bugs in TeXLive directly – however, this doesn't automatically update the binaries that are in TeXLive's SVN repository. It's not that complic

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Jean Abou Samra
Hi, Le 17/06/2020 à 09:53, Valentin Villenave a écrit : Hey everybody, `make doc’ has been broken for nearly a week on my system (even with a clean git clone), with the following error: No clue what your problem is, but as an aside, I can give a hint: instead of a fresh git clone (which must ha

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Valentin Villenave
On 6/17/20, Werner LEMBERG wrote: > It seems that you probably have to update your TeX system... Update or downgrade? I’m using the latest fc32 repos. Besides, I haven’t changed anything on my OS recently and this started happening only a week or so ago; isn’t it possible that this is triggered

Re: xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Werner LEMBERG
> xdvipdfmx:fatal: typecheck: Invalid object type: -1 7 (line 2161) > > This is on a Fedora system with xdvipdfmx 20190225 and gs 9.52. It seems that you probably have to update your TeX system... https://tex.stackexchange.com/questions/490616/xdvipdfmx-typecheck-problem If this is not a fe

xdvipdfmx fails with some regtests (“Invalid object”)

2020-06-17 Thread Valentin Villenave
Hey everybody, `make doc’ has been broken for nearly a week on my system (even with a clean git clone), with the following error: Making input/regression/out-www/collated-files.list < 1368 files Making input/regression/out-www/collated-files.texi < tely Making input/regression/out-www/collated-fil