bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70320: Krita fails to build


From: Ignas Lapėnas
Subject: bug#70320: Krita fails to build
Date: Wed, 10 Apr 2024 09:17:54 +0300
User-agent: mu4e 1.12.2; emacs 30.0.50

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]