warnings and error crafting konsole
Hannah von Reth
vonreth at kde.org
Mon Apr 20 09:52:46 BST 2020
Hi Johnny,
KPty does not support Windows yet so we can't build Konsole on Windows.
I guess I have to adjust the platform support for a few packages here.
I hope you can work without Konsole.
Cheers,
Hannah
On 20.04.20 09:49, Johnny Jazeix wrote:
> I found this old bug: https://bugs.kde.org/show_bug.cgi?id=386787
> The solution was to remove kpty on Windows.
> => "Make Cantor buildable without kpty or make kpty build on Windows
> (likely won't make sense)."
>
> Probably same can be done for konsole.
>
> Johnny
>
>
> Le lun. 20 avr. 2020 à 00:09, Jack <ostroffjh at users.sourceforge.net> a écrit :
>> Updated reply after more work.
>>
>> Passing -Wno-dev to cmake (I added a line to the blueprint, I wish it
>> could be done on the craft command line) the cmake goes on finding
>> things, and then ends with
>>
>> ....
>> -- Found KF5GlobalAccel:
>> C:/CraftMingw/lib/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake
>> (found version "5.67.0")
>> CMake Error at
>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164
>> (message):
>> Could NOT find KF5 (missing: Pty) (found suitable version "5.67.0",
>> minimum
>> required is "5.6.0")
>> Call Stack (most recent call first):
>>
>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445
>> (_FPHSA_FAILURE_MESSAGE)
>> C:/CraftMingw/share/ECM/find-modules/FindKF5.cmake:110
>> (find_package_handle_standard_args)
>> CMakeLists.txt:46 (find_package)
>>
>> -- Configuring incomplete, errors occurred!
>> See also
>> "C:/CraftMingw/build/_/eb3f6220/build/CMakeFiles/CMakeOutput.log".
>> See also
>> "C:/CraftMingw/build/_/eb3f6220/build/CMakeFiles/CMakeError.log".
>> Action: compile for kde/applications/konsole:master FAILED
>> *** Craft all failed: kde/applications/konsole after 4 seconds ***
>> fatal error: package kde/applications/konsole all failed
>> Craft stopped with out completing ['kde/applications/konsole']
>>
>> Nothing in those CMake....log files looks relevant. However, it looks
>> like kpty did not install any files, unlike the version on my linux box
>> which did install things under /usr/lib64/cmake/KF5Pty. What else do I
>> look at?
>>
>>
>> On 2020.04.19 11:48, Johnny Jazeix wrote:
>>> Hi,
>>>
>>> The real error is:
>>> -- Could NOT find KF5Pty (missing: KF5Pty_DIR)
>>> -- Could NOT find KF5Pty: found neither KF5PtyConfig.cmake nor
>>> kf5pty-config.cmake
>>>
>>> The other warnings are developers warnings, you can ignore them.
>>>
>>> Are you sure KF5Pty is installed?
>>>
>>> Johnny
>>>
>>> Le sam. 11 avr. 2020 à 01:21, Jack <ostroffjh at users.sourceforge.net>
>>> a écrit :
>>>> (resending from my subscribed address, in case it's a duplicate)
>>>>
>>>> I'm trying to "craft konsole" with a recently installed and updated
>>>> craft (using mingw.) All dependencies installed without error, but
>>> on
>>>> cmake, I get a lot of warnings like
>>>> ----------
>>>> CMake Warning (dev) at
>>>>
>>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
>>>> (message):
>>>> The package name passed to `find_package_handle_standard_args`
>>>> (KF5Bookmarks) does not match the name of the calling package
>>>> (KF5). This
>>>> can lead to problems in calling code that expects `find_package`
>>>> result
>>>> variables (e.g., `_FOUND`) to follow a certain pattern.
>>>> Call Stack (most recent call first):
>>>> C:/CraftMingw/share/ECM/find-modules/FindKF5.cmake:78
>>>> (find_package_handle_standard_args)
>>>> CMakeLists.txt:46 (find_package)
>>>> This warning is for project developers. Use -Wno-dev to suppress
>>> it.
>>>> -- Found KF5Bookmarks:
>>>> C:/CraftMingw/lib/cmake/KF5Bookmarks/KF5BookmarksConfig.cmake (found
>>>> version "5.67.0")
>>>> ----------
>>>> But there are two which do not end with -- Found and seem errors
>>> more
>>>> than warnings.
>>>> ----------
>>>> -- Could NOT find KF5Pty (missing: KF5Pty_DIR)
>>>> CMake Warning (dev) at
>>>>
>>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
>>>> (message):
>>>> The package name passed to `find_package_handle_standard_args`
>>>> (KF5Pty)
>>>> does not match the name of the calling package (KF5). This can
>>> lead
>>>> to
>>>> problems in calling code that expects `find_package` result
>>> variables
>>>> (e.g., `_FOUND`) to follow a certain pattern.
>>>> Call Stack (most recent call first):
>>>> C:/CraftMingw/share/ECM/find-modules/FindKF5.cmake:78
>>>> (find_package_handle_standard_args)
>>>> CMakeLists.txt:46 (find_package)
>>>> This warning is for project developers. Use -Wno-dev to suppress
>>> it.
>>>> -- Could NOT find KF5Pty: found neither KF5PtyConfig.cmake nor
>>>> kf5pty-config.cmake
>>>> ----------
>>>> and
>>>> ----------
>>>> CMake Warning (dev) at
>>>>
>>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272
>>>> (message):
>>>> The package name passed to `find_package_handle_standard_args`
>>>> (KF5DBusAddons) does not match the name of the calling package
>>>> (KF5). This
>>>> can lead to problems in calling code that expects `find_package`
>>>> result
>>>> Call Stack (most recent call first):
>>>> C:/CraftMingw/share/ECM/find-modules/FindKF5.cmake:78
>>>> (find_package_handle_standard_args)
>>>> CMakeLists.txt:46 (find_package)
>>>> This warning is for project developers. Use -Wno-dev to suppress
>>> it.
>>>> ----------
>>>> I have no idea why the second one doesn't have the "--Could NOT
>>> find"
>>>> wrapper, unless it only does that for the first such problem.
>>>> Finally, cmake ends with an error:
>>>> ----------
>>>> CMake Error at
>>>>
>>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164
>>>> (message):
>>>> Could NOT find KF5 (missing: Pty) (found suitable version
>>> "5.67.0",
>>>> minimum
>>>> required is "5.6.0")
>>>> Call Stack (most recent call first):
>>>>
>>>>
>>> C:/CraftMingw/dev-utils/cmake-base/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445
>>>> (_FPHSA_FAILURE_MESSAGE)
>>>> C:/CraftMingw/share/ECM/find-modules/FindKF5.cmake:110
>>>> (find_package_handle_standard_args)
>>>> CMakeLists.txt:46 (find_package)
>>>> ----------
>>>>
>>>> I assume the package in question here is kpty, although it's a bit
>>>> cryptic. Why doesn't it think 5.67.0 is higher than 5.6.0? I
>>> assume
>>>> the same issue applies to kdbusaddons. However, I think most of the
>>>> other frameworks it searches for are also version 5.67.0 and they
>>> don't
>>>> cause version problems. Why just these two?
>>>>
>>>> Jack
More information about the Kde-windows
mailing list