https://bugs.kde.org/show_bug.cgi?id=412058
Bug ID: 412058 Summary: musl system: build failure Product: krita Version: 4.2.6 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: bribb...@disroot.org Target Milestone: --- SUMMARY Krita fails to compile on a Musl based system STEPS TO REPRODUCE 1. Get a Musl system like Alpine Linux or Gentoo Musl 2. Try to compile Krita OBSERVED RESULT Compilation fails almost halfway through. /home/builder/aports/testing/krita/src/krita-4.2.6/libs/image/tests/kis_paint_device_test.cpp: In member function 'void KisPaintDeviceTest::stressTestMemoryFragmentation()': /home/builder/aports/testing/krita/src/krita-4.2.6/libs/image/tests/kis_paint_device_test.cpp:2358:25: error: variable 'KisPaintDeviceTest::stressTestMemoryFragmentation()::mallinfo info' has initializer but incomplete type 2358 | struct mallinfo info = mallinfo(); | ^~~~ /home/builder/aports/testing/krita/src/krita-4.2.6/libs/image/tests/kis_paint_device_test.cpp:2358:41: error: invalid use of incomplete type 'struct KisPaintDeviceTest::stressTestMemoryFragmentation()::mallinfo' 2358 | struct mallinfo info = mallinfo(); | ^ /home/builder/aports/testing/krita/src/krita-4.2.6/libs/image/tests/kis_paint_device_test.cpp:2358:16: note: forward declaration of 'struct KisPaintDeviceTest::stressTestMemoryFragmentation()::mallinfo' 2358 | struct mallinfo info = mallinfo(); | ^~~~~~~~ EXPECTED RESULT Krita to compile properly SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux 4.19.73 KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.62.0 Qt Version: 5.12.5 ADDITIONAL INFORMATION This system uses Musl rather than glibc which is probably the cause of the failure. -- You are receiving this mail because: You are watching all bug changes.