Created attachment 790445 [details] emerge --info I am getting compile errors with virtualbox-6.1.34-r5 and having WATCOM set which has worked with previous builds. OW 1.9 is found: Checking for Open Watcom: found version 1.9, OK. It does build with WATCOM unset.
Created attachment 790448 [details] build log
Could you let me know which version last worked? (What's currently installed?)
The last version was virtualbox-6.1.34-r1 was the last version that built with WATCOM set.
The virtualbox-6.1.34-r6 update compiles with WATCOM set.
I'll leave this bug open for now, seems to be triggered by passing CFLAGS everywhere. It may resurface after I fix the QA issues.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e87e52e23ba70995fc257bdeb155ef3ec728f8 commit a1e87e52e23ba70995fc257bdeb155ef3ec728f8 Author: Viorel Munteanu <ceamac.paragon@gmail.com> AuthorDate: 2022-07-26 19:26:38 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-27 21:05:30 +0000 app-emulation/virtualbox: add 6.1.36 Closes: https://bugs.gentoo.org/856769 Closes: https://bugs.gentoo.org/860897 Bug: https://bugs.gentoo.org/859391 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-emulation/virtualbox/Manifest | 2 + .../files/virtualbox-6.1.36-python3.10.patch | 16 + app-emulation/virtualbox/virtualbox-6.1.36.ebuild | 644 +++++++++++++++++++++ 3 files changed, 662 insertions(+)
This has been closed, but WATCOM is not honored virtualbox-6.1.36 based on ebuild: unset WATCOM #856769
Yes, it is not honored. I chose to simply disable it because this is an automagic dependency: you get a different virtualbox build because you have some random program installed. This is a bug in itself. The proper way to support this would be to add a watcom USE flag, but we don't have the Open Watcom compiler in Gentoo so I can't pull it in as a dependency. BTW, how did you install it? I don't see it in any overlay.
I use Open Watcom (OW) for various projects, so I manually install it. For compiling VirtualBox bios it uses the older version of OW 1.9. This like of explains it: https://www.virtualbox.org/ticket/12011