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
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
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.
Package: gdal-1.7.2-1.fc14 Tag: dist-f14 Status: complete Built by: robert