Opened 3 years ago

Last modified 3 years ago

#63833 assigned defect

qt5-qtbase+openssl broken by switch to openssl 3.x

Reported by: Schamschula (Marius Schamschula) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: qt5-base

Description

When trying to rebuild qt5-base (revision bump) om Mojave, I get the following error

cd tools/moc/ && ( test -e Makefile || /opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/bin/qmake -o Makefile /opt/local/var/macports/build/_Users_marius_Development_MacPorts_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
The platform SDK has been changed from version 10.14 to version dyld: warning: could not load inserted library '/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib' into hardened process because no suitable image found.  Did find: 	/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib: code signature in (/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed. 	/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib: stat() failed with errno=1 dyld: warning: could not load inserted library '/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib' into hardened process because no suitable image found.  Did find: 	/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib: code signature in (/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed. 	/opt/local/libexec/macports/lib/darwintrace1.0/darwintrace.dylib: stat() failed with errno=1 10.14.
This requires a fresh build. Please wipe the build directory completely,
including any .qmake.stash and .qmake.cache files generated by qmake.
make[2]: Entering directory `/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/src/tools/moc'
/opt/local/var/macports/build/_Users_marius_Development_MacPorts_ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.2/mkspecs/features/mac/sdk.mk:22: *** ^.  Stop.

Attachments (1)

qt5-base-main.log.gz (110.2 KB) - added by Schamschula (Marius Schamschula) 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Schamschula (Marius Schamschula)

Attachment: qt5-base-main.log.gz added

comment:1 Changed 3 years ago by reneeotten (Renee Otten)

works fine for me on Catalina, I installed it yesterday from the openssl3 PR:

% port -v installed qt5-qtbase
The following ports are currently installed:
  qt5-qtbase @5.15.2_3+openssl (active) requested_variants='+openssl' platform='darwin 19' archs='x86_64' date='2021-11-06T13:48:30-0400'

% otool -L `port contents qt5-qtbase | grep dylib` | grep openssl
	/opt/local/libexec/openssl3/lib/libssl.3.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/libexec/openssl3/lib/libcrypto.3.dylib (compatibility version 3.0.0, current version 3.0.0)

it looks like you were building in trace-mode? I cannot remember if I did that or not... and you do have the warning :warn:main The macOS 10.14 SDK does not appear to be installed. Ports may not build correctly., sometimes that's harmless but not always..

Last edited 3 years ago by reneeotten (Renee Otten) (previous) (diff)
Note: See TracTickets for help on using tickets.