Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820269 - sci-geosciences/qgis-3.22.0 fails to build
Summary: sci-geosciences/qgis-3.22.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: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-25 20:14 UTC by Jean-Claude Repetto
Modified: 2021-10-27 06:16 UTC (History)
2 users (show)

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


Attachments
Complete build log (build.log.gz,372.97 KB, application/gzip)
2021-10-25 20:14 UTC, Jean-Claude Repetto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2021-10-25 20:14:52 UTC
Created attachment 746718 [details]
Complete build log

The problem seems related to PyQt:

[4594/4618] cd /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/python/pyplugin_installer && /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0/scripts/pyuic_wrapper.sh /usr/bin/pyuic5 /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/output/lib /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/output/python /var/tmp/portage/sci-geosciences/qgis-3.22.0/temp/python3.8/bin/python3 /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0/python/pyplugin_installer/qgsplugininstallerpluginerrorbase.ui -o /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/python/pyplugin_installer/ui_qgsplugininstallerpluginerrorbase.py
FAILED: python/pyplugin_installer/ui_qgsplugininstallerpluginerrorbase.py 
cd /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/python/pyplugin_installer && /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0/scripts/pyuic_wrapper.sh /usr/bin/pyuic5 /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/output/lib /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/output/python /var/tmp/portage/sci-geosciences/qgis-3.22.0/temp/python3.8/bin/python3 /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0/python/pyplugin_installer/qgsplugininstallerpluginerrorbase.ui -o /var/tmp/portage/sci-geosciences/qgis-3.22.0/work/qgis-3.22.0_build/python/pyplugin_installer/ui_qgsplugininstallerpluginerrorbase.py
An unexpected error occurred.
Check that you are using the latest version of PyQt5 and send an error report to
support@riverbankcomputing.com, including the following information:

  * your version of PyQt (5.15.4)
  * the UI file that caused this error
  * the debug output of pyuic5 (use the -d flag when calling pyuic5)
Comment 1 Jean-Claude Repetto 2021-10-25 20:17:06 UTC
emerge --info '=sci-geosciences/qgis-3.22.0::gentoo'

Portage 3.0.20 (python 3.9.7-final-0, default/linux/amd64/17.1, gcc-10.3.0, glibc-2.33-r1, 5.10.27-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i5-3550_CPU_@_3.30GHz-with-glibc2.33
KiB Mem:     7851108 total,   4259064 free
KiB Swap:   16777212 total,  16774396 free
Timestamp of repository gentoo: Mon, 25 Oct 2021 17:00:01 +0000
Head commit of repository gentoo: ee514defae182ae2efb4e38cddacdbb523783093
sh bash 5.1_p8
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.43.5-r1::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.34-r2::gentoo, 2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::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.33-r1::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* PUEL dlj-1.1 AdobeFlash-10.3 googleearth Oracle-BCLA-JavaSE AdobeFlash-11.x license(s)"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en"
MAKEOPTS="-j5"
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 alsa amd64 apache2 branding bzip2 cairo cli consolekit corefonts dbus dhclient django dri dv dvb dvd dvdnav dvdr dvi ecwj2k elogind epub exif expat ffmpeg firefox flac gcrypt gdbm geos gif gnutls gtk hwdb iconv icu java jpeg keymap libglvnd libsamplerate libtirpc logrotate mate mmx mp3 mtp multilib nautilus ncurses nlpsolver nls nptl nsplugin ogg openmp opus pam pcre pcre16 pdf pdfimport png pulseaudio python qt3support qt5 readline samba seccomp spatialite split-usr sqlite sqlite3 sse sse2 ssl svg svg2 tcpd threads tiff truetype unicode v4l vidstab visio vorbis winbind x264 xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST,
Comment 2 Jean-Claude Repetto 2021-10-25 20:18:58 UTC
emerge -pqv '=sci-geosciences/qgis-3.22.0::gentoo'

[ebuild     U ] sci-geosciences/qgis-3.22.0 [3.20.3] USE="python -3d -examples -georeferencer (-grass) -hdf5 -mapserver -netcdf -opencl -oracle -polar -postgres -qml -serial" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
Comment 3 Chris Mayo 2021-10-26 18:47:41 UTC
Don't know if this is the problem here but I see the ebuild does not require the gui USE flag for dev-python/PyQt5 (or printsupport).
Comment 4 Larry the Git Cow gentoo-dev 2021-10-27 06:04:49 UTC
The bug has been closed via the following commit(s):

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

commit 34aab6c54a181582d488e62145264cec28f405ea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 06:04:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 06:04:37 +0000

    sci-geosciences/qgis: add more PyQt5 dependencies
    
    Closes: https://bugs.gentoo.org/820269
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-geosciences/qgis/{qgis-3.22.0-r1.ebuild => qgis-3.22.0-r2.ebuild} | 2 +-
 sci-geosciences/qgis/qgis-9999.ebuild                                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)