Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722102 - dev-qt/qtlocation-5.14.2: src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:63:24: error: ‘runtime_error’ is not a member of ‘std’
Summary: dev-qt/qtlocation-5.14.2: src/3rdparty/mapbox-gl-native/platform/default/bidi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-05-10 11:30 UTC by Vadim Dyadkin
Modified: 2020-09-25 07:37 UTC (History)
0 users

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


Attachments
Patch 1 (bidi.patch,304 bytes, patch)
2020-05-10 11:31 UTC, Vadim Dyadkin
Details | Diff
Patch 2 (mbgl.patch,350 bytes, patch)
2020-05-10 11:31 UTC, Vadim Dyadkin
Details | Diff
build.log (build.log,105.78 KB, text/x-log)
2020-05-10 11:42 UTC, Vadim Dyadkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Dyadkin 2020-05-10 11:30:09 UTC
gcc-10 cannot compile dev-qt/qtlocation-5.14.2. I guess gcc-10 has become more stringent for included headers

Reproducible: Always

Steps to Reproduce:
1. Compile dev-qt/qtlocation-5.14.2 with gcc-10
Comment 1 Vadim Dyadkin 2020-05-10 11:31:06 UTC
Created attachment 637508 [details, diff]
Patch 1

This patch fixes the issue
Comment 2 Vadim Dyadkin 2020-05-10 11:31:34 UTC
Created attachment 637510 [details, diff]
Patch 2

The second patch fixes the issue
Comment 3 Andreas Sturmlechner gentoo-dev 2020-05-10 11:33:47 UTC
Thanks for your report.

1) missing emerge --info
2) missing build.log
3) missing patch headers - are they taken from upstream, or did you submit them upstream?
Comment 4 Vadim Dyadkin 2020-05-10 11:35:19 UTC
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.1.0, glibc-2.31-r2, 5.6.11-gentoo x86_64)
=================================================================
System uname: Linux-5.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700K_CPU_@_3.70GHz-with-gentoo-2.7
KiB Mem:    32946128 total,  11681984 free
KiB Swap:   62499996 total,  62499476 free
Timestamp of repository gentoo: Sun, 10 May 2020 11:00:01 +0000
Head commit of repository gentoo: 69ae1cbc3b8bbbb7ed4f63bd7547ccc255b1fb9f
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/cmake:           3.17.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo, 10.1.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

tastytea
    location: /var/lib/layman/tastytea
    masters: gentoo
    priority: -1001

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

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

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

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

local
    location: /usr/local/portage
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mfpmath=sse -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mfpmath=sse -O2 -pipe"
DISTDIR="/data/var/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going=y --fail-clean=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 fail-clean 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="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j13"
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="/data/tmp"
USE="X a52 aac acl acpi activities aes alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif f16c flac fma3 fortran gdbm gif gpm iconv icu ipv6 jpeg kde kipi lcms libnotify libtirpc mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pclmul pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop smp spell split-usr ss-berkdb sse sse2 sse3 sse4_1 sse4_2 ssee3 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="32 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 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 ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map proxy referer rewrite scgi upstream_ip_hash userid dav dav_ext gunzip spdy upload_progress split_clients ssi xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby27" 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
Comment 5 Vadim Dyadkin 2020-05-10 11:37:06 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Thanks for your report.
> 
> 1) missing emerge --info

Sorry, done.

> 3) missing patch headers - are they taken from upstream, or did you submit
> them upstream?

I made them myself, should I submit them to upstream?

build.log is on the way.
Comment 6 Vadim Dyadkin 2020-05-10 11:42:19 UTC
Created attachment 637512 [details]
build.log
Comment 7 Vadim Dyadkin 2020-05-10 11:59:36 UTC
Create bug report
https://bugreports.qt.io/browse/QTBUG-84106
Comment 9 Andreas Sturmlechner gentoo-dev 2020-05-11 21:24:08 UTC
(In reply to Chiitoo from comment #8)
> Probably fixed upstream in 0853378b [1].
> 
> 1.
> https://code.qt.io/cgit/qt/qtlocation-mapboxgl.git/commit/?h=upstream/qt-
> staging&id=0853378b2f2de82c59501e31d18906694ec6e27e

Confirmed after applying to 5.15.0_rc.
Comment 10 Larry the Git Cow gentoo-dev 2020-05-11 21:32:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=050d1603470c2661ec9b291adde3339f5ad67800

commit 050d1603470c2661ec9b291adde3339f5ad67800
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-11 21:31:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-11 21:31:50 +0000

    dev-qt/qtlocation: Fix build with GCC-10
    
    Reported-by: Vadim Dyadkin <gentoo@3lp.cx>
    Bug: https://bugs.gentoo.org/722102
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/qtlocation-5.15.0_rc-gcc-10.patch        | 36 ++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.15.0_rc.ebuild      |  2 ++
 2 files changed, 38 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2020-05-14 17:21:06 UTC
The bug has been referenced in the following commit(s):

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

commit b3c9738568a19e21a38b45d9263846ab19f144a8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-11 21:31:50 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-14 17:20:47 +0000

    dev-qt/qtlocation: Fix build with GCC-10
    
    Reported-by: Vadim Dyadkin <gentoo@3lp.cx>
    Bug: https://bugs.gentoo.org/722102
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/qtlocation-5.14.2-gcc-10.patch           | 36 ++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.14.2.ebuild         |  2 ++
 2 files changed, 38 insertions(+)
Comment 12 Andreas Sturmlechner gentoo-dev 2020-05-14 17:22:35 UTC
Fixed in b3c97385.