octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56129] 5.1.0 build fails against Qt 5.11 in d


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #56129] 5.1.0 build fails against Qt 5.11 in doc stage with qhelpgenerator error
Date: Sat, 13 Apr 2019 20:57:02 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?56129>

                 Summary: 5.1.0 build fails against Qt 5.11 in doc stage with
qhelpgenerator error
                 Project: GNU Octave
            Submitted by: apjanke
            Submitted on: Sat 13 Apr 2019 08:57:00 PM EDT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: Mac OS

    _______________________________________________________

Details:

I am unable to build Octave 5.1.0 against Qt 5.11.2 (instead of the current Qt
5.12.x). The build fails during the doc generation stage with the following
error in the make log:


rm -f doc/interpreter/octave_interpreter.qhc
doc/interpreter/octave_interpreter.qch && \
        perl ./doc/interpreter/mk-qthelp.pl octave.html
doc/interpreter/octave_interpreter && \
        qhelpgenerator  doc/interpreter/octave_interpreter.qhcp -o
doc/interpreter/octave_interpreter.qhc >/dev/null && \
        rm -f doc/interpreter/octave_interpreter.qhcp
doc/interpreter/octave_interpreter.qhp
Error in line 3: Unknown token. Expected "QtHelpProject".
make[2]: *** [doc/interpreter/octave_interpreter.qhc] Error 255
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2


Full build logs: https://gist.github.com/8a0f554520d560ea3f537fb316f073ce
Octave.app bug report:
https://github.com/octave-app/octave-app-bundler/issues/85

It's complaining about not finding the token "QtHelpProject". The contents of
the doc/interpreter/octave_interpreter.qhcp it's looking at is this:


<?xml version="1.0" encoding="UTF-8"?>
<!--DO NOT EDIT! Generated automatically by ./doc/interpreter/mk-qthelp.pl-->
<QHelpCollectionProject version="1.0">
  <docFiles>
    <generate>
[...]
  </docFiles>
</QHelpCollectionProject>


And over in the doc/interpreter/octave_interpreter.qhp file next to it, there
is a QtHelpProject element:


<?xml version="1.0" encoding="UTF-8"?>
<!--DO NOT EDIT!  Generated automatically by
./doc/interpreter/mk-qthelp.pl-->
<QtHelpProject version="1.0">
  <namespace>org.octave.interpreter-1.0</namespace>
[...]


Maybe this has to do with the Qt change where qhelpgenerator functionality was
folded in to qcollectiongenerator? Maybe they don't take the same files as
inputs, so you can't just use one as a drop-in for the other without also
changing the file arguments passed to them?




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56129>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]