Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941527 - kde-frameworks/kquickcharts-6.7.0 fails to build
Summary: kde-frameworks/kquickcharts-6.7.0 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: frameworks-6.7.0-stable
  Show dependency tree
 
Reported: 2024-10-14 12:32 UTC by Dawid Węgliński
Modified: 2024-10-22 17:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,5.40 KB, text/x-log)
2024-10-14 12:32 UTC, Dawid Węgliński
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Węgliński 2024-10-14 12:32:06 UTC
Created attachment 905790 [details]
build.log

I'm not sure what is missing here, but cmake building kquickcharts can't find required Qt6ShaderTools.

>>> Emerging (1 of 526) kde-frameworks/kquickcharts-6.7.0::gentoo
 * kquickcharts-6.7.0.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking kquickcharts-6.7.0.tar.xz to /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work
>>> Source unpacked in /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work
>>> Preparing source in /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0 ...
 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build"
cmake -C /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DQT_MAJOR_VERSION=6 -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DKDE_INSTALL_LIBEXECDIR=/usr/libexec -DBUILD_EXAMPLES=no -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build/gentoo_toolchain.cmake /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0
loading initial cache file /var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Could NOT find Qt6ShaderTools (missing: Qt6ShaderTools_DIR)
CMake Error at CMakeLists.txt:31 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "ShaderTools".

  Expected Config file at
  "/usr/lib64/cmake/Qt6ShaderTools/Qt6ShaderToolsConfig.cmake" does NOT exist



  Configuring with --debug-find-pkg=Qt6ShaderTools might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



-- Configuring incomplete, errors occurred!
 * ERROR: kde-frameworks/kquickcharts-6.7.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2488:  Called ecm_src_configure
 *   environment, line 1443:  Called cmake_src_configure
 *   environment, line 1077:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-frameworks/kquickcharts-6.7.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-frameworks/kquickcharts-6.7.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0_build'
 * S: '/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/work/kquickcharts-6.7.0'

>>> Failed to emerge kde-frameworks/kquickcharts-6.7.0, Log file:

>>>  '/var/tmp/portage/kde-frameworks/kquickcharts-6.7.0/temp/build.log'


---- 

emerge --info 
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.40-r5, 6.6.3-gentoo-r1-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.3-gentoo-r1-gentoo-dist-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-1260P-with-glibc2.40
KiB Mem:    32563704 total,   8320448 free
KiB Swap:   20971516 total,  20955900 free
Timestamp of repository gentoo: Mon, 14 Oct 2024 07:30:00 +0000
Head commit of repository gentoo: b942105719a59959ae06ad3307c76ffdbeace5a2
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0_beta1_p2::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             13.2.1_p20240503::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=alderlake"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=alderlake"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=alderlake"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=alderlake"
GENTOO_MIRRORS="http://ftp.agdsn.de/gentoo http://ftp.uni-hannover.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.vectranet.pl/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg openconnect opengl openmp openvpn pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vim-syntax vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="en pl en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Ionen Wolkens gentoo-dev 2024-10-14 12:43:50 UTC
I assume dev-qt/qtshadertools:6 if not installed, right?

Typically it is given qtdeclarative:6 BDEPENDs on it, but if you're using binpkgs it may never have gotten installed and kquickcharts does have:

find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED ... ShaderTools)
Comment 2 Dawid Węgliński 2024-10-14 12:47:21 UTC
Aaah, that explains a lot. I was looking for qt6sharedtools, not qtsharedtools.

Sorry for noise.
Comment 3 Ionen Wolkens gentoo-dev 2024-10-14 12:53:58 UTC
(In reply to Dawid Węgliński from comment #2)
> Aaah, that explains a lot. I was looking for qt6sharedtools, not
> qtsharedtools.
> 
> Sorry for noise.
No noise really, kquickcharts is missing the dependency so it's a bug.
Comment 4 Larry the Git Cow gentoo-dev 2024-10-15 20:10:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=1461105646c6c2901454fb3d115be2efa1302b7a

commit 1461105646c6c2901454fb3d115be2efa1302b7a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-10-15 19:53:10 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-10-15 20:10:19 +0000

    kde-frameworks/kquickcharts: Add missing dependency
    
    Upstream commit 0c70041c6074fced346f6eabec226e77707be789
    
    Bug: https://bugs.gentoo.org/941527
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/kquickcharts/kquickcharts-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-10-15 20:13:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8fbb13d65c8b1d67295866c66629b49efcdfe0e

commit f8fbb13d65c8b1d67295866c66629b49efcdfe0e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-10-15 19:53:10 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-10-15 20:13:02 +0000

    kde-frameworks/kquickcharts: Add missing dependency
    
    Upstream commit 0c70041c6074fced346f6eabec226e77707be789
    
    Closes: https://bugs.gentoo.org/941527
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../{kquickcharts-6.7.0.ebuild => kquickcharts-6.7.0-r1.ebuild}          | 1 +
 1 file changed, 1 insertion(+)
Comment 6 Ionen Wolkens gentoo-dev 2024-10-16 00:16:03 UTC
>DEPEND
Unless it links with libQt6ShaderTools (which I've never seen yet, does it?) this should typically be BDEPEND-only, this is the a similar deal as LinguistTools and "most" packages use it to run bin/qsb at build time.