Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 777510

Summary: media-gfx/krita-4.4.2[-gsl] fails to build: KisBezierUtils.cpp:738:19: error: gsl_vector does not name a type
Product: Gentoo Linux Reporter: Lukas Turek <8an>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: CONFIRMED ---    
Severity: normal CC: ionen, sachse
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log of krita-4.4.2 with USE=-gsl
Build log of krita-4.4.3 with USE=-gsl
Build log of krita-5.1.1 with USE=-gsl

Description Lukas Turek 2021-03-21 12:07:05 UTC
/var/tmp/portage/media-gfx/krita-4.4.2/work/krita-4.4.2/libs/global/KisBezierUtils.cpp:738:19: error: ‘gsl_vector’ does not name a type
  738 | double my_f(const gsl_vector * x, void *paramsPtr)
      |                   ^~~~~~~~~~
/var/tmp/portage/media-gfx/krita-4.4.2/work/krita-4.4.2/libs/global/KisBezierUtils.cpp: In function ‘double KisBezierUtils::{anonymous}::my_f(const int*, void*)’:
/var/tmp/portage/media-gfx/krita-4.4.2/work/krita-4.4.2/libs/global/KisBezierUtils.cpp:741:23: error: there are no arguments to ‘gsl_vector_get’ that depend on a template parameter, so a declaration of ‘gsl_vector_get’ must be available [-fpermissive]
  741 |     const QPointF pos(gsl_vector_get(x, 0), gsl_vector_get(x, 1));
      |                       ^~~~~~~~~~~~~~
Comment 1 Lukas Turek 2021-03-21 12:08:25 UTC
Portage 3.0.13 (python 3.9.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r7, 5.7.19-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.7.19-gentoo-x86_64-x86_64-AMD_Ryzen_7_4700U_with_Radeon_Graphics-with-glibc2.32
KiB Mem:    15600104 total,   6050844 free
KiB Swap:   16775164 total,  14916728 free
Timestamp of repository gentoo: Sat, 20 Mar 2021 11:30:01 +0000
Head commit of repository gentoo: ad14bf28098edcec387cc7771369a8225577bd78
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

8AN
    location: /usr/local/portage/8an
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE as-is JasPer2.0 MSttfEULA bh-luxi SIFT VIGRA bakoma freedist unRAR MPEG-4 netperf SSPL-1 free-noncomm linux-firmware linux-fw-redistributable no-source-code intel-ucode NPSL Subversion ubiquiti FAH-EULA-2014 FAH-special-permission"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo http://gentoo.mirror.dkm.cz/pub/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en cs cs_CZ"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac accessibility alsa amd64 audiofile bash-completion bluetooth bzip2 crypt cups curl dbus dri dts egl elogind encode exif ffmpeg flac fontconfig gcrypt gif git gnutls hunspell iconv icu idn imagemagick ipv6 jemalloc jit jpeg jpeg2k kde lcms libglvnd lm-sensors lto lz4 lzma lzo mad matroska mp3 mpeg multilib ncurses nls nptl ogg opengl openrc opus pam pdf pgo pic plasma png policykit postproc postscript qml qt5 readline samba sdl semantic-desktop slang speex split-usr ssl svg tcpd theora threads tiff truetype udev unicode vorbis vpx wayland webp x264 xcb xml xv xvid xz zip zlib zstd" ABI_X86="64" APACHE2_MODULES="alias auth_basic authn_core authz_core authn_file authz_user authz_host cgi deflate dir filter log_config mime rewrite socache_shmcb unixd proxy proxy_http proxy_wstunnel" APACHE2_MPMS="prefork" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en cs cs-CZ" LIBREOFFICE_EXTENSIONS="pdfimport" LLVM_TARGETS="X86 AMDGPU" PHP_TARGETS="php7-3" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Lukas Turek 2021-03-21 12:12:00 UTC
Created attachment 692718 [details]
Build log of krita-4.4.2 with USE=-gsl
Comment 3 Ionen Wolkens gentoo-dev 2021-03-21 12:51:01 UTC
(please leave build logs uncompressed when under 1MB in the future)
Comment 4 Andreas Sturmlechner gentoo-dev 2021-04-04 14:24:13 UTC
Please test with 4.4.3.
Comment 5 Lukas Turek 2021-04-04 14:55:27 UTC
Created attachment 697170 [details]
Build log of krita-4.4.3 with USE=-gsl

Build of 4.4.3 fails with the same error.
Comment 6 sachse 2021-12-04 14:42:43 UTC
krita-4.4.8-r1 fail wit he same error independend if +gsl or -gsl is set
Comment 7 Andreas Sturmlechner gentoo-dev 2022-09-14 12:18:45 UTC
Please test with 5.0.8 or 5.1.1.
Comment 8 Lukas Turek 2022-09-14 12:58:18 UTC
Created attachment 805099 [details]
Build log of krita-5.1.1 with USE=-gsl

5.0.8 and 5.1.1 are still the same.