[185/253] /usr/bin/x86_64-pc-linux-gnu-g++ -DG_LOG_DOMAIN=\"Poppler\" -Dpoppler_glib_EXPORTS -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0 -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/fofi -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/goo -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/poppler -I. -Ipoppler -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib -Iglib -isystem /usr/include/freetype2 -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/lib64/libffi/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -pthread -std=c++14 -MD -MT glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o -MF glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o.d -o glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o -c /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc FAILED: glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -DG_LOG_DOMAIN=\"Poppler\" -Dpoppler_glib_EXPORTS -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0 -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/fofi -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/goo -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/poppler -I. -Ipoppler -I/var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib -Iglib -isystem /usr/include/freetype2 -isystem /usr/include/openjpeg-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-4 -isystem /usr/lib64/libffi/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/cairo -Wall -Wextra -Wpedantic -Wno-unused-parameter -Wcast-align -Wformat-security -Wframe-larger-than=65536 -Wlogical-op -Wmissing-format-attribute -Wnon-virtual-dtor -Woverloaded-virtual -Wmissing-declarations -Wundef -Wzero-as-null-pointer-constant -Wshadow -Wsuggest-override -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -pthread -std=c++14 -MD -MT glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o -MF glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o.d -o glib/CMakeFiles/poppler-glib.dir/poppler-action.cc.o -c /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc In file included from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler.h:22, from /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc:19: /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc: In function ‘GType poppler_dest_get_type()’: /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-private.h:154:13: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type 154 | if (g_once_init_enter(&g_define_type_id__volatile)) { \ | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc:28:1: note: in expansion of macro ‘POPPLER_DEFINE_BOXED_TYPE’ 28 | POPPLER_DEFINE_BOXED_TYPE(PopplerDest, poppler_dest, poppler_dest_copy, poppler_dest_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc: In function ‘GType poppler_action_get_type()’: /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-private.h:154:13: error: argument 2 of ‘__atomic_load’ must not be a pointer to a ‘volatile’ type 154 | if (g_once_init_enter(&g_define_type_id__volatile)) { \ | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/app-text/poppler-21.02.0/work/poppler-21.02.0/glib/poppler-action.cc:91:1: note: in expansion of macro ‘POPPLER_DEFINE_BOXED_TYPE’ 91 | POPPLER_DEFINE_BOXED_TYPE(PopplerAction, poppler_action, poppler_action_copy, poppler_action_free) | ^~~~~~~~~~~~~~~~~~~~~~~~~ Reproducible: Always
Portage 3.0.14 (python 3.8.7-final-0, !../../var/db/repos/kobboi-linux/profiles/kobboi/samsonov, gcc-11.0.0, glibc-2.32-r7, 5.4.96 x86_64) ================================================================= System uname: Linux-5.4.96-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.2.5 KiB Mem: 32776896 total, 13616844 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 08 Feb 2021 11:17:30 +0000 Head commit of repository gentoo: 7f51452c05e12d18b0125f403087a35c8e228707 Timestamp of repository brother-overlay: Sat, 23 Jan 2021 10:41:31 +0000 Head commit of repository brother-overlay: fe35aa6732459e8430d9b65f4ef6782d4dd5dde9 Timestamp of repository gitlab: Fri, 05 Feb 2021 15:47:24 +0000 Head commit of repository gitlab: e82c5f27257687db8b0e843ce5ba4ab5dabd65d6 Head commit of repository kobboi-linux: c80e32047dfa3333c09ee96c031fb2b3418a3f77 Timestamp of repository steam-overlay: Sat, 23 Jan 2021 10:41:07 +0000 Head commit of repository steam-overlay: d4fc70b86dcf24462ef302663199c26de4be50cd sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.1 p2) 2.35.1 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] ccache version 4.2 [disabled] app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.0-r1::gentoo dev-lang/python: 2.7.18-r6::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo dev-util/ccache: 4.2::gentoo dev-util/cmake: 3.19.4::gentoo sys-apps/baselayout: 2.7-r1::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.15.1-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 9.3.0-r2::gentoo, 10.2.0-r5::gentoo, 11.0.0_pre9999::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 brother-overlay location: /var/db/repos/brother-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/brother-overlay.git masters: gentoo gitlab location: /var/db/repos/gitlab sync-type: git sync-uri: https://github.com/gentoo-mirror/gitlab.git masters: gentoo kobboi-linux location: /var/db/repos/kobboi-linux sync-type: git sync-uri: https://github.com/kobboi/kobboi-linux.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 Installed sets: @kobboi-all ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/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="-O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb" 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://kobboi-linux:*password*@10.8.0.1/2020.11" INSTALL_MASK="/usr/src/debug /usr/lib/debug" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST="ftp://kobboi-linux:*password*@10.8.0.1/2020.11/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" USE="X a52 aac acl acpi alsa amd64 avahi berkdb bluetooth bzip2 cairo cdda cdr cli colord crypt cups dbus dist-kernel djvu dri dts dvd dvdr eds egl emboss encode evo exif facedetect ffmpeg flac fluidsynth fortran frei0r gdbm gif glade gles gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle gui iconv icu introspection ipv6 jpeg ladspa lcms libass libglvnd libnotify libsecret libtirpc lv2 lz4 lzma lzo mad midi mng modemmanager mono mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl ogg opencv opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba screencast sdl seccomp smartcard smp spell split-usr ssl startup-notification svg sysprof systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 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="mmx mmxext 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="keyboard mouse synaptics libinput" KERNEL="linux" 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia intel amdgpu dummy fbdev nouveau radeonsi v4l" 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, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 686046 [details] build.log
Which gcc11 is this? I tried same USE and C(XX)FLAGS but it just builds fine, or is this related to deps or something else I don't know about? Mine is a week old but: gcc (Gentoo 11.0.0_pre9999 p6, commit 5d5130ad5c396bd2dcde766c0c994855b815355b) 11.0.0 20210202
(In reply to Ionen Wolkens from comment #3) > Which gcc11 is this? I tried same USE and C(XX)FLAGS but it just builds > fine, or is this related to deps or something else I don't know about? > > Mine is a week old but: > gcc (Gentoo 11.0.0_pre9999 p6, commit > 5d5130ad5c396bd2dcde766c0c994855b815355b) 11.0.0 20210202 gcc (Gentoo 11.0.0_pre9999 p6, commit 1ed591276485161e9ef3f0a513adbfcf4b4e2968) 11.0.0 20210206 (experimental)
Wait, I think I am running {glib,gdbus-introspection}-2.67.3 to see what the effect of those was on glib+gcc-11. Let me revert back to the ones in the tree.
(In reply to Kobboi from comment #5) > Wait, I think I am running {glib,gdbus-introspection}-2.67.3 to see what the > effect of those was on glib+gcc-11. Let me revert back to the ones in the > tree. That had to be "gdbus-codegen"
No problem after bringing glib back to 2.66.4. Might reappear when we move to glib-2.68 though.
Yes, I can reproduce with glib-2.67.3. Does makes me doubt this is poppler's bug but maybe worth keeping as reference for now.
So, what do we do here now? Is there any reason for this to continue blocking bug 732706?
(In reply to Andreas Sturmlechner from comment #9) > So, what do we do here now? Is there any reason for this to continue > blocking bug 732706? That it only triggers when using gcc11 hasn't changed, but it's irrelevant unless an affected glib/gdbus-codegen is bumped in ::gentoo (tried 2.67.3 and HEAD@7c87d26, both cause poppler[introspection] build failure with gcc11), otherwise poppler builds fine with gcc11.. so I don't know.
Okay, I'm going to close this based on inability to reproduce it with even today's sync of portage.git. Please don't report bugs downstream for versions that are not packaged in that downstream. Try to notify upstream of this impending(?) problem instead. Feel free to re-open this bug once anyone in Gentoo is actually able to reproduce it.
Looks like this was fixed in poppler-21.04.0 (21.03.0 still fails)
Upstream fix may be of interest to fix other packages, linking here.