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: RESOLVED FIXED    
Severity: normal CC: pogosyan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=224225
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.
Comment 1 Paul Zander 2024-11-22 11:16:28 UTC
The bug has been closed via the following commit(s):

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

commit d9b4acd2c75c45f15f1bd5d39be5ef6f76293ffd
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Wed Jun 19 06:28:03 2024 +0200
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Wed Jun 19 06:28:03 2024 +0200

    sci-libs/cfitsio: Bump to 4.4.1
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sci-libs/cfitsio/Manifest                                       | 1 +
 sci-libs/cfitsio/{cfitsio-4.4.0.ebuild => cfitsio-4.4.1.ebuild} | 0
 2 files changed, 1 insertion(+)