Bug 407718 - kcrash prints error messages if DISPLAY isn't set
Summary: kcrash prints error messages if DISPLAY isn't set
Status: REPORTED
Alias: None
Product: frameworks-kcrash
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.58.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-19 10:49 UTC by Fabian Vogt
Modified: 2019-05-19 10:49 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2019-05-19 10:49:26 UTC
Many programs do not need $DISPLAY, like kpackagetool5.

Still, if $DISPLAY is not set, kcrash prints "Error: could not determine $DISPLAY." on startup.

This shows up during cmake runs, for instance:

[  229s] CMake Warning at /usr/lib/cmake/KF5Package/KF5PackageMacros.cmake:67 (message):
[  229s]   warnings during generation of metainfo for org.kde.desktopcontainment:
[  229s]   Error: could not determine $DISPLAY.
[  229s] 
[  229s] Call Stack (most recent call first):
[  229s]   /usr/lib/cmake/KF5Plasma/KF5PlasmaMacros.cmake:34 (kpackage_install_package)
[  229s]   containments/desktop/CMakeLists.txt:3 (plasma_install_package)