build 5.0.0 from source fails at manual.pdf

Discussions related to using the OSE version of VirtualBox.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

build 5.0.0 from source fails at manual.pdf

Post by incident41 »

This is on an up-to-date Fedora 21, x86_64.

Relevant snippet of build log:

Code: Select all

kBuild: Installing /share/vbox/VirtualBox-5.0.0/out/linux.amd64/release/stage/debug/bin/VMMRC.debug
install: warning: Not hard linking, mode differs: 0664, desires 0644
install: src path '/share/vbox/VirtualBox-5.0.0/out/linux.amd64/release/obj/VMMRC/VMMRC.debug'
warning: failed to load external entity "/docbookx.dtd"
Could not parse DTD /docbookx.dtd
install: dst path '/share/vbox/VirtualBox-5.0.0/out/linux.amd64/release/stage/debug/bin/VMMRC.debug'
kmk: *** [/share/vbox/VirtualBox-5.0.0/out/linux.amd64/release/obj/manual/en_US/validatemanual.run] Error 2
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2 
Full log attached.

Same environment built successfully several generations of 4.x, up to and including 4.3.28.

Tips welcome :)
Attachments
vboxinst-5000-20150714.zip
(104.02 KiB) Downloaded 41 times
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 5.0.0 from source fails at manual.pdf

Post by Perryg »

incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

Yeah - sorry - I should have mentioned that I did, per the above bug:

- yum install publican
- remove the vbox 'out' directory
- try and rebuild

But the compilation still failed at the same spot. Perhaps my understanding
about 'yum install publican' was wrong?

Thanks :)
Attachments
vboxinst-5000-20150715.zip
(86.27 KiB) Downloaded 39 times
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 5.0.0 from source fails at manual.pdf

Post by Perryg »

Sorry I don't use pelican. I use latex from texlive.

You do need to install beramono.sty for latex to get it to compile though.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

Perryg wrote:Sorry I don't use pelican. I use latex from texlive.

You do need to install beramono.sty for latex to get it to compile though.
Thanks Perry - apologies for late reply, but I was on vacation with very little access
to the 'net... I did have beramono.sty, since at least the F19 times (I keep around
an older Fedora release in case the new one breaks spectacularly):

Code: Select all

[asuardi@xbox misc]$ locate beramono.sty
/f19root/usr/share/texlive/texmf-dist/tex/latex/bera/beramono.sty
/usr/share/texlive/texmf-dist/tex/latex/bera/beramono.sty
[asuardi@xbox misc]$ rpm -qf /usr/share/texlive/texmf-dist/tex/latex/bera/beramono.sty
texlive-bera-svn20031.0-7.1.fc21.noarch


And again, this box compiled oodles of Virtualbox versions up to 4.3.28 - but not 5.0.0 :(
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

Just wanted to double-check, and confirmed that 4.3.28 still builds under a 4.1.3 kernel on the same F21 box:

Code: Select all

Uncompressing VirtualBox for Linux installation...........
VirtualBox Version 4.3.28_OSE r100309 (2015-07-27T13:40:04Z) installer
Removing previous installation of VirtualBox 4.3.28_OSE r100309 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
Python found: python, installing bindings...
Building the VirtualBox kernel modules

VirtualBox has been installed successfully.

You will find useful information about using VirtualBox in the user manual
  /opt/VirtualBox/UserManual.pdf
and in the user FAQ
  http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.
Any idea on how I can debug this 5.0.0 failing build issue?

Thanks!
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

Still stuck so far (and getting ready to report build issues under 4.2.0-rc kernels)...

I'll be getting a F22 system ready in the next weeks to see whether the issue is still there (hopefully it won't) - however a pointer about where to look in the Makefiles to try and hunt a reason why the build fails would still be much appreciated (alas, my kbuild-fu is basically zero).

Thanks in advance!
atshaw
Posts: 7
Joined: 3. Jan 2013, 04:00
Primary OS: Debian other
VBox Version: OSE self-compiled
Guest OSses: Linux-based OSes, Windows, Other

Re: build 5.0.0 from source fails at manual.pdf

Post by atshaw »

There is the same problem when building VirtualBox 5.0.2 on debian Jessie :

Code: Select all

kBuild: Linking VBoxDbg
kBuild: Linking VBoxSDL
kBuild: Linking VBoxHeadless
warning: failed to load external entity "/docbookx.dtd"
Could not parse DTD /docbookx.dtd
kmk: *** [/vbox/5.0.2/VirtualBox-5.0.2/out/linux.amd64/release/obj/manual/en_US/validatemanual.run] Error 2
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
Build fails because validatemanual.run file is missing.
Just do :

Code: Select all

$ touch /vbox/5.0.2/VirtualBox-5.0.2/out/linux.amd64/release/obj/manual/en_US/validatemanual.run
$ chmod +x /vbox/5.0.2/VirtualBox-5.0.2/out/linux.amd64/release/obj/manual/en_US/validatemanual.run
then restart the build.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: build 5.0.0 from source fails at manual.pdf

Post by frank »

Actually there are a few missing files in the tarball. This is fixed in the subversion repository and will be fixed in the next 5.0.x maintenance release.
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

Frank Mehnert wrote:Actually there are a few missing files in the tarball. This is fixed in the subversion repository and will be fixed in the next 5.0.x maintenance release.
Hi Frank - I just tried 5.0.4 and it still fails the same way, is that expected?

I even tried the w/a of touching/chmoding the validatemanual.run file and re-run my build scripts - but that also doesn't work for me (didn't delete the "out" dir though).

Thanks,
--alessandro
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

And this validatemanual.run error is from today's trunk:

Code: Select all

info: sizeof(SUPDRVTRACERUSRCTX64): 0xf0 (240)
info: sizeof(VMMR0JMPBUF): 0x90 (144)
info: sizeof(VMXRESTOREHOST): 0x38 (56)
tstAsmStructs: SUCCESS
kBuild: Installing /share/vbox/trunk/out/linux.amd64/release/stage/debug/bin/VMMRC.debug
kBuild: Installing /share/vbox/trunk/out/linux.amd64/release/bin/VMMRC.debug
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
/share/vbox/trunk/out/linux.amd64/release/obj/manual/en_US/user_Glossary.xml:3: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
                                                         ^
warning: failed to load external entity "/docbookx.dtd"
Could not parse DTD /docbookx.dtd
kmk: *** [/share/vbox/trunk/out/linux.amd64/release/obj/manual/en_US/validatemanual.run] Error 2
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2

Moreover,

Code: Select all

[asuardi@xbox trunk]$ ls -l /share/vbox/trunk/out/linux.amd64/release/obj/manual/en_US/validatemanual.run
ls: cannot access /share/vbox/trunk/out/linux.amd64/release/obj/manual/en_US/validatemanual.run: No such file or directory
[asuardi@xbox trunk]$ 

incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

still failing with SVN r57718.
atshaw
Posts: 7
Joined: 3. Jan 2013, 04:00
Primary OS: Debian other
VBox Version: OSE self-compiled
Guest OSses: Linux-based OSes, Windows, Other

Re: build 5.0.0 from source fails at manual.pdf

Post by atshaw »

incident41 wrote:
Frank Mehnert wrote:Actually there are a few missing files in the tarball. This is fixed in the subversion repository and will be fixed in the next 5.0.x maintenance release.
Hi Frank - I just tried 5.0.4 and it still fails the same way, is that expected?

I even tried the w/a of touching/chmoding the validatemanual.run file and re-run my build scripts - but that also doesn't work for me (didn't delete the "out" dir though).

Thanks,
--alessandro
Indeed, 5.0.4 build still fails at the same point.
But it works when I touching the validatemanual.run file (it seems that chmoding is not needed).

Here's what I do :

Code: Select all

$ tar -xjf VirtualBox-5.0.4.tar.bz2
$ cd VirtualBox-5.0.4
$ ./configure
...
$ source env.sh
$ kmk
...
kmk: *** [/vbox/5.0.4/VirtualBox-5.0.4/out/linux.amd64/release/obj/manual/en_US/validatemanual.run] Error 2
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
$ touch /vbox/5.0.4/VirtualBox-5.0.4/out/linux.amd64/release/obj/manual/en_US/validatemanual.run
$ kmk
and the build completes without error.

Is this working for someone else ?
incident41
Posts: 58
Joined: 14. May 2012, 18:50
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit
Location: Italy

Re: build 5.0.0 from source fails at manual.pdf

Post by incident41 »

I tried using kmk as you're doing instead of kmk all as per the procedure taken from PerryG's FAQs here - still no luck; an empty .sh yields an Error 2 regardless.

Build still fails in SVN r57900.

Hopefully I'll be able to set up a new OL7.1 host (and maybe a F22 VM within said host) to try compilation there this week.
frank
Oracle Corporation
Posts: 3362
Joined: 7. Jun 2007, 09:11
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows
Location: Dresden, Germany
Contact:

Re: build 5.0.0 from source fails at manual.pdf

Post by frank »

Did you see the last comments of ticket 14520?
Post Reply