[Bug 257398] emulators/wine-devel and emulators/wine-proton fails to build: undefined reference to `sysinfo' if devel/libsysinfo installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Jul 2021 22:35:22 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257398

            Bug ID: 257398
           Summary: emulators/wine-devel and emulators/wine-proton fails
                    to build: undefined reference to `sysinfo' if
                    devel/libsysinfo installed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: vvd_at_unislabs.com
                CC: gerald_at_FreeBSD.org, imp_at_bsdimp.com, iwtcex_at_gmail.com
                CC: gerald_at_FreeBSD.org, imp_at_bsdimp.com, iwtcex_at_gmail.com

12.2 amd64.

Both emulators/wine-devel and emulators/wine-proton fails to build if
devel/libsysinfo installed with same error:
======================================
emulators/wine-devel:
--------------------------------------
  dlls/bluetoothapis/bluetoothapis.spec -Wb,--prefer-native -mno-cygwin
dlls/ucrtbase/libucrtbase.a \
  -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+0x5bff): undefined reference to `sysinfo'
collect2: error: ld returned 1 exit status
winegcc: /usr/local/bin/gcc10 failed
gmake[2]: *** [Makefile:98093: dlls/ntdll/ntdll.so] Error 2
======================================
emulators/wine-proton
--------------------------------------
  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+0x4f17): undefined reference to `sysinfo'
collect2: error: ld returned 1 exit status
winegcc: /usr/local/bin/gcc10 failed
gmake[1]: *** [Makefile:96193: dlls/ntdll/ntdll.so] Error 2
======================================

Last versions compiled without errors was: wine-devel-6.10,1 and
wine-proton-6.3.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Jul 24 2021 - 22:35:22 UTC

Original text of this message