All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange problems with perfbook compilation
@ 2018-05-15 11:25 Balbir Singh
  2018-05-15 11:52 ` Akira Yokosawa
  0 siblings, 1 reply; 3+ messages in thread
From: Balbir Singh @ 2018-05-15 11:25 UTC (permalink / raw)
  To: perfbook; +Cc: Paul E. McKenney

I am using Ubuntu 18.04 and make fails without too many details, a
little debug shows

CodeSamples/SMPdesign/smpalloc.canonical.eps -->
CodeSamples/SMPdesign/smpalloc.canonical.pdf
sh utilities/fixanepsfonts-urwps.sh
CodeSamples/SMPdesign/smpalloc.canonical.epsi
a2ping --below --hires --bboxfrom=compute-gs
CodeSamples/SMPdesign/smpalloc.canonical.epsi
CodeSamples/SMPdesign/smpalloc.canonical.pdf > /dev/null 2>&1

a2ping fails due to gs failure. I was able to keep the temporary file
and check what a2ping did, it eventually calls

which fails with

 gs -dWRITESYSTEMDICT -dNOPAUSE -sDEVICE=bbox
-sFN=CodeSamples/SMPdesign/smpalloc.canonical.epsi
/tmp/a2ping_pl-5942-576561132-c.tgs
Error: /undefined in --.beginpage--
Operand stack:
   false   --dict:1/1(L)--   --nostringval--   --dict:79/156(ro)(L)--
 --dict:1/1(L)--   --dict:0/0(L)--   --dict:79/88(ro)(L)--   0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   2015
1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3
%oparray_pop   1884   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   1977   1   3
%oparray_pop   --nostringval--   1979   7   3   %oparray_pop
--nostringval--   1971   7   3   %oparray_pop   --nostringval--   9
Dictionary stack:
   --dict:981/1684(G)--   --dict:0/20(G)--   --dict:82/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 491
GPL Ghostscript 9.22: Unrecoverable error, exit code 1

An strace shows that

Halftones/Default is missing

openat(AT_FDCWD,
"/usr/share/ghostscript/9.22/Resource/Init/Halftone/Default",
O_RDONLY) = -1 ENOENT (No such file or directory)

I could not find Halftone/Default anywhere in the apt-cache or on my filesystem

I was wondering if anyone else has run into similar issues and is debugging?

Warm Regards,


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange problems with perfbook compilation
  2018-05-15 11:25 Strange problems with perfbook compilation Balbir Singh
@ 2018-05-15 11:52 ` Akira Yokosawa
  2018-05-16  4:11   ` Balbir Singh
  0 siblings, 1 reply; 3+ messages in thread
From: Akira Yokosawa @ 2018-05-15 11:52 UTC (permalink / raw)
  To: Balbir Singh; +Cc: perfbook, Paul E. McKenney, Akira Yokosawa

On 2018/05/15 21:25:49 +1000, Balbir Singh wrote:
> I am using Ubuntu 18.04 and make fails without too many details, a
> little debug shows
> 
> CodeSamples/SMPdesign/smpalloc.canonical.eps -->
> CodeSamples/SMPdesign/smpalloc.canonical.pdf
> sh utilities/fixanepsfonts-urwps.sh
> CodeSamples/SMPdesign/smpalloc.canonical.epsi
> a2ping --below --hires --bboxfrom=compute-gs
> CodeSamples/SMPdesign/smpalloc.canonical.epsi
> CodeSamples/SMPdesign/smpalloc.canonical.pdf > /dev/null 2>&1
> 
> a2ping fails due to gs failure. I was able to keep the temporary file
> and check what a2ping did, it eventually calls
> 
> which fails with
> 
>  gs -dWRITESYSTEMDICT -dNOPAUSE -sDEVICE=bbox
> -sFN=CodeSamples/SMPdesign/smpalloc.canonical.epsi
> /tmp/a2ping_pl-5942-576561132-c.tgs
> Error: /undefined in --.beginpage--
> Operand stack:
>    false   --dict:1/1(L)--   --nostringval--   --dict:79/156(ro)(L)--
>  --dict:1/1(L)--   --dict:0/0(L)--   --dict:79/88(ro)(L)--   0
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--
> --nostringval--   --nostringval--   false   1   %stopped_push   2015
> 1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3
> %oparray_pop   1884   1   3   %oparray_pop   --nostringval--
> %errorexec_pop   .runexec2   --nostringval--   --nostringval--
> --nostringval--   2   %stopped_push   --nostringval--   1977   1   3
> %oparray_pop   --nostringval--   1979   7   3   %oparray_pop
> --nostringval--   1971   7   3   %oparray_pop   --nostringval--   9
> Dictionary stack:
>    --dict:981/1684(G)--   --dict:0/20(G)--   --dict:82/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> Current file position is 491
> GPL Ghostscript 9.22: Unrecoverable error, exit code 1
> 
> An strace shows that
> 
> Halftones/Default is missing
> 
> openat(AT_FDCWD,
> "/usr/share/ghostscript/9.22/Resource/Init/Halftone/Default",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> 
> I could not find Halftone/Default anywhere in the apt-cache or on my filesystem
> 
> I was wondering if anyone else has run into similar issues and is debugging?

Hi,

This is a known issue of a2ping 2.77p with Ghostscript 9.22 or later.

This conflict is now detected in Makefile updated yesterday.
Please fetch the current master and see #7 in FAQ-BUILD.txt.

You need to manually download a2ping 2.83p.

If you have trouble with updating a2ping, please let me know.

Regards, Akira

> 
> Warm Regards,
> --
> To unsubscribe from this list: send the line "unsubscribe perfbook" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Strange problems with perfbook compilation
  2018-05-15 11:52 ` Akira Yokosawa
@ 2018-05-16  4:11   ` Balbir Singh
  0 siblings, 0 replies; 3+ messages in thread
From: Balbir Singh @ 2018-05-16  4:11 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook, Paul E. McKenney

On Tue, May 15, 2018 at 9:52 PM, Akira Yokosawa <akiyks@gmail.com> wrote:
> On 2018/05/15 21:25:49 +1000, Balbir Singh wrote:
>> I am using Ubuntu 18.04 and make fails without too many details, a
>> little debug shows
>>
>> CodeSamples/SMPdesign/smpalloc.canonical.eps -->
>> CodeSamples/SMPdesign/smpalloc.canonical.pdf
>> sh utilities/fixanepsfonts-urwps.sh
>> CodeSamples/SMPdesign/smpalloc.canonical.epsi
>> a2ping --below --hires --bboxfrom=compute-gs
>> CodeSamples/SMPdesign/smpalloc.canonical.epsi
>> CodeSamples/SMPdesign/smpalloc.canonical.pdf > /dev/null 2>&1
>>
>> a2ping fails due to gs failure. I was able to keep the temporary file
>> and check what a2ping did, it eventually calls
>>
>> which fails with
>>
>>  gs -dWRITESYSTEMDICT -dNOPAUSE -sDEVICE=bbox
>> -sFN=CodeSamples/SMPdesign/smpalloc.canonical.epsi
>> /tmp/a2ping_pl-5942-576561132-c.tgs
>> Error: /undefined in --.beginpage--
>> Operand stack:
>>    false   --dict:1/1(L)--   --nostringval--   --dict:79/156(ro)(L)--
>>  --dict:1/1(L)--   --dict:0/0(L)--   --dict:79/88(ro)(L)--   0
>> Execution stack:
>>    %interp_exit   .runexec2   --nostringval--   --nostringval--
>> --nostringval--   2   %stopped_push   --nostringval--
>> --nostringval--   --nostringval--   false   1   %stopped_push   2015
>> 1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3
>> %oparray_pop   1884   1   3   %oparray_pop   --nostringval--
>> %errorexec_pop   .runexec2   --nostringval--   --nostringval--
>> --nostringval--   2   %stopped_push   --nostringval--   1977   1   3
>> %oparray_pop   --nostringval--   1979   7   3   %oparray_pop
>> --nostringval--   1971   7   3   %oparray_pop   --nostringval--   9
>> Dictionary stack:
>>    --dict:981/1684(G)--   --dict:0/20(G)--   --dict:82/200(L)--
>> Current allocation mode is local
>> Last OS error: No such file or directory
>> Current file position is 491
>> GPL Ghostscript 9.22: Unrecoverable error, exit code 1
>>
>> An strace shows that
>>
>> Halftones/Default is missing
>>
>> openat(AT_FDCWD,
>> "/usr/share/ghostscript/9.22/Resource/Init/Halftone/Default",
>> O_RDONLY) = -1 ENOENT (No such file or directory)
>>
>> I could not find Halftone/Default anywhere in the apt-cache or on my filesystem
>>
>> I was wondering if anyone else has run into similar issues and is debugging?
>
> Hi,
>
> This is a known issue of a2ping 2.77p with Ghostscript 9.22 or later.
>
> This conflict is now detected in Makefile updated yesterday.
> Please fetch the current master and see #7 in FAQ-BUILD.txt.
>
> You need to manually download a2ping 2.83p.
>
> If you have trouble with updating a2ping, please let me know.

I can confirm that this now works for me

Thanks,
Balbir Singh.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-16  4:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-15 11:25 Strange problems with perfbook compilation Balbir Singh
2018-05-15 11:52 ` Akira Yokosawa
2018-05-16  4:11   ` Balbir Singh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.