#39214: gdal 1.10 +spatialite fails --------------------------------+----------------------- Reporter: barry.j.mcinnes@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: gdal | --------------------------------+----------------------- Changes (by larryv@…): * keywords: gdal 1.10 spatialite => * owner: macports-tickets@… => seanasy@… Old description:
gdal 1.9.2-3 +spatialite made properly, with 1.10 all other variants work except spatiality
bash-3.2# port clean gdal ---> Cleaning gdal bash-3.2# port install gdal +curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+sqlite3+python27+xerces+postgresql90+spatialite ---> Computing dependencies for gdal ---> Fetching archive for gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://packages.macports.org/gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gdal ---> Fetching distfiles for gdal ---> Verifying checksum(s) for gdal ---> Extracting gdal ---> Applying patches to gdal ---> Configuring gdal ---> Building gdal Error: org.macports.build for port gdal returned: command execution failed Please see the log file for port gdal for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gdal failed bash-3.2# bash-3.2# port installed spatialite The following ports are currently installed: spatialite @2.3.1_1 (active) bash-3.2#
New description: gdal 1.9.2-3 +spatialite made properly, with 1.10 all other variants work except spatiality {{{ bash-3.2# port clean gdal ---> Cleaning gdal bash-3.2# port install gdal +curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+sqlite3+python27+xerces+postgresql90+spatialite ---> Computing dependencies for gdal ---> Fetching archive for gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://packages.macports.org/gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gdal ---> Attempting to fetch gdal-1.10.0_1+curl+expat+geos+hdf5+jasper+lzma+mysql5+netcdf+odbc+opencl+poppler+postgresql90+python27+spatialite+sqlite3+xerces.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gdal ---> Fetching distfiles for gdal ---> Verifying checksum(s) for gdal ---> Extracting gdal ---> Applying patches to gdal ---> Configuring gdal ---> Building gdal Error: org.macports.build for port gdal returned: command execution failed Please see the log file for port gdal for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_gdal/gdal/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gdal failed bash-3.2# bash-3.2# port installed spatialite The following ports are currently installed: spatialite @2.3.1_1 (active) bash-3.2# }}} -- Comment: Thanks. In the future, please Cc relevant port maintainers. This occurs at line 5108 in the log. The offending compilation line is just above it; I’m not going to quote it here because it’s 128,551 characters long. {{{ :info:build Undefined symbols for architecture x86_64: :info:build "_sqlite3_column_table_name", referenced from: :info:build OGRSQLiteSelectLayer::OGRSQLiteSelectLayer(OGRSQLiteDataSource*, CPLString, sqlite3_stmt*, int, int) in ogrsqliteselectlayer.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [libgdal.la] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/39214#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X