Bug 272572 - emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}: update to 6.1.46
Summary: emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}: update t...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://www.oracle.com/security-alert...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-18 16:50 UTC by groenveld
Modified: 2023-07-20 16:35 UTC (History)
2 users (show)

See Also:


Attachments
naive patch (3.52 KB, patch)
2023-07-18 19:02 UTC, groenveld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description groenveld 2023-07-18 16:50:38 UTC

    
Comment 1 groenveld 2023-07-18 19:02:25 UTC
Created attachment 243465 [details]
naive patch

Built and worked here:
$ uname -srvKU
FreeBSD 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC 1302001 1302001

Build but fails to run here:
$ uname -srvKU
FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n264135-510fd8313800: Thu Jul 13 08:07:28 UTC 2023     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 1400093 1400093

John
groenveld@acm.org
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2023-07-18 19:57:37 UTC
(In reply to groenveld from comment #1)
> Build but fails to run here:
> $ uname -srvKU
> FreeBSD 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n264135-510fd8313800: Thu Jul 13 08:07:28 UTC 2023     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 1400093 1400093

But 6.1.44 build fine for you?
Can you attach build log with errors? Or at least last 10-20-30 lines of build log with errors.
Comment 3 groenveld 2023-07-18 22:38:06 UTC
(In reply to Vladimir Druzenko from comment #2)

Both 6.1.44 and 6.1.46 build on CURRENT and the KO load, but the VMs fail to run.

$ kldstat|grep vbox
21    1 0xffffffff83537000     55e0 vboxnetadp.ko
22    2 0xffffffff8353d000    580f0 vboxdrv.ko
23    1 0xffffffff83596000     4240 vboxnetflt.ko

$ VBoxManage startvm bar --type gui           
Waiting for VM "bar" to power on...
VBoxManage: error: The virtual machine 'bar' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine

I will open another bug for CURRENT.
John
groenveld@acm.org
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2023-07-18 23:32:54 UTC
emulators/virtualbox-ose{,-kmod} 6.1.46 work fine for me on 13.2-p1 amd64 with 9 VMs for 1+ hour.
Testing build in poudriere 13.2 amd64. Then 13.1 and 12.4.

Then will test emulators/virtualbox-ose-additions.
Comment 5 groenveld 2023-07-19 23:25:01 UTC
(In reply to Vladimir Druzenko from comment #4)

Additions worked for me with a 13.2-RELEASE guest:
$ uname -srvKU
FreeBSD 13.2-RELEASE-p1 FreeBSD 13.2-RELEASE-p1 GENERIC 1302001 1302001

$ pkg info |grep virt
virtualbox-ose-additions-6.1.46 VirtualBox additions for FreeBSD guests

John
groenveld@acm.org
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2023-07-20 11:35:22 UTC
Patch done: https://reviews.freebsd.org/D41110

P.S. Poudriere is such a good (CPU) time waster!
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-07-20 13:57:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5dd9c30f7dcbeaa352132553cd86e4171d89f2ed

commit 5dd9c30f7dcbeaa352132553cd86e4171d89f2ed
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2023-07-20 13:53:59 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-07-20 13:53:59 +0000

    emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}: update to 6.1.46

    Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v46
    Also fixed PORTREVISION in master/slave ports.

    PR:                     272572
    Approved by:            arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D41110
    MFH:                    2023Q3

 emulators/virtualbox-ose-additions-nox11/Makefile |  2 +-
 emulators/virtualbox-ose-additions/Makefile       |  2 +-
 emulators/virtualbox-ose-additions/distinfo       |  6 +++---
 emulators/virtualbox-ose-kmod/Makefile            |  2 +-
 emulators/virtualbox-ose-kmod/distinfo            |  6 +++---
 emulators/virtualbox-ose-nox11/Makefile           |  4 ++--
 emulators/virtualbox-ose/Makefile                 |  4 ++--
 emulators/virtualbox-ose/distinfo                 | 10 +++++-----
 8 files changed, 18 insertions(+), 18 deletions(-)
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-07-20 13:58:51 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b9030ef2f4f6c70d5395003de4db02f7f0b16a6

commit 0b9030ef2f4f6c70d5395003de4db02f7f0b16a6
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2023-07-20 13:53:59 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2023-07-20 13:58:41 +0000

    emulators/virtualbox-ose{,-nox11,-kmod,-additions,-additions-nox11}: update to 6.1.46

    Changelog: https://www.virtualbox.org/wiki/Changelog-6.1#v46
    Also fixed PORTREVISION in master/slave ports.

    PR:                     272572
    Approved by:            arrowd (mentor)
    Differential Revision:  https://reviews.freebsd.org/D41110
    MFH:                    2023Q3

    (cherry picked from commit 5dd9c30f7dcbeaa352132553cd86e4171d89f2ed)

 emulators/virtualbox-ose-additions-nox11/Makefile |  2 +-
 emulators/virtualbox-ose-additions/Makefile       |  2 +-
 emulators/virtualbox-ose-additions/distinfo       |  6 +++---
 emulators/virtualbox-ose-kmod/Makefile            |  2 +-
 emulators/virtualbox-ose-kmod/distinfo            |  6 +++---
 emulators/virtualbox-ose-nox11/Makefile           |  4 ++--
 emulators/virtualbox-ose/Makefile                 |  4 ++--
 emulators/virtualbox-ose/distinfo                 | 10 +++++-----
 8 files changed, 18 insertions(+), 18 deletions(-)
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2023-07-20 14:00:22 UTC
Thanks!