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

Bug 444034

Summary: sci-libs/gdal-1.9.1 does hardcoded AR calls
Product: Gentoo Linux Reporter: Denis M. (Phr33d0m) <god>
Component: New packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Denis M. (Phr33d0m) 2012-11-20 12:38:13 UTC
Hello, this ebuild does hardcoded AR calls that can be a problem when cross-compiling.

$ ▶ ./blatt.sh /var/tmp/portage/logs/sci-libs\:gdal-1.9.1\:20121118-152024.log 
>>> sci-libs/gdal-1.9.1: ISSUES FOUND
> Hardcoded calls:
ar r /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/libgdal.a /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/frmts/o/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/gcore/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/port/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/alg/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/ogr/ogrsf_frmts/o/*.o ./ogr/ogrgeometryfactory.o ./ogr/ogrpoint.o ./ogr/ogrcurve.o ./ogr/ogrlinestring.o ./ogr/ogrlinearring.o ./ogr/ogrpolygon.o ./ogr/ogrutils.o ./ogr/ogrgeometry.o ./ogr/ogrgeometrycollection.o ./ogr/ogrmultipolygon.o ./ogr/ogrsurface.o ./ogr/ogrmultipoint.o ./ogr/ogrmultilinestring.o ./ogr/ogr_api.o ./ogr/ogrfeature.o ./ogr/ogrfeaturedefn.o ./ogr/ogrfeaturequery.o ./ogr/ogrfeaturestyle.o ./ogr/ogrfielddefn.o ./ogr/ogrspatialreference.o ./ogr/ogr_srsnode.o ./ogr/ogr_srs_proj4.o ./ogr/ogr_fromepsg.o ./ogr/ogrct.o ./ogr/ogr_opt.o ./ogr/ogr_srs_esri.o ./ogr/ogr_srs_pci.o ./ogr/ogr_srs_usgs.o ./ogr/ogr_srs_dict.o ./ogr/ogr_srs_panorama.o ./ogr/ogr_srs_ozi.o ./ogr/ogr_srs_erm.o ./ogr/swq.o ./ogr/swq_expr_node.o ./ogr/swq_parser.o ./ogr/swq_select.o ./ogr/swq_op_registrar.o ./ogr/swq_op_general.o ./ogr/ogr_srs_validate.o ./ogr/ogr_srs_xml.o ./ogr/ograssemblepolygon.o ./ogr/ogr2gmlgeometry.o ./ogr/gml2ogrgeometry.o ./ogr/ogr_expat.o ./ogr/ogrpgeogeometry.o ./ogr/ogrgeomediageometry.o
ar r /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/libgdal.a /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/frmts/o/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/gcore/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/port/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/alg/*.o /var/tmp/portage/sci-libs/gdal-1.9.1/work/gdal-1.9.1/ogr/ogrsf_frmts/o/*.o ./ogr/ogrgeometryfactory.o ./ogr/ogrpoint.o ./ogr/ogrcurve.o ./ogr/ogrlinestring.o ./ogr/ogrlinearring.o ./ogr/ogrpolygon.o ./ogr/ogrutils.o ./ogr/ogrgeometry.o ./ogr/ogrgeometrycollection.o ./ogr/ogrmultipolygon.o ./ogr/ogrsurface.o ./ogr/ogrmultipoint.o ./ogr/ogrmultilinestring.o ./ogr/ogr_api.o ./ogr/ogrfeature.o ./ogr/ogrfeaturedefn.o ./ogr/ogrfeaturequery.o ./ogr/ogrfeaturestyle.o ./ogr/ogrfielddefn.o ./ogr/ogrspatialreference.o ./ogr/ogr_srsnode.o ./ogr/ogr_srs_proj4.o ./ogr/ogr_fromepsg.o ./ogr/ogrct.o ./ogr/ogr_opt.o ./ogr/ogr_srs_esri.o ./ogr/ogr_srs_pci.o ./ogr/ogr_srs_usgs.o ./ogr/ogr_srs_dict.o ./ogr/ogr_srs_panorama.o ./ogr/ogr_srs_ozi.o ./ogr/ogr_srs_erm.o ./ogr/swq.o ./ogr/swq_expr_node.o ./ogr/swq_parser.o ./ogr/swq_select.o ./ogr/swq_op_registrar.o ./ogr/swq_op_general.o ./ogr/ogr_srs_validate.o ./ogr/ogr_srs_xml.o ./ogr/ograssemblepolygon.o ./ogr/ogr2gmlgeometry.o ./ogr/gml2ogrgeometry.o ./ogr/ogr_expat.o ./ogr/ogrpgeogeometry.o ./ogr/ogrgeomediageometry.o


Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-12-26 13:36:39 UTC
+*gdal-1.9.2 (26 Dec 2012)
+
+  26 Dec 2012; Justin Lecher <jlec@gentoo.org> +gdal-1.9.2.ebuild,
+  metadata.xml:
+  Version Bump, #440716; Respect AR and RANLIB, #444034; do not restrict python
+  to version 2*, #439710; correct dep for USE=pdf and pododof, #433790; respect
+  LDFLAGS with USE=perl, #332101
+