unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ignas Lapėnas" <ignas@lapenas.dev>
To: 70320@debbugs.gnu.org
Subject: bug#70320: Krita fails to build
Date: Wed, 10 Apr 2024 09:17:54 +0300	[thread overview]
Message-ID: <878r1lwxkd.fsf@lapenas.dev> (raw)

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	other threads:[~2024-04-10 19:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878r1lwxkd.fsf@lapenas.dev \
    --to=ignas@lapenas.dev \
    --cc=70320@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).