[Solved] FTBFS since Beta3

Temporary forum to discuss issues and problems during a VirtualBox Beta or Release Candidate phase.

[Solved] FTBFS since Beta3

Postby sergiomb » 12. Dec 2018, 16:45

you can see all (failing) build in https://copr-be.cloud.fedoraproject.org/results/sergiomb/vboxfor23/fedora-28-x86_64/00836375-VirtualBox/
Code: Select all   Expand viewCollapse view
kBuild: Compiling VBoxC - /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp => /builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o
kmk_builtin_rm -f -- /builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o.dep /builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o 
g++ -c -O2 -fPIC -g -pipe -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wlogical-op -Wno-variadic-macros -Wno-long-long -Wunused-variable -Wunused-function -Wunused-label -Wunused-parameter -Wno-overloaded-virtual -Wno-array-bounds -Wno-ignored-qualifiers -Wno-variadic-macros -Wno-multistatement-macros -Wno-class-memaccess -Wshadow -fshort-wchar -fpermissive -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -std=c++11 -fdollars-in-identifiers  -m64 -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/include -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxAPIWrap -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/Main/ -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxAPIWrap/dtrace -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/include/VBox/Graphics -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include/xpcom -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include/string -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include/xpcom -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include/nsprpub -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/bin/sdk/bindings/xpcom/include/ipcd -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/dtrace -I/usr/include/libpng16 -I/usr/include/opus -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/include -I/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/lib64/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/lib64/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/lib64/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/share/doc/VirtualBox\" -D_LARGEFILE64_SOURCE -DPIC -DIN_RING3 -DUNICODE -DNDEBUG=1 -DVBOX_WITH_DTRACE -DVBOX_WITH_DTRACE_R3 -DVBOX_WITH_DTRACE_R3_MAIN -DVBOX_WITH_XPCOM -DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -DIN_RING3 -DVBOX_WITH_GENERIC_SESSION_WATCHER -DVBOX_WITH_AUDIO_ALSA -DVBOX_WITH_AUDIO_DEBUG -DVBOX_WITH_AUDIO_OSS -DVBOX_WITH_AUDIO_PULSE -DVBOX_WITH_AUDIO_VRDE -DVBOX_WITH_CRHGSMI -DVBOX_WITH_CROGL -DVBOX_WITH_E1000 -DVBOX_WITH_EXTPACK -DVBOX_WITH_GUEST_CONTROL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_HGCM -DVBOX_WITH_HOSTNETIF_API -DVBOX_WITH_DHCPD -DVBOX_WITH_MIDL_PROXY_STUB -DVBOX_WITH_NETFLT -DVBOX_WITH_PCI_PASSTHROUGH -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_RING1 -DVBOX_WITH_USB_CARDREADER -DVBOX_WITH_VIRTIO -DVBOX_WITH_VMSVGA -DVBOX_WITH_VUSB -DVBOX_WITH_EHCI -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_COM_INPROC -DVBOX_WITH_EFI -DVBOX_WITH_HGSMI -DVBOX_WITH_VIDEOHWACCEL -DVBOX_WITH_DRAG_AND_DROP -DVBOX_WITH_DRAG_AND_DROP_GH -DVBOX_WITH_USB -DVBOX_WITH_CRHGSMI -DVBOX_WITH_NETSHAPER -DVBOX_WITH_RECORDING -DVBOX_WITH_LIBVPX -DVBOX_WITH_AUDIO_RECORDING -DVBOX_WITH_LIBOPUS -Wp,-MD,/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o.dep -Wp,-MT,/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o -Wp,-MP -o /builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'NetworkAdapterType_T' to 'const GraphicsControllerType_T' in initialization
BUILDSTDERR:  };
BUILDSTDERR:  ^
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: warning: invalid conversion from 'int' to 'NetworkAdapterType_T' [-fpermissive]
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageBus_T' to 'const StorageControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageControllerType_T' to 'const StorageBus_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageBus_T' to 'const StorageControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'ChipsetType_T' to 'const StorageBus_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'AudioControllerType_T' to 'const ChipsetType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'AudioCodecType_T' to 'const AudioControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'NetworkAdapterType_T' to 'const GraphicsControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: warning: invalid conversion from 'int' to 'NetworkAdapterType_T' [-fpermissive]
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageBus_T' to 'const StorageControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageControllerType_T' to 'const StorageBus_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'StorageBus_T' to 'const StorageControllerType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'ChipsetType_T' to 'const StorageBus_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'AudioControllerType_T' to 'const ChipsetType_T' in initialization
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-6.0.0_RC1/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot convert 'AudioCodecType_T' to 'const AudioControllerType_T' in initialization
BUILDSTDERR: kmk: *** [/builddir/build/BUILD/VirtualBox-6.0.0_RC1/obj/obj/VBoxC/src-all/Global.o] Error 1
Last edited by sergiomb on 13. Dec 2018, 20:14, edited 2 times in total.
sergiomb
 
Posts: 15
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: FTBFS since Beta3

Postby socratis » 12. Dec 2018, 18:23

FTBFS stands for ... ?
Is this an attempt to compile the 6.0.0 RC1 from the source code?
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: FTBFS since Beta3

Postby sergiomb » 12. Dec 2018, 18:45

FTBFS means : fails to build from source

I use wtf from BSD-games to know that .
sergiomb
 
Posts: 15
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: FTBFS since Beta3

Postby socratis » 12. Dec 2018, 18:52

A similar issue was posted in the mailing list:
Hum I got an build error [1] :
my builds are locate in [2] rpm spec almost not change just need rebase some local patches

[1]
Code: Select all   Expand viewCollapse view
BUILDSTDERR: /builddir/build/BUILD/VirtualBox-
6.0.0_BETA3/src/VBox/Main/src-all/Global.cpp:546:1: error: cannot
convert 'NetworkAdapterType_T' to 'const GraphicsControllerType_T' in
initialization
BUILDSTDERR:  };
BUILDSTDERR:  ^

[2]
https://copr.fedorainfracloud.org/coprs/sergiomb/vboxfor23/

with the answer being:
The struct used in Global.cpp (which I assume you're tweaking...) has changed. Has an additional field before the default network adapter type now, for the default graphics controller type.

Just look at the other Linux flavors, should be straightforward.

Klaus
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: FTBFS since Beta3

Postby socratis » 12. Dec 2018, 18:57

sergiomb wrote:I use wtf from BSD-games to know that.

I was NOT aware of the possibilities that 'wtf' opens up! A whole new world! I got to port it to OSX!!! :D
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: FTBFS since Beta3

Postby socratis » 12. Dec 2018, 19:04

Sergio, I didn't realize that I was actually quoting you when I referenced the mailing list!!! :D

That will teach you to not check your e-mail!!! :D
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: FTBFS since Beta3

Postby klaus » 12. Dec 2018, 19:27

Are you applying any patches to src/VBox/Main/src-all/Global.cpp? These need adjusting since the struct has a new field, for selecting the default graphics controller. What you get is the typical symptom for adding a guest OS types by applying a patch which is slightly outdated. The repo state does build.
klaus
Oracle Corporation
 
Posts: 695
Joined: 10. May 2007, 14:57

Re: FTBFS since Beta3

Postby sergiomb » 13. Dec 2018, 04:44

socratis wrote:
sergiomb wrote:I use wtf from BSD-games to know that.

I was NOT aware of the possibilities that 'wtf' opens up! A whole new world! I got to port it to OSX!!! :D


it is a simply bash program [1] the most update database is here [2]

[1]
https://github.com/theiostream/wtf

[2]
https://sourceforge.net/projects/bsdwtf/files/
sergiomb
 
Posts: 15
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: FTBFS since Beta3

Postby sergiomb » 13. Dec 2018, 05:19

klaus wrote:Are you applying any patches to src/VBox/Main/src-all/Global.cpp? These need adjusting since the struct has a new field, for selecting the default graphics controller. What you get is the typical symptom for adding a guest OS types by applying a patch which is slightly outdated. The repo state does build.


ah nice catch , seems it is the patch [1] I'm testing it now

Thanks.


[2]
https://pkgs.rpmfusion.org/cgit/free/Vi ... patch#n149
sergiomb
 
Posts: 15
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: [Solved] FTBFS since Beta3

Postby sergiomb » 13. Dec 2018, 20:17

that is it was VirtualBox-5.1.0-add-Mageia-support.patch , after comment out this patch it builds fine [1]
Thank you

[1]
https://copr.fedorainfracloud.org/coprs ... ld/836982/
sergiomb
 
Posts: 15
Joined: 1. Dec 2011, 03:11
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: windows Fedora rawhide

Re: [Solved] FTBFS since Beta3

Postby socratis » 13. Dec 2018, 20:43

You could still add your patch, as long as you remember to add another parameter for the GraphicsController in Global.cpp...

Glad you got it going. And thank you for marking the topic as [Solved]... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25216
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox Beta / Release Candidate Feedback

Who is online

Users browsing this forum: No registered users and 2 guests