Opened 4 weeks ago

Last modified 3 weeks ago

#63805 assigned defect

qt5-qtbase @5.15.2_2 fails to install on macOS Monterey

Reported by: tcwan (TC Wan) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc: cooljeanius (Eric Gallager)
Port: qt5-qtbase

Description

Latest qt5-qtbase build proceeds until installation phase and then fails to install.

--->  Fetching archive for qt5-qtbase
--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.x86_64.tbz2 from https://packages.macports.org/qt5-qtbase
--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/qt5-qtbase
--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/qt5-qtbase
--->  Fetching distfiles for qt5-qtbase
--->  Verifying checksums for qt5-qtbase
--->  Extracting qt5-qtbase
--->  Applying patches to qt5-qtbase
--->  Configuring qt5-qtbase
--->  Building qt5-qtbase                                
--->  Staging qt5-qtbase into destroot                   
Error: Failed to destroot qt5-qtbase: command execution failed

--- 
[snap of build log]
:info:destroot cd tools/moc/ && ( test -e Makefile || /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/bin/qmake -o Makefile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/src/tools/moc/moc.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
:info:destroot The platform SDK has been changed from version 12.0 to version 2021-11-05 10:00:11.038 xcodebuild[40013:76324] XType: com.apple.fonts is not accessible. 2021-11-05 10:00:11.038 xcodebuild[40013:76324] XType: XTFontStaticRegistry is enabled. 2021-11-05 10:00:12.218 xcodebuild[40015:76335] XType: com.apple.fonts is not accessible. 2021-11-05 10:00:12.219 xcodebuild[40015:76335] XType: XTFontStaticRegistry is enabled. 2021-11-05 10:00:13.321 xcodebuild[40016:76345] XType: com.apple.fonts is not accessible. 2021-11-05 10:00:13.322 xcodebuild[40016:76345] XType: XTFontStaticRegistry is enabled. 12.0.
:info:destroot This requires a fresh build. Please wipe the build directory completely,
:info:destroot including any .qmake.stash and .qmake.cache files generated by qmake.
:info:destroot make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/src/tools/moc'
:info:destroot /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/src/tools/moc'
:info:destroot make[1]: *** [sub-moc-install_subtargets] Error 2
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/src'
:info:destroot make: *** [sub-src-install_subtargets] Error 2
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2'
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/work/destroot 
:info:destroot Exit code: 2
:error:destroot Failed to destroot qt5-qtbase: command execution failed
:debug:destroot Error code: CHILDSTATUS 39980 2
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:destroot     invoked from within
:debug:destroot "command_exec -callback portprogress::target_progress_callback destroot"
:debug:destroot     (procedure "portdestroot::destroot_main" line 2)
:debug:destroot     invoked from within
:debug:destroot "$procedure $targetname"
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log for details.

Change History (3)

comment:1 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

Keywords: monterey added
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 4 weeks ago by ryandesign (Ryan Schmidt)

We saw the same error on the arm64 macOS Monterey buildbot worker:

https://build.macports.org/builders/ports-12_arm64-builder/builds/4397/steps/install-port/logs/stdio

I don't think the x86_64 macOS Monterey buildbot worker has gotten around to trying it yet.

comment:3 Changed 3 weeks ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.