Build Virtualbox from source

Discussions related to using the OSE version of VirtualBox.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

Not sure. I need to fire up my wheezy box and see what happens. I assume you remembered to delete the out folder and that this is an error during the build.

Might take a bit I need to update it since I have not used it in a while.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

I've deleted the whole thing before-hand actually, just to be sure that I didn't miss a directory.
Waiting for your update then, thank you.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

Well this is going to take a while. I was using chroot in a different build box and just remembered that I deleted it. Building a new wheezy now so.....
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

Time is not a problem for me, I'll wait for your reply very patiently!
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

In the mean time if you would run the build again and tee the results to a file then post as an attachment here I can look it over to see what is happening (other than python)
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

Sure thing - you want the whole building output yes?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

yes. it shows a lot that may help in case there is something else you have not encountered yet. Record everything including the commands
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

You'll have the whole putty log from the 1st command :)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

There you go, I've put everything even the check out from the SVN so you see everything is fresh.
Also my list of installed packages at the very end.
Attachments
putty_vb_svn_deb.zip
(178.98 KiB) Downloaded 26 times
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

Mine built just fine. We can go over this tomorrow to see what you are doing/missing. I did see a few things that would make your life easier in your build.txt

Code: Select all

dpkg-deb: building package `virtualbox-4.2' in `//virtualbox-4.2_4.2.51~ose-43953~Debian~wheezy_amd64.deb'.
dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
dpkg-deb: building package `virtualbox-4.2-dbg' in `//virtualbox-4.2-dbg_4.2.51~ose-43953~Debian~wheezy_amd64.deb'.
dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
make[1]: Leaving directory `/VBox-deb/src/VBox/Installer/linux'
debian@LT-debian-wheezy:/VBox-deb/src/VBox/Installer/linux$ 
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

Perryg wrote:Mine built just fine. We can go over this tomorrow to see what you are doing/missing. I did see a few things that would make your life easier in your build.txt

Code: Select all

dpkg-deb: building package `virtualbox-4.2' in `//virtualbox-4.2_4.2.51~ose-43953~Debian~wheezy_amd64.deb'.
dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
dpkg-deb: building package `virtualbox-4.2-dbg' in `//virtualbox-4.2-dbg_4.2.51~ose-43953~Debian~wheezy_amd64.deb'.
dh_builddeb: Compatibility levels before 5 are deprecated (level 4 in use)
make[1]: Leaving directory `/VBox-deb/src/VBox/Installer/linux'
debian@LT-debian-wheezy:/VBox-deb/src/VBox/Installer/linux$ 
So typical isn't it :)

I'll be around tomorrow, on the forum & IRC, whichever your prefer.

Thank you for all your efforts and good night to you
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

I was able to replicate your issue but have not been able to fix it yet. You can disable the build of webservices and it should complete.
Also add this to your LocalConfig to stop the spam of the frence language that they have removed.
VBOX_WITH_DOCS_TRANSLATIONS :=
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

Very glad to hear you could replicate it!
I will have to keep the Webservices build on since the Java XPCOM is broken - it is my only option to keep coding against the API for now.
Perryg wrote:Also add this to your LocalConfig to stop the spam of the frence language that they have removed.
VBOX_WITH_DOCS_TRANSLATIONS :=
Done
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Build Virtualbox from source

Post by Perryg »

That being the case you should build the run instead and of course it will install to /opt, but I run that way and have forever without any issue at all.

I should also say this is not uncommon when they change code. The rpm and deb build installers aren't top on their priority to fix.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Build Virtualbox from source

Post by noteirak »

Yes I'm doing that on the non-deb builder, it works fine and I'm happy with it.
I just really liked the idea of a .deb :)

Thank you for your much appreciated support.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply