Fedora 32 Beta
Posted: 31. Mar 2020, 22:00
Hi,
Is there somewhere a testbuild to test on Fedora 32 Beta ?
Thanks for your answer.
Is there somewhere a testbuild to test on Fedora 32 Beta ?
Thanks for your answer.
f31 version should work just fine.didierg wrote:Hi,
Is there somewhere a testbuild to test on Fedora 32 Beta ?
Thanks for your answer.
This problem can be bypassed using rpmrebuild to modify spec file and replace "Requires: python(abi) = 3.7" wiith "Requires: python(abi) >= 3.7"- nothing provides python(abi) = 3.7 needed by VirtualBox-6.1-6.1.4_136177_fedora31-1.x86_64
This error need to be fixed before we can use VirtualBox-6.1-6.1.4_136177_fedora31-1.x86_64.rpm on Fedora 32 Beta.Building the main VirtualBox module.
Error building the module:
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C /lib/modules/5.6.0-300.fc32.x86_64/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make -f ./scripts/Makefile.build obj=/tmp/vbox.0 \
single-build= \
need-builtin=1 need-modorder=1
---/---
gcc -Wp,-MD,/tmp/vbox.0/r0drv/linux/.mp-r0drv-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/10/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -Wno-address-of-packed-member -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_AS_ADX=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -Wframe-larger-than=2048 -fstack-protector -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-var-tracking-assignments -g -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -fno-omit-frame-pointer -fno-pie -Wno-declaration-after-statement -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -D__KERNEL__ -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX_WITHOUT_EFLAGS_AC_SET_IN_VBOXDRV -DIPRT_WITHOUT_EFLAGS_AC_PRESERVING -DVBOX_WITH_64_BITS_GUESTS -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"mp_r0drv_linux"' -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/r0drv/linux/mp-r0drv-linux.o /tmp/vbox.0/r0drv/linux/mp-r0drv-linux.c
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: In function 'rtR0MemObjNativeMapKernel':
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c32: error: implicit declaration of function 'ioremap_nocache'; did you mean 'ioremap_cache'? [-Werror=implicit-function-declaration]
1465 | ? ioremap_nocache(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub)
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c30: warning: pointer/integer type mismatch in conditional expression
1466 | : ioremap(pMemLnxToMap->Core.u.Phys.PhysBase + offSub, cbSub);
---/---
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile/tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:114: vboxdrv] Error 2
The .run file in https://download.virtualbox.org/virtualbox/6.1.6/ works fine for me in Fedora 32, it's not necessary to use a test build as the instructions suggest.tbuchanan wrote:This link seems to work as an interim solution: https://medium.com/@drpdishant/installi ... 0118d54e05
I did have to download the extensions and guest additions from https://www.virtualbox.org/wiki/Testbuilds to get everything to work.
It's easier to just use the .run file mentioned in my above comment. Everything is installed in /opt/VirtualBox and it has an uninstall script so it's easy to remove when a F32 RPM is available (probably when the next version of VB is out). See https://www.virtualbox.org/ticket/19537 for progress on building the RPM.didierg wrote:Fedora 32 has been released April 28th 2020 but VirtualBox link to repository has not been created.
I use VirtualBox-6.1-6.1.6_137129_fedora31_homemade-1.x86_64 since Fedora 32 Beta with just a home made modification in spec to match Python ABI version (see viewtopic.php?f=7&t=97491&p=475969#p473131 above).