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

Bug 224225

Summary: sci-libs/cfitsio-2.510-r1 ebuild does not install libcfitsio.a
Product: Gentoo Linux Reporter: Marek Miller <mlm>
Component: New packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: nerdboy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 224227    

Description Marek Miller 2008-05-30 12:24:43 UTC
I am writing a new ebuild for sci-libs/cpl-4.1.0 and I can't pass configuration phase, because the script checks for libcfitsio.a file. I applied this patch to the cfitsio-2.510-r1.ebuild and everything works fine:

--- cfitsio-2.510-r1.ebuild.orig	2008-05-30 12:02:07.000000000 +0000
+++ cfitsio-2.510-r1.ebuild	2008-05-30 12:02:30.000000000 +0000
@@ -36,6 +36,7 @@
 	dodir /usr/include
 	dobin fitscopy imcopy listhead
 	dolib.so libcfitsio.so.*
+	dolib.a  libcfitsio.a
 	dodoc changes.txt README Licence.txt
 
 	if use doc; then
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-05-31 10:44:36 UTC
Hi Marek,

The cfitsio-3.060.ebuild will already properly 
install the *.a libraries. Can you use this version 
instead? If at all possible stable ebuilds like
cfitsio-2.510-r1 should not be changed unless there's
a clear bug/security issue.

Thanks,
Markus
Comment 2 Marek Miller 2008-05-31 12:50:30 UTC
Unfortunately, I cannot use any other version as stated in
http://www.eso.org/sci/data-processing/software/cpl/download.html
Comment 3 Marek Miller 2008-05-31 13:23:11 UTC
Is this possible to put 2.510-r2 in portage tree?
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2008-05-31 13:29:57 UTC
Fair enough. Since it shouldn't do any harm I've added the 
installation of the static lib to the cfitsio-2.510-r1 ebuild.
Please let us know if there are any problems and good luck 
with the cpl ebuild.

Thanks,
Markus