Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 839657 - app-emulation/wine-staging-7.6-r1: error: ‘WINED3D_BUFFER_PIN_SYSMEM’ undeclared
Summary: app-emulation/wine-staging-7.6-r1: error: ‘WINED3D_BUFFER_PIN_SYSMEM’ undeclared
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-20 09:51 UTC by Linus Lotz
Modified: 2022-04-20 21:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linus Lotz 2022-04-20 09:51:11 UTC
When trying to build wine-staging (earlier versions also failed)

Reproducible: Always

Steps to Reproduce:
Try to build wine-staging
Actual Results:  
Build fails with:
/var/tmp/portage/app-emulation/wine-staging-7.6-r1/work/wine-7.6/dlls/wined3d/buffer.c: In function ‘wined3d_buffer_init’:
/var/tmp/portage/app-emulation/wine-staging-7.6-r1/work/wine-7.6/dlls/wined3d/buffer.c:1325:22: error: ‘WINED3D_BUFFER_PIN_SYSMEM’ undeclared (first use in this function); did you mean ‘WINED3D_LOCATION_SYSMEM’?
 1325 |     buffer->flags |= WINED3D_BUFFER_PIN_SYSMEM;
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                      WINED3D_LOCATION_SYSMEM
/var/tmp/portage/app-emulation/wine-staging-7.6-r1/work/wine-7.6/dlls/wined3d/buffer.c:1325:22: note: each undeclared identifier is reported only once for each function it appears in


Expected Results:  
Build should finish successfully

Portage 3.0.30 (python 3.9.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.1, glibc-2.34-r10, 5.17.2-tkg-cfs x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.17.2-tkg-cfs-x86_64-AMD_Ryzen_Threadripper_1950X_16-Core_Processor-with-glibc2.34
KiB Mem:    65877772 total,  30234672 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Wed, 20 Apr 2022 08:45:01 +0000
Head commit of repository gentoo: a17e13f1bc25d77588092a13277b42a6beb0362f
Timestamp of repository hamari: Tue, 19 Apr 2022 11:54:45 +0000
Head commit of repository hamari: 46c6d54df2b878c440ee2a4d5151fe40802e57b7

Timestamp of repository kaa: Sun, 17 Apr 2022 16:39:53 +0000
Head commit of repository kaa: c6744978988e61bab926b71a70c7fdd14d98eaa1

Timestamp of repository kde: Mon, 18 Apr 2022 11:38:43 +0000
Head commit of repository kde: 8d687bf379501f460eb7f1d5b6f7f31b095ce91a

Timestamp of repository moltonel: Mon, 18 Apr 2022 12:09:08 +0000
Head commit of repository moltonel: 8f0052aa0dd479ba9a12dc9e34f869b4a9fe46b2

Timestamp of repository qt: Mon, 18 Apr 2022 22:23:49 +0000
Head commit of repository qt: 2991503a265aef1e8c72064daa2ed68148a61249

Timestamp of repository sft: Tue, 19 Apr 2022 10:09:09 +0000
Head commit of repository sft: 1ad34dc9779145b4dbe5a50c87d057a1a12c1bb2

Timestamp of repository steam-overlay: Tue, 19 Apr 2022 08:23:54 +0000
Head commit of repository steam-overlay: a760bd59b801c657a11d0ee4ad79f20dd100e879

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.5.1 [disabled]
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-r6::gentoo
dev-lang/python:           2.7.18_p14::gentoo, 3.9.9-r1::gentoo, 3.10.3::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.61.4-r2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          250.4-r1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.1-r1::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/lld:             14.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo

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

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

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

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

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

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

sft
    location: /var/db/repos/sft
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sft.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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=512"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=512"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j8 --load-average=24.0 --keep-going=y"
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"
F77FLAGS="-O2 -pipe -march=znver1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=512"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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"
FFLAGS="-O2 -pipe -march=znver1 --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=512"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de de_DE en en_US en_GB"
MAKEOPTS="-j16 -l16.0"
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"
RUSTFLAGS="-C target-cpu=znver1 "
SHELL="/bin/zsh"
USE="X a52 aac aacplus aacs acl acoustid acpi activities aec aes aes-ccm aes-gcm aes-ni aio alsa amd64 aqbanking argyllcms avahi bdplus bluray branding bzip2 cairo cdda cdio cdparanoia cdr celt chipcard chromaprint clang cli colord conntrack crypt cryptsetup cups d3d9 dbus declarative dhcp-tools dnssec dolphin dri dri3 dts dvd dvdr ebics efi egl encode exif ffmpeg fits flac fortran gdbm gif gles gles1 gles2 gmp gmp-autoupdate gnuefi gold gpm gtk gui haptic hbci http2 hugepages hvm iconv icu idn indi int64 ipv6 jit jpeg kde kwallet lcms libglvnd libinput libkms libnotify libsamplerate libtirpc lm_sensors luajittex luatex mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nfs nfsv4 nfsv41 nine nls no-distcc nptl numa offensive ofx ogg opencl openexr opengl openmp opus ovmf pam pango pcre pdf pgplot pipewire pipewire-alsa plasma plymouth png policykit ppds printsupport pulseaudio python qml qt5 raw readline realtime s3tc samba sddm sdl seccomp semantic-desktop sound sox soxr speex spell spice split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl startup-notification steamfonts svg svg2 systemd telepathy threads tiff trayicon truetype tslib twolame udev udf udisks unicode upower usb vaapi vdpau vorbis vulkan wayland wcs webrtc-aec webstart widevine widgets wxwidgets x264 xattr xcb xetex xinerama xml xplanet xscreensaver xv xvid xvmc zeroconf zlib zsh-completion" ABI_X86="64 32" 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 sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" 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="roccat_konepureoptical roccat_konepuremilitary roccat_ryosmk roccat_ryosmkfx roccat_konextd roccat_konepure roccat_koneplus joystick libinput keyboard mouse wacom" KERNEL="linux" L10N="de de-DE en en-US en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 ARM AArch64 AMDGPU" 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="radeon r600 amdgpu radeonsi" 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, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-emulation/wine-staging-7.2::gentoo was built with the following:
USE="X alsa cups dos fontconfig gecko gstreamer mono mp3 netapi nls odbc openal opencl opengl osmesa pcap perl pulseaudio realtime run-exes samba sdl ssl (staging) threads truetype udev udisks unwind usb vkd3d vulkan xcomposite xinerama -capi -custom-cflags -gphoto2 -gssapi -kerberos -ldap -mingw -oss -pipelight -scanner (-selinux) -test -v4l" ABI_X86="32 64 (-x32)"
CFLAGS="-O2 -pipe -march=znver1"
CXXFLAGS="-O2 -pipe -march=znver1"
FEATURES="usersync news assume-digests sfperms preserve-libs pid-sandbox multilib-strict fixlafiles userfetch network-sandbox parallel-install distlocks qa-unresolved-soname-deps usersandbox binpkg-logs unknown-features-warn unmerge-orphans binpkg-dostrip protect-owned xattr strict config-protect-if-modified unmerge-logs parallel-fetch sign userpriv buildpkg-live sandbox merge-sync ipc-sandbox binpkg-docompress"
Comment 1 Ionen Wolkens gentoo-dev 2022-04-20 10:50:16 UTC
Please attach the full build.log when reporting bugs, but given you're using a tkg kernel I can take a guess:

> 1325 |     buffer->flags |= WINED3D_BUFFER_PIN_SYSMEM;
This line doesn't exist in wine-staging-7.6's source, that means you are using custom patches in /etc/patches that are likely broken.
Comment 2 Mike Gilbert gentoo-dev 2022-04-20 16:02:36 UTC
Please provide a full build log and change the status to UNCONFIRMED.
Comment 3 Linus Lotz 2022-04-20 21:13:23 UTC
Thank you for pointing me in the right direction, I completely forgot about a patch I had for wine-staging, removing it indeed fixed the issue. I will add a build.log immediately in the future. Sorry for the noise.