[MacPorts] #65534: Trying to install port that requires nspr... system setup to try and create +universal throughout, Failed to build nspr: command execution failed
MacPorts
noreply at macports.org
Mon Jul 25 16:09:00 UTC 2022
#65534: Trying to install port that requires nspr... system setup to try and create
+universal throughout, Failed to build nspr: command execution failed
----------------------+--------------------
Reporter: potterpg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: nspr
----------------------+--------------------
nspr make seems to get confused between arm64 and x86_64 on arm64 build?
Can it be built for +universal?
Any help appreciated.
port:
port search nspr
nspr @4.34 (devel)
A platform-neutral API for system level and libc like functions.
Log file:
{{{
:info:build ---> Building nspr for architecture arm64
:debug:build setting option build.dir to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64
: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_nspr/nspr/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
:debug:build
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
:info:build Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64" && /usr/bin/make -j4 -w all
:debug:build system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64" && /usr/bin/make -j4 -w all
:info:build make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64'
:info:build /Library/Developer/CommandLineTools/usr/bin/make -C config
export
:info:build make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64/config'
:info:build /usr/bin/clang now.o -o now
:info:build ld: warning: ignoring file now.o, building for macOS-x86_64
but attempting to link with file built for unknown-arm64
:info:build Undefined symbols for architecture x86_64:
:info:build "_main", referenced from:
:info:build implicit entry/start for main executable
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make[1]: *** [now] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64/config'
:info:build make: *** [export] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nspr/nspr/work/nspr-4.34
/nspr-arm64" && /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build Failed to build nspr: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "$procedure $targetname"
}}}
Thanks.
--
Ticket URL: <https://trac.macports.org/ticket/65534>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list