[Craft] [Bug 419167] New: kpimtextedit fails to compile under macOS

Dawid Wróbel bugzilla_noreply at kde.org
Tue Mar 24 03:05:14 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=419167

            Bug ID: 419167
           Summary: kpimtextedit fails to compile under macOS
           Product: Craft
           Version: unspecified
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: Blueprints
          Assignee: vonreth at kde.org
          Reporter: dawid at klej.net
                CC: kde-windows at kde.org
  Target Milestone: ---

SUMMARY
craft fails to build kpimtextedit not being able to locate the
sonnet/highlighter.h header. The header is present in
CraftRoot/include/KF5/SonnetUi/Sonnet, but that location is not included during
compilation – only the  /Volumes/External/CraftRoot/include/KF5/SonnetUi is.


STEPS TO REPRODUCE
1. Install craft 
2. Issue "craft kpimtextedit"

OBSERVED RESULT
FAILED:
src/CMakeFiles/KF5PimTextEdit.dir/KF5PimTextEdit_autogen/mocs_compilation.cpp.o
/Library/Developer/CommandLineTools/usr/bin/clang++  -DBUILD_TESTING
-DKCOREADDONS_LIB -DKF5PimTextEdit_EXPORTS
-DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CONCURRENT_LIB -DQT_CORE_LIB
-DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB
-DQT_MAC_USE_COCOA -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS
-DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_TEXTTOSPEECH_LIB
-DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB
-DTRANSLATION_DOMAIN=\"libkpimtextedit\" -D_DARWIN_C_SOURCE
-D_LARGEFILE64_SOURCE -Isrc
-I/Volumes/External/CraftRoot/build/kde/pim/kpimtextedit/work/kpimtextedit-19.12.3/src
-Isrc/KF5PimTextEdit_autogen/include -isystem
/Volumes/External/CraftRoot/include/KF5/KCodecs -isystem
/Volumes/External/CraftRoot/include/KF5 -iframework
/Volumes/External/CraftRoot/lib -isystem
/Volumes/External/CraftRoot/lib/QtCore.framework/Headers -isystem
/Volumes/External/CraftRoot/./mkspecs/macx-clang -isystem
/Volumes/External/CraftRoot/include/KF5/SonnetUi -isystem
/Volumes/External/CraftRoot/lib/QtWidgets.framework/Headers -isystem
/Volumes/External/CraftRoot/lib/QtGui.framework/Headers -isystem
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Headers
-isystem /Volumes/External/CraftRoot/include/KF5/SonnetCore -isystem
/Volumes/External/CraftRoot/include/KF5/KWidgetsAddons -isystem
/Volumes/External/CraftRoot/include/KF5/KIOWidgets -isystem
/Volumes/External/CraftRoot/include/KF5/KIOCore -isystem
/Volumes/External/CraftRoot/include/KF5/KCoreAddons -isystem
/Volumes/External/CraftRoot/include/KF5/KService -isystem
/Volumes/External/CraftRoot/include/KF5/KConfigCore -isystem
/Volumes/External/CraftRoot/lib/QtNetwork.framework/Headers -isystem
/Volumes/External/CraftRoot/lib/QtConcurrent.framework/Headers -isystem
/Volumes/External/CraftRoot/lib/QtDBus.framework/Headers -isystem
/Volumes/External/CraftRoot/include/KF5/KJobWidgets -isystem
/Volumes/External/CraftRoot/include/KF5/KCompletion -isystem
/Volumes/External/CraftRoot/include/KF5/KConfigWidgets -isystem
/Volumes/External/CraftRoot/include/KF5/KConfigGui -isystem
/Volumes/External/CraftRoot/lib/QtXml.framework/Headers -isystem
/Volumes/External/CraftRoot/include/KF5/KAuth -isystem
/Volumes/External/CraftRoot/include -isystem
/Volumes/External/CraftRoot/include/KF5/KXmlGui -isystem
/Volumes/External/CraftRoot/include/KF5/KI18n -isystem
/Volumes/External/CraftRoot/include/KF5/KSyntaxHighlighting -isystem
/Volumes/External/CraftRoot/lib/QtTextToSpeech.framework/Headers
-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 -Wvla -Wdate-time -fdiagnostics-color=always -pedantic
-Wzero-as-null-pointer-constant -O2 -g -DNDEBUG -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-mmacosx-version-min=10.13 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden   -fPIC -std=gnu++11 -MD -MT
src/CMakeFiles/KF5PimTextEdit.dir/KF5PimTextEdit_autogen/mocs_compilation.cpp.o
-MF
src/CMakeFiles/KF5PimTextEdit.dir/KF5PimTextEdit_autogen/mocs_compilation.cpp.o.d
-o
src/CMakeFiles/KF5PimTextEdit.dir/KF5PimTextEdit_autogen/mocs_compilation.cpp.o
-c src/KF5PimTextEdit_autogen/mocs_compilation.cpp
In file included from src/KF5PimTextEdit_autogen/mocs_compilation.cpp:6:
In file included from
src/KF5PimTextEdit_autogen/EHOWY2AH33/moc_richtextcomposeremailquotehighlighter.cpp:10:
/Volumes/External/CraftRoot/build/kde/pim/kpimtextedit/work/kpimtextedit-19.12.3/src/composer-ng/richtextcomposeremailquotehighlighter.h:23:10:
fatal error: 'sonnet/highlighter.h' file not found
#include <sonnet/highlighter.h>



EXPECTED RESULT
kpimtextedit to compile successfully 


SOFTWARE/OS VERSIONS
macOS: 10.15.3
Qt Version: craft's own

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list