Opened 23 months ago
Last modified 11 months ago
#66534 assigned defect
LibreOffice fails to configure on install in macOS Ventura (13.1) because it can't find the correct macOS SDK.
Reported by: | LinuxRocks101 (Ken Prezkop) | Owned by: | Tatsh (Andrew Udvare) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | Cc: | Patater (Jaeden Amero), cooljeanius (Eric Gallager) | |
Port: | libreoffice |
Description (last modified by jmroot (Joshua Root))
Fails to configure because of: "error: Could not find an appropriate macOS SDK."
checking what macOS SDK to use... configure: error: Could not find an appropriate macOS SDK 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.3.2" && ./configure --prefix=/opt/local --disable-breakpad --disable-bundle-mariadb --disable-ccache --disable-coinmp --disable-epm --disable-ext-numbertext --disable-fetch-external --disable-firebird-sdbc --disable-ldap --disable-lotuswordpro --disable-lpsolve --disable-odk --disable-online-update --disable-openssl --disable-pdfimport --disable-pdfium --disable-postgresql-sdbc --disable-report-builder --disable-zxing --enable-bogus-pkg-config --enable-cups --enable-extension-integration --enable-mpl-subset --enable-python=system --enable-readonly-installset --enable-release-build --enable-symbols --with-boost=/opt/local/libexec/boost/1.76 --with-external-tar=/opt/local/var/macports/distfiles/libreoffice --with-gnu-patch=/opt/local/bin/gpatch --with-myspell-dicts --with-package-version=7.4.3.2 --with-parallelism=4 --with-product-name=LibreOffice --with-system-clucene --with-system-cuckoo --with-system-dragonbox --with-system-epoxy --with-system-gpgmepp --with-system-headers --with-system-hunspell --with-system-jars --with-system-libabw --with-system-libebook --with-system-libepubgen --with-system-libexttextcat --with-system-libmwaw --with-system-libnumbertext --with-system-libqxp --with-system-libs --with-system-libstaroffice --with-system-libzmf --with-system-mdds --with-system-mythes --with-system-orcus --with-system-ucpp --with-system-xmlsec --with-theme=colibre --with-tls=nss --with-vendor=MacPorts --without-doxygen --without-fonts --without-java --without-package-format --without-system-dicts --without-system-libcmis --without-system-libfixmath --without-system-sane --without-webdav "--with-lang=bg br ca ca-valencia cy cs da de el en-US en-GB es et eu fi fr ga gd gl hr hu id is it ja km lt lv nb nl nn pl pt pt-BR ro ru sk sl sv ta tr uk zh-CN zh-TW" Exit code: 1
Attachments (1)
Change History (7)
comment:1 Changed 23 months ago by LinuxRocks101 (Ken Prezkop)
Summary: | LibreOffice fails to configure on install because it can't find the correct macOS SDK. → LibreOffice fails to configure on install in macOS Ventura (13.1) because it can't find the correct macOS SDK. |
---|
comment:2 Changed 23 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Owner: | set to Tatsh |
Status: | new → assigned |
comment:3 Changed 23 months ago by LinuxRocks101 (Ken Prezkop)
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.
comment:4 Changed 22 months ago by Patater (Jaeden Amero)
Cc: | Patater added |
---|
comment:5 Changed 19 months ago by kwolcott
I have a libreoffice port install from source failure that looks similar to this. I have a compressed log file to attach.
Changed 19 months ago by kwolcott
Attachment: | libreoffice_install_from_source_failed.log.bz2 added |
---|
comment:6 Changed 11 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
Forgot to specify macOS version.