From nobody Thu Dec 2 03:16:45 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8DD5F18C1C7C for ; Thu, 2 Dec 2021 03:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4Lht1k0Gz3JcQ for ; Thu, 2 Dec 2021 03:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A4D515F17 for ; Thu, 2 Dec 2021 03:16:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1B23GkH7063965 for ; Thu, 2 Dec 2021 03:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B23GkaG063964 for ports-bugs@FreeBSD.org; Thu, 2 Dec 2021 03:16:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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' Date: Thu, 02 Dec 2021 03:16:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638415006; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AaSDbg00QH4DiVDBx8vfmSJYxg21ynZ6i/OgWa74RGc=; b=Tx3ojPgbPnHaqAygFsIgkgZ8TREhjGZQqWkkOzqwhmxDJUKgQiWBoyPQW3uN2NhzX2Xezg PV/9OvCDPa4bdL8TsQ7oOxGj3xSXY6c5S59SHqy0fjmFJ49X2Sz2XYw2mkNENgvb+4ifJw QSxzsQMkYtyow6SYyRu21+oS5P0Uf/HwPg3uUkUVlbjEflMAuvLUZ2HkQeWuxZjYas8Atk a9x0KKs8L46TYciUczXvfLAWL1itQRzGXGxoRW1IZgWXN0mH5ctRfU9izg/DygbzRWA/e1 lLPxxNJIxYROJjKAPzNCXJzkpDs/DAmOVahBbeh0XPhVxQoOZ/wQ+yz024pzOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638415006; a=rsa-sha256; cv=none; b=i5Ec9tfa/Th5xVFUxol0Q327lC2ktOwD7Kz7MYmg84fPEurAMU6cNW8knJiQFDcjD0s7cb 4b8XAfDm2sE9Daka82JV3VpsgT3A2dDyj1AbKY1t74WAE8j5EVEceNk/6oFpkoZr0GGo+5 3+amq9nvGsxxkNfnPRMvgXeitdmVgOc7/sEX0DpCb8mBAo+WB9xZYunbhscYN5mKSZVNzw N7qvUWm9oeKNenBJeIssmH94EBZ94yQg24rau5CufgEMlRRxspVmFmh5S+g9gU0br2wk6r znMmKSvILeq4ytLEmZ9DOBMumIFmWUQaKaGYFElPqL9Jr3REUrPRUc4+s4ZEdw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=