0dBi3RGZ3OpBkjf5ttQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1768221559; a=rsa-sha256; cv=none; b=IJ2XqmGnhbd0LYMdZRc61GsGD65DCIE/Fe/kYaGEZr1oYtnzi2VraWHZ/4RqZiqHfbs3RE G157S5G4qj/32d2cUKZBUpu/HWPZ/t9tYe03jB/rSZkiI9EIVazF6cD1MO8/VM/YNKnp+y 592UPmGxazL8q4+FupDhZSSLt4K8F2nj8ilQIQL7Lq/L6ZKJF2ZWsx76wsI6YiK734ZiMY O1JHYITCoMED8rb8u78mKj1iNzde28olPBnUjnFkeXz3QktcEd/N/6+j7R627cjxoTSY3N Nc+dXuaGoYHf/7k2wfKUIJZKMPQTTbo+1dxCmpLCUi+J154JCOv2b0gnFMrxOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dqX4l04j5zBfm for ; Mon, 12 Jan 2026 12:39:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3bee7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 12 Jan 2026 12:39:18 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 8a712f40160e - main - emulators/virtualbox-ose{,-legacy}: Limit python to 3.10-3.11 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8a712f40160ee5090c5029d7f184541558830d2b Auto-Submitted: auto-generated Date: Mon, 12 Jan 2026 12:39:18 +0000 Message-Id: <6964eb76.3bee7.9bac7d4@gitrepo.freebsd.org> The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a712f40160ee5090c5029d7f184541558830d2b commit 8a712f40160ee5090c5029d7f184541558830d2b Author: Vladimir Druzenko AuthorDate: 2026-01-12 12:25:34 +0000 Commit: Vladimir Druzenko CommitDate: 2026-01-12 12:25:34 +0000 emulators/virtualbox-ose{,-legacy}: Limit python to 3.10-3.11 This is temporary workaround for build error: /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:197:7: error: use of undeclared identifier 'PyUnicode_GET_SIZE'; did you mean 'PyDict_GET_SIZE'? if (PyUnicode_GET_SIZE(val_use) == 0) { ^~~~~~~~~~~~~~~~~~ PyDict_GET_SIZE /usr/local/include/python3.12/cpython/dictobject.h:53:26: note: 'PyDict_GET_SIZE' declared here static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) { ^ /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:501:38: error: use of undeclared identifier 'PyUnicode_AS_UNICODE' FILL_SIMPLE_POINTER( PRUnichar, *PyUnicode_AS_UNICODE(val_use) ); ^ /usr/ports/emulators/virtualbox-ose/work/VirtualBox-6.1.50/src/libs/xpcom18a4/python/src/VariantUtils.cpp:829:8: error: use of undeclared identifier 'PyUnicode_GetSize' if (PyUnicode_GetSize(ob) == 0) { ^ Support for the python 3.12+ was added in the VirtualBox 7.0. Maybe I'll partially port this in older VirtualBox ports later. PR: 292189 285957 --- emulators/virtualbox-ose-legacy/Makefile | 2 +- emulators/virtualbox-ose/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index bde4ee8743f8..348ccaf8a645 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -103,7 +103,7 @@ DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse -PYTHON_USES= python +PYTHON_USES= python:3.10-3.11 PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index 31c22b327f11..df0b54fc66a6 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -115,7 +115,7 @@ OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_OFF= --disable-libopus PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse -PYTHON_USES= python +PYTHON_USES= python:3.10-3.11 PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python