From nobody Sat Feb 05 04:49:32 2022 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 7DA0319B4EF1 for ; Sat, 5 Feb 2022 04:49:33 +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 4JrKgx1wmCz4kJM for ; Sat, 5 Feb 2022 04:49:33 +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 1C6AA19229 for ; Sat, 5 Feb 2022 04:49:33 +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 2154nXne052088 for ; Sat, 5 Feb 2022 04:49:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2154nXUH052087 for ports-bugs@FreeBSD.org; Sat, 5 Feb 2022 04:49:33 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 261729] emulators/virtualbox-ose: VBoxSharedClipboard.so required for non-X11 builds Date: Sat, 05 Feb 2022 04:49:32 +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: dereks@lifeofadishwasher.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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=1644036573; 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=Ye9LHFRIFX8sVjrJkD3hYAgRLDGrmtezmO2dgDi3iq0=; b=i/fGdjrsFp7717pKmJlbXrmypvi9zDeieJVB8fD4SjvjQN4lQdadQeJjJ8/WnRZOGDO43e fdiKJLuE96t91PU8BEBt0jTxa04cZzyRUzvIALtfuLIXPtjOjsoZhUOxMNbh9pk/Ti5DDX wTbNPePJEthS3meVKkiG4jG6oKUa7qJAtGXuTcvrG9w2Yx8peoFACRDNL9WBHA4Ozhy5xn fRwNkGLSCJuLhxzPcevxrw2yw369DH8HqCt0++4TQAK2sBLmZ6sH4ttWpBkX672b9XRIwY qFwcdYoTKXCn1dIfqxvmcgZe8Wu7N08bg/kQMbcf762PfVFH9F60sFwC31A4EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644036573; a=rsa-sha256; cv=none; b=WRYfzp1Wj87qkYSJgknG9BXDCpnL6edw9tixa8VniC+njHXBKkyWc8ZrnROAUMUpSixtW6 VpLrkje8XA1w6KWhSr2/7ZzZnTsZihkKQPcaT9okCihg3kvSTX7aJjp0yjUc/Vvs1lwHRL KmEUSCKjqV3nLnLkl/spVpuaojwLhMYKLTAk80k+PvxoOEQOZjioaOtKfqwNdRB1YCTet5 BWkLYJ9erVXUlOq9ZBsDOX5qcDfb7DPh0JDhnMZa9rqLbV6bfTTgxn9iR4dJboiM2aW17y SnXM9H+yAnmCe+swABXmDnNrsKbcsy+UR29GDT0pvk6LQdIRHzEn04zTSP8xQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261729 Bug ID: 261729 Summary: emulators/virtualbox-ose: VBoxSharedClipboard.so required for non-X11 builds Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: vbox@FreeBSD.org Reporter: dereks@lifeofadishwasher.com Assignee: vbox@FreeBSD.org Flags: maintainer-feedback?(vbox@FreeBSD.org) When built without X11 support VBoxSharedClipboard.so is not included.=20 However, when trying to edit a running VM in phpvirtualbox ClipboardMode setting will fail. ... 00:00:37.304454 SQW03 API method name:=20=20=20=20=20=20=20=20=20=20=20 IMachine::COMSETTER(ClipboardMode) 00:00:37.304474 SQW03 API return code: 0x80004005 (NS_ERROR_FAILURE) ... You can simulate this by running 'VBoxManage controlvm clipboard mode disabled': $ VBoxManage controlvm clipboard mode disabled=20=20=20=20=20=20= =20=20 VBoxManage: error: Code NS_ERROR_FAILURE (0x80004005) - Operation failed (extended info not available)=20=20=20=20=20=20=20=20 VBoxManage: error: Context: "COMSETTER(ClipboardMode)(mode)" at line 543 = of file VBoxManageControlVM.cpp At some point vbox is trying to load VBoxSharedClipboard extension service.= =20=20 Copying VBoxSharedClipboard.so from the FreeBSD repo package to /usr/local/lib/virtualbox/ and reload the VM the modify to the running VM applies without issue. Is is also true when running the above with the pac= kage from FreeBSD pkg repo with the default options (this has X11 set).=20 With that said should VBoxSharedClipboard.so from pkg-plist be unconditiona= lly added? -%%X11%%lib/virtualbox/VBoxSharedClipboard.so +lib/virtualbox/VBoxSharedClipboard.so There are ifdefs to not build code for clipboardboard support and make acce= ss to it VERR_NOT_IMPLEMENTED however it appears to still build even with Config.kmk and LocalConfig.kmk setting VBOX_WITH_SHARED_CLIPBOARD =3D 0. --=20 You are receiving this mail because: You are the assignee for the bug.=