Date: Thu, 02 Dec 2021 03:16:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260165] emulators/wine Fail link if devel/libsysinfo installed: unix/virtual.o: in function `virtual_get_system_info': virtual.c:(.text+0x5bff): undefined reference to `sysinfo' Message-ID: <bug-260165-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260165 Bug ID: 260165 Summary: emulators/wine Fail link if devel/libsysinfo installed: unix/virtual.o: in function `virtual_get_system_info': virtual.c:(.text+0x5bff): undefined reference to `sysinfo' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: alt2600@icloud.com CC: gerald@FreeBSD.org, imp@bsdimp.com CC: gerald@FreeBSD.org, imp@bsdimp.com Created attachment 229839 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229839&action= =3Dedit git-diff-patch-libsysinfo_checks https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257398 tools/winegcc/winegcc -o dlls/odbc32/odbc32.dll.fake --wine-objdir . -m64 -= fPIC -fasynchronous-unwind-tables -shared \ dlls/odbc32/odbc32.spec -mno-cygwin dlls/odbc32/proxyodbc.o dlls/odbc32/rsrc.res -ladvapi32 \ dlls/ucrtbase/libucrtbase.a -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10=20 tools/winegcc/winegcc -o dlls/odbc32/odbc32.so --wine-objdir . -m64 -fPIC -fasynchronous-unwind-tables -munix -shared \ dlls/odbc32/odbc32.spec dlls/odbc32/unixlib.o -lntdll dlls/winecrt0/libwinecrt0.a \ libs/port/libwine_port.a -L/usr/local/lib -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -L/usr/local/lib/gcc10=20 /usr/local/bin/ld: dlls/ntdll/unix/virtual.o: in function `virtual_get_system_info': virtual.c:(.text+0x4b57): undefined reference to `sysinfo' collect2: error: ld returned 1 exit status winegcc: /usr/local/bin/gcc10 failed gmake[1]: *** [Makefile:95968: dlls/ntdll/ntdll.so] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/usr/ports/emulators/wine/work/wine-6.0.2' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/emulators/wine this issue was fixed in wine-devel, but not in wine. so I back ported those changes to the wine port as a patch set. and have attached the git diff to = add those files. I did notice an issue with the plist, I'm not sure if we shoul= d be using those joystick drivers, but I'm intrigued if those would allow usb joysticks in wine. =3D=3D=3D=3D> Checking for pkg-plist issues (check-plist) =3D=3D=3D> Parsing plist =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: lib/wine/fakedlls/winejoystick.drv Error: Orphaned: lib/wine/winejoystick.drv.so =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR =3D=3D=3D> Error: Plist issues found. *** Error code 1 build packages, and installs fine. I am trying to get re-acclimated after t= he i386-wine port was removed, as well as working with my old prefix. I can confirm though that after running pkg32 and setting the wineprefix I can la= unch Diablo II LOD fine. and some random win64 apps seem to be running. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260165-7788>