Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920435 - net-misc/nextcloud-client-3.11.0: fails to configure without Qt5Sql
Summary: net-misc/nextcloud-client-3.11.0: fails to configure without Qt5Sql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-20 21:51 UTC by sunox9
Modified: 2023-12-21 08:21 UTC (History)
2 users (show)

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


Attachments
build.log (file_920435.txt,5.81 KB, text/plain)
2023-12-21 03:20 UTC, Leonardo Hernández Hernández
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunox9 2023-12-20 21:51:32 UTC
Emerging version 3.11.0 of the nextcloud-client fails with the following message:

CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Sql" with any
  of the following names:

    Qt5SqlConfig.cmake
    qt5sql-config.cmake

  Add the installation prefix of "Qt5Sql" to CMAKE_PREFIX_PATH or set
  "Qt5Sql_DIR" to a directory containing one of the above files.  If "Qt5Sql"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  src/libsync/CMakeLists.txt:183 (find_package)

I installed dev-qt/qt5sql and then nextcloud-client emerged fine.

Reproducible: Always

Actual Results:  
CMake Error at /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Sql" with any
  of the following names:

    Qt5SqlConfig.cmake
    qt5sql-config.cmake

  Add the installation prefix of "Qt5Sql" to CMAKE_PREFIX_PATH or set
  "Qt5Sql_DIR" to a directory containing one of the above files.  If "Qt5Sql"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  src/libsync/CMakeLists.txt:183 (find_package)

Expected Results:  
Emerge successfully

This emerge --info was called after I installed qt5sql and nextcloud-client 3.11.0

Portage 3.0.57 (python 3.11.6-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.37-r7, 6.6.6-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.6.6-gentoo-x86_64-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.37
KiB Mem:    32809816 total,  14941244 free
KiB Swap:    8190972 total,   8190972 free
Timestamp of repository gentoo: Wed, 20 Dec 2023 21:02:04 +0000
Head commit of repository gentoo: 488fd5ea8e304479d266bcf3d47777f7b23425f9

Timestamp of repository guru: Wed, 20 Dec 2023 13:47:19 +0000
Head commit of repository guru: 75c710487c75e8a8e648c4e1b7dfb78745917e2a

Timestamp of repository pf4public: Wed, 20 Dec 2023 13:47:28 +0000
Head commit of repository pf4public: 20736de460a419043b5a111d9083563809d3b6d3

Timestamp of repository seden: Wed, 20 Dec 2023 15:16:53 +0000
Head commit of repository seden: 0b7d4e107a4158f7b9f3be778adf57d78d1a5d30

Timestamp of repository steam-overlay: Fri, 15 Dec 2023 07:02:34 +0000
Head commit of repository steam-overlay: 92b6ac17f25985c3c10d29f7386d59b0c5a53c35

Timestamp of repository tatsh-overlay: Mon, 18 Dec 2023 03:46:51 +0000
Head commit of repository tatsh-overlay: 9716bd1ebcce7d651a216b9f0ad5ec66dbb33fd5

Head commit of repository brother-overlay: 0d059637b01926488e1eedfa078323f6e48a6130

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo
    volatile: False

seden
    location: /var/db/repos/seden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/seden.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: False

brother-overlay
    location: /usr/local/portage/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 9999
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/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=znver2 -pipe"
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 -march=znver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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 -march=znver2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j12"
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/bash"
USE="acl amd64 bzip2 cli crypt dri elogind fortran gdbm gnome-keyring iconv libtirpc multilib ncurses nls nptl openmp pam pcre pipewire readline seccomp split-usr ssl test-rust unicode vaapi vulkan wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-CA en" 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-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Leonardo Hernández Hernández 2023-12-21 03:20:34 UTC
Created attachment 880104 [details]
build.log
Comment 2 Bernard Cafarelli gentoo-dev 2023-12-21 08:19:48 UTC
Thanks for the report, this was indeed added with:
https://github.com/nextcloud/desktop/commit/ff8db2674a742fdc1fffe172915d4d3065643c92
Comment 3 Larry the Git Cow gentoo-dev 2023-12-21 08:21:30 UTC
The bug has been closed via the following commit(s):

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

commit 4f94d17531ad79517897618f286bc0edde8943b5
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2023-12-21 08:21:07 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2023-12-21 08:21:27 +0000

    net-misc/nextcloud-client: add new qtsql dependency
    
    Closes: https://bugs.gentoo.org/920435
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 net-misc/nextcloud-client/nextcloud-client-3.11.0.ebuild | 1 +
 1 file changed, 1 insertion(+)