Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919758 - app-emulation/wine-staging-8.21 fails to compile (wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12Resource1 *’ from incompatible pointer type ‘ID3D12Resource *’ [-Wincompatible-pointer-types])
Summary: app-emulation/wine-staging-8.21 fails to compile (wine-8.21/include/winnt.h:8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-12 12:12 UTC by Kostadin Shishmanov
Modified: 2024-04-22 20:31 UTC (History)
2 users (show)

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


Attachments
build log compressed with xz (build.log.xz,129.08 KB, application/x-xz)
2023-12-12 12:12 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-12-12 12:12:50 UTC
Created attachment 878828 [details]
build log compressed with xz

Below are only some of the failures, the rest are in the log, since there are just way too many of them.

In file included from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windef.h:272,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windows.h:38,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/include/private/vkd3d_common.h:24,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:33,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/command.c:21:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘impl_from_ID3D12Resource’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12Resource1 *’ from incompatible pointer type ‘ID3D12Resource *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:755:12: note: in expansion of macro ‘CONTAINING_RECORD’
  755 |     return CONTAINING_RECORD(iface, struct d3d12_resource, ID3D12Resource1_iface);
      |            ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘d3d12_desc_get_descriptor_heap’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const uint8_t (*)[]’ {aka ‘const unsigned char (*)[]’} from incompatible pointer type ‘const struct d3d12_desc *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:1072:12: note: in expansion of macro ‘CONTAINING_RECORD’
 1072 |     return CONTAINING_RECORD(descriptor - descriptor->index, struct d3d12_descriptor_heap, descriptors);
      |            ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/command.c: In function ‘unsafe_impl_from_ID3D12CommandList’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12GraphicsCommandList5 *’ from incompatible pointer type ‘ID3D12CommandList *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/command.c:6118:12: note: in expansion of macro ‘CONTAINING_RECORD’
 6118 |     return CONTAINING_RECORD(iface, struct d3d12_command_list, ID3D12GraphicsCommandList5_iface);
      |            ^~~~~~~~~~~~~~~~~
      
In file included from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windef.h:272,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windows.h:38,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/include/private/vkd3d_common.h:24,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:33,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/device.c:19:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘impl_from_ID3D12Resource’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12Resource1 *’ from incompatible pointer type ‘ID3D12Resource *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:755:12: note: in expansion of macro ‘CONTAINING_RECORD’
  755 |     return CONTAINING_RECORD(iface, struct d3d12_resource, ID3D12Resource1_iface);
      |            ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘d3d12_desc_get_descriptor_heap’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const uint8_t (*)[]’ {aka ‘const unsigned char (*)[]’} from incompatible pointer type ‘const struct d3d12_desc *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:1072:12: note: in expansion of macro ‘CONTAINING_RECORD’
 1072 |     return CONTAINING_RECORD(descriptor - descriptor->index, struct d3d12_descriptor_heap, descriptors);
      |            ^~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windef.h:272,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windows.h:38,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/include/private/vkd3d_common.h:24,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:33,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/resource.c:20:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘impl_from_ID3D12Resource’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12Resource1 *’ from incompatible pointer type ‘ID3D12Resource *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:755:12: note: in expansion of macro ‘CONTAINING_RECORD’
  755 |     return CONTAINING_RECORD(iface, struct d3d12_resource, ID3D12Resource1_iface);
      |            ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘d3d12_desc_get_descriptor_heap’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const uint8_t (*)[]’ {aka ‘const unsigned char (*)[]’} from incompatible pointer type ‘const struct d3d12_desc *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:1072:12: note: in expansion of macro ‘CONTAINING_RECORD’
 1072 |     return CONTAINING_RECORD(descriptor - descriptor->index, struct d3d12_descriptor_heap, descriptors);
      |            ^~~~~~~~~~~~~~~~~
      
In file included from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windef.h:272,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/windows.h:38,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/include/private/vkd3d_common.h:24,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:33,
                 from /var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/state.c:21:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘impl_from_ID3D12Resource’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const ID3D12Resource1 *’ from incompatible pointer type ‘ID3D12Resource *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:755:12: note: in expansion of macro ‘CONTAINING_RECORD’
  755 |     return CONTAINING_RECORD(iface, struct d3d12_resource, ID3D12Resource1_iface);
      |            ^~~~~~~~~~~~~~~~~
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h: In function ‘d3d12_desc_get_descriptor_heap’:
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/include/winnt.h:898:46: warning: initialization of ‘const uint8_t (*)[]’ {aka ‘const unsigned char (*)[]’} from incompatible pointer type ‘const struct d3d12_desc *’ [-Wincompatible-pointer-types[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types]]
  898 |    const typeof(((type *)0)->field) *__ptr = (address); \
      |                                              ^
/var/tmp/portage/app-emulation/wine-staging-8.21/work/wine-8.21/libs/vkd3d/libs/vkd3d/vkd3d_private.h:1072:12: note: in expansion of macro ‘CONTAINING_RECORD’
 1072 |     return CONTAINING_RECORD(descriptor - descriptor->index, struct d3d12_descriptor_heap, descriptors);
      |            ^~~~~~~~~~~~~~~~~
Comment 1 Kostadin Shishmanov 2023-12-12 12:12:57 UTC
Portage 3.0.56 (python 3.11.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.38-r7, 6.6.6-tkg-eevdf-llvm x86_64)
=================================================================
System uname: Linux-6.6.6-tkg-eevdf-llvm-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13600KF-with-glibc2.38
KiB Mem:    16243452 total,   8658612 free
KiB Swap:    8388604 total,   7749884 free
Timestamp of repository gentoo: Mon, 11 Dec 2023 14:18:53 +0000
Head commit of repository gentoo: d6595c3025f71dab978b5dd6914d657bfe82d4bc

Timestamp of repository guru: Mon, 11 Dec 2023 12:48:47 +0000
Head commit of repository guru: d868da5c8d6a3afe18ca69392e10b704432d61ee

Timestamp of repository kde: Sat, 09 Dec 2023 15:31:53 +0000
Head commit of repository kde: 1f7aa9bfb16bdb7ea6d95ee7990e05ce45029205

Timestamp of repository steam-overlay: Sat, 09 Dec 2023 18:31:57 +0000
Head commit of repository steam-overlay: 478f17124e6941b7334c1d5adbd4fbb596a437f7

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-lang/perl:             5.38.2::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            3.28.0::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7::gentoo
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20231202::gentoo, 14.0.0_pre20231210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=x86-64-v3 -O3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
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"
CXXFLAGS="-march=x86-64-v3 -O3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --buildpkg-exclude acct-* --buildpkg-exclude */*-bin --jobs 1"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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"
FCFLAGS="-march=x86-64-v3 -O3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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=x86-64-v3 -O3 -pipe -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="     https://mirror.telepoint.bg/gentoo      http://tux.rainside.sk/gentoo/     http://gentoo.mirror.root.lu/     ftp://tux.rainside.sk/gentoo/     http://ftp.vectranet.pl/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
LEX="flex"
MAKEOPTS="-j20"
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/bash"
USE="X aac acl acpi activities amd64 branding bzip2 cairo cdr crypt dbus declarative dri dvdr encode exif flac flatpak gdbm gif gtk gui hardened iconv icu jpeg kde kwallet lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp sound ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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 sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha 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" INPUT_DEVICES="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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, 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
Comment 2 Ionen Wolkens gentoo-dev 2023-12-12 23:52:16 UTC
May or may not consider -Wno-error=incompatible-pointer-types until upstream catches up on fixing these given there's just too many Wine branches+slots to track+test and there may be more issues lurking to be revealed when bump mingw64-toolchain to gcc:14 as well (or use gcc:14 with crossdev).

Albeit the ones from this bug seem specific to wine-staging and most likely wine-proton, vanilla seems fine from a quick look (e.g. vanilla does not have esync at all) which means most of the code base is fine -- so it may not be *that* bad.

Tracking/testing/patching all of these would still be a pain though, can't just fix the latest versions and be done.
Comment 3 Ionen Wolkens gentoo-dev 2023-12-13 00:14:24 UTC
(In reply to Ionen Wolkens from comment #2)
> vanilla seems fine from a quick look
That is, vanilla-8.21. I tried vanilla-7.0.2 and it fails on incompatible types as well (maybe 8.0 does too). So, needs fixing there too (can't really drop vanilla-7 yet, and would rather keep proton-7 too for now).
Comment 4 Larry the Git Cow gentoo-dev 2024-04-22 20:31:48 UTC
The bug has been closed via the following commit(s):

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

commit d8c7ecb8fbbdbcbef6b9804e93b0d0669e0f28fc
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-04-22 19:59:03 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-04-22 20:31:13 +0000

    app-emulation/wine-staging: "fix" build with gcc-14
    
    All versions currently broken due to the staging patchset itself
    (>=vanilla-9 and proton-9.0.9999 are fine). Given amount of wine
    variants and versions, going for the lazy "fix" in these for now.
    Given the active development, imagine will be able to cleanup later.
    
    Closes: https://bugs.gentoo.org/919758
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-emulation/wine-staging/wine-staging-9.0.ebuild  | 5 +++++
 app-emulation/wine-staging/wine-staging-9.5.ebuild  | 5 +++++
 app-emulation/wine-staging/wine-staging-9.6.ebuild  | 5 +++++
 app-emulation/wine-staging/wine-staging-9.7.ebuild  | 5 +++++
 app-emulation/wine-staging/wine-staging-9999.ebuild | 5 +++++
 5 files changed, 25 insertions(+)