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

Bug 900977

Summary: app-text/ghostscript-gpl-10.0.0-r5 does not build all static libraries with USE="static-libs"
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Codec Project <codec>
Status: CONFIRMED ---    
Severity: normal CC: printing, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2023-03-13 09:41:37 UTC
~ # qlist -e ghostscript-gpl | grep -E '(\.so$|\.a$)'
/usr/lib64/libgs.so
/usr/lib64/libijs-0.35.so
/usr/lib64/libijs.so
/usr/lib64/libijs.a

I don't have libgs.a
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-15 03:37:02 UTC
Did you expect it for a particular reason? I don't know if this is intentional or not, but I'm wondering how you noticed, or if you've just noticed by chance.
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-15 07:45:12 UTC
I noticed it while trying to build a static gs.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-15 07:48:52 UTC
USE=static-libs isn't supposed to give you a static /usr/bin/gs anyway though?
Comment 4 Agostino Sarubbo gentoo-dev 2023-03-15 07:52:02 UTC
(In reply to Sam James from comment #3)
> USE=static-libs isn't supposed to give you a static /usr/bin/gs anyway
> though?

no, static-libs only build and install .a files. What are you talking about should be USE="static" that adds -static ldflag
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-15 07:55:52 UTC
(In reply to Agostino Sarubbo from comment #4)
> (In reply to Sam James from comment #3)
> > USE=static-libs isn't supposed to give you a static /usr/bin/gs anyway
> > though?
> 
> no, static-libs only build and install .a files. What are you talking about
> should be USE="static" that adds -static ldflag

I'm talking about a static /usr/bin/gs because...
(In reply to Agostino Sarubbo from comment #2)
> I noticed it while trying to build a static gs.

of this.

What exactly were you trying to do?