Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728872 - gui-libs/wf-config-0.4.0-r1 fails to compile with sys-devel/gcc-10.1.0-r1
Summary: gui-libs/wf-config-0.4.0-r1 fails to compile with sys-devel/gcc-10.1.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aisha Tammy
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-06-20 09:07 UTC by Neil Bothwick
Modified: 2020-06-21 18:40 UTC (History)
1 user (show)

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


Attachments
Build log (gui-libs:wf-config-0.4.0-r1:20200620-090604.log,6.25 KB, text/x-log)
2020-06-20 09:09 UTC, Neil Bothwick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Bothwick 2020-06-20 09:07:26 UTC
Compilation fails with gcc 10 but works with gcc 9.3.0. 

Reproducible: Always

Steps to Reproduce:
1.Set gcc to 10.1.0
2.emerge wf-config
3.
Actual Results:  
Found ninja-1.10.0 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /tmp/portage/gui-libs/wf-config-0.4.0-r1/work/wf-config-0.4.0 ...
ninja -v -j1 -l0 -C /tmp/portage/gui-libs/wf-config-0.4.0-r1/work/wf-config-0.4.0-build
ninja: Entering directory `/tmp/portage/gui-libs/wf-config-0.4.0-r1/work/wf-config-0.4.0-build'
[1/30] x86_64-pc-linux-gnu-g++ -Iwf-config@sha -I. -I../wf-config-0.4.0 -Iinclude -I../wf-config-0.4.0/include -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -Wno-deprecated-declarations -march=native -O2 -fPIC -MD -MQ 'wf-config@sha/src_types.cpp.o' -MF 'wf-config@sha/src_types.cpp.o.d' -o 'wf-config@sha/src_types.cpp.o' -c ../wf-config-0.4.0/src/types.cpp
[2/30] x86_64-pc-linux-gnu-g++ -Iwf-config@sha -I. -I../wf-config-0.4.0 -Iinclude -I../wf-config-0.4.0/include -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -Wno-deprecated-declarations -march=native -O2 -fPIC -MD -MQ 'wf-config@sha/src_option.cpp.o' -MF 'wf-config@sha/src_option.cpp.o.d' -o 'wf-config@sha/src_option.cpp.o' -c ../wf-config-0.4.0/src/option.cpp
[3/30] x86_64-pc-linux-gnu-g++ -Iwf-config@sha -I. -I../wf-config-0.4.0 -Iinclude -I../wf-config-0.4.0/include -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -Wno-deprecated-declarations -march=native -O2 -fPIC -MD -MQ 'wf-config@sha/src_section.cpp.o' -MF 'wf-config@sha/src_section.cpp.o.d' -o 'wf-config@sha/src_section.cpp.o' -c ../wf-config-0.4.0/src/section.cpp
FAILED: wf-config@sha/src_section.cpp.o
x86_64-pc-linux-gnu-g++ -Iwf-config@sha -I. -I../wf-config-0.4.0 -Iinclude -I../wf-config-0.4.0/include -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -Wno-deprecated-declarations -march=native -O2 -fPIC -MD -MQ 'wf-config@sha/src_section.cpp.o' -MF 'wf-config@sha/src_section.cpp.o.d' -o 'wf-config@sha/src_section.cpp.o' -c ../wf-config-0.4.0/src/section.cpp
../wf-config-0.4.0/src/section.cpp: In member function ‘std::shared_ptr<wf::config::option_base_t> wf::config::section_t::get_option(const string&)’:
../wf-config-0.4.0/src/section.cpp:38:20: error: ‘invalid_argument’ is not a member of ‘std’
   38 |         throw std::invalid_argument("Non-existing option " + name
      |                    ^~~~~~~~~~~~~~~~
../wf-config-0.4.0/src/section.cpp: In member function ‘void wf::config::section_t::register_new_option(std::shared_ptr<wf::config::option_base_t>)’:
../wf-config-0.4.0/src/section.cpp:60:20: error: ‘invalid_argument’ is not a member of ‘std’
   60 |         throw std::invalid_argument(
      |                    ^~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: gui-libs/wf-config-0.4.0-r1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /tmp/portage/gui-libs/wf-config-0.4.0-r1/work/wf-config-0.4.0-build failed
 *





Portage 2.3.101 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.1.0, glibc-2.31-r5, 5.4.38-gentoo x86_64)
=================================================================
System uname: Linux-5.4.38-gentoo-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.7
KiB Mem:     8058688 total,    630780 free
KiB Swap:    8389104 total,   7372672 free
Timestamp of repository gentoo: Sat, 20 Jun 2020 06:35:19 +0000
Head commit of repository gentoo: c635b03278f27e164ee782f338952234d4e31144

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::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.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo, 10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

crossdev
    location: /mnt/portage/local/portage-crossdev
    masters: gentoo
    priority: 10

nelz
    location: /mnt/portage/nelz
    masters: gentoo
    priority: 15

gentoo
    location: /var/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: 20

waebbl
    location: /mnt/portage/layman/waebbl
    masters: gentoo
    priority: 50

digimed
    location: /mnt/portage/local
    masters: gentoo
    priority: 100

Installed sets: @dependencies, @gcc, @kde, @kernels, @laptop, @temp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /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/init.d /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="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 7 --quiet-unmerge-warn --backtrack=20"
ENV_UNSET="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 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://portage.digimed.co.uk/gentoo-distfiles"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="--jobs 4 --load 10"
PKGDIR="/mnt/portage/packages/fenchurch"
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="/tmp"
USE="X a52 aac aalib acpi activities alsa amd64 apng audiofile bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr chromium cli crypt cryptsetup cups curl dbus declarative device-mapper djvu dri dts dvb dvd dvdr ebook emacs encode exif ffmpeg flac fortran gdbm gif gimp gmp gnutls gpg gphoto2 gpm gtk iconv icu id3 imagemagick imap java jpeg jpeg2k jumbo-build kde kdeenablefinal kdeprefix kipi kwallet laptop libnotify libtirpc libwww lzma lzo mad mmx mmxext mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf phonon plasma png policykit pulseaudio qml qt5 quicktime rdesktop readline real scanner sdl seccomp semantic-desktop snmp spell split-usr sse sse2 sse3 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis widgets wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xulrunner xv xvid zlib zsh-completion" 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="braindump flow karbon kexi krita sheets stage words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="apache apcups battery cgroups cpu cpufreq curl df disk ethstat exec filecount interface load logfile md memory network nfs notify_desktop notify_email ntpd ping processes python rrdtool sensors syslog tail thermal uptime vmem wireless" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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 1 Neil Bothwick 2020-06-20 09:09:53 UTC
Created attachment 645344 [details]
Build log
Comment 2 Fpemud 2020-06-21 13:42:56 UTC
Exactly the same problem on my system
Comment 3 Aisha Tammy 2020-06-21 14:47:07 UTC
Upstream bug, has been fixed. Release is imminent.
Comment 4 Larry the Git Cow gentoo-dev 2020-06-21 18:40:01 UTC
The bug has been closed via the following commit(s):

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

commit ebc011513d6c93440be3bfb146a1590d9027d038
Author:     Aisha Tammy <gentoo@aisha.cc>
AuthorDate: 2020-06-21 14:54:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-21 18:39:50 +0000

    gui-libs/wf-config: version bump to 0.4.1
    
    fixes compiling with gcc-10.1.0
    
    Closes: https://bugs.gentoo.org/728872
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
    Closes: https://github.com/gentoo/gentoo/pull/16364
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 gui-libs/wf-config/Manifest               |  1 +
 gui-libs/wf-config/wf-config-0.4.1.ebuild | 35 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)