Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505824

Summary: dev-embedded/srecord-1.64 fails to build without ps2pdf
Product: Gentoo Linux Reporter: Doug Goldstein (RETIRED) <cardoe>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal CC: mlen, sam, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Doug Goldstein (RETIRED) gentoo-dev 2014-03-26 01:32:08 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -frecord-gcc-switches -I. -c test/hyphen/main.cc  -fPIC -DPIC -o test/hyphen/.libs/main.o
/bin/sh ./libtool --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++  -march=native -O2 -pipe -ggdb -frecord-gcc-switches -I. \
	-c test/url_decode/main.cc -o test/url_decode/main.lo
groff -Tps -s -I. -t -man etc/BUILDING.man > etc/BUILDING.ps
libtool: compile:  x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -ggdb -frecord-gcc-switches -I. -c test/url_decode/main.cc  -fPIC -DPIC -o test/url_decode/.libs/main.o
ps2pdf etc/BUILDING.ps etc/BUILDING.pdf
make: ps2pdf: Command not found
make: *** [etc/BUILDING.pdf] Error 127
make: *** Waiting for unfinished jobs....
config.status: creating script/test_prelude.sh
config.status: executing libtool commands
 * ERROR: dev-embedded/srecord-1.62::gentoo failed (compile phase):
 *   emake failed


Looks like we need app-text/ghostscript-gpl, which is a bit unfortunate since that's a lot of depends.
Comment 1 Mateusz Lenik 2017-05-22 13:20:29 UTC
It turns out that it also requires certain fonts to be installed, otherwise the build fails. It requires Courier Oblique and I'm not sure which package ships that
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-21 13:26:35 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 3 Agostino Sarubbo gentoo-dev 2021-09-24 14:37:02 UTC
tinderbox has reproduced this issue with version 1.64 - Updating summary.
Comment 4 Hanno Böck gentoo-dev 2022-04-29 08:24:42 UTC
This is just missing a dependency on ghostscript.

I think this is a valuable package to keep. I'll fix it.
Comment 5 Larry the Git Cow gentoo-dev 2022-04-29 08:37:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a16092fe497e21b58aacee358ce2025cd5c1fbb

commit 3a16092fe497e21b58aacee358ce2025cd5c1fbb
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2022-04-29 08:36:30 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2022-04-29 08:37:01 +0000

    dev-embedded/srecord: Add missing ghostscript-gpl dependency.
    
    Raise EAPI to 7.
    Fix doc path to avoid portage warning.
    
    Closes: https://bugs.gentoo.org/505824
    Signed-off-by: Hanno Böck <hanno@gentoo.org>
    Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-embedded/srecord/srecord-1.64-r1.ebuild | 43 +++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)