build 5.0.0 from source fails at manual.pdf

Discussions related to using the OSE version of VirtualBox.

build 5.0.0 from source fails at manual.pdf

Postby incident41 » 15. Jul 2015, 16:34

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

Relevant snippet of build log:

Code: Select all   Expand viewCollapse view
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 15 times
incident41
 
Posts: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby Perryg » 15. Jul 2015, 16:56

Perryg
Site Moderator
 
Posts: 34373
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

Postby incident41 » 15. Jul 2015, 17:26

Perryg wrote:https://bugzilla.redhat.com/show_bug.cgi?id=1143060


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 15 times
incident41
 
Posts: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby Perryg » 15. Jul 2015, 17:53

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.
Perryg
Site Moderator
 
Posts: 34373
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

Postby incident41 » 22. Jul 2015, 10:43

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   Expand viewCollapse view
[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: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby incident41 » 27. Jul 2015, 15:50

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   Expand viewCollapse view
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: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby incident41 » 4. Aug 2015, 14:01

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!
incident41
 
Posts: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby atshaw » 28. Aug 2015, 02:03

There is the same problem when building VirtualBox 5.0.2 on debian Jessie :
Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
$ 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.
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

Postby frank » 3. Sep 2015, 16:40

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.
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: build 5.0.0 from source fails at manual.pdf

Postby incident41 » 9. Sep 2015, 13:48

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: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby incident41 » 10. Sep 2015, 14:14

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

Code: Select all   Expand viewCollapse view
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   Expand viewCollapse view
[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: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby incident41 » 16. Sep 2015, 11:53

still failing with SVN r57718.
incident41
 
Posts: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby atshaw » 23. Sep 2015, 11:08

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   Expand viewCollapse view
$ 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 ?
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

Postby incident41 » 28. Sep 2015, 11:44

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.
incident41
 
Posts: 53
Joined: 14. May 2012, 18:50
Location: Italy
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 10 64-bit

Re: build 5.0.0 from source fails at manual.pdf

Postby frank » 28. Sep 2015, 14:04

Did you see the last comments of ticket 14520?
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Next

Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest