• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Solved make fails when building the docs

Maelstorm

Well-Known Member

Thanks: 106
Messages: 282

#1
I'm trying to compile the documentation from the documentation project, and I am getting this error:

Code:
strata:/usr/doc 551 ### ->make
Warning: Object directory not changed from original /usr/doc
===> en_US.ISO8859-1 (all)
Warning: Object directory not changed from original /usr/doc/en_US.ISO8859-1
===> en_US.ISO8859-1/articles (all)
Warning: Object directory not changed from original /usr/doc/en_US.ISO8859-1/articles
===> en_US.ISO8859-1/articles/bsdl-gpl (all)
install /usr/doc/share/xml/catalog-cwd.xml /usr/doc/en_US.ISO8859-1/articles/bsdl-gpl/catalog-cwd.xml
echo '<!ENTITY base "..">' >> /usr/doc/en_US.ISO8859-1/articles/bsdl-gpl/autogen.ent
env XML_CATALOG_FILES="file:///usr/doc/en_US.ISO8859-1/articles/bsdl-gpl/catalog-cwd.xml  file:///usr/doc/en_US.ISO8859-1/share/xml/catalog.xml  file:///usr/doc/share/xml/catalog.xml  file:///usr/local/share/xml/catalog" /usr/local/bin/xmllint --nonet --noent --valid --dropdtd --xinclude /usr/doc/en_US.ISO8859-1/articles/bsdl-gpl/article.xml > article.parsed.xml.tmp
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsa.ent
file:///usr/doc/share/xml/iso8879.ent:9: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsa.ent"
%iso-amsa.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsb.ent
file:///usr/doc/share/xml/iso8879.ent:14: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsb.ent"
%iso-amsb.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsc.ent
file:///usr/doc/share/xml/iso8879.ent:19: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsc.ent"
%iso-amsc.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsn.ent
file:///usr/doc/share/xml/iso8879.ent:24: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsn.ent"
%iso-amsn.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amso.ent
file:///usr/doc/share/xml/iso8879.ent:29: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amso.ent"
%iso-amso.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsr.ent
file:///usr/doc/share/xml/iso8879.ent:34: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-amsr.ent"
%iso-amsr.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-box.ent
file:///usr/doc/share/xml/iso8879.ent:39: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-box.ent"
%iso-box.ent;
             ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-cyr1.ent
file:///usr/doc/share/xml/iso8879.ent:44: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-cyr1.ent"
%iso-cyr1.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-cyr2.ent
file:///usr/doc/share/xml/iso8879.ent:49: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-cyr2.ent"
%iso-cyr2.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-dia.ent
file:///usr/doc/share/xml/iso8879.ent:54: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-dia.ent"
%iso-dia.ent;
             ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk1.ent
file:///usr/doc/share/xml/iso8879.ent:59: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk1.ent"
%iso-grk1.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk2.ent
file:///usr/doc/share/xml/iso8879.ent:64: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk2.ent"
%iso-grk2.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk3.ent
file:///usr/doc/share/xml/iso8879.ent:69: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk3.ent"
%iso-grk3.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk4.ent
file:///usr/doc/share/xml/iso8879.ent:74: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-grk4.ent"
%iso-grk4.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-lat1.ent
file:///usr/doc/share/xml/iso8879.ent:79: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-lat1.ent"
%iso-lat1.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-lat2.ent
file:///usr/doc/share/xml/iso8879.ent:84: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-lat2.ent"
%iso-lat2.ent;
              ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-num.ent
file:///usr/doc/share/xml/iso8879.ent:89: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-num.ent"
%iso-num.ent;
             ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-pub.ent
file:///usr/doc/share/xml/iso8879.ent:94: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-pub.ent"
%iso-pub.ent;
             ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xmlcharent/current/iso-tech.ent
file:///usr/doc/share/xml/iso8879.ent:99: warning: failed to load external entity "http://www.oasis-open.org/docbook/xmlcharent/current/iso-tech.ent"
%iso-tech.ent;
              ^
Entity: line 5: parser error : Entity 'trade' not defined
  designations have been followed by the <quote>&trade;</quote> or the
                                                       ^
Entity: line 6: parser error : Entity 'reg' not defined
  <quote>&reg;</quote> symbol.</para>
              ^
Entity: line 6: parser error : chunk is not well balanced
  <quote>&reg;</quote> symbol.</para>
                                     ^
/usr/doc/en_US.ISO8859-1/articles/bsdl-gpl/article.xml:18: parser error : Entity 'tm-attrib.general' failed to parse
      &tm-attrib.general;
                         ^
*** Error code 1

Stop.
make[3]: stopped in /usr/doc/en_US.ISO8859-1/articles/bsdl-gpl
*** Error code 1

Stop.
make[2]: stopped in /usr/doc/en_US.ISO8859-1/articles
*** Error code 1

Stop.
make[1]: stopped in /usr/doc/en_US.ISO8859-1
*** Error code 1

Stop.
make: stopped in /usr/doc
This worked the last time that I ran it. The machine is connected to the internet, so there is no reason why it should be failing. I was going to submit a bug, but someone already did, and it was closed with something to the effect of "I figured it out."
 

ShelLuser

Son of Beastie

Thanks: 1,265
Messages: 2,688

#2
What is in /etc/make.conf? Did you try to move this out of the way to rule out any mishaps from it?

Also: any special options set in textproc/docproj?

Reason I ask: I never did a global make before, gave it a try now, and well... No issues so far (it's not done but has been running for a while).
 

Maelstorm

Well-Known Member

Thanks: 106
Messages: 282

#3
What is in /etc/make.conf? Did you try to move this out of the way to rule out any mishaps from it?

Also: any special options set in textproc/docproj?

Reason I ask: I never did a global make before, gave it a try now, and well... No issues so far (it's not done but has been running for a while).
/etc/make.conf
Code:
# Kernel
KERNCONF=STRATA GENERIC
NO_KERNELCLEAN=1
NO_KERNCLEAN=1
#NO_MODULES=1

# World
#MODULES_WITH_WORLD=1
NO_CLEAN=1

# Source Tree
SVN_UPDATE=1
SVN=/usr/local/bin/svn

# Ports
DISTDIR=/usr/local/distfiles
PACKAGES=/usr/local/packages
WITHOUT_X11=1

# Documentation
#DOC_LANG=en_US.ISO8859-1
No special options that I am aware of. I'm using binary packages. On the off chance that it was something in make.conf, I tried renaming it and it still didn't work. Same error. It's trying to get something from a nonexistent website.
 

Maelstorm

Well-Known Member

Thanks: 106
Messages: 282

#4
I got it working. Not sure why, but I had to remove all 22-23 packages associated with the docproj metaport and reinstall them. After that it started working. My guess is that somehow something got corrupted.
 
Top