[MacPorts] #57850: octave @4.4.1_2: Error message when starting Octave.app and broken online help using the doc function
MacPorts
noreply at macports.org
Wed Jan 23 12:53:00 UTC 2019
#57850: octave @4.4.1_2: Error message when starting Octave.app and broken online
help using the doc function
---------------------+---------------------------------
Reporter: maehne | Owner: MarcusCalhoun-Lopez
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: octave |
---------------------+---------------------------------
Comment (by MarcusCalhoun-Lopez):
Just to document the progress:
* The error happens in the
[http://hg.savannah.gnu.org/hgweb/octave/file/1f46d371968c/libgui/src/documentation.cc#l75
octave documentation code].
* The Qt method
[http://doc.qt.io/qt-5/qhelpenginecore.html#copyCollectionFile
copyCollectionFile] returns false.
* copyCollectionFile helpfully has the side affect that "file references
to Qt Collection files (.qch) files are updated."
* The time that octave_interpreter.qch was last modified is recorded in
[http://hg.savannah.gnu.org/hgweb/octave/file/1f46d371968c/libgui/src/documentation.cc#l62
octave_interpreter.qhc].
* octave_interpreter.qch and octave_interpreter.qhc are built in the
build phase.
* The modification time of octave_interpreter.qch is recorded in
octave_interpreter.qhc.
* In the destroot phase, octave_interpreter.qhc is copied and thus gets a
new modification time.
* When first run, Octave attempt to update the modification time of
octave_interpreter.qch in octave_interpreter.qhc.
* The update fails because the user does not have write permission to
${prefix}/share/octave/4.4.1/doc/octave_interpreter.qhc.
A fix being worked on is to preserve modification time when installing
octave_interpreter.qch.
--
Ticket URL: <https://trac.macports.org/ticket/57850#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list