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

Bug 930640

Summary: sci-libs/cfitsio installation unconditionally removes static .a libraries
Product: Gentoo Linux Reporter: pogosyan
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: UNCONFIRMED ---    
Severity: normal CC: pogosyan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description pogosyan 2024-04-24 19:37:33 UTC
Current installation of sci-libs/cfitsio-4.2.0   compiles but the removes libcfitsio.a static library during the installation by the following line in ebuild function

multilib_src_install_all() {
.....


        # Remove static libs
        find "${ED}" -name '*.a' -delete || die
}


At least in my case, static library is required to compile a third party astrophysics software ( https://healpix.sourceforge.io ) against system cfitsio.

Could this be optionally controlled by USE='static-libs' USE flag that many other library packages have ?

This issue was raised back in 2008 in  bug #224225,  which was marked as resolved by restoring static libraries in cfitsio installation.  However  they disappeared again since.