[MacPorts] #66534: LibreOffice fails to configure on install in macOS Ventura (13.1) because it can't find the correct macOS SDK.
MacPorts
noreply at macports.org
Mon Dec 26 04:33:13 UTC 2022
#66534: LibreOffice fails to configure on install in macOS Ventura (13.1) because
it can't find the correct macOS SDK.
----------------------------+----------------------
Reporter: LinuxRocks101 | Owner: Tatsh
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords:
Port: libreoffice |
----------------------------+----------------------
Comment (by LinuxRocks101):
The repository was updated, and it gets farther. But now it fails to
build:
{{{
/bin/sh: line 1: 45835 Illegal instruction: 4 (
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOffice.app/Contents/Frameworks:$I/LibreOffice.app/Contents/Frameworks"
$I/LibreOffice.app/Contents/MacOS/gengal --build-tree --destdir
file://$S/extras/source/gallery --name "backgrounds" --path
$W/Gallery/backgrounds --filenames file://$RESPONSEFILE
-env:UserInstallation=file://$W/Gallery/backgrounds/user ) >
$W/Gallery/backgrounds.done.log 2>&1
gmake[1]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1/solenv/gbuild/Gallery.mk:57:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1/workdir/Gallery/backgrounds.done]
Error 1
gmake[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 45839 Illegal instruction: 4 (
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH:+$DYLD_LIBRARY_PATH:}"$I/LibreOffice.app/Contents/Frameworks:$I/LibreOffice.app/Contents/Frameworks"
$I/LibreOffice.app/Contents/MacOS/gengal --build-tree --destdir
file://$S/extras/source/gallery --name "sounds" --path $W/Gallery/sounds
--filenames file://$RESPONSEFILE
-env:UserInstallation=file://$W/Gallery/sounds/user ) >
$W/Gallery/sounds.done.log 2>&1
gmake[1]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1/solenv/gbuild/Gallery.mk:57:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1/workdir/Gallery/sounds.done]
Error 1
gmake[1]: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1'
gmake: *** [Makefile:289: build] Error 2
gmake: Leaving directory
'/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_office_libreoffice/libreoffice/work/libreoffice-7.4.4.1"
&& /opt/local/bin/gmake -j4 -w build
Exit code: 2
Error: Failed to build libreoffice: command execution failed
}}}
{{{
:debug:build Error code: CHILDSTATUS 5045 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 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
}}}
It also throws a lot of these warnings around while building:
{{{
ld: warning: dylib (*.dylib) was built for newer macOS version (13.0) than
being linked (10.13)
}}}
Also, sorry if this isn't the right place for this. Just wanted to give an
update from my end.
--
Ticket URL: <https://trac.macports.org/ticket/66534#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list