Opened 11 days ago

Closed 8 days ago

#71277 closed defect (duplicate)

Cannot extract icu on Seqouia with M1

Reported by: rsmacleod (Rob MacLeod) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port: icu

Description (last modified by jmroot (Joshua Root))

I have upgraded to Sequoia and tried the migrate path but things did not go as hoped. So I am trying to install packages manually, e.g., texlive. Things go fine until the icu package.

:info:extract Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/icu/icu4c-74_2-src.tgz' | /usr/bin/tar -xf - 
:info:extract Killed by signal: 9
:error:extract Failed to extract icu: command execution failed
:debug:extract Error code: NONE

I was able to manually find the zip file and extract icu, but the install script still fails at this command.

Thanks in advance, Rob

Attachments (2)

main.log (28.5 KB) - added by rsmacleod (Rob MacLeod) 10 days ago.
main.log for failed icu build.
main-icu.log (27.2 KB) - added by rsmacleod (Rob MacLeod) 9 days ago.
Another version of the log file, this time without trace flag. Appears to fail not finding header file for memory.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 days ago by jmroot (Joshua Root)

Description: modified (diff)
Port: icu added

comment:2 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

Are you using trace mode? Trace mode does currently work on macOS 13 or later on Apple Silicon processors; see #66358.

If it's not caused by using trace mode, then please attach the main.log file.

Changed 10 days ago by rsmacleod (Rob MacLeod)

Attachment: main.log added

main.log for failed icu build.

comment:3 Changed 10 days ago by ryandesign (Ryan Carsten Schmidt)

The log shows that you are using trace mode (the -t flag). Due to #66358, this will fail on macOS 13 and later on arm64, so you'll have to not use that flag.

Last edited 10 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 9 days ago by rsmacleod (Rob MacLeod)

Attachment: main-icu.log added

Another version of the log file, this time without trace flag. Appears to fail not finding header file for memory.

comment:4 Changed 9 days ago by rsmacleod (Rob MacLeod)

Sorry for uploading the wrong main.log before. I tried with and without trace on. The latest log file shows a different error; missing header file. If I run diagnose, I get this response:

Warning: The installed version of Xcode, 16.1, is newer than the versions currently known to MacPorts. It most likely works, but has not been tested. For your currently installed system, the following versions of Xcode are known to work: 16.0

Do I need to back down to Xcode 16.0? Thanks for your help!

Last edited 8 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 9 days ago by rsmacleod (Rob MacLeod)

I just found a reference to ticket #70750 and the command

sudo rm -rf /Library/Developer/CommandLineTools/usr/include/c++

This seems to have fixed the icu problem so we can close this ticket. Back to installing the rest of the packages. Thanks again, Rob

Last edited 8 days ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 9 days ago by reneeotten (Renee Otten)

Resolution: invalid
Status: newclosed

comment:7 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: closedreopened

comment:8 Changed 8 days ago by ryandesign (Ryan Carsten Schmidt)

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