All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: perfbook
       [not found] ` <20181025100235.GR4170@linux.ibm.com>
@ 2018-10-26 20:20   ` Andrea Parri
  2018-10-26 21:02     ` perfbook Akira Yokosawa
  0 siblings, 1 reply; 14+ messages in thread
From: Andrea Parri @ 2018-10-26 20:20 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook

On Thu, Oct 25, 2018 at 03:02:35AM -0700, Paul E. McKenney wrote:
> On Thu, Oct 25, 2018 at 10:36:09AM +0200, Andrea Parri wrote:
> > Hi Paul,
> > 
> > could you forward me the info about perfbook you sent last week
> > including the PDF?  I did try to compile from the repo but have
> > not been successful yet: here's the last one.
> > 
> > sh ./utilities/gen_snippet_d.sh
> > sh utilities/autodate.sh >autodate.tex
> > CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
> > Makefile:211: recipe for target 'CodeSamples/SMPdesign/smpalloc.canonical.pdf' failed
> > make: *** [CodeSamples/SMPdesign/smpalloc.canonical.pdf] Error 255
> 
> Hello, Andrea,
> 
> Please see attached for the current PDF.  It looks to me like you are
> missing one of the required packages, which are listed in FAQ-BUILD.txt
> in the perfbook repo.
> 
> Adding the perfbook email list in case someone has more exact advice.  ;-)

Thanks.

Please let me know if I should provide info about my setup/log.

  Andrea


> 
> 							Thanx, Paul



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

* Re: perfbook
  2018-10-26 20:20   ` perfbook Andrea Parri
@ 2018-10-26 21:02     ` Akira Yokosawa
  2018-10-26 22:14       ` perfbook Andrea Parri
  0 siblings, 1 reply; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-26 21:02 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/26 13:58:45 -0700, Andrea Parri wrote:
> On Thu, Oct 25, 2018 at 03:02:35AM -0700, Paul E. McKenney wrote:
>> On Thu, Oct 25, 2018 at 10:36:09AM +0200, Andrea Parri wrote:
>>> Hi Paul,
>>>
>>> could you forward me the info about perfbook you sent last week
>>> including the PDF?  I did try to compile from the repo but have
>>> not been successful yet: here's the last one.
>>>
>>> sh ./utilities/gen_snippet_d.sh
>>> sh utilities/autodate.sh >autodate.tex
>>> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
>>> Makefile:211: recipe for target 'CodeSamples/SMPdesign/smpalloc.canonical.pdf' failed
>>> make: *** [CodeSamples/SMPdesign/smpalloc.canonical.pdf] Error 255
>>
>> Hello, Andrea,
>>
>> Please see attached for the current PDF.  It looks to me like you are
>> missing one of the required packages, which are listed in FAQ-BUILD.txt
>> in the perfbook repo.
>>
>> Adding the perfbook email list in case someone has more exact advice.  ;-)
> 
> Thanks.
> 
> Please let me know if I should provide info about my setup/log.

Hello Andrea,

The commands involved in the failed recipe is "a2ping".
It invokes "gs" (Ghostscript) internally.

Current Makefile does not check the existence of "gs".
Do your system have Ghostscript installed?

        Thanks, Akira
 

> 
>   Andrea
> 
> 
>>
>> 							Thanx, Paul
> 
> 


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

* Re: perfbook
  2018-10-26 21:02     ` perfbook Akira Yokosawa
@ 2018-10-26 22:14       ` Andrea Parri
  2018-10-26 22:45         ` perfbook Akira Yokosawa
  2018-10-27  3:50         ` perfbook Akira Yokosawa
  0 siblings, 2 replies; 14+ messages in thread
From: Andrea Parri @ 2018-10-26 22:14 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: Paul E. McKenney, perfbook

On Sat, Oct 27, 2018 at 06:02:02AM +0900, Akira Yokosawa wrote:
> On 2018/10/26 13:58:45 -0700, Andrea Parri wrote:
> > On Thu, Oct 25, 2018 at 03:02:35AM -0700, Paul E. McKenney wrote:
> >> On Thu, Oct 25, 2018 at 10:36:09AM +0200, Andrea Parri wrote:
> >>> Hi Paul,
> >>>
> >>> could you forward me the info about perfbook you sent last week
> >>> including the PDF?  I did try to compile from the repo but have
> >>> not been successful yet: here's the last one.
> >>>
> >>> sh ./utilities/gen_snippet_d.sh
> >>> sh utilities/autodate.sh >autodate.tex
> >>> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
> >>> Makefile:211: recipe for target 'CodeSamples/SMPdesign/smpalloc.canonical.pdf' failed
> >>> make: *** [CodeSamples/SMPdesign/smpalloc.canonical.pdf] Error 255
> >>
> >> Hello, Andrea,
> >>
> >> Please see attached for the current PDF.  It looks to me like you are
> >> missing one of the required packages, which are listed in FAQ-BUILD.txt
> >> in the perfbook repo.
> >>
> >> Adding the perfbook email list in case someone has more exact advice.  ;-)
> > 
> > Thanks.
> > 
> > Please let me know if I should provide info about my setup/log.
> 
> Hello Andrea,
> 
> The commands involved in the failed recipe is "a2ping".
> It invokes "gs" (Ghostscript) internally.
> 
> Current Makefile does not check the existence of "gs".
> Do your system have Ghostscript installed?

Hi Akira.  Yes, I have v9.25 (2018-03-21) from ubuntu 18.04.

  Andrea


> 
>         Thanks, Akira
>  
> 
> > 
> >   Andrea
> > 
> > 
> >>
> >> 							Thanx, Paul
> > 
> > 
> 


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

* Re: perfbook
  2018-10-26 22:14       ` perfbook Andrea Parri
@ 2018-10-26 22:45         ` Akira Yokosawa
  2018-10-26 23:06           ` perfbook Andrea Parri
  2018-10-27  3:50         ` perfbook Akira Yokosawa
  1 sibling, 1 reply; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-26 22:45 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 7:14, Andrea Parri wrote:
> On Sat, Oct 27, 2018 at 06:02:02AM +0900, Akira Yokosawa wrote:
>> On 2018/10/26 13:58:45 -0700, Andrea Parri wrote:
>>> On Thu, Oct 25, 2018 at 03:02:35AM -0700, Paul E. McKenney wrote:
>>>> On Thu, Oct 25, 2018 at 10:36:09AM +0200, Andrea Parri wrote:
>>>>> Hi Paul,
>>>>>
>>>>> could you forward me the info about perfbook you sent last week
>>>>> including the PDF?  I did try to compile from the repo but have
>>>>> not been successful yet: here's the last one.
>>>>>
>>>>> sh ./utilities/gen_snippet_d.sh
>>>>> sh utilities/autodate.sh >autodate.tex
>>>>> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
>>>>> Makefile:211: recipe for target 'CodeSamples/SMPdesign/smpalloc.canonical.pdf' failed
>>>>> make: *** [CodeSamples/SMPdesign/smpalloc.canonical.pdf] Error 255
>>>>
>>>> Hello, Andrea,
>>>>
>>>> Please see attached for the current PDF.  It looks to me like you are
>>>> missing one of the required packages, which are listed in FAQ-BUILD.txt
>>>> in the perfbook repo.
>>>>
>>>> Adding the perfbook email list in case someone has more exact advice.  ;-)
>>>
>>> Thanks.
>>>
>>> Please let me know if I should provide info about my setup/log.
>>
>> Hello Andrea,
>>
>> The commands involved in the failed recipe is "a2ping".
>> It invokes "gs" (Ghostscript) internally.
>>
>> Current Makefile does not check the existence of "gs".
>> Do your system have Ghostscript installed?
> 
> Hi Akira.  Yes, I have v9.25 (2018-03-21) from ubuntu 18.04.

And you have a2ping 2.83p, right?  Otherwise, Makefile should
complain. Hmm???

Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
and let me know what a2ping should say?

"GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
fatal and can be ignored as far as I know.

      Akira

> 
>   Andrea
> 
> 
>>
>>         Thanks, Akira
>>  
>>
>>>
>>>   Andrea
>>>
>>>
>>>>
>>>> 							Thanx, Paul
>>>
>>>
>>


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

* Re: perfbook
  2018-10-26 22:45         ` perfbook Akira Yokosawa
@ 2018-10-26 23:06           ` Andrea Parri
  2018-10-26 23:43             ` perfbook Akira Yokosawa
  0 siblings, 1 reply; 14+ messages in thread
From: Andrea Parri @ 2018-10-26 23:06 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: Paul E. McKenney, perfbook

> And you have a2ping 2.83p, right?  Otherwise, Makefile should
> complain. Hmm???

Indeed, 2.83p.


> 
> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
> and let me know what a2ping should say?

It says:

/usr/local/bin/a2ping: not a GS output from gs (0)

  Andrea


> 
> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
> fatal and can be ignored as far as I know.
> 
>       Akira


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

* Re: perfbook
  2018-10-26 23:06           ` perfbook Andrea Parri
@ 2018-10-26 23:43             ` Akira Yokosawa
  2018-10-27  0:33               ` perfbook Akira Yokosawa
  0 siblings, 1 reply; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-26 23:43 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 8:06, Andrea Parri wrote:
>> And you have a2ping 2.83p, right?  Otherwise, Makefile should
>> complain. Hmm???
> 
> Indeed, 2.83p.
> 
> 
>>
>> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
>> and let me know what a2ping should say?
> 
> It says:
> 
> /usr/local/bin/a2ping: not a GS output from gs (0)

Umm, "gs (0)" suggests exit code of gs is 0, which should indicate
success. I have no idea what is going on.

I have a Ubuntu 18.04 virtual machine and a2ping 2.83p works happily
there. 

Sorry but I can't help you at the moment.

Akira

> 
>   Andrea
> 
> 
>>
>> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
>> fatal and can be ignored as far as I know.
>>
>>       Akira


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

* Re: perfbook
  2018-10-26 23:43             ` perfbook Akira Yokosawa
@ 2018-10-27  0:33               ` Akira Yokosawa
  2018-10-27  0:43                 ` perfbook Andrea Parri
  0 siblings, 1 reply; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-27  0:33 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 8:43, Akira Yokosawa wrote:
> On 2018/10/27 8:06, Andrea Parri wrote:
>>> And you have a2ping 2.83p, right?  Otherwise, Makefile should
>>> complain. Hmm???
>>
>> Indeed, 2.83p.
>>
>>
>>>
>>> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
>>> and let me know what a2ping should say?
>>
>> It says:
>>
>> /usr/local/bin/a2ping: not a GS output from gs (0)
> 
> Umm, "gs (0)" suggests exit code of gs is 0, which should indicate
> success. I have no idea what is going on.

Andrea,

Do you happen to set some of environment variables:

    GS_OPTIONS
    GS_DEVICE

and the like?

Akira

> 
> I have a Ubuntu 18.04 virtual machine and a2ping 2.83p works happily
> there. 
> 
> Sorry but I can't help you at the moment.
> 
> Akira
> 
>>
>>   Andrea
>>
>>
>>>
>>> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
>>> fatal and can be ignored as far as I know.
>>>
>>>       Akira
> 


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

* Re: perfbook
  2018-10-27  0:33               ` perfbook Akira Yokosawa
@ 2018-10-27  0:43                 ` Andrea Parri
  2018-10-27  1:57                   ` perfbook Paul E. McKenney
  2018-10-27 10:11                   ` perfbook Akira Yokosawa
  0 siblings, 2 replies; 14+ messages in thread
From: Andrea Parri @ 2018-10-27  0:43 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: Paul E. McKenney, perfbook

On Sat, Oct 27, 2018 at 09:33:57AM +0900, Akira Yokosawa wrote:
> On 2018/10/27 8:43, Akira Yokosawa wrote:
> > On 2018/10/27 8:06, Andrea Parri wrote:
> >>> And you have a2ping 2.83p, right?  Otherwise, Makefile should
> >>> complain. Hmm???
> >>
> >> Indeed, 2.83p.
> >>
> >>
> >>>
> >>> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
> >>> and let me know what a2ping should say?
> >>
> >> It says:
> >>
> >> /usr/local/bin/a2ping: not a GS output from gs (0)
> > 
> > Umm, "gs (0)" suggests exit code of gs is 0, which should indicate
> > success. I have no idea what is going on.
> 
> Andrea,
> 
> Do you happen to set some of environment variables:
> 
>     GS_OPTIONS
>     GS_DEVICE
> 
> and the like?

No GS_ variable set.

  Andrea


> 
> Akira
> 
> > 
> > I have a Ubuntu 18.04 virtual machine and a2ping 2.83p works happily
> > there. 
> > 
> > Sorry but I can't help you at the moment.
> > 
> > Akira
> > 
> >>
> >>   Andrea
> >>
> >>
> >>>
> >>> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
> >>> fatal and can be ignored as far as I know.
> >>>
> >>>       Akira
> > 
> 


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

* Re: perfbook
  2018-10-27  0:43                 ` perfbook Andrea Parri
@ 2018-10-27  1:57                   ` Paul E. McKenney
  2018-10-27 10:11                   ` perfbook Akira Yokosawa
  1 sibling, 0 replies; 14+ messages in thread
From: Paul E. McKenney @ 2018-10-27  1:57 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Akira Yokosawa, perfbook

On Sat, Oct 27, 2018 at 02:43:19AM +0200, Andrea Parri wrote:
> On Sat, Oct 27, 2018 at 09:33:57AM +0900, Akira Yokosawa wrote:
> > On 2018/10/27 8:43, Akira Yokosawa wrote:
> > > On 2018/10/27 8:06, Andrea Parri wrote:
> > >>> And you have a2ping 2.83p, right?  Otherwise, Makefile should
> > >>> complain. Hmm???
> > >>
> > >> Indeed, 2.83p.
> > >>
> > >>
> > >>>
> > >>> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
> > >>> and let me know what a2ping should say?
> > >>
> > >> It says:
> > >>
> > >> /usr/local/bin/a2ping: not a GS output from gs (0)
> > > 
> > > Umm, "gs (0)" suggests exit code of gs is 0, which should indicate
> > > success. I have no idea what is going on.
> > 
> > Andrea,
> > 
> > Do you happen to set some of environment variables:
> > 
> >     GS_OPTIONS
> >     GS_DEVICE
> > 
> > and the like?
> 
> No GS_ variable set.

If you run a2ping manually, can you make it convert the file
CodeSamples/SMPdesign/smpalloc.canonical.eps to .pdf?

The Makefile uses "a2ping --below --hires --bboxfrom=compute-gs"
followed by the .eps and the .pdf names.

If that doesn't work, can you manually run "gs" to view the .eps file?

The thought is that there might be some argument needed (or vice versa)
on your system that isn't required on Akira's or my systems.

							Thanx, Paul

>   Andrea
> 
> 
> > 
> > Akira
> > 
> > > 
> > > I have a Ubuntu 18.04 virtual machine and a2ping 2.83p works happily
> > > there. 
> > > 
> > > Sorry but I can't help you at the moment.
> > > 
> > > Akira
> > > 
> > >>
> > >>   Andrea
> > >>
> > >>
> > >>>
> > >>> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
> > >>> fatal and can be ignored as far as I know.
> > >>>
> > >>>       Akira
> > > 
> > 
> 


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

* Re: perfbook
  2018-10-26 22:14       ` perfbook Andrea Parri
  2018-10-26 22:45         ` perfbook Akira Yokosawa
@ 2018-10-27  3:50         ` Akira Yokosawa
  2018-10-27 12:58           ` perfbook Andrea Parri
  1 sibling, 1 reply; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-27  3:50 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 7:14, Andrea Parri wrote:
> On Sat, Oct 27, 2018 at 06:02:02AM +0900, Akira Yokosawa wrote:
>> On 2018/10/26 13:58:45 -0700, Andrea Parri wrote:
>>> On Thu, Oct 25, 2018 at 03:02:35AM -0700, Paul E. McKenney wrote:
>>>> On Thu, Oct 25, 2018 at 10:36:09AM +0200, Andrea Parri wrote:
>>>>> Hi Paul,
>>>>>
>>>>> could you forward me the info about perfbook you sent last week
>>>>> including the PDF?  I did try to compile from the repo but have
>>>>> not been successful yet: here's the last one.
>>>>>
>>>>> sh ./utilities/gen_snippet_d.sh
>>>>> sh utilities/autodate.sh >autodate.tex
>>>>> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
>>>>> Makefile:211: recipe for target 'CodeSamples/SMPdesign/smpalloc.canonical.pdf' failed
>>>>> make: *** [CodeSamples/SMPdesign/smpalloc.canonical.pdf] Error 255
>>>>
>>>> Hello, Andrea,
>>>>
>>>> Please see attached for the current PDF.  It looks to me like you are
>>>> missing one of the required packages, which are listed in FAQ-BUILD.txt
>>>> in the perfbook repo.
>>>>
>>>> Adding the perfbook email list in case someone has more exact advice.  ;-)
>>>
>>> Thanks.
>>>
>>> Please let me know if I should provide info about my setup/log.
>>
>> Hello Andrea,
>>
>> The commands involved in the failed recipe is "a2ping".
>> It invokes "gs" (Ghostscript) internally.
>>
>> Current Makefile does not check the existence of "gs".
>> Do your system have Ghostscript installed?
> 
> Hi Akira.  Yes, I have v9.25 (2018-03-21) from ubuntu 18.04.

Just want to make sure the gs version.

"gs -v" on my Ubuntu 18.04 says:

GPL Ghostscript 9.25 (2018-09-13)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.

What does your "gs -v" say?

        Akira

> 
>   Andrea
> 
> 
>>
>>         Thanks, Akira
>>  
>>
>>>
>>>   Andrea
>>>
>>>
>>>>
>>>> 							Thanx, Paul
>>>
>>>
>>


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

* Re: perfbook
  2018-10-27  0:43                 ` perfbook Andrea Parri
  2018-10-27  1:57                   ` perfbook Paul E. McKenney
@ 2018-10-27 10:11                   ` Akira Yokosawa
  1 sibling, 0 replies; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-27 10:11 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 02:43:19 +0200, Andrea Parri wrote:
> On Sat, Oct 27, 2018 at 09:33:57AM +0900, Akira Yokosawa wrote:
>> On 2018/10/27 8:43, Akira Yokosawa wrote:
>>> On 2018/10/27 8:06, Andrea Parri wrote:
>>>>> And you have a2ping 2.83p, right?  Otherwise, Makefile should
>>>>> complain. Hmm???
>>>>
>>>> Indeed, 2.83p.
>>>>
>>>>
>>>>>
>>>>> Can you remove "> /dev/null 2>&1" on line 220 of Makefile,
>>>>> and let me know what a2ping should say?
>>>>
>>>> It says:
>>>>
>>>> /usr/local/bin/a2ping: not a GS output from gs (0)
>>>
>>> Umm, "gs (0)" suggests exit code of gs is 0, which should indicate
>>> success. I have no idea what is going on.
>>
>> Andrea,
>>
>> Do you happen to set some of environment variables:
>>
>>     GS_OPTIONS
>>     GS_DEVICE
>>
>> and the like?
> 
> No GS_ variable set.

Hmm.

As a last resort, there are alternative commands to a2ping I'm aware of.

If "ps2epsi", "epstool", and "epstopdf" all work on your system,
I can provide a variant of Makefile which don't rely on a2ping.

How to check:

(You might need to install missing commands if any.)

$ ps2epsi SMPdesign/CPUvsEnet.eps /tmp/CPUvsEnet.epsi
$ epstool --copy --bbox --ignore-errors /tmp/CPUvsEnet.epsi /tmp/CPUvsEnet.epsij
$ cat /tmp/CPUvsEnet.epsij | epstopdf --filter --outfile=/tmp/CPUvsEnet.pdf

If /tmp/CPUvsEnet.pdf (Figure 6.12 in perfbook) is generated, those three
commands should be working properly.

I tried these commands this February when Fedora 28 updated Ghostscript to
9.22, and a2ping (2.77p) stopped working.  Luckily, a2ping's maintainer
released 2.83p in March.

        Thanks, Akira

> 
>   Andrea
> 
> 
>>
>> Akira
>>
>>>
>>> I have a Ubuntu 18.04 virtual machine and a2ping 2.83p works happily
>>> there. 
>>>
>>> Sorry but I can't help you at the moment.
>>>
>>> Akira
>>>
>>>>
>>>>   Andrea
>>>>
>>>>
>>>>>
>>>>> "GPL Ghostscript 9.25: Unrecoverable error, exit code 1" is not
>>>>> fatal and can be ignored as far as I know.
>>>>>
>>>>>       Akira
>>>
>>


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

* Re: perfbook
  2018-10-27  3:50         ` perfbook Akira Yokosawa
@ 2018-10-27 12:58           ` Andrea Parri
  2018-10-27 13:27             ` perfbook Akira Yokosawa
  2018-10-27 17:09             ` perfbook Paul E. McKenney
  0 siblings, 2 replies; 14+ messages in thread
From: Andrea Parri @ 2018-10-27 12:58 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: Paul E. McKenney, perfbook

> Just want to make sure the gs version.
> 
> "gs -v" on my Ubuntu 18.04 says:
> 
> GPL Ghostscript 9.25 (2018-09-13)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> 
> What does your "gs -v" say?

It said:

GPL Ghostscript GIT PRERELEASE 9.25 (2018-03-21)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.

which suggested that my previous "from ubuntu 18.04" was in fact not
matching reality: it looks like I installed gs from sources, only a
few months ago, and completely forgot about it. ;/  Mah, I manually
removed my binary (/usr/local/bin/gs), and apt-purged-and-installed
fig2ps ghostscript ghostscript-x gv.


Now it says:

GPL Ghostscript 9.25 (2018-09-13)
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.

which seems to match what you reported above.  I was then able to
generate perfbook.pdf, even though with a bunch of:

CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
GPL Ghostscript 9.25: Unrecoverable error, exit code 1

I only had a quick look at the generated .pdf, but I haven't noticed
issues.  Are those errors expected?  Any other suggestion?

Thanks,
  Andrea


> 
>         Akira


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

* Re: perfbook
  2018-10-27 12:58           ` perfbook Andrea Parri
@ 2018-10-27 13:27             ` Akira Yokosawa
  2018-10-27 17:09             ` perfbook Paul E. McKenney
  1 sibling, 0 replies; 14+ messages in thread
From: Akira Yokosawa @ 2018-10-27 13:27 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Paul E. McKenney, perfbook, Akira Yokosawa

On 2018/10/27 21:58, Andrea Parri wrote:
>> Just want to make sure the gs version.
>>
>> "gs -v" on my Ubuntu 18.04 says:
>>
>> GPL Ghostscript 9.25 (2018-09-13)
>> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
>>
>> What does your "gs -v" say?
> 
> It said:
> 
> GPL Ghostscript GIT PRERELEASE 9.25 (2018-03-21)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> 
> which suggested that my previous "from ubuntu 18.04" was in fact not
> matching reality: it looks like I installed gs from sources, only a
> few months ago, and completely forgot about it. ;/  Mah, 

Ah!

>                                                          I manually
> removed my binary (/usr/local/bin/gs), and apt-purged-and-installed
> fig2ps ghostscript ghostscript-x gv.
> 
> 
> Now it says:
> 
> GPL Ghostscript 9.25 (2018-09-13)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> 
> which seems to match what you reported above.  I was then able to
> generate perfbook.pdf, even though with a bunch of:
> 
> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
> GPL Ghostscript 9.25: Unrecoverable error, exit code 1
That's why the output of e2ping is redirected to /dev/null in the Makefile.

> 
> I only had a quick look at the generated .pdf, but I haven't noticed
> issues.  Are those errors expected?  Any other suggestion?

As I mentioned earlier, the error message from gs is
expected and can be safely ignored for perfbook.pdf generation.
Please restore Makefile by "git checkout -- Makefile".

Glad to know you can now build .pdf on your own.

And if you will ever do the first-time build again, you can do
parallel make by saying "make -j4" (4 is for a quad-core machine).

You can try it by "make neatfreak; make -j4" if you'd like to.

        Thanks, Akira

> 
> Thanks,
>   Andrea
> 
> 
>>
>>         Akira


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

* Re: perfbook
  2018-10-27 12:58           ` perfbook Andrea Parri
  2018-10-27 13:27             ` perfbook Akira Yokosawa
@ 2018-10-27 17:09             ` Paul E. McKenney
  1 sibling, 0 replies; 14+ messages in thread
From: Paul E. McKenney @ 2018-10-27 17:09 UTC (permalink / raw)
  To: Andrea Parri; +Cc: Akira Yokosawa, perfbook

On Sat, Oct 27, 2018 at 02:58:44PM +0200, Andrea Parri wrote:
> > Just want to make sure the gs version.
> > 
> > "gs -v" on my Ubuntu 18.04 says:
> > 
> > GPL Ghostscript 9.25 (2018-09-13)
> > Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> > 
> > What does your "gs -v" say?
> 
> It said:
> 
> GPL Ghostscript GIT PRERELEASE 9.25 (2018-03-21)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> 
> which suggested that my previous "from ubuntu 18.04" was in fact not
> matching reality: it looks like I installed gs from sources, only a
> few months ago, and completely forgot about it. ;/  Mah, I manually
> removed my binary (/usr/local/bin/gs), and apt-purged-and-installed
> fig2ps ghostscript ghostscript-x gv.

Been there, done that.  ;-)

> Now it says:
> 
> GPL Ghostscript 9.25 (2018-09-13)
> Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.
> 
> which seems to match what you reported above.  I was then able to
> generate perfbook.pdf, even though with a bunch of:

Very good!  ;-)

> CodeSamples/SMPdesign/smpalloc.canonical.eps --> CodeSamples/SMPdesign/smpalloc.canonical.pdf
> GPL Ghostscript 9.25: Unrecoverable error, exit code 1
> 
> I only had a quick look at the generated .pdf, but I haven't noticed
> issues.  Are those errors expected?  Any other suggestion?

What Akira said on this one (and thank you, Akira!).  You just need to get
rid of the diagnostic change that Akira suggested earlier in this thread.

							Thanx, Paul


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

end of thread, other threads:[~2018-10-28  1:50 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20181025083609.GA6766@andrea>
     [not found] ` <20181025100235.GR4170@linux.ibm.com>
2018-10-26 20:20   ` perfbook Andrea Parri
2018-10-26 21:02     ` perfbook Akira Yokosawa
2018-10-26 22:14       ` perfbook Andrea Parri
2018-10-26 22:45         ` perfbook Akira Yokosawa
2018-10-26 23:06           ` perfbook Andrea Parri
2018-10-26 23:43             ` perfbook Akira Yokosawa
2018-10-27  0:33               ` perfbook Akira Yokosawa
2018-10-27  0:43                 ` perfbook Andrea Parri
2018-10-27  1:57                   ` perfbook Paul E. McKenney
2018-10-27 10:11                   ` perfbook Akira Yokosawa
2018-10-27  3:50         ` perfbook Akira Yokosawa
2018-10-27 12:58           ` perfbook Andrea Parri
2018-10-27 13:27             ` perfbook Akira Yokosawa
2018-10-27 17:09             ` perfbook Paul E. McKenney

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.