Bug 474087 - cfitsio and cfitsio-devel have inconsistent versions
Summary: cfitsio and cfitsio-devel have inconsistent versions
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: CCfits
Version: 10
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-02 05:36 UTC by malcolm
Modified: 2008-12-21 08:35 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-21 08:35:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description malcolm 2008-12-02 05:36:40 UTC
Description of problem
When building a simple test application to open a fits file the executable 
Aborts with the message shown under "Actual results"

The offending piece of test code works perfectly on FC9

Version-Release number of selected component (if applicable):
3.1 or 3.06, take your pick

How reproducible:
 
100%

Steps to Reproduce:
1. Compile example code for fits reader given in the CCfits documentation
2. Run the object file with a legal fits file to read.
3. 
  
Actual results:
ERROR: Mismatch in the version of the fitsio.h include file used to build
the CFITSIO library, and the version included by the application program:
   Version used to build the CFITSIO library   = 3.100000
   Version included by the application program = 3.060000
terminate called after throwing an instance of 'CCfits::FITS::CantOpen'
Aborted


Expected results:
Executable will read FITS primary header and data


Additional info:

Comment 1 Matthew Truch 2008-12-02 14:24:53 UTC
Hmmmm.

Would you please do a:
$ rpm -q cfitsio cfitsio-devel CCfits CCfits-devel
and post the output?

Comment 2 malcolm 2008-12-03 05:33:42 UTC
Output is
cfitsio-3.100-1.fc10.x86_64
cfitsio-devel-3.100-1.fc10.x86_64
CCfits-2.0-1.fc9.x86_64
CCfits-devel-2.0-1.fc9.x86_64

/usr/include/cfitsio/fitsio.h contains the line
#define CFITSIO_VERSION 3.10
in agreement with the rpm -q.

I find it curious that both the CCfits rpms appear to be from fc9, which I just confirmed does ship with version 3.06 of cfitsio, so this may be the problem.

I recorded all the extra packages I downloaded, so can tell you that I installed
the fits RPM's with the following command:

yum install cfitsio cfitsio-devel CCfits CCfits-docs CCfits-devel

Comment 3 Matthew Truch 2008-12-03 14:27:50 UTC
Ok.  So CCfits needs to be rebuilt because of the version mismatch between it and cfitsio.  cfitsio has his annoying ‘feature’ that although the major number of the library doesn't change (and nor does the API), it refuses to run if the versions don't match perfectly.  

Sergio, I'm asigning this to CCfits; please bump the release of CCfits and rebuild.

Comment 4 Sergio Pascual 2008-12-03 15:01:25 UTC
I was planning to upgrade to CCfits 2.1 one of this days anyway...

Comment 5 Fedora Update System 2008-12-03 17:27:24 UTC
CCfits-2.1-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/CCfits-2.1-1.fc10

Comment 6 Fedora Update System 2008-12-07 04:21:09 UTC
CCfits-2.1-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update CCfits'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-10814

Comment 7 Fedora Update System 2008-12-21 08:35:32 UTC
CCfits-2.1-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.