qt5 does not build, missing functions?
Scott Hannahs via Fink-devel <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel,gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
When running “fink update qt5-mac-qtbase”, I get a compiler error. Seems that “ATSFontNotify” and related functions do not exist anymore. They were deprecated a long time ago. I see that the current qt5-mac release is 5.15.2 and maybe that resolves issues with later OS versions?
updated with “fink self-update”
set #jobs to 1
MacOS 13.4.1
fink version 14.3.1
X86 architecture
I get the following error returned:
/Applications/Xcode.app/Contents/Developer/usr/bin/g++ -c -MD -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -mmacosx-version-min=13.4 -fconstant-cfstrings -O2 -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_PLATFORMSUPPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -Icglconvenience -Iaccessibility -I../../include -I../../include/QtPlatformSupport -I../../include/QtPlatformSupport/5.7.1 -I../../include/QtPlatformSupport/5.7.1/QtPlatformSupport -I../../include/QtGui/5.7.1 -I../../include/QtGui/5.7.1/QtGui -I../../include/QtCore/5.7.1 -I../../include/QtCore/5.7.1/QtCore -I../../include/QtGui -I../../include/QtCore -I.moc -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AGL.framework/Headers -I../../mkspecs/macx-g++ -F/opt/sw/src/fink.build/qt5-mac-qtbase-5.7.1-13/qtbase-opensource-src-5.7.1/lib -o .obj/qcoretextfontdatabase.o fontdatabases/mac/qcoretextfontdatabase.mm
In file included from fontdatabases/mac/qcoretextfontdatabase.mm:51:
In file included from fontdatabases/mac/qcoretextfontdatabase_p.h:58:
In file included from ../../include/QtGui/5.7.1/QtGui/qpa/qplatformfontdatabase.h:1:
In file included from ../../include/QtGui/5.7.1/QtGui/qpa/../../../../../src/gui/text/qplatformfontdatabase.h:60:
In file included from ../../include/QtGui/5.7.1/QtGui/private/qfontengine_p.h:1:
In file included from ../../include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/text/qfontengine_p.h:59:
In file included from ../../include/QtGui/5.7.1/QtGui/private/qtextengine_p.h:1:
In file included from ../../include/QtGui/5.7.1/QtGui/private/../../../../../src/gui/text/qtextengine_p.h:58:
In file included from ../../include/QtGui/qtextlayout.h:1:
In file included from ../../include/QtGui/../../src/gui/text/qtextlayout.h:48:
In file included from ../../include/QtGui/qevent.h:1:
In file included from ../../include/QtGui/../../src/gui/kernel/qevent.h:49:
In file included from ../../include/QtCore/qvariant.h:1:
…..
fontdatabases/mac/qcoretextfontdatabase.mm:971:13: error: ‘ATSFontDeactivate' is unavailable
ATSFontDeactivate(font.value<ATSFontContainerRef>(), 0, kATSOptionFlagsDoNotNotify);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:385:1: note: 'ATSFontDeactivate' has been explicitly marked unavailable here
ATSFontDeactivate(
^
fontdatabases/mac/qcoretextfontdatabase.mm:979:5: error: 'ATSFontNotify' is unavailable
ATSFontNotify(kATSFontNotifyActionFontsChanged, 0);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:1144:1: note: 'ATSFontNotify' has been explicitly marked unavailable here
ATSFontNotify(
^
26 warnings and 6 errors generated.
make[2]: *** [.obj/qcoretextfontdatabase.o] Error 1
make[2]: Leaving directory `/opt/sw/src/fink.build/qt5-mac-qtbase-5.7.1-13/qtbase-opensource-src-5.7.1/src/platformsupport'
make[1]: *** [sub-platformsupport-make_first] Error 2
make[1]: Leaving directory `/opt/sw/src/fink.build/qt5-mac-qtbase-5.7.1-13/qtbase-opensource-src-5.7.1/src'
make: *** [sub-src-make_first] Error 2
make: Leaving directory `/opt/sw/src/fink.build/qt5-mac-qtbase-5.7.1-13/qtbase-opensource-src-5.7.1'
### execution of /tmp/fink.nVpiL failed, exit code 2
### execution of /tmp/fink.N1dqr failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-qt5-mac-qtbase-5.7.1-13
(Reading database ... 294161 files and directories currently installed.)
Removing fink-buildlock-qt5-mac-qtbase-5.7.1-13 (2023.06.29-23.43.20) ...
Failed: phase compiling: qt5-mac-qtbase-5.7.1-13 failed
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Thu Jun 29 20:36:27 2023, 12.0, x86_64
Trees: local/injected local/main stable/main
Xcode.app: 14.3.1
Xcode command-line tools: 14.3.1.0.1.1683849156
Max. Fink build jobs: 1
-Scott
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel