Created attachment 767129 [details] build log I've tried this on several different amd64 machines, and the build always fails with the fbcon USE flag enabled. Here's the log and my emerge --info
Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.34-r10, 5.15.5-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.15.5-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-glibc2.34 KiB Mem: 16227908 total, 4506608 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 12 Mar 2022 16:05:11 +0000 Head commit of repository gentoo: 7c28a44916e71385657aca44a500b08afcef7d64 Head commit of repository jami-overlay: 3accc2e09c3cff5684183598843800389463c55d Head commit of repository librewolf: 4dd8df7b0767c888ba22ae70c980625c72a2f95e Head commit of repository 4nykey: b3b6fcc80d71a1d534c4d2d5fa37dadec393061e Timestamp of repository guru: Sat, 12 Mar 2022 09:44:33 +0000 Head commit of repository guru: ca3de8dfe299f307bd949c366c20191940ab3642 Head commit of repository monero: 94a988a9aca12e432e3279dced33a6e048430a87 Head commit of repository nix-guix: e8b729146aed802b9295b01a55c56e5d9260e503 Head commit of repository qt: eaa7ed61c553748196bad8665f0527159900f450 Head commit of repository src_prepare-overlay: a4c8458b22260a02534d6d455fb763ab20dc20ad Head commit of repository tastytea: 326e1d8e981bff63eb5f01cebbf3d7406c8d7ada Timestamp of repository holgersson-overlay: Tue, 08 Mar 2022 13:37:17 +0000 Head commit of repository holgersson-overlay: 25f7ca830e7b09bcb5bec402793fb36d1ba15bce Head commit of repository steam-overlay: 220c88dcc7dfe5abe7defc8c5d223ae267bd637f sh dash 0.5.11.5 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r8::gentoo dev-lang/python: 2.7.18_p14::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/cmake: 3.22.3::gentoo dev-util/meson: 0.61.1::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.35.2::gentoo, 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 sync-git-verify-commit-signature: yes jami-overlay location: /var/db/repos/jami sync-type: git sync-uri: https://gitlab.com/Parona/jami-overlay masters: gentoo qt priority: -1 librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://gitlab.com/librewolf-community/browser/gentoo.git masters: gentoo priority: -1 4nykey location: /var/db/repos/anykey sync-type: git sync-uri: https://github.com/4nykey/4nykey masters: gentoo guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo monero location: /var/db/repos/monero sync-type: git sync-uri: https://github.com/gentoo-monero/gentoo-monero.git masters: gentoo nix-guix location: /var/db/repos/guix sync-type: git sync-uri: https://github.com/trofi/nix-guix-gentoo masters: gentoo qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo/qt masters: gentoo src_prepare-overlay location: /var/db/repos/srcprepare sync-type: git sync-uri: https://gitlab.com/src_prepare/src_prepare-overlay masters: gentoo staging-overlay location: /home/aslan/Documents/staging-overlay masters: gentoo tastytea location: /var/db/repos/tastytea sync-type: git sync-uri: https://schlomp.space/tastytea/overlay masters: guru gentoo holgersson-overlay location: /var/db/repos/holgersson-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/holgersson-overlay.git masters: gentoo priority: 50 steam-overlay location: /var/db/repos/steam sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf" 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="-O2 -pipe -march=native -mtune=native -ftree-vectorize" DISTDIR="/var/cache/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 -march=native -mtune=native -ftree-vectorize" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -mtune=native -ftree-vectorize" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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" SHELL="/bin/zsh" USE="X acl alsa amd64 bash-completion browser-integration bzip2 cli connman connmanctl crypt dedicated developer dhcpcd dri drm dvd egl elogind eme-free fancontrol fbcon fortran gdbm gentoo-vm git gles gpm groff hex hwaccel iconv ipv6 joystick libglvnd libressl libtirpc lm-sensors lto man mesa multilib ncurses nls nptl offensive openh264 openmp osmesa otr pam pcre pgo pipewire pipewire-alsa plasma privacy qt readline roff screencast slang smart split-usr ssl synaptics threads troff tty-helpers unicode upower vim vim-syntax vulkan vulkan-overlay wayland wireguard xattr zfs zlib zsh-completion" 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 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" INPUT_DEVICES="libinput keyboard mouse joystick synaptics" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 arm aarch64" QEMU_USER_TARGETS="x86_64 arm aarch64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965 i915" 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 ================================================================= Package Settings ================================================================= www-client/netsurf-3.10-r4::gentoo was built with the following: USE="gtk -bmp -duktape -fbcon -gif -gtk2 -javascript -jpeg -mng -png -psl -rosprite -svg -svgtiny -truetype -webp" ABI_X86="(64)" CFLAGS="-O2 -pipe -march=btver2 -mtune=btver2" CXXFLAGS="-O2 -pipe -march=btver2 -mtune=btver2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
Someone reported a similar bug from Arch (although the description they posted matches this, their incomplete log doesn't): https://bugs.netsurf-browser.org/mantis/view.php?id=2778. Can you try https://git.netsurf-browser.org/netsurf.git/commit/?id=434f6c3fe7d1d2c6a3e6ae6338608a4a4421ab1b please?
Thanks Sam! The file-to-be-patched (and whole `tools` dir) does not exist in the source pulled in from the ebuild's SRC_URI variable, so sadly that patch doesn't do much besides making portage error out :/
It seems the whole `tools` dir was added after the 3.10 tag.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200f9dbf94b916f196fabdc523d56f5d7b8b32fa commit 200f9dbf94b916f196fabdc523d56f5d7b8b32fa Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-16 19:27:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-16 19:27:48 +0000 www-client/netsurf: fix build with GCC 10 (-fno-common) Closes: https://bugs.gentoo.org/835379 Signed-off-by: Sam James <sam@gentoo.org> .../files/netsurf-3.10-gcc10-fno-common.patch | 23 ++++++++++++++++++++++ www-client/netsurf/netsurf-3.10-r6.ebuild | 1 + 2 files changed, 24 insertions(+)