Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757753 - dev-qt/qtdeclarative-5.15.1 Compile Failure QtGui/private/qopenglextensions_p.h errors in build log
Summary: dev-qt/qtdeclarative-5.15.1 Compile Failure QtGui/private/qopenglextensions_p...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2020-11-30 14:17 UTC by ad01932
Modified: 2021-01-08 19:34 UTC (History)
1 user (show)

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


Attachments
qtdeclarative-5.15.1 build log (dev-qt:qtdeclarative-5.15.1:20201130-104034.log.bz2,20.93 KB, application/x-bzip2)
2020-11-30 14:17 UTC, ad01932
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ad01932 2020-11-30 14:17:43 UTC
Created attachment 675823 [details]
qtdeclarative-5.15.1 build log

=dev-qt/qtdeclarative-15.1.1 fails to emerge. I have tried removing all of QT5 and then emerging using with: export FEATURES="-ccache"

Then attempted to emerge qtdeclarative: export FEATURES="-ccache"; emerge -av1 =dev-qt/qtdeclarative-15.1.1

Which produced exactly the same failure. I had tried the same previously on my last Linux Kernel version of =sys-kernel/gentoo-sources-5.8.11, which also prodcuced the same result.

Attached is the build log compressed as bzip2.

The output of `emerge --info '=dev-qt/qtdeclarative-5.15.1::gentoo'`:

Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.32-r2, 5.9.9-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.9.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-10700K_CPU_@_3.80GHz-with-gentoo-2.7
KiB Mem:    65752368 total,  53398560 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 30 Nov 2020 07:45:01 +0000
Head commit of repository gentoo: b9b779cd3e9906a1120ffb52832458f1fdad37ab
Timestamp of repository Drauthius: Wed, 25 Nov 2020 18:28:58 +0000
Head commit of repository Drauthius: efa7e47ec0def8cde72baddbfbbe3e4a6e05aa46

Timestamp of repository anomen: Wed, 25 Nov 2020 18:28:53 +0000
Head commit of repository anomen: 23967c8d1633a7df920c672691504125716d899c

Timestamp of repository bombo82: Sat, 28 Nov 2020 21:42:21 +0000
Head commit of repository bombo82: eebd699b7a298f257175c11235349fc79b6297b8

Timestamp of repository dotnet: Thu, 26 Nov 2020 16:05:24 +0000
Head commit of repository dotnet: 2a0b4732c44c0fa5d17577920dbb43be30756c90

Timestamp of repository edgets: Wed, 25 Nov 2020 18:29:43 +0000
Head commit of repository edgets: 59c8a7cd57bf1a188b74cea5331be7900c407d98

Timestamp of repository gamarouns: Wed, 25 Nov 2020 18:29:37 +0000
Head commit of repository gamarouns: c17b0fb34efeb2d5c408b6453dd7c11c5489a9c7

Timestamp of repository guru: Sun, 29 Nov 2020 11:05:24 +0000
Head commit of repository guru: 14fa55806f481e4e0f9736eee88aff130c34a231

Timestamp of repository pf4public: Sat, 28 Nov 2020 22:05:23 +0000
Head commit of repository pf4public: 970a7f2749efe540160812653429334d8d2e0aaa

Timestamp of repository qt: Sun, 29 Nov 2020 21:35:27 +0000
Head commit of repository qt: aa472864d5feedf358528c7f081ab38f2dc69799

Timestamp of repository steam-overlay: Wed, 25 Nov 2020 18:28:41 +0000
Head commit of repository steam-overlay: e326f9cdca590cdac3ab0ca1d2a640fbe00501ee

sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
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-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::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.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

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

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

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

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

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

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

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

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

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

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

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

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=skylake -mtune=skylake"
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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=skylake -mtune=skylake"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=17 --load-average=16"
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 -march=skylake -mtune=skylake"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=skylake -mtune=skylake"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j17 -l16"
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"
USE="X acl amd64 berkdb bzip2 cli crypt dbus dri fortran gdbm iconv icu ipv6 libglvnd libtirpc multilib ncurses nls nptl opengl openmp pam pcre pulseaudio readline seccomp split-usr ssl systemd tcpd udev unicode vim-syntax vulkan xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_GB" 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_4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Output of `emerge -pqv '=dev-qt/qtdeclarative-5.15.1::gentoo'`:
[ebuild  N    ] dev-qt/qtdeclarative-5.15.1  USE="jit vulkan widgets -debug -gles2-only -localstorage -test"
Comment 1 ad01932 2020-12-06 14:51:43 UTC
I've updated to Python 3.8 from the world update. 
emerge -avuDN @world --with-bdeps=y

Then rebuilt system last night with:
emerge -aev @system

Then after this I rebuilt QT again with:
export FEATURES="-ccache"; emerge -avq1 `eix -I "dev-qt/*" -# `

The finally tried to install qtdeclarative-5.15.1 again:
export FEATURES="-ccache"; PORT_LOGDIR=/var/log/portage  emerge -av1 dev-qt/qtdeclarative

This succeeded.

From what I can tell the original issue may have been the import for qopenglextensions_p.h in qtgui not working. It's not clear why rebuilding dev-qt packages did not work. Nor why prior versions had no issues.

I would have preferred to reproduce the bug, but I'm not sure how easily I will be able to. I need to update my laptop which is a similar set up, perhaps I'll see if I can create a snapshot of the LVM to roll back or a copy of the install then chroot and try the upgrade and see if it fails in the same way.

I'll try and update this in the next couple of days with my findings.
Comment 2 ad01932 2020-12-09 00:15:56 UTC
I cannot reproduce the error unfortunately. The laptop install was fine.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-01-08 19:34:56 UTC
Let's assume the usual nvidia-drivers eselect-opengl libglvnd standoff.