<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13552</bug_id>
          
          <creation_ts>2019-09-25 18:20:55 +0000</creation_ts>
          <short_desc>Cannot build manuals without internet connectivity</short_desc>
          <delta_ts>2022-05-05 15:11:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>4.99</target_milestone>
          <dependson>13874</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kevin Cribbs">kec201909</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>akuster808</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85069</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Cribbs">kec201909</who>
    <bug_when>2019-09-25 18:20:55 +0000</bug_when>
    <thetext>On computers without internet connectivity, attempts to build manuals fail with the following (or similar) output:


make html DOC=dev-manual
 
******** Building dev-manual
 
cd dev-manual; xsltproc --xinclude -o dev-manual.html dev-manual-customization.xsl dev-manual.xml; cd ..
error : No such file or directory
warning: failed to load external entity &quot;http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl&quot;
compilation error: file dev-manual-customization.xsl line 4 element import
xsl:import : unable to load http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl



make html DOC=mega-manual
 
******** Building mega-manual
 
cd mega-manual; xsltproc --stringparam html.stylesheet mega-style.css --stringparam  chapter.autolabel 1 --stringparam  section.autolabel 1 --stringparam  section.label.includes.component.label 1 --xinclude -o mega-manual.html mega-manual-customization.xsl mega-manual.xml; cd ..
error : No such file or directory
warning: failed to load external entity &quot;http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl&quot;
compilation error: file mega-manual-customization.xsl line 4 element import
xsl:import : unable to load http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl
 
******** Using mega-manual.sed to process external links
 
cd mega-manual; sed -f ../tools/mega-manual.sed &lt; mega-manual.html &gt; mega-output.html; cd ..
/bin/sh: mega-manual.html: No such file or directory
 
******** Cleaning up transient file mega-output.html
 
cd mega-manual; rm mega-manual.html; mv mega-output.html mega-manual.html; cd ..
rm: cannot remove ‘mega-manual.html’: No such file or directory
mv: cannot stat ‘mega-output.html’: No such file or directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85071</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Cribbs">kec201909</who>
    <bug_when>2019-09-25 18:40:15 +0000</bug_when>
    <thetext>This was confirmed in a very recent poky 81f9e815d36848761a9dfa94b00ad998bb39a4a6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85093</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-09-26 14:55:35 +0000</bug_when>
    <thetext>This is a known issue, our manuals needs a copy of the dockbook xsl files to build. As such making this work offline is an enhancement we could consider in the next release. Not quite sure how we&apos;d do that though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85579</commentid>
    <comment_count>3</comment_count>
    <who name="Kevin Cribbs">kec201909</who>
    <bug_when>2019-11-20 11:34:03 +0000</bug_when>
    <thetext>Perhaps a bitbake recipe could be used so bitbake&apos;s abilities to support offline builds could be leveraged to support offline building of the documents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93233</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2022-05-05 15:11:23 +0000</bug_when>
    <thetext>We have switch to Sphinx so this is obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>