cyberus-technology / virtualbox-kvm

KVM Backend for VirtualBox. With our current development model, we cannot easily accept pull requests here. If you'd like to contribute, feel free to reach out to us, we are happy to find a solution.
GNU General Public License v3.0
957 stars 119 forks source link

Clarify Instructions #39

Closed amd1890 closed 3 weeks ago

amd1890 commented 3 weeks ago

I spent about 30 minutes trying to compile this and ran into errors

It's probably because I used a Virtual Box version that was slightly higher. If users should not use the latest VirtualBox version, it would be helpful if that is included in the instructions.

I am using Pop! OS and don't know if this is just an issue with Pop! OS or if this has to do with downloading a slightly more recent version. (It was not 7.1, but higher than what was listed.)

I also currently have VirtualBox already installed. The instructions don't make it clear if I am compiling a .deb file or an install script or if I should delete any current VirtualBox and at what point.

I am going to try to compile this again later, because as a virt-manager user, who hasn't full transitioned from VirtualBox, it's really annoying to have to shut down all virt-manager machines just to deal with running VirtualBox for a moment.

This would be very useful if I can get it to work.

parthy commented 3 weeks ago

Sorry to hear about your troubles. Could you add some more details (e.g., command lines used, compile logs)? Our build instructions specify 7.0.20 as the tarball to download. However, the latest release should work fine judging by https://github.com/NixOS/nixpkgs/pull/352914, even though the patch isn't officially targeting 7.0.22 yet. If you could paste your error log, we'll be happy to take a look!

The build process itself is very similar to the one used for the stock VirtualBox source build. We have not changed anything about that, we merely added a switch to select the KVM backend.

You will end up with an out folder that contains the binaries and you can run the custom version from there without having to uninstall your previous version.

nhamhuynh79 commented 3 weeks ago

I have issue with build .20, use .18 success.

amd1890 commented 3 weeks ago

I followed the instructions exactly using 7.0.2.0 and got to the kmk part.

user@pop-os:~/VirtualBox-7.0.20$ kmk build debug: VBOX_WITH_NO_GCC_WARNING_POLICY is enabled /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/python/gen_python_deps.py:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import StrictVersion kBuild: Pass - Build Programs kBuild: Generating /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/Runtime/oiddb.h.ts /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/Runtime/oiddb.h.ts -> /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/Runtime/oiddb.h kBuild: Installing VBox-liblzma => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/VBox-liblzma.a kBuild: Installing DisasmBldProg => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/DisasmBldProg.a kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIDebug.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIInterfaceRequestor.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIMemory.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIProgrammingLanguage.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsISupports.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsITraceRefcnt.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIWeakReference.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIConsoleMessage.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIConsoleService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIConsoleListener.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIErrorService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIException.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsIExceptionService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/base/nsrootidl.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIComponentRegistrar.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIClassInfo.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIFactory.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIModule.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIServiceManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIComponentManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsICategoryManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsINativeComponentLoader.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIComponentLoader.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIComponentLoaderManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/components/nsIComponentManagerObsolete.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsISupportsArray.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsICollection.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsISerializable.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIEnumerator.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsISimpleEnumerator.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIObserverService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIObserver.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIAtom.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIAtomService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIProperties.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIPersistentProperties2.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIRecyclingAllocator.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIStringEnumerator.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsISupportsPrimitives.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsISupportsIterators.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsITimelineService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIVariant.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIArray.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIHashable.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIDirectoryService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/ds/nsIPropertyBag.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIDirectoryEnumerator.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIFile.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsILocalFile.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsILocalFileMac.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIObjectInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIBinaryInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIObjectOutputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIBinaryOutputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIOutputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIStreamBufferAccess.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIByteArrayInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsISeekableStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIFastLoadFileControl.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIFastLoadService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIInputStreamTee.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIMultiplexInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIAsyncInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIAsyncOutputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIPipe.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIScriptableInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIStorageStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsIStringStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/io/nsILineInputStream.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/proxy/public/nsIProxyObjectManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIEventQueueService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIEventQueue.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIEventTarget.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIRunnable.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIThread.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsITimer.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIEnvironment.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsITimerInternal.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsITimerManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/threads/nsIProcess.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/reflect/xptinfo/public/nsIInterfaceInfo.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/reflect/xptinfo/public/nsIInterfaceInfoManager.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/client/public/ipcIService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/client/public/ipcIMessageObserver.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/client/public/ipcIClientObserver.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/xpcom/reflect/xptinfo/public/nsIXPTLoader.idl kBuild: Pass - Libraries kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/extensions/lock/public/ipcILockService.idl kBuild: Installing VBoxOGLTest => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/VBoxOGLTest.a kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/public/ipcITransactionService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/public/ipcIDConnectService.idl kBuild: xpidl XPCOM - /home/user/VirtualBox-7.0.20/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/public/ipcITransactionObserver.idl kBuild: Linking bldRTErrMsgSorter kBuild: Installing RuntimeEFCPP => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/RuntimeEFCPP.a kBuild: Installing DisasmR3 => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/DisasmR3.a kBuild: Installing DisasmR3Static => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/DisasmR3Static.a kBuild: Installing DisasmCoreR3 => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/DisasmCoreR3.a kBuild: Installing DisasmR0 => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/DisasmR0.a kBuild: Installing StorageLib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/StorageLib.a kBuild: Installing SSMStandalone => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/SSMStandalone.a kBuild: Compiling VgaDefBiosLogo - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VgaDefBiosLogo/VgaDefBiosLogo.c kBuild: Installing ServicesR0 => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/ServicesR0.a kBuild: Compiling VgaBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VgaBiosBin/VgaBiosBin386.c kBuild: Compiling VgaBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VgaBiosBin/VgaBiosBin286.c kBuild: Installing USBLib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/USBLib.a kBuild: Installing Debugger => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/Debugger.a kBuild: Installing HGSMIHostR3Lib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/HGSMIHostR3Lib.a kBuild: Installing VBoxDnDGuestR3Lib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/additions/VBoxDnDGuestR3Lib.a kBuild: Installing VBoxDnDHostR3Lib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/VBoxDnDHostR3Lib.a kBuild: Compiling VgaBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VgaBiosBin/VgaBiosBin8086.c kBuild: Installing VBoxGuestR3Lib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/additions/VBoxGuestR3Lib.a kBuild: Installing VBoxGuestR3LibShared => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/additions/VBoxGuestR3LibShared.a kBuild: Installing VBoxGuestR3LibXFree86 => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/additions/VBoxGuestR3LibXFree86.a kBuild: Installing VBoxGuestR3LibXOrg => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/additions/VBoxGuestR3LibXOrg.a kBuild: Installing vboxvideo_drv_lib => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/vboxvideo_drv_lib.a kBuild: Installing VBox-DxVkNativeUtil => /home/user/VirtualBox-7.0.20/out/linux.amd64/release/lib/VBox-DxVkNativeUtil.a glslangValidator -V --vn "dxvk_blit_frag_1d" "/home/user/VirtualBox-7.0.20/src/libs/dxvk-native-1.9.2a/src/dxvk/shaders/dxvk_blit_frag_1d.frag" -o "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h" kmk: glslangValidator: Command not found kmk: [/home/user/VirtualBox-7.0.20/src/libs/dxvk-native-1.9.2a/Makefile.kmk:281: /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h] Error 127 kmk: Waiting for unfinished jobs.... kBuild: Compiling PcBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/PcBiosBin/PcBiosBin8086.c kBuild: Compiling PcBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/PcBiosBin/PcBiosBin386.c kBuild: Compiling RuntimeR3 - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/asn1/asn1-dump.cpp kBuild: Generating DTrace Provider for the VBox API (from XIDL) /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBoxAPIWrap/VBoxAPI.d.ts -> /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBoxAPIWrap/VBoxAPI.d kBuild: Compiling SUPR3 - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp kBuild: Compiling PcBiosBin - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/PcBiosBin/PcBiosBin286.c kBuild: Compiling SUPR3Static - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp kBuild: Compiling RuntimeGuestR3Shared - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/asn1/asn1-dump.cpp kBuild: Compiling RuntimeGuestR3 - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/asn1/asn1-dump.cpp kBuild: Generating C++ Server API wrapper files from XIDL - part 1 filesplitter: Out of 68 files: 68 rewritten, 0 unchanged. (/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBoxAPIWrap) kBuild: Generating C++ Server API wrapper files from XIDL - part 2 filesplitter: Out of 66 files: 66 rewritten, 0 unchanged. (/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBoxAPIWrap) kBuild: Generating C++ Server API wrapper header files from XIDL filesplitter: Out of 134 files: 134 rewritten, 0 unchanged. (/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBoxAPIWrap) kBuild: Compiling RuntimeBldProg - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/fs/isomakercmd.cpp kBuild: Compiling RuntimeR3 - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/fs/isomakercmd.cpp kmk: *** Exiting with status 2

Here is what I last typed: user@pop-os:~/VirtualBox-7.0.20$ kmk > log.txt

I just added the log.txt because the output was so lengthy I couldn't read it all in the terminal.

build debug: VBOX_WITH_NO_GCC_WARNING_POLICY is enabled kBuild: Pass - Build Programs kBuild: Linking DisasmBldProg kBuild: Pass - Libraries kBuild: Installing /home/user/VirtualBox-7.0.20/out/linux.amd64/release/bin/sdk/bindings/c/glue/VBoxCAPIGlue.h kBuild: Installing /home/user/VirtualBox-7.0.20/out/linux.amd64/release/bin/sdk/bindings/c/include/VBoxCAPI_v7_0.h kBuild: Installing /home/user/VirtualBox-7.0.20/out/linux.amd64/release/bin/sdk/bindings/xpcom/lib/VirtualBox_i.c kBuild: Linking bin2c kBuild: Linking filesplitter kBuild: Linking genalias kBuild: Linking VBoxCmp kBuild: Linking VBoxDef2LazyLoad kBuild: Linking VBox-liblzma kBuild: xsltproc docbook-refentry-to-C-help.xsl - /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/Runtime/man/isomakercmd-man.xml kBuild: Linking VBoxOGLTest kBuild: Linking biossums kBuild: Linking uniread kBuild: Linking RuntimeEFCPP kBuild: Compiling RuntimeBldProg - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/err/errmsgxpcom.cpp kBuild: Linking vbetables-gen kBuild: Linking xpt_link kBuild: Linking xpidl kBuild: Linking DisasmR3 kBuild: Linking DisasmR3Static kBuild: Linking DisasmCoreR3 kBuild: Linking DisasmR0 kBuild: Linking SSMStandalone kBuild: Linking oiddb2c kBuild: Linking StorageLib kBuild: bin2c VgaDefBiosLogo - /home/user/VirtualBox-7.0.20/src/VBox/Devices/Graphics/BIOS/ose_logo.bmp kBuild: Linking ServicesR0 kBuild: Linking USBLib kBuild: Linking HGSMIHostR3Lib kBuild: Linking VBoxDnDGuestR3Lib kBuild: Linking Debugger kBuild: Linking VBoxDnDHostR3Lib kBuild: Linking iPxeBaseBin VBoxVgaBios286.rom: VBoxVgaBios386.rom: kBuild: Linking VBoxGuestR3Lib OK OK VBoxVgaBios8086.rom: kBuild: Linking VBoxGuestR3LibXFree86 OK kBuild: Linking VBoxGuestR3LibXOrg kBuild: Linking vboxvideo_drv_lib kBuild: Linking VBoxGuestR3LibShared glslangValidator -V --vn "dxvk_blit_frag_1d" "/home/user/VirtualBox-7.0.20/src/libs/dxvk-native-1.9.2a/src/dxvk/shaders/dxvk_blit_frag_1d.frag" -o "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h" kBuild: bin2c VgaBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative286.asm kBuild: bin2c VgaBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative386.asm kBuild: bin2c VgaBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/Graphics/BIOS/VBoxVgaBiosAlternative8086.asm /home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft0" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftAuthenticodeTmRootAuthority-01.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft1" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftRootAuthority-00c1008b3c3c8811d13ef663ecdf40.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft2" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftRootCertificateAuthority-79ad16a14aa0a5ad4c7358f407132e65.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft3" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftRootCertificateAuthority2010-28cc3a25bfba44ac449a9b586b4339aa.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft4" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftRootCertificateAuthority2011-3f8bc8b5fc9fb29643b569d66c42e144.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft5" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftDigitalMediaAuthority2005-6eff330eb6e7569740680870104baaba.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft6" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftDevelopmentRootCertificateAuthority2014-078f0a9d03df119e434e4fec1bf0235a.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPSpcRootMicrosoft7" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/SpcRoot-MicrosoftTestingRootCertificateAuthority2010-8a334aa8052dd244a647306a76b8178fa215f344.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPNtRootMicrosoft8" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/NtRoot-MicrosoftCodeVerificationRoot-729404101f3e0ca347837fca175a8438.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPTimeRootMicrosoft0" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/Timestamp-CopyrightC1997MicrosoftCorp-01.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPTimeRootOracle0" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/Timestamp-VBoxLegacyWinCA.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPTimeRootOracle1" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/Timestamp-VBoxLegacyWinSha1CA.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPTrustedCertVBox0" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/Trusted-OracleCorporationVirtualBox-05308b76ac2e15b29720fb4395f65f38.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPAppleRoot0" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/AppleRoot-2bd06947947609fef46b8d2e40a6f7474d7f085e.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPAppleRoot1" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/AppleRoot-G2-c499136c1803c27bc0a3a00d7f72807a1c77268d.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPNtRootDigiCert8" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/NtRoot-CrossSign-DigiCertAssuredIDRootCA-589567a6c1944d68f11ff3d86576092b.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp"
/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/bin2c/bin2c -ascii --append --static --no-size "SUPNtRootDigiCert9" "/home/user/VirtualBox-7.0.20/src/VBox/HostDrivers/Support/Certificates/NtRoot-CrossSign-DigiCertHighAssuranceEVRootCA-f4a38dbe86386c554d25f1ce2557a4fe.taf" "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/SUPR3/TrustAnchorsAndCerts.cpp" VBoxPcBios286.rom: OK VBoxPcBios386.rom: OK kBuild: bin2c PcBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative286.asm VBoxPcBios8086.rom: OK kBuild: bin2c PcBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative386.asm kBuild: bin2c PcBiosBin - /home/user/VirtualBox-7.0.20/src/VBox/Devices/PC/BIOS/VBoxBiosAlternative8086.asm kBuild: Linking VBox-DxVkNativeUtil kBuild: Compiling RuntimeGuestR3 - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/fs/isomakercmd.cpp kBuild: Compiling RuntimeGuestR3Shared - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/fs/isomakercmd.cpp kBuild: Compiling bldRTErrMsgSorter - /home/user/VirtualBox-7.0.20/src/VBox/Runtime/common/err/errmsg-sorter.cpp glslangValidator -V --vn "dxvk_blit_frag_1d" "/home/user/VirtualBox-7.0.20/src/libs/dxvk-native-1.9.2a/src/dxvk/shaders/dxvk_blit_frag_1d.frag" -o "/home/user/VirtualBox-7.0.20/out/linux.amd64/release/obj/VBox-DxVkNativeDxVk/shaders/dxvk_blit_frag_1d.h"

I am not sure if this is a result of running Pop!_OS 22.04 LTS. I could try to compile this in a virt-manager VM if a different distro would make the compilation process easier and then I could just move it out of the box, but I'm not sure if something needs to be run after it's compiled or what the expected output is.

That's what I mean by the instructions aren't that clear. I don't know if this process leaves me with an installation .deb or a script file or if I have to compile again somehow.

tpressure commented 3 weeks ago

Your issue seems to be a missing package:

kmk: glslangValidator: Command not found

which is provided by the glslang package.

amd1890 commented 3 weeks ago

I don't see anything I can run:

From https://www.virtualbox.org/wiki/Linux%20build%20instructions:

Running your build

You can run VirtualBox directly from the build target directory (out/linux.x86/release/bin/) if the build was not hardened. But first of all, you must build and install the VirtualBox kernel module, whose sources will have been copied to the build target directory.

So, issue the following:

cd out/linux.x86/release/bin/src make sudo make install cd ..

Then it should have been installed to your modules directory and you can load it using modprobe vboxdrv. Make sure you give yourself read and write access to /dev/vboxdrv.

Finally, you can start one of the frontends, e.g.

I am not seeing any subdirectory after /home/user/VirtualBox-7.0.20/out/linux.amd64/release/bin that has a file I can run or make and I am not sure if kmk ran correctly. It probably did not.

amd1890 commented 3 weeks ago

Your issue seems to be a missing package:

kmk: glslangValidator: Command not found

which is provided by the glslang package.

that was it. i had to use a slightly different package, but i didn't have it, now i do, and it works

does user error still count as an issue?

thanks to the developers who made this. i hate shutting down virt-manager.