emerge --info Portage 3.0.4 (python 3.7.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.31-r6, 5.8.8-xanmod1-x86_64 x86_64) ================================================================= System uname: Linux-5.8.8-xanmod1-x86_64-x86_64-Intel-R-_Core-TM-_i5-8300H_CPU_@_2.30GHz-with-gentoo-2.7 KiB Mem: 16242492 total, 8681072 free KiB Swap: 12287996 total, 12287996 free Head commit of repository gentoo: 9130c8b50f2b515a096f42a7ff39f1a2764d5e38 Timestamp of repository arx-libertatis: Sun, 13 Sep 2020 08:52:20 +0000 Head commit of repository arx-libertatis: 9cedaebaf7eca9b2493bc6a77392738ac4e977cd Timestamp of repository bobwya: Mon, 21 Sep 2020 16:07:00 +0000 Head commit of repository bobwya: 1000cdd3d773e2b48b524a30401a2c98df182dcf Head commit of repository hedmos-overlay: 0fb8f42ded1e411bfbe8525b05e0598656b6eeff Timestamp of repository pf4public: Sun, 27 Sep 2020 11:05:21 +0000 Head commit of repository pf4public: b31f20be34e860cb03f221d12b96e4baf5763201 Timestamp of repository src_prepare-overlay: Sun, 27 Sep 2020 14:05:22 +0000 Head commit of repository src_prepare-overlay: 48f3378a16103b2d63162e277a399e8f0d4bac86 Timestamp of repository steam-overlay: Mon, 21 Sep 2020 16:07:17 +0000 Head commit of repository steam-overlay: ae0b747be5b634a27f049c19897cbd656c38d5d1 Timestamp of repository tastytea: Mon, 21 Sep 2020 16:07:43 +0000 Head commit of repository tastytea: 35a89073ae344389884fa47982c0d354d3ff392c Head commit of repository tlp: ced908095a1bafc1af3583efc4a24b39e2ab8c12 Timestamp of repository wine: Fri, 18 Sep 2020 12:36:31 +0000 Head commit of repository wine: 53da422d994257bcd033ad256c62fdbf17761ce4 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo dev-util/cmake: 3.16.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo/gentoo priority: -1000 arx-libertatis location: /var/db/repos/arx-libertatis sync-type: git sync-uri: https://github.com/gentoo-mirror/arx-libertatis.git masters: gentoo bobwya location: /var/db/repos/bobwya sync-type: git sync-uri: https://github.com/gentoo-mirror/bobwya.git masters: gentoo hedmos-overlay location: /var/db/repos/hedmos-overlay sync-type: git sync-uri: https://github.com/hedmo/hedmos-overlay.git masters: gentoo pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo src_prepare-overlay location: /var/db/repos/src_prepare-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.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 tastytea location: /var/db/repos/tastytea sync-type: git sync-uri: https://github.com/gentoo-mirror/tastytea.git masters: gentoo tlp location: /var/db/repos/tlp sync-type: git sync-uri: https://github.com/dywisor/tlp-portage.git masters: gentoo wine location: /var/db/repos/wine sync-type: git sync-uri: https://github.com/gentoo-mirror/wine.git masters: gentoo x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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" EMERGE_DEFAULT_OPTS="--jobs 4" 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 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://ftp.linux.org.tr/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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" USE="X a52 aac acl acpi alsa amd64 archive berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt dbus dri dri3 dts dvd dvdr eds emboss encode evo exif fat ffmpeg flac fontconfig fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gnuefi gpm gstreamer gtk gui hddtemp iconv icu introspection ipv6 jpeg jpeg2k keyboard kms lame lcms libcaca libglvnd libnotify librtmp libsecret libtirpc lm-sensors lzma lzo mad matroska mng mount mouse mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ntfs ogg opengl openmp optimisememory pam pango pcre pdf pm-utils png policykit ppds pulseaudio qt5 readline sdl seccomp skins sound spell split-usr ssl startup-notification svg systemd sysv-utils taglib tcpd theora threads tiff touchpad tracker truetype udev udisks unicode upnp upower usb uxa v4l vaapi vorbis vulkan wifi wxwidgets x264 xattr xcb xml xv xvid zlib" 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="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" 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 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 iris 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Build.log * Package: dev-util/mingw64-runtime-7.0.0-r1 * Repository: gentoo * Maintainer: toolchain@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc idl kernel_linux libraries tools userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * ERROR: dev-util/mingw64-runtime-7.0.0-r1::gentoo failed (setup phase): * Invalid configuration * * Call stack: * ebuild.sh, line 125: Called pkg_setup * mingw64-runtime-7.0.0-r1.ebuild, line 54: Called die * The specific snippet of code: * die "Invalid configuration" * * If you need support, post the output of `emerge --info '=dev-util/mingw64-runtime-7.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/mingw64-runtime-7.0.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-util/mingw64-runtime-7.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/mingw64-runtime-7.0.0-r1/temp/die.env'. * Working directory: '/var/tmp/portage/dev-util/mingw64-runtime-7.0.0-r1/homedir' * S: '/var/tmp/portage/dev-util/mingw64-runtime-7.0.0-r1/work/mingw-w64-v7.0.0'
Seems you tried to emerge it as-is, it's masked for a reason. See wiki for crossdev-based instructions: https://wiki.gentoo.org/wiki/Mingw
The package is used only in context of creatin cross-toolchains, like: # crossdev --target x86_64-w64-mingw32 # crossdev --target i686-w64-mingw32 https://wiki.gentoo.org/wiki/Mingw has a few hints.