Bug 587707

Summary: cpl_atomic_ops.h missing
Product: [Fedora] Fedora Reporter: Thomas Sailer <fedora>
Component: gdalAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: cristian.balint, pertusus, rdieter, redhat-bugzilla, sven
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.7.2-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-08 22:33:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 599790, 599993    

Description Thomas Sailer 2010-04-30 16:05:33 UTC
Description of problem:
/usr/include/gdal/ogr_feature.h includes cpl_atomic_ops.h

Version-Release number of selected component (if applicable):
gdal-devel-1.7.1-2.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1.Try to compile a .c file that includes ogr_feature.h
  
Actual results:
In file included from /usr/include/gdal/ogrsf_frmts.h:33,
                 from vfrnav/utils/vmap.cc:38:
/usr/include/gdal/ogr_feature.h:35:28: error: cpl_atomic_ops.h: No such file or directory
In file included from /usr/include/gdal/ogrsf_frmts.h:33,
                 from vfrnav/utils/srtmwatermask.cc:57:
/usr/include/gdal/ogr_feature.h:35:28: error: cpl_atomic_ops.h: No such file or directory
In file included from /usr/include/gdal/ogrsf_frmts.h:33,
                 from vfrnav/utils/vmap.cc:38:
/usr/include/gdal/ogr_feature.h: In member function ‘int OGRFeatureDefn::Reference()’:
/usr/include/gdal/ogr_feature.h:142: error: ‘CPLAtomicInc’ was not declared in this scope
/usr/include/gdal/ogr_feature.h: In member function ‘int OGRFeatureDefn::Dereference()’:
/usr/include/gdal/ogr_feature.h:143: error: ‘CPLAtomicDec’ was not declared in this scope
In file included from /usr/include/gdal/ogrsf_frmts.h:33,
                 from vfrnav/utils/srtmwatermask.cc:57:
/usr/include/gdal/ogr_feature.h: In member function ‘int OGRFeatureDefn::Reference()’:
/usr/include/gdal/ogr_feature.h:142: error: ‘CPLAtomicInc’ was not declared in this scope
/usr/include/gdal/ogr_feature.h: In member function ‘int OGRFeatureDefn::Dereference()’:
/usr/include/gdal/ogr_feature.h:143: error: ‘CPLAtomicDec’ was not declared in this scope


Expected results:
compiles without error

Comment 1 Sven Lankes 2010-06-06 20:20:21 UTC
seconded - please add the content of the /port directory to the package. This will allow merkaartor to build on f14 - http://koji.fedoraproject.org/koji/getfile?taskID=2233796&name=build.log

Comment 2 Sven Lankes 2010-07-08 21:46:09 UTC
I have recreated the gdal-fedora tarball for the current upstream release 1.7.2 - this fixes the missing header file.

I haven't made any other changes.

SPEC: http://sven.lank.es/Fedora/SPECS/gdal.spec
SRPM: http://sven.lank.es/Fedora/SRPM/gdal-1.7.2-1.fc13.src.rpm

Any provenpackager help is highly appreciated.

Comment 3 Robert Scheck 2010-07-08 22:33:49 UTC
Package: gdal-1.7.2-1.fc14 Tag: dist-f14 Status: complete Built by: robert