Opened 4 years ago
Closed 23 months ago
#61821 closed defect (fixed)
geos @3.8.1 build failure on Apple Silicon
Reported by: | PaulWessel (Paul Wessel) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | arm64 | Cc: | Dave-Allured (Dave Allured), platipodium (Carsten Lemmen) |
Port: | geos |
Description
This occurs on a clean new Mac mini. The geos-3.8.1 installation fails; log is attached.
sudo port install geos Password: ---> Fetching archive for geos ---> Attempting to fetch geos-3.8.1_0.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/geos ---> Attempting to fetch geos-3.8.1_0.darwin_20.arm64.tbz2 from https://kmq.jp.packages.macports.org/geos ---> Attempting to fetch geos-3.8.1_0.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/geos ---> Building geos Error: Failed to build geos: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_geos/geos/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port geos failed
Attachments (1)
Change History (17)
Changed 4 years ago by PaulWessel (Paul Wessel)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
Cc: | Xcode removed |
---|---|
Keywords: | arm64 added |
Owner: | set to stromnov |
Port: | geos added; goes removed |
Status: | new → assigned |
Summary: | install geos fails for Apple Silicon → geos @3.8.1 build failure on Apple Silicon |
comment:2 Changed 4 years ago by PaulWessel (Paul Wessel)
Can I help with this - perhaps nobody responsible has access to the M1 chip? It has been many weeks and this issue blocks GDAL from being installed. Let me know what I can do.
comment:3 Changed 4 years ago by PaulWessel (Paul Wessel)
It is the same failure with geos 3.9.0 I see.
comment:4 Changed 4 years ago by mf2k (Frank Schima)
@PaulWessel: You can help by submitting a GitHub pull request that fixes the issue.
comment:5 Changed 4 years ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:6 Changed 4 years ago by Dave-Allured (Dave Allured)
The main.log for geos-3.8.1 shows duplicate symbol errors:
:info:build duplicate symbol 'vtable for geos::noding::BasicSegmentString' in: :info:build .libs/inlines.o :info:build noding/.libs/libnoding.a(BasicSegmentString.o) :info:build duplicate symbol 'typeinfo name for geos::noding::BasicSegmentString' in: :info:build .libs/inlines.o :info:build noding/.libs/libnoding.a(BasicSegmentString.o) :info:build duplicate symbol 'typeinfo for geos::noding::BasicSegmentString' in: :info:build .libs/inlines.o :info:build noding/.libs/libnoding.a(BasicSegmentString.o) :info:build ld: 3 duplicate symbols for architecture arm64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
comment:7 Changed 4 years ago by Dave-Allured (Dave Allured)
@PaulWessel, can you confirm the same errors in your 3.9.0 build, or is it something else?
comment:8 Changed 4 years ago by Dave-Allured (Dave Allured)
@PaulWessel, never mind, I got it. It is the same duplicate symbol errors in 3.9.0. This from a Macports buildbot:
https://build.macports.org/builders/ports-11_arm64-builder/builds/5555
See log file 2.1, "stdio".
comment:9 Changed 4 years ago by Dave-Allured (Dave Allured)
Reported upstream: https://trac.osgeo.org/geos/ticket/1090
comment:10 Changed 4 years ago by platipodium (Carsten Lemmen)
Cc: | platipodium added |
---|
comment:11 Changed 4 years ago by Dave-Allured (Dave Allured)
@PaulWessel et al, geos just updated to 3.9.1. That includes a possible fix for Arm/Apple Silicon. Please test https://github.com/macports/macports-ports/pull/9985 if you have a chance.
comment:13 Changed 4 years ago by Dave-Allured (Dave Allured)
In PR https://github.com/macports/macports-ports/pull/10003 it is reported that this geos version builds on Apple Silicon. I'm waiting to see how the Macports Arm build bot likes it.
comment:14 Changed 4 years ago by Dave-Allured (Dave Allured)
comment:15 Changed 4 years ago by Dave-Allured (Dave Allured)
Fixed by Geos 3.9.1 and https://trac.macports.org/changeset/bfd0852ca50838dfa6b02655c6d745b49bf86e99/macports-ports. Please close this ticket.
comment:16 Changed 23 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
as noted:
% port -v installed geos The following ports are currently installed: geos @3.11.0_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-30T14:17:37-0800'
main.log error file