[4268/4927] cd /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python && /usr/bin/cmake -E echo && /usr/bin/cmake -E touch /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart0.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart1.cpp /tmp/portage/sci-geosciences /qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart2.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart3.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart4.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart5.cpp /tmp /portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart6.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart7.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart8.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/cor e/sip_corepart9.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart10.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart11.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart12.cpp && /usr/sbin/sip5 -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY_LOCATION -x VECTOR_MAPPED_TYPE -n PyQt5.sip -t WS_X11 -t Qt_5_15_0 -g -o -a /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/qgis.core.api -n PyQt5.sip -y /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/output/python/qgis/_core.pyi -j 13 -c /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build /python/core -I /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core -I /usr/lib/python3.8/site-packages/PyQt5/bindings -I /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0/python /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/core.sip && /usr/sbin/sip-module --target-dir /tmp/portage/sci-geosc iences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core --sip-h PyQt5.sip FAILED: python/core/sip_corepart0.cpp python/core/sip_corepart1.cpp python/core/sip_corepart2.cpp python/core/sip_corepart3.cpp python/core/sip_corepart4.cpp python/core/sip_corepart5.cpp python/core/sip_corepart6.cpp python/core/sip_corepart7.cpp python/core/sip_corepart8.cpp python/core/sip_corepart9.cpp python/core/sip_corepart10.cpp python/core/sip_corepart1 1.cpp python/core/sip_corepart12.cpp cd /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python && /usr/bin/cmake -E echo && /usr/bin/cmake -E touch /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart0.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart1.cpp /tmp/portage/sci-geosciences/qgis-3.20.0 -r1/work/qgis-3.20.0_build/python/core/sip_corepart2.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart3.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart4.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart5.cpp /tmp/portage/sci -geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart6.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart7.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart8.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepa rt9.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart10.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart11.cpp /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/sip_corepart12.cpp && /usr/sbin/sip5 -w -e -x TESTS -x ANDROID -x ARM -x MOBILITY _LOCATION -x VECTOR_MAPPED_TYPE -n PyQt5.sip -t WS_X11 -t Qt_5_15_0 -g -o -a /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/qgis.core.api -n PyQt5.sip -y /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/output/python/qgis/_core.pyi -j 13 -c /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core -I /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core -I /usr/lib/python3.8/site-packages/PyQt5/bindings -I /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0/python /tmp/portage/sci-geosciences/qgis-3.20.0-r1/work/qgis-3.20.0_build/python/core/core.sip && /usr/sbin/sip-module --target-dir /tmp/portage/sci-geosciences/qgis- 3.20.0-r1/work/qgis-3.20.0_build/python/core --sip-h PyQt5.sip sip5: Unable to find file "QtXml/QtXmlmod.sip" Full logs: https://bugs.gentoo.org/attachment.cgi?id=716943 Reproducible: Always Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.1.0, glibc-2.33-r1, 5.12.12 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.12.12-x86_64-AMD_Ryzen_5_2400G_with_Radeon_Vega_Graphics-with-glibc2.33 KiB Mem: 14187856 total, 1903836 free KiB Swap: 7093244 total, 5441020 free Timestamp of repository gentoo: Sun, 20 Jun 2021 05:15:01 +0000 Head commit of repository gentoo: db0891ddf4c2213cdbbe687a9fdc80ab4623ed39 Timestamp of repository haskell: Sat, 19 Jun 2021 18:49:57 +0000 Head commit of repository haskell: f6d1e8b9516056704db98bc1f261aed9a4b3cee9 Head commit of repository local: b467e7bea96e0136858215dff5400af60109cd07 sh bash 5.1_p8 ld GNU gold (Gentoo 2.36.1 p3 2.36.1) 1.16 ccache version 4.3 [disabled] app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0::gentoo dev-lang/python: 2.7.18_p11::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo, 3.10.0_beta3::gentoo dev-lang/rust: 1.53.0::gentoo dev-util/ccache: 4.3-r2::gentoo dev-util/cmake: 3.20.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.36.1-r1::gentoo sys-devel/gcc: 11.1.0-r1::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.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r1::gentoo Repositories: gentoo location: /var/cache/portage/gentoo sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --new-compress sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo crossdev location: /var/cache/portage/crossdev masters: gentoo priority: 100 local location: /var/cache/portage/local sync-type: git sync-uri: https://github.com/devurandom/gentoo-overlay.git masters: gentoo priority: 1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=znver1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf" 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.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/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="-pipe -O2 -march=znver1" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner" 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 binpkg-multi-instance buildsyspkg cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install 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://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6 -l4" PKGDIR="/var/cache/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--new-compress" 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="/tmp" USE="7z 7zip X a52 aac aacplus aacs acl acpi activities aio alsa amd64 amr appindicator appstream aptx archive audit avahi avif ayatana bdplus berkdb blake2 blas bluetooth bluray bpf branding brotli bs2b btrfs bzip2 cairo caps cdda cddb cdio cdr celt cet chromaprint cjk cli clipboard color-management colord conntrack crypt cups curl d3d9 dav1d dbus declarative device-mapper dirac djvu dmabuf dri drm dts dvb dvd dvdr ed25519 editorconfig egl elf emboss emoji encode epub evdev exif faudio fax fdk ffmpeg fftw filecaps firefox firewalld fish-completion fits flac fontconfig fontforge fortran fribidi gamepad gbm gdal gdbm geoclue geolocation gif git gles2 gles3 gmp gnome-online-accounts gnupg google googledrive gpg gps graphicsmagick gstreamer gtk gtk3 gui gzip harfbuzz hdf5 heif http2 ibus iconv icu id3tag idn imlib inotify introspection ipv6 iwd jemalloc jpeg jpeg2k json kde kipi kms kwallet lapack latex lcms ldac libatomic libglvnd libidn2 libinput libnotify libproxy libsecret libsoxr libtirpc libvirt lm-sensors lrz lto lv2 lvm lz4 lzma lzo mad magic man mariadb markdown mbim mercurial mjpeg mng mobi modemmanager modplug mp3 mp4 mpeg mplayer mpris mtp multilib mysql ncurses netlink networkmanager nftables nls nptl numa office ofono ofx ogg openal opencl opencv openexr opengl openh264 openmax openmp opus otf pam pango pcap pch pcre pcre2 pdf pgo phonon pixman pkcs11 pkcs7 plasma pm-utils png policykit postscript ppds prison pulseaudio python qml qrcode qt5 rav1e raw rdp readline rtmp rubberband samba sasl scanner schroedinger screencast sctp sdl sdl2 seatd seccomp semantic-desktop share smartcard snappy sparse speech speex spell spice srt ssl startup-notification steamruntime stemmer svg systemd tbb tcpd teamd telemetry telepathy tga theora threads thunderbolt tiff timezone tmux tpm truetype udev udisks uinput unicode unwind upnp upnp-av upower usb utempter v4l v4l2 vaapi vamp vdpau vkd3d vorbis vpx vtk vulkan wasm wavpack wayland webchannel webengine webp widgets wireguard wmf woff2 wps x264 x265 xattr xcb xinerama xkb xml xmp xrandr xscreensaver xv xvid xwayland xxhash xz yaml zeroconf zeromq zimg zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" 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 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="de de-DE en en-GB ar fa tr ja ko zh zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-javascript wiki-publisher" LLVM_TARGETS="AMDGPU BPF RISCV WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1 lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 pypy pypy3 python3_8" QEMU_SOFTMMU_TARGETS="riscv32 riscv64 x86_64" QEMU_USER_TARGETS="riscv32 riscv64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu virgl" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RUSTFLAGS ================================================================= Package Settings ================================================================= sci-geosciences/qgis-3.18.3::gentoo was built with the following: USE="3d georeferencer hdf5 mapserver opencl polar python qml -examples (-grass) -netcdf -oracle -postgres -serial" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9" dev-python/sip-4.19.25-r1::gentoo was built with the following: USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 -python3_10" dev-python/sip-5.5.0-r2::gentoo was built with the following: USE="-doc" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 -python3_10" dev-python/PyQt5-5.15.4-r1::gentoo was built with the following: USE="bluetooth dbus declarative designer gui multimedia network opengl printsupport speech sql ssl svg webchannel widgets -debug -examples -gles2-only -help -location -positioning -sensors -serialport -testlib -websockets -x11extras -xmlpatterns" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 -python3_10" dev-python/PyQt5-sip-12.9.0::gentoo was built with the following: USE="" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 -python3_10"
Originally reported at https://bugs.gentoo.org/796821#c3
I seem to have hit this bug: sip5: Unable to find file "QtXml/QtXmlmod.sip" while emerging the current qgis-3.20.0-r1.ebuild Thought it was fixed?
(In reply to wippie from comment #2) > I seem to have hit this bug: > sip5: Unable to find file "QtXml/QtXmlmod.sip" > > while emerging the current qgis-3.20.0-r1.ebuild > Thought it was fixed? No, the bug is still open - "Unconfirmed", even. BTW, the bug not only hits the new version qgis-3.20.0-r1 but also 3.18.3. The reason turns out not that sip5 could not be used - in fact the scripts below cmake/ favor sip5 over sip4. But cmake/FindPyQt5.py outputs "pyqt_sip_dir:/usr/lib/python3.9/site-packages/PyQt5/bindings" if sip5 is installed. But current dev-python/PyQt5-5.15.4-r1 places the SIP files in /usr/share/sip/PyQt5 instead of that "bindings" directory, which does not exist with this PyQt5 version. To prove the point, I attach a patch just setting the correct path in cmake/FindPyQt5.py. I know that the path should be derived from the system but I don't know the official way to do that - or if dev-python/PyQt5 is supposed to install the sip files, or a symlink, at /usr/lib/python3.9/site-packages/PyQt5/bindings. This makes qgis compile on my ~amd64 system.
Created attachment 723901 [details, diff] Patch to cmake/FindPyQt5.py fixing the bug
Yea the patch worked for me too. And no i havn't found the proper way to point to the correct path either.
I think this depends upon https://bugs.gentoo.org/805965
(In reply to Bernd Feige from comment #6) > I think this depends upon https://bugs.gentoo.org/805965 I'm not so sure about that. Does qgis *require* sip-5 or later? If not, the simplest fix here is to continue using sip-4 to build qgis. To elaborate, I'm guessing that, if sip-5 is found, qgis assumes that PyQt5 was built with the new sip build system, which may or may not be the case in general (and is definitely not the case with gentoo's current stable PyQt5).
Default build of 3.20.2 failed with this error. Applying the patch got it working.
(In reply to Davide Pesavento from comment #7) > (In reply to Bernd Feige from comment #6) > > I think this depends upon https://bugs.gentoo.org/805965 > I'm not so sure about that. Does qgis *require* sip-5 or later? If not, the > simplest fix here is to continue using sip-4 to build qgis. > > To elaborate, I'm guessing that, if sip-5 is found, qgis assumes that PyQt5 > was built with the new sip build system, which may or may not be the case in > general (and is definitely not the case with gentoo's current stable PyQt5). Upstream seem to support sip-4 and sip-5 still but I'm not sure what the right course of action here is.
I think this is sorted and will be fixed in stable by bug 833630.