[kstars] [Bug 447753] Kstars crashes connecting to Ekos on MacOS
Castor Fu
bugzilla_noreply at kde.org
Sat Jan 1 07:12:32 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=447753
--- Comment #3 from Castor Fu <castor at egocast.org> ---
Hoping to reproduce this with more info I tried to compile kstars on macos with
rlancaste@'s script, but it fails in sonnet for me:
[141/189] Building CXX object
src/plugins/nsspellchecker/CMakeFiles/sonnet_nsspellchecker.dir/nsspellcheckerdict.mm.o
FAILED:
src/plugins/nsspellchecker/CMakeFiles/sonnet_nsspellchecker.dir/nsspellcheckerdict.mm.o
/Library/Developer/CommandLineTools/usr/bin/clang++
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB
-DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050f02
-DQT_MAC_USE_COCOA -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING
-DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER
-DSONNETCORE_DEPRECATED_WARNINGS_SINCE=0x0
-DSONNETCORE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x0 -D_DARWIN_C_SOURCE
-D_LARGEFILE64_SOURCE -Dsonnet_nsspellchecker_EXPORTS
-Isrc/plugins/nsspellchecker
-I/Users/castor/AstroRoot/craft-root/build/kde/frameworks/tier1/sonnet/work/sonnet-5.89.0/src/plugins/nsspellchecker
-Isrc/plugins/nsspellchecker/sonnet_nsspellchecker_autogen/include -Isrc/core
-I/Users/castor/AstroRoot/craft-root/build/kde/frameworks/tier1/sonnet/work/sonnet-5.89.0/src/core
-iframework /Users/castor/AstroRoot/craft-root/lib -isystem
/Users/castor/AstroRoot/craft-root/lib/QtCore.framework/Headers -isystem
/Users/castor/AstroRoot/craft-root/./mkspecs/macx-clang
-fdiagnostics-color=always -fno-operator-names -fno-exceptions
-Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align
-Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef
-Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self
-Wvla -Wdate-time -pedantic -Wzero-as-null-pointer-constant
-fdiagnostics-color=always -O2 -g -DNDEBUG -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk
-mmacosx-version-min=10.13 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -fPIC -std=c++17 -MD -MT
src/plugins/nsspellchecker/CMakeFiles/sonnet_nsspellchecker.dir/nsspellcheckerdict.mm.o
-MF
src/plugins/nsspellchecker/CMakeFiles/sonnet_nsspellchecker.dir/nsspellcheckerdict.mm.o.d
-o
src/plugins/nsspellchecker/CMakeFiles/sonnet_nsspellchecker.dir/nsspellcheckerdict.mm.o
-c
/Users/castor/AstroRoot/craft-root/build/kde/frameworks/tier1/sonnet/work/sonnet-5.89.0/src/plugins/nsspellchecker/nsspellcheckerdict.mm
In file included from
/Users/castor/AstroRoot/craft-root/build/kde/frameworks/tier1/sonnet/work/sonnet-5.89.0/src/plugins/nsspellchecker/nsspellcheckerdict.mm:11:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143:
error: function does not return NSString
- (NSAttributedString *)localizedAttributedStringForKey:(NSString *)key
value:(nullable NSString *)value table:(nullable NSString *)tableName
NS_FORMAT_ARGUMENT(1) NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0),
ios(15.0), watchos(8.0), tvos(15.0));
~~~~~~~~~~~~~~
^
~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48:
note: expanded from macro 'NS_FORMAT_ARGUMENT'
#define NS_FORMAT_ARGUMENT(A) __attribute__ ((format_arg(A)))
^ ~
1 error generated.
ninja: build stopped: subcommand failed.
Action: compile for kde/frameworks/tier1/sonnet:5.89.0 FAILED
--
You are receiving this mail because:
You are watching all bug changes.
More information about the kde-mac
mailing list