Opened 4 years ago
Closed 4 years ago
#62526 closed defect (fixed)
librsync @0.9.7_3 fails to configure on M1 Mac
Reported by: | ttelford (Troy Telford) | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | arm64 | Cc: | |
Port: | librsync |
Description
The compile fails - when I chase it down to config.log
, I see:
configure:3372: checking for a BSD-compatible install configure:3427: result: /usr/bin/install -c configure:3438: checking whether make sets $(MAKE) configure:3458: result: yes configure:3521: checking build system type configure:3534: error: /bin/sh ./config.sub -apple-darwin20.3.0 failed
When I manually enter the directory, and run autoreconf -fi
, configure works, and I can proceed to use a normal make -j8 all
, the compilation succeeds.
I've tried updating the Portfile to execute the autoreconf --install --verbose --force
prior to compilation, but the build then fails in a new way: For whatever reason, at the very last compile (a libtool
command), the arguments -arch arm64
is somehow transposed to arm64 -arch
, and the compile fails there.
Attachments (3)
Change History (6)
Changed 4 years ago by ttelford (Troy Telford)
Attachment: | config.log added |
---|
Changed 4 years ago by ttelford (Troy Telford)
main.log after modifying portfile to execute 'autoreconf --install --verbose --force'
Changed 4 years ago by ttelford (Troy Telford)
Attachment: | Portfile-librsync.diff added |
---|
My Portfile differences - though they aren't enough
comment:1 Changed 4 years ago by ttelford (Troy Telford)
Ignore the file "Portfile" - I accidentally uploaded the original. Sorry!
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Port: | librsync added |
---|---|
Summary: | Can't compile librsync on M1 Mac → librsync @0.9.7_3 fails to configure on M1 Mac |
comment:3 Changed 4 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
config.log on unmodified Portfile