Bug 404334 - Provided Mingw64 doesn’t have sys/utsname.h
Summary: Provided Mingw64 doesn’t have sys/utsname.h
Status: REPORTED
Alias: None
Product: Craft
Classification: Unmaintained
Component: Blueprints (show other bugs)
Version: stable
Platform: Compiled Sources Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-14 11:03 UTC by ytrezq
Modified: 2019-02-14 11:03 UTC (History)
2 users (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 ytrezq 2019-02-14 11:03:01 UTC
This directly blocks compiling Kinfocenter.

[19/63] Building CXX object Modules/about-distro/src/CMakeFiles/kcm_about_distro.dir/Module.cpp.obj
FAILED: Modules/about-distro/src/CMakeFiles/kcm_about_distro.dir/Module.cpp.obj
C:\Net\CraftRoot\mingw64\bin\g++.exe  -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm-about-distro\" -DUNICODE -DWIN32_LEAN_AND_MEAN -DWINVER=0x0600 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D_USE_MATH_DEFINES -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0600 -Dkcm_about_distro_EXPORTS -IModules/about-distro/src -IC:/Net/CraftRoot/build/_/88f64f1a/kinfocenter-5.14.5/Modules/about-distro/src -IModules/about-distro/src/kcm_about_distro_autogen/include -I. -isystem C:/Net/CraftRoot/include/KF5/KConfigWidgets -isystem C:/Net/CraftRoot/include/KF5 -isystem C:/Net/CraftRoot/include/KF5/KCodecs -isystem C:/Net/CraftRoot/include/qt5 -isystem C:/Net/CraftRoot/include/qt5/QtCore -isystem C:/Net/CraftRoot/./mkspecs/win32-g++ -isystem C:/Net/CraftRoot/include/KF5/KWidgetsAddons -isystem C:/Net/CraftRoot/include/qt5/QtWidgets -isystem C:/Net/CraftRoot/include/qt5/QtGui -isystem C:/Net/CraftRoot/include/qt5/QtANGLE -isystem C:/Net/CraftRoot/include/KF5/KConfigGui -isystem C:/Net/CraftRoot/include/qt5/QtXml -isystem C:/Net/CraftRoot/include/KF5/KConfigCore -isystem C:/Net/CraftRoot/include/KF5/KAuth -isystem C:/Net/CraftRoot/include/KF5/KCoreAddons -isystem C:/Net/CraftRoot/include/KF5/KI18n -isystem C:/Net/CraftRoot/include/KF5/Solid -std=c++0x -fno-operator-names -fno-exceptions -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 -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -O2 -g -DNDEBUG -fvisibility=hidden -fno-keep-inline-dllexport   -std=gnu++11 -MD -MT Modules/about-distro/src/CMakeFiles/kcm_about_distro.dir/Module.cpp.obj -MF Modules\about-distro\src\CMakeFiles\kcm_about_distro.dir\Module.cpp.obj.d -o Modules/about-distro/src/CMakeFiles/kcm_about_distro.dir/Module.cpp.obj -c C:/Net/CraftRoot/build/_/88f64f1a/kinfocenter-5.14.5/Modules/about-distro/src/Module.cpp
C:/Net/CraftRoot/build/_/88f64f1a/kinfocenter-5.14.5/Modules/about-distro/src/Module.cpp:46:10: fatal error: sys/utsname.h: No such file or directory
 #include <sys/utsname.h>
          ^~~~~~~~~~~~~~~
compilation terminated.