Opened 5 years ago

Closed 5 years ago

#60011 closed defect (duplicate)

Problem installing gdal

Reported by: AgilentGCMS Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: gdal

Description

I'm trying to install py38-cartopy, which has gdal as a dependency. However, gdal fails to build.

$ port install py38-cartopy
--->  Computing dependencies for py38-cartopy
The following dependencies will be installed:
 gdal
 py38-atomicwrites
 py38-attrs
 py38-gdal
 py38-mock
 py38-more-itertools
 py38-owslib
 py38-packaging
 py38-pluggy
 py38-py
 py38-pytest
 py38-shapely
 pytest_select
Continue? [Y/n]:
--->  Fetching distfiles for gdal
--->  Verifying checksums for gdal
--->  Extracting gdal
--->  Applying patches to gdal
--->  Configuring gdal
--->  Building gdal
Error: Failed to build gdal: command execution failed
Error: See /Users/sbasu1/packages/macports/var/macports/logs/_Users_sbasu1_packages_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_gdal/gdal/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py38-cartopy failed

Attachments (1)

main.log (6.7 MB) - added by AgilentGCMS 5 years ago.

Change History (3)

Changed 5 years ago by AgilentGCMS

Attachment: main.log added

comment:1 Changed 5 years ago by AgilentGCMS

The point of failure seems to be at the bottom of the file,

:info:build make[1]: /bin/sh: Argument list too long

This seems to be a known issue, see https://github.com/OSGeo/gdal/issues/2075, which seems to have a fix https://github.com/OSGeo/gdal/pull/2077, but that's not yet made it to macports.

comment:2 Changed 5 years ago by reneeotten (Renee Otten)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.