Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878849 - dev-util/mingw64-toolchain-10.0.0_p1-r1: fails to build with Error: symbol `LITR2' is already defined
Summary: dev-util/mingw64-toolchain-10.0.0_p1-r1: fails to build with Error: symbol `L...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 23:35 UTC by Andrius Štikonas
Modified: 2022-10-31 00:54 UTC (History)
0 users

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


Attachments
build.log.xz (build.log.xz,76.14 KB, application/x-xz)
2022-10-30 23:35 UTC, Andrius Štikonas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2022-10-30 23:35:11 UTC
Fails to build with "Error: symbol `LITR2' is already defined"

Reproducible: Always




Calculating dependencies... done!
[ebuild  N     ] dev-util/mingw64-toolchain-10.0.0_p1-r1::gentoo  USE="-custom-cflags -debug" ABI_X86="32 (64)" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


Portage 3.0.38.1 (python 3.9.12-final-0, !../../usr/portage/profiles/default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.3.0, glibc-2.35-r8, 5.15.75-gentoo-gnu x86_64)
=================================================================
System uname: Linux-5.15.75-gentoo-gnu-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-glibc2.35
KiB Mem:    16268372 total,   1210412 free
KiB Swap:   18874360 total,  16944844 free
Timestamp of repository gentoo: Sun, 30 Oct 2022 17:15:01 +0000
Head commit of repository gentoo: 5b095b53d62df4554370f3c9a62c3913a8b1e23e
Timestamp of repository pf4public: Sun, 30 Oct 2022 02:31:44 +0000
Head commit of repository pf4public: de3f11f6f9838ac4185ec1fc92d1c01fa930d324

Timestamp of repository torbrowser: Fri, 21 Oct 2022 23:01:53 +0000
Head commit of repository torbrowser: 5b5499df9ec3364c0a0e33a66f5077dc07cfbd3f

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
dev-lang/python:          3.9.13::gentoo, 3.10.8_p1::gentoo
sys-devel/autoconf:       2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.38-r2::gentoo
sys-devel/libtool:        2.4.7::gentoo
sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers)
Repositories:

gentoo-bootstrap
    location: /home/andrius/repositories/gentoo-bootstrap
    masters: gentoo
    priority: -2000

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

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pf4public.git
    masters: gentoo

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/torbrowser.git
    masters: gentoo

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

Local-overlay
    location: /var/lib/portage/overlay
    masters: gentoo
    priority: 1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register"
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 XDG_STATE_HOME"
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 sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
PKGDIR="/var/cache/binpkgs"
PORTAGE_TMPDIR="/var/tmp"
USE="16k_voice R X a52 aac aacs aalib acl acpi activities addns addressbook ads aesicm aimodules aio alsa amd64 amr analitza android androiddump aot ap apache2 appindicator appstream archive argon2 atmo attica auth autoipd autoreplace autotools autotype baremetal bash-completion bazaar bindist binutils bittorrent bl bluetooth bluray bogofilter bookmarks boost botan branding browser bs2b btrfs bzip2 cairo cantor captcha cdb cdda cddb cdio cdr cgi chappa chatzilla chm chromium cjk cli client clippy clucene cmake collada colord colordiff connection-sharing contactnotes context contrib contribcvv contribdnn contribfreetype contribhdf contribsfm contribxfeatures2d crypt cryptsetup css csv cups curl custom-optimization cvs cxx cycles d d3d9 dbi dbus dc1394 deblob declarative deflate dep designer device-mapper dhclient discover djvu dlz dmraid dnssec doc-pdf docbook dolphin dos dot double-precision downloadorder drafts dri dri3 drm dts dump dvb dvd dvdnav dvdr dvi dynamic eap-sim eap-tls ebook ecdh ed25519 ed448 edit editor egl eigen emacs eme-free emoji enchant encode epub equalizer eselect-ldso evdev exif extensions extra extraengine extras f2fs farstream fat fbcon ffmpeg fftw fits flac fltk fluidsynth fontconfig fontforge fortran fortune fpm fpx freetds ftp fuse gadu gallium games gbm gc gcj gcrypt gd gdal gdata gdbm gecko gentoo-vm geoip geolocation gflags ghcbootstrap gif gimp git gles gles1 gles2 gles3 glew glib glog glsl gme gmp gnome-online-accounts gnuefi gnuplot gnutls go gold google gpg gpgme gphoto2 gpm gps gpu graphics graphite graphviz grub gsl gsm gssapi gstreamer gtk gtk3 gtkspell gui guile gyroscopic gzip handbook haptic harfbuzz hdf5 hdri hfs highlight history hostonly hscolour html http http2 hunspell hwaccel hwdb i18n iconv icu id3tag ieee1394 ilbc imagemagick imaging imap imlib imlib2 import-filter inkjar inotify inspector introspection ipc iproute2 ipv6 irc ithreads jadetex java javascript jbootstrap jfs jingle jit jpeg jpeg2k json jumbo-build kate kde kdecards kdenlive keeshare kerberos kpathsea kwallet lame lapack lapacke lastfm latex latexmk lcms ldap legacy-systray lensfun libass libav-aac libcaca libevent libglvnd libilbc libinput libkms libmpv libnotify libproxy libsamplerate libssh2 libtiger libtirpc libxml2 llvm lm-sensors lm_sensors lpsol lsp lto lua luatex lvm lyrics lz4 lzma lzo mad magic magnetgenerator maildir marble markdown math mathml matplotlib matroska md5sum mdadm mdnsresponder-compat meanwhile mediaplayer mediawiki melt mercurial metalink mhash midi mikmod minizip mjpeg mms mng mobi mod mod_muc mod_pubsub modemmanager modplug monolithic monolithic-build moodbar mount mp3 mp4 mpeg mpeg2 mpg123 mplayer mpx mtp multilib multimedia multitarget musepack music musicbrainz mysql mysqli nat native native-exceptions native-extensions natspec ncurses netapi nethack network networking networkmanager new-login nftables nls nntp nptl nscd nsplugin nss ntfs ntfsprogs ntp numpy oauth objc objc++ octave official offlinehelp ogg ogg123 ogm okular omega openal openconnect opencv openexr opengl openimageio openinventor openldap openmp openstreetmap optimization opus otr ozone ozone-wayland p2p pam pango parcheck parted pcap pcmcia pcntl pcre pcre16 pdf pdfimport pdo perl pim pipewire pkcs11 plasma player plotutils plymouth png pnm policykit postgres postproc postscript ppds prediction preview-latex printsupport privacy privatestorage projectm psf pstricks publishers pulseaudio python qalculate qml qrcode qt5 qtmedia quicktime quota radio radius rav1e raw readline realtime reencrypt regex reiser4 reiserfs reviewboard rpc rss rsync-verify rtmp ruby rustfmt samba sasl sbcl scanner science screencast script scripts scripttools sdk sdl sdl2 search seccomp secure-delete semantic-desktop sensord server sftp sha512 shapefile sip skins smartcard snappy sndfile soap sockets socks5 solver sound sound-server spacenav sparse speech speex spell spice split-usr sql sqlite sqlite3 srt srtp ssh ssl staging stars startup-notification static-user statistics stun subversion svc svg symlink sync-plugin-portage syslog system-av1 system-boost system-bootstrap system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-lcms system-libevent system-libs system-libvpx system-libyaml system-llvm system-lua system-mitkrb5 system-qemu system-seabios system-sqlite system-tbb system-zlib systemd szip taglib tcl telemetry telepathy templates terminal tesseract test-rust tex4ht texteffect tfshark themes theora thesaurus threads thumbnail tidy tiff timidity tk tls tools tor tordns touchpad translator truetype tty-helpers twolame udev udf udisks umfpack unicode unzip update_drivedb upnp upnp-av upower urlpreview usb usbredir user-session utils v4l vaapi vala valgrind vamp vc vcd vdpau vector-icons verify-sig video videos vim vim-syntax vkd3d vlc vnc vorbis vpx vulkan wallet wav wavpack wayland wayland-compositor wcs webcam webchannel webdav webengine webkit webp widgets wifi wikipedia winbind wma wmf wps wxwidgets x264 x265 xa xattr xcb xetex xface xfs xft xinerama xkb xml xmlrpc xmlwriter xmp xorg xplanet xpm xrandr xrender xslt xv xvfb xvid xvmc xwayland xz yahoo youtube yubikey zeroconf zeromq zip zlib zstd" ABI_X86="32 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 3dnow 3dnowext f16c fma3 fma4 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="evdev synaptics keyboard mouse wacom" KERNEL="linux" L10N="lt en en-GB" 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_10" PYTHON_TARGETS="python3_10 pypy3" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="i965 intel iris nouveau radeon radeonsi amdgpu dummy fbdev vesa" 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:  EMERGE_DEFAULT_OPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND
Comment 1 Andrius Štikonas 2022-10-30 23:35:51 UTC
Created attachment 826177 [details]
build.log.xz
Comment 2 Larry the Git Cow gentoo-dev 2022-10-31 00:54:22 UTC
The bug has been closed via the following commit(s):

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

commit 64c008020223a6a6a7ccacdbc02b98378f81540e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:46:34 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:51 +0000

    dev-util/mingw64-toolchain: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Closes: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/mingw64-toolchain/mingw64-toolchain-10.0.0_p1-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

Additionally, it has been referenced in the following commit(s):

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

commit ec3d05a8329c95eab16c39506bfb892729c1a8ec
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:46:04 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:51 +0000

    dev-util/mingw64-runtime: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild | 1 +
 dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild  | 1 +
 dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild  | 1 +
 3 files changed, 3 insertions(+)

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

commit 27d7f4a53d3a3050ba26b7bee12e24a8210edf12
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:45:35 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:50 +0000

    app-emulation/wine-proton: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/wine-proton/wine-proton-7.0.4.ebuild    | 1 +
 app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 1 +
 2 files changed, 2 insertions(+)

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

commit ac2a5efca17cba98f6c239b788c59ba2624b7431
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:45:15 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:50 +0000

    app-emulation/wine-staging: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/wine-staging/wine-staging-7.17.ebuild | 1 +
 app-emulation/wine-staging/wine-staging-7.18.ebuild | 1 +
 app-emulation/wine-staging/wine-staging-7.19.ebuild | 1 +
 app-emulation/wine-staging/wine-staging-9999.ebuild | 1 +
 4 files changed, 4 insertions(+)

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

commit 8d751cdfe6acd97b394448df4bf9f2b9d0fd4261
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:44:34 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:50 +0000

    app-emulation/wine-vanilla: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/wine-vanilla/wine-vanilla-7.0-r3.ebuild | 1 +
 app-emulation/wine-vanilla/wine-vanilla-7.17.ebuild   | 1 +
 app-emulation/wine-vanilla/wine-vanilla-7.18.ebuild   | 1 +
 app-emulation/wine-vanilla/wine-vanilla-7.19.ebuild   | 1 +
 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild   | 1 +
 5 files changed, 5 insertions(+)

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

commit 42b1fb27605a377bf5fb0fc51523a0b6ddaf3938
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:43:14 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:49 +0000

    app-emulation/vkd3d-proton: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/vkd3d-proton/vkd3d-proton-2.6.ebuild  | 1 +
 app-emulation/vkd3d-proton/vkd3d-proton-2.7.ebuild  | 1 +
 app-emulation/vkd3d-proton/vkd3d-proton-9999.ebuild | 1 +
 3 files changed, 3 insertions(+)

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

commit 3342df6a39cb8944fcc01e5083de49a406d39b9c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-31 00:39:36 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-31 00:47:49 +0000

    app-emulation/dxvk: filter -mfunction-return=thunk for mingw
    
    Unfortunately mingw doesn't play well with many security/mitigation
    flags. May need to consider a mingw.eclass if keep adding more of
    these to every ebuilds using it.
    
    Bug: https://bugs.gentoo.org/878849
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/dxvk/dxvk-1.10.3.ebuild | 1 +
 app-emulation/dxvk/dxvk-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)