Krita fails to build

  • Open
  • quality assurance status badge
Details
One participant
  • Ignas Lap?nas
Owner
unassigned
Submitted by
Ignas Lap?nas
Severity
normal
I
I
Ignas Lap?nas wrote on 10 Apr 08:17 +0200
(address . bug-guix@gnu.org)
878r1lwxkd.fsf@lapenas.dev
Hello,

Trying to build the updated Krita (5.2.1). The package doesn't seem to
build in any way possible. Couldn't figure out what exactly is the
issue.

Guix version:
------------------------------------------------------------------------------------------------------------
guix (GNU Guix) 8bfa49444d688fd39d66dfa7d8a5d8fc04b3b571

Log ending:
------------------------------------------------------------------------------------------------------------
make[2]: Leaving directory '/tmp/guix-build-krita-5.2.1.drv-0/build'
[ 89%] Built target kritaheifimport
make[1]: Leaving directory '/tmp/guix-build-krita-5.2.1.drv-0/build'
make: *** [Makefile:149: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "24") exit-status: 2 term-signal: #f stop-signal: #f>

CMakeError.log:
------------------------------------------------------------------------------------------------------------
Determining if the function powf exists failed with the following output:
Change Dir: /tmp/guix-build-krita-wayland-5.2.1.drv-0/build/CMakeFiles/CMakeTmp

Run Build Command(s):/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/bin/make -f Makefile cmTC_79c81/fast && /gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/bin/make -f CMakeFiles/cmTC_79c81.dir/build.make CMakeFiles/cmTC_79c81.dir/build
make[1]: Entering directory '/tmp/guix-build-krita-wayland-5.2.1.drv-0/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_79c81.dir/CheckFunctionExists.c.o
/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -DCHECK_FUNCTION_EXISTS=powf -std=gnu90 -o CMakeFiles/cmTC_79c81.dir/CheckFunctionExists.c.o -c /gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/share/cmake-3.24/Modules/CheckFunctionExists.c
<command-line>: warning: conflicting types for built-in function ‘powf’; expected ‘float(float, float)’ [-Wbuiltin-declaration-mismatch]
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/share/cmake-3.24/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
7 | CHECK_FUNCTION_EXISTS(void);
| ^~~~~~~~~~~~~~~~~~~~~
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/share/cmake-3.24/Modules/CheckFunctionExists.c:1:1: note: ‘powf’ is declared in header ‘<math.h>’
+++ |+#include <math.h>
1 | #ifdef CHECK_FUNCTION_EXISTS
Linking C executable cmTC_79c81
/gnu/store/gl26kr5v6ch5lc3ignly61kb224drijc-cmake-minimal-3.24.2/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79c81.dir/link.txt --verbose=1
/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -DCHECK_FUNCTION_EXISTS=powf -Wl,--enable-new-dtags CMakeFiles/cmTC_79c81.dir/CheckFunctionExists.c.o -o cmTC_79c81 /gnu/store/hfx4i5fd1b7xxvq8k21cpj45r3asys95-lcms-2.13.1/lib/liblcms2.so
ld: CMakeFiles/cmTC_79c81.dir/CheckFunctionExists.c.o: undefined reference to symbol 'powf@@GLIBC_2.27'
ld: /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_79c81.dir/build.make:100: cmTC_79c81] Error 1
make[1]: Leaving directory '/tmp/guix-build-krita-wayland-5.2.1.drv-0/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:127: cmTC_79c81/fast] Error 2

--
Best Regards,
Ignas Lap?nas
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 70320@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70320
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch