[Bug 260792] emulators/wine-proton patch-sysinfo missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Dec 2021 10:52:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260792

            Bug ID: 260792
           Summary: emulators/wine-proton patch-sysinfo missing
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd.68fba@nospam.spacesurfer.com
                CC: iwtcex@gmail.com
                CC: iwtcex@gmail.com
             Flags: maintainer-feedback?(iwtcex@gmail.com)

Building wine-proton-6.3.2_3 on FreeBSD fails with a compile error:


# MAKE_JOBS_UNSAFE=yes make
===>  Building for wine-proton-6.3.2_3
cd
/usr/ports/emulators/wine-proton/work/wine-97f962cd469ee9b9b68d32e79849bf94cfe15581
&& gmake depend
gmake[1]: Entering directory
'/usr/ports/emulators/wine-proton/work/wine-97f962cd469ee9b9b68d32e79849bf94cfe15581'
./tools/makedep
gmake[1]: Leaving directory
'/usr/ports/emulators/wine-proton/work/wine-97f962cd469ee9b9b68d32e79849bf94cfe15581'
gmake[1]: Entering directory
'/usr/ports/emulators/wine-proton/work/wine-97f962cd469ee9b9b68d32e79849bf94cfe15581'
tools/winegcc/winegcc -o dlls/ntdll/ntdll.so --wine-objdir . -m64 -fPIC
-fasynchronous-unwind-tables -munix -shared \
  dlls/ntdll/ntdll.spec -nodefaultlibs dlls/ntdll/unix/cdrom.o
dlls/ntdll/unix/debug.o \
  dlls/ntdll/unix/env.o dlls/ntdll/unix/esync.o dlls/ntdll/unix/file.o
dlls/ntdll/unix/fsync.o \
  dlls/ntdll/unix/loader.o dlls/ntdll/unix/process.o dlls/ntdll/unix/registry.o
\
  dlls/ntdll/unix/security.o dlls/ntdll/unix/serial.o dlls/ntdll/unix/server.o
\
  dlls/ntdll/unix/signal_arm.o dlls/ntdll/unix/signal_arm64.o
dlls/ntdll/unix/signal_i386.o \
  dlls/ntdll/unix/signal_x86_64.o dlls/ntdll/unix/sync.o
dlls/ntdll/unix/system.o \
  dlls/ntdll/unix/tape.o dlls/ntdll/unix/thread.o dlls/ntdll/unix/virtual.o \
  dlls/ntdll/unix/version.o dlls/winecrt0/libwinecrt0.a
libs/port/libwine_port.a -lpthread \
  -lprocstat -L/usr/local/lib -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 
/usr/local/bin/ld: dlls/ntdll/unix/virtual.o: in function
`virtual_get_system_info':
virtual.c:(.text+0x4f57): undefined reference to `sysinfo'
collect2: error: ld returned 1 exit status
winegcc: /usr/local/bin/gcc10 failed
gmake[1]: *** [Makefile:96177: dlls/ntdll/ntdll.so] Error 2
gmake[1]: Leaving directory
'/usr/ports/emulators/wine-proton/work/wine-97f962cd469ee9b9b68d32e79849bf94cfe15581'
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/wine-proton




This is the same error that affected the wine port as was fixed in
https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=260165

Just copying the patch-sysinfo from the wine port to the wine-proton/files
directory fixes the problem

-- 
You are receiving this mail because:
You are the assignee for the bug.