bugGNU Octave - Bugs: bug #53656, Recent documentation additions...

 
 

bug #53656: Recent documentation additions don't compile when building outside source directory

Submitter:  Dan Sebald <sebald>
Submitted:  Sun 15 Apr 2018 08:06:39 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Apr 2018 06:57:31 PM UTC, comment #2: 

OK, thanks Mike.  Here's some notes as I work through the errors:


/home/sebald/octave/octave/build1/../octave/doc/interpreter/octave.texi:105: ep
sf.tex not found, images will be ignored.
@image ...f.tex not found, images will be ignored}
                                                  @global @warnednoepsftrue ...
l.105 @flushright @image{octave_logo,2.1in}


OK, looks like the "TeX Live 2017/Debian" is incomplete and configure really only checks for

TEXI2DVI='texi2dvi'
TEXI2PDF='texi2pdf'

.  Searching for espf.tex in the packages...looks like "texlive-generic-recommended"...

Installing espf.tex did the trick, nice.  Please close this report.

Dan Sebald <sebald>
Sun 15 Apr 2018 06:21:17 PM UTC, comment #1: 

Sorry, but I don't think you are understanding how make works, and the error message you are quoting has nothing to do with whether the build rules are written with a $(srcdir) prefix or not.

If you want to see the full error message, use


$ make V=1 doc/interpreter/octave.dvi


You will see that the actual command line uses the correct path to octave.texi.

At the end of the long TeX output you might see an actual useful error message.

Mike Miller <mtmiller>
Group Member
Sun 15 Apr 2018 08:06:39 AM UTC, original submission:  

I'm building a recent stable branch outside of the source directory and see the following error at the last step, the documentation build:


  GEN      libgui/mk-default-qt-settings.sh
config.status: creating libgui/mk-default-qt-settings.sh-tmp
config.status: executing libgui/mk-default-qt-settings.sh commands
  TEXI2DVI doc/interpreter/octave.dvi
/usr/bin/texi2dvi: etex exited with bad status, quitting.
Makefile:27884: recipe for target 'doc/interpreter/octave.dvi' failed
make[2]: *** [doc/interpreter/octave.dvi] Error 1
make[2]: Leaving directory '/home/sebald/octave/octave/build1'
Makefile:26472: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sebald/octave/octave/build1'
Makefile:10177: recipe for target 'all' failed
make: *** [all] Error 2


The Makefile in the build directory has the following dependency:


doc/liboctave/liboctave.pdf: doc/liboctave/liboctave.texi $(srcdir)/doc/liboctave/version-liboctave.texi | doc/liboctave/$(am__dirstamp)


and


doc/liboctave/liboctave.dvi: doc/liboctave/liboctave.texi $(srcdir)/doc/liboctave/version-liboctave.texi | doc/liboctave/$(am__dirstamp)


There may be one or two more instances where doc/liboctave/liboctave.texi is a dependency.  Three is no prefix, so that doc/liboctave/ directory would be in the build tree.  However, what I'm seeing looks like doc/liboctave/liboctave.texi exists in the source tree.  So, similar to $(srcdir)/doc/liboctave/version-liboctave.texi there may need to be a previx added, i.e., $(srcdir)/doc/liboctave/liboctave.texi.

Dan Sebald <sebald>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by sebald (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-15 mtmiller Open/ClosedOpen Closed
    2018-04-15 mtmiller StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code