Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840434 - >=www-client/falkon-22.04.0: src/plugins/PyFalkon/PyFalkon/qztools_wrapper.cpp:1223:62: error: expected unqualified-id before ‘{’ token
Summary: >=www-client/falkon-22.04.0: src/plugins/PyFalkon/PyFalkon/qztools_wrapper.cp...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: test-request
Keywords: REGRESSION
: 840782 843374 846437 857027 (view as bug list)
Depends on: 835763
Blocks: 865315
  Show dependency tree
 
Reported: 2022-04-24 02:49 UTC by Geoff Madden
Modified: 2022-08-15 21:14 UTC (History)
6 users (show)

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


Attachments
build log for Falkon-22.04.0 (build.log.tar.xz,55.63 KB, application/x-xz)
2022-04-24 02:56 UTC, Geoff Madden
Details
emerge info AMD B350 (emerge.inf,6.54 KB, text/plain)
2022-04-24 02:57 UTC, Geoff Madden
Details
build log 2nd compile (buildlog_falkon-22.04.0-250422.tar.bz2,58.23 KB, application/x-bzip)
2022-04-25 09:27 UTC, Geoff Madden
Details
Falkon 22.04.0 build log (falkon-22.04.0-Build.tar.gz,99.72 KB, application/gzip)
2022-05-02 22:22 UTC, B Nice
Details
build log 2022-5-11 (build_log-20220511,56.02 KB, application/x-xz)
2022-05-11 08:37 UTC, Geoff Madden
Details
emerge info ryzen 5 (emergeinf,6.21 KB, text/plain)
2022-05-11 08:42 UTC, Geoff Madden
Details
2022-05-12_emerge.info (emerge.info,8.64 KB, text/plain)
2022-05-12 20:39 UTC, James Ausmus
Details
2022-05-12_MAKEOPTS_j1_build.log.gz (build.log.gz,98.83 KB, application/gzip)
2022-05-12 20:41 UTC, James Ausmus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2022-04-24 02:49:58 UTC
compile of Falkon falls over at missing definitions of ml_doc
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-24 02:53:42 UTC
Please include the full build.log and emerge --info.
Comment 2 Geoff Madden 2022-04-24 02:56:04 UTC
Created attachment 773732 [details]
build log for Falkon-22.04.0

built version 3.2.0-r1 which had a similar hassle with the definitions. that completed even with the discrepancies.
But version 22.04.0 refuses to complete
Comment 3 Geoff Madden 2022-04-24 02:57:46 UTC
Created attachment 773735 [details]
emerge info AMD B350

emerge info
Comment 4 Geoff Madden 2022-04-25 09:27:41 UTC
Created attachment 774428 [details]
build log 2nd compile

I retried to compile & noted the difference in log size. Still failing with missing_field_inittializers. Please note the previous version (3) had a lot of these errors also,but did manage to complete the compile
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-25 19:41:05 UTC
*** Bug 840782 has been marked as a duplicate of this bug. ***
Comment 6 B Nice 2022-05-02 22:22:59 UTC
Created attachment 776159 [details]
Falkon 22.04.0 build log

Build log for Falkon 22.04.0
Comment 7 B Nice 2022-05-02 22:23:56 UTC
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.35-r4, 5.17.5-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.17.5-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.35
KiB Mem:    16083380 total,   4693932 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Mon, 02 May 2022 20:30:01 +0000
Head commit of repository gentoo: 9e251dcd78836f2cd8594c12d38f571421164ef9
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo, 3.11.0_alpha7::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.3::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.3::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r4::gentoo
Repositories:

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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/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/terminfo"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="rsync://rsync.au.gentoo.org rsync://rsync1.au.gentoo.org http://gentoo.gossamerhost.com http://mirror.the-best-hosting.net"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 apache2 apm bluetooth branding bzip2 cairo cdda cdr cli client crypt cups dbus declarative dhclient dri dts dvd dvdr elogind encode exif fam firefox flac fortran gdbm gif gpm gtk gui iconv icu ipv6 java jpeg kde kdesu kerberos kwallet lcms ldap libglvnd libnotify libtirpc lm_sensor mad mng mp3 mp4 mpeg multilib mysql mysqli ncurses networkmanager nls nptl nss offensive ogg opengl openmp openssl pam pango pc-utils pcre pdf plasma png policykit ppds pulseaudio python qml qt5 readline samba sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis widgets wifi win32codecs wxwidgets x264 x265 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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 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="libinput" KERNEL="linux" L10N="en_CA.utf8" 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 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" 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:  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, LEX, 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 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-09 03:58:16 UTC
*** Bug 843374 has been marked as a duplicate of this bug. ***
Comment 9 Claus-Justus Heine 2022-05-11 08:05:52 UTC
Are you sure that the ml_doc things are the real problem? If I search for "error:" in my own logs and the logs you provided I find something like this:

/var/tmp/portage/www-client/falkon-22.04.0/work/falkon-22.04.0_build/src/plugins/PyFalkon/PyFalkon/qztools_wrapper.cpp:1591:62: error: expected unqualified-id before ‘{’ token
 1591 |         ::QFlags<QFileDialog::Option> cppArg6 = QFileDialog::{};
      |                                                              ^
which suggests that it is rather a missing C++ header or some changes in Qt.
Comment 10 Geoff Madden 2022-05-11 08:37:13 UTC
Created attachment 778043 [details]
build log 2022-5-11
Comment 11 Geoff Madden 2022-05-11 08:42:55 UTC
Created attachment 778046 [details]
emerge info ryzen 5
Comment 12 James Ausmus 2022-05-12 20:39:01 UTC
Created attachment 778397 [details]
2022-05-12_emerge.info

Same issue here, attaching emerge.info and build.log
Comment 13 James Ausmus 2022-05-12 20:41:39 UTC
Created attachment 778400 [details]
2022-05-12_MAKEOPTS_j1_build.log.gz

Attaching gzip-compressed build log with MAKEOPTS="-j1"
Comment 14 Ghiunhan Mamut 2022-05-13 08:47:43 UTC
The error log suggests python plugin (PyFalkon) fails to build, so I tried USE="-python" and the build succeeded.
Comment 15 Geoff Madden 2022-05-13 16:20:49 UTC
(In reply to Ghiunhan Mamut from comment #14)
> The error log suggests python plugin (PyFalkon) fails to build, so I tried
> USE="-python" and the build succeeded.
Will be nice to see if everything else still works
Comment 16 Dario Sarango 2022-05-17 15:01:50 UTC
I noticed this in my build log:

-- PySide2Config: Using default python: -python3.9
-- Found PythonInterp: /var/tmp/portage/www-client/falkon-22.04.1/temp/python3.9/bin/python >
-- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable version "3.9.12", minimum re>
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.9'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for Gentoo
-- Found Python3: /usr/include/python3.10 (found version "3.10.4") found components: Develop>

Both PySide2Config and Shiboken build with Python 3.9 (I did remove them and let emerge rebuild them), Falkon USE flag says it will use Python 3.9, but it detects and uses Python 3.10.
Comment 17 Andreas Sturmlechner gentoo-dev 2022-05-18 11:28:59 UTC

*** This bug has been marked as a duplicate of bug 832889 ***
Comment 18 B Nice 2022-05-18 20:55:30 UTC
> The error log suggests python plugin (PyFalkon) fails to build, so I tried
> USE="-python" and the build succeeded.

I tried to emerge falkon with a package.use -python and as root with USE=-python on the command line, and both failed to build.  My system currently has three version of python installed.  3.9.x, 3.10.x, and 3.11.x-beta. (In reply to Ghiunhan Mamut from comment #14)
Comment 19 Andreas Sturmlechner gentoo-dev 2022-05-19 08:10:03 UTC
Then you need to file a different bug with build.log attached.
Comment 20 Andreas Sturmlechner gentoo-dev 2022-07-17 11:57:33 UTC
This is now reproducible with bug 832889 fixed.
Comment 21 Andreas Sturmlechner gentoo-dev 2022-07-17 11:59:38 UTC
*** Bug 857027 has been marked as a duplicate of this bug. ***
Comment 22 Andreas Sturmlechner gentoo-dev 2022-07-17 12:00:21 UTC
*** Bug 846437 has been marked as a duplicate of this bug. ***
Comment 23 Larry the Git Cow gentoo-dev 2022-07-17 12:26:53 UTC
The bug has been referenced in the following commit(s):

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

commit 251f7715b1676dce85e684a33a86b0c29e963075
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-17 12:20:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-17 12:24:31 +0000

    www-client/falkon: Re-add IUSE=python to 3.2.0 for testing
    
    This reverts commit 24ee22ebae42f4eb4a0e04c08a4fd94477941730.
    
    Bug: https://bugs.gentoo.org/840434
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-client/falkon/falkon-3.2.0-r1.ebuild | 35 ++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)
Comment 24 Andreas Sturmlechner gentoo-dev 2022-08-15 20:07:55 UTC
Please test with recently added
> dev-python/shiboken2-5.15.5
> dev-python/pyside2-5.15.5
Comment 25 Larry the Git Cow gentoo-dev 2022-08-15 21:14:17 UTC
The bug has been referenced in the following commit(s):

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

commit 699d587548c4fda852cc0ac4cdd83d9987c43545
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-08-15 21:10:56 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-08-15 21:13:21 +0000

    www-client/falkon: Enforce QTMIN on dev-python/{pyside2,shiboken2}
    
    Raise QTMIN to 5.15.5 as well for better alignment at least in this
    version.
    
    Bug: https://bugs.gentoo.org/840434
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-client/falkon/falkon-22.04.3-r1.ebuild | 92 ++++++++++++++++++++++++++++++
 1 file changed, 92 insertions(+)
Comment 26 Larry the Git Cow gentoo-dev 2022-08-15 21:14:33 UTC
The bug has been referenced in the following commit(s):

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

commit a4bbbc908ac7f2e28fdd6af0909cf535af14de5e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-08-15 20:30:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-08-15 20:34:41 +0000

    www-client/falkon: Enforce QTMIN on dev-python/{pyside2,shiboken2}
    
    Bug: https://bugs.gentoo.org/840434
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 www-client/falkon/falkon-22.07.90.ebuild      | 8 ++++----
 www-client/falkon/falkon-22.08.0.ebuild       | 8 ++++----
 www-client/falkon/falkon-22.08.49.9999.ebuild | 8 ++++----
 www-client/falkon/falkon-9999.ebuild          | 8 ++++----
 4 files changed, 16 insertions(+), 16 deletions(-)