All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: Balbir Singh <bsingharora@gmail.com>
Cc: perfbook@vger.kernel.org,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Akira Yokosawa <akiyks@gmail.com>
Subject: Re: Strange problems with perfbook compilation
Date: Tue, 15 May 2018 20:52:05 +0900	[thread overview]
Message-ID: <29abac0f-048f-792d-7841-d3da891fea21@gmail.com> (raw)
In-Reply-To: <CAKTCnzm4Gw3i3w1LbpFw1xXXfZ3JpeniuQryZ1wWhtnW+BCKvg@mail.gmail.com>

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
> 


  reply	other threads:[~2018-05-15 11:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15 11:25 Strange problems with perfbook compilation Balbir Singh
2018-05-15 11:52 ` Akira Yokosawa [this message]
2018-05-16  4:11   ` Balbir Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29abac0f-048f-792d-7841-d3da891fea21@gmail.com \
    --to=akiyks@gmail.com \
    --cc=bsingharora@gmail.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.