Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930640 - sci-libs/cfitsio installation unconditionally removes static .a libraries
Summary: sci-libs/cfitsio installation unconditionally removes static .a libraries
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 19:37 UTC by pogosyan
Modified: 2024-04-24 20:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.