[MacPorts] #70878: icu @74.2: fatal error: 'memory' file not found (was: install icu failed)

MacPorts noreply at macports.org
Mon Sep 23 16:24:40 UTC 2024


#70878: icu @74.2: fatal error: 'memory' file not found
----------------------------+----------------------
  Reporter:  zhuiyichujian  |      Owner:  catap
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.10.1
Resolution:                 |   Keywords:  sequoia
      Port:  icu            |
----------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => catap
 * keywords:  icu => sequoia


Old description:

> Error: Failed to build icu: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port icu failed
>
> :debug:main Starting logging for icu @74.2_0
> :debug:sysinfo macOS 15.0 (darwin/24.0.0) arch arm
> :debug:sysinfo MacPorts 2.10.1
> :debug:sysinfo Xcode 16.0, CLT 16.0.0.0.1.1724870825
> :debug:sysinfo SDK 15
> :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
> :debug:main Fetching icu-74.2_0.darwin_24.arm64.tbz2 archive size
> :debug:main Checking for conflicts against icu
> :debug:main Executing org.macports.main (icu)
> :debug:main dropping privileges: euid changed to 502, egid changed to
> 501.
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:archivefetch archivefetch phase started at Mon Sep 23 18:08:29 CST
> 2024
> :msg:archivefetch --->  Fetching archive for icu
> :debug:archivefetch Executing org.macports.archivefetch (icu)
> :debug:archivefetch euid/egid changed to: 0/0
> :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
> :debug:archivefetch euid/egid changed to: 502/501
> :info:archivefetch --->  icu-74.2_0.darwin_24.arm64.tbz2 doesn't seem to
> exist in /opt/local/var/macports/incoming/verified
> :msg:archivefetch --->  Attempting to fetch
> icu-74.2_0.darwin_24.arm64.tbz2 from
> https://pek.cn.packages.macports.org/macports/packages/icu
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> icu-74.2_0.darwin_24.arm64.tbz2 from
> https://kmq.jp.packages.macports.org/icu
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :msg:archivefetch --->  Attempting to fetch
> icu-74.2_0.darwin_24.arm64.tbz2 from
> https://nue.de.packages.macports.org/icu
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:archivefetch Skipping completed org.macports.fetch (icu)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:archivefetch Skipping completed org.macports.checksum (icu)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:archivefetch Skipping completed org.macports.extract (icu)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:archivefetch Skipping completed org.macports.patch (icu)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:archivefetch Skipping completed org.macports.configure (icu)
> :debug:archivefetch Privilege de-escalation not attempted as not running
> as root.
> :debug:build build phase started at Mon Sep 23 18:08:35 CST 2024
> :notice:build --->  Building icu
> :debug:build Executing org.macports.build (icu)
> :debug:build Environment:
> :debug:build CC_PRINT_OPTIONS='YES'
> :debug:build
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/.CC_PRINT_OPTIONS'
> :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
> :debug:build MACOSX_DEPLOYMENT_TARGET='15.0'
> :debug:build
> SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk'
> :debug:build SOURCE_DATE_EPOCH='1726716017'
> :info:build Executing:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
> && /usr/bin/gnumake -j14 -w all VERBOSE=1
> :debug:build system:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
> && /usr/bin/gnumake -j14 -w all VERBOSE=1
> :info:build gnumake: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source'
> :info:build /Library/Developer/CommandLineTools/usr/bin/gnumake[0]:
> Making `all' in `stubdata'
> :info:build gnumake[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/stubdata'
> :info:build /usr/bin/clang++ -DU_ATTRIBUTE_DEPRECATED=
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -pipe -Os
> -stdlib=libc++
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
> -std=c++11 -Wno-ambiguous-reversed-operator -fno-common -c -MMD -MT
> "stubdata.d stubdata.o stubdata.ao" -o stubdata.ao stubdata.cpp
> :info:build /usr/bin/clang++ -DU_ATTRIBUTE_DEPRECATED=
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
> -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -pipe -Os
> -stdlib=libc++
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
> arm64 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
> -std=c++11 -Wno-ambiguous-reversed-operator -fno-common -c -dynamic -MMD
> -MT "stubdata.d stubdata.o stubdata.ao" -o stubdata.o stubdata.cpp
> :info:build In file included from stubdata.cpp:In file included from
> stubdata.cpp22:22:
> :info:build :
> :info:build In file included from ./stubdata.h:30:
> :info:build In file included from ../common/unicode/udata.hIn file
> included from :./stubdata.h25::
> :info:build 30:
> :info:build ../common/unicode/localpointer.hIn file included from
> :../common/unicode/udata.h45::2510:
> :info:build :../common/unicode/localpointer.h :45fatal error: :'memory'
> file not found10
> :info:build : fatal error: 'memory' file not found
> :info:build       4545 |  | ##iinncclluuddee  <<mmeemmoorryy>>
> :info:build             | |          ^~~~~~~~         ^~~~~~~~
> :info:build 1 error generated.
> :info:build 1 error generated.
> :info:build gnumake[1]: *** [stubdata.o] Error 1
> :info:build gnumake[1]: *** Waiting for unfinished jobs....
> :info:build gnumake[1]: *** [stubdata.ao] Error 1
> :info:build gnumake[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/stubdata'
> :info:build gnumake: *** [all-recursive] Error 2
> :info:build gnumake: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
> && /usr/bin/gnumake -j14 -w all VERBOSE=1
> :info:build Exit code: 2
> :error:build Failed to build icu: command execution failed
> :debug:build Error code: CHILDSTATUS 30175 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 10)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
> for details.

New description:

 {{{
 Error: Failed to build icu: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port icu failed
 }}}
 {{{
 :debug:main Starting logging for icu @74.2_0
 :debug:sysinfo macOS 15.0 (darwin/24.0.0) arch arm
 :debug:sysinfo MacPorts 2.10.1
 :debug:sysinfo Xcode 16.0, CLT 16.0.0.0.1.1724870825
 :debug:sysinfo SDK 15
 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 15.0
 :debug:main Fetching icu-74.2_0.darwin_24.arm64.tbz2 archive size
 :debug:main Checking for conflicts against icu
 :debug:main Executing org.macports.main (icu)
 :debug:main dropping privileges: euid changed to 502, egid changed to 501.
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:archivefetch archivefetch phase started at Mon Sep 23 18:08:29 CST
 2024
 :msg:archivefetch --->  Fetching archive for icu
 :debug:archivefetch Executing org.macports.archivefetch (icu)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  icu-74.2_0.darwin_24.arm64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 icu-74.2_0.darwin_24.arm64.tbz2 from
 https://pek.cn.packages.macports.org/macports/packages/icu
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 icu-74.2_0.darwin_24.arm64.tbz2 from
 https://kmq.jp.packages.macports.org/icu
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :msg:archivefetch --->  Attempting to fetch
 icu-74.2_0.darwin_24.arm64.tbz2 from
 https://nue.de.packages.macports.org/icu
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.fetch (icu)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.checksum (icu)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.extract (icu)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.patch (icu)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:archivefetch Skipping completed org.macports.configure (icu)
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:build build phase started at Mon Sep 23 18:08:35 CST 2024
 :notice:build --->  Building icu
 :debug:build Executing org.macports.build (icu)
 :debug:build Environment:
 :debug:build CC_PRINT_OPTIONS='YES'
 :debug:build
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/.CC_PRINT_OPTIONS'
 :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
 :debug:build MACOSX_DEPLOYMENT_TARGET='15.0'
 :debug:build
 SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk'
 :debug:build SOURCE_DATE_EPOCH='1726716017'
 :info:build Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
 && /usr/bin/gnumake -j14 -w all VERBOSE=1
 :debug:build system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
 && /usr/bin/gnumake -j14 -w all VERBOSE=1
 :info:build gnumake: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source'
 :info:build /Library/Developer/CommandLineTools/usr/bin/gnumake[0]: Making
 `all' in `stubdata'
 :info:build gnumake[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/stubdata'
 :info:build /usr/bin/clang++ -DU_ATTRIBUTE_DEPRECATED=
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -pipe -Os
 -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
 -std=c++11 -Wno-ambiguous-reversed-operator -fno-common -c -MMD -MT
 "stubdata.d stubdata.o stubdata.ao" -o stubdata.ao stubdata.cpp
 :info:build /usr/bin/clang++ -DU_ATTRIBUTE_DEPRECATED=
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk
 -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H=1 -I../common -pipe -Os
 -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64
 -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long
 -std=c++11 -Wno-ambiguous-reversed-operator -fno-common -c -dynamic -MMD
 -MT "stubdata.d stubdata.o stubdata.ao" -o stubdata.o stubdata.cpp
 :info:build In file included from stubdata.cpp:In file included from
 stubdata.cpp22:22:
 :info:build :
 :info:build In file included from ./stubdata.h:30:
 :info:build In file included from ../common/unicode/udata.hIn file
 included from :./stubdata.h25::
 :info:build 30:
 :info:build ../common/unicode/localpointer.hIn file included from
 :../common/unicode/udata.h45::2510:
 :info:build :../common/unicode/localpointer.h :45fatal error: :'memory'
 file not found10
 :info:build : fatal error: 'memory' file not found
 :info:build       4545 |  | ##iinncclluuddee  <<mmeemmoorryy>>
 :info:build             | |          ^~~~~~~~         ^~~~~~~~
 :info:build 1 error generated.
 :info:build 1 error generated.
 :info:build gnumake[1]: *** [stubdata.o] Error 1
 :info:build gnumake[1]: *** Waiting for unfinished jobs....
 :info:build gnumake[1]: *** [stubdata.ao] Error 1
 :info:build gnumake[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source/stubdata'
 :info:build gnumake: *** [all-recursive] Error 2
 :info:build gnumake: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source"
 && /usr/bin/gnumake -j14 -w all VERBOSE=1
 :info:build Exit code: 2
 :error:build Failed to build icu: command execution failed
 :debug:build Error code: CHILDSTATUS 30175 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
 for details.
 }}}

--

Comment:

 This sounds like #70750. Please try the solution at ProblemHotlist#clts16.

-- 
Ticket URL: <https://trac.macports.org/ticket/70878#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list