Opened 11 years ago

Last modified 10 years ago

#39214 closed defect

gdal 1.10 +spatialite fails — at Version 1

Reported by: basmac Owned by: seanasy@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: gdal

Description (last modified by larryv (Lawrence Velázquez))

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#

Change History (2)

Changed 11 years ago by basmac

Attachment: main.log added

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: gdal 1.10 spatialite removed
Owner: changed from macports-tickets@… to seanasy@…
Summary: gdal 1.10 and spatialite failsgdal 1.10 +spatialite fails

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
Note: See TracTickets for help on using tickets.