Octave 4.3.0+ Build error in doc

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Octave 4.3.0+ Build error in doc

himpe
Hi,

building the current head of the dev repo leads to the following error:

###

  GEN      doc/interpreter/octave_interpreter.qch
/bin/bash: line 2: doc/interpreter/octave_interpreter.qhcp: Permission
  denied Makefile:27805: recipe for target
  'doc/interpreter/octave_interpreter.qch' failed make[2]: ***
  [doc/interpreter/octave_interpreter.qch] Error 126

###

on Ubuntu 16.04. Is this already a known issue or did I overlook
something else? Is there a temporary or permanent fix?

Thanks

Christian

--
Christian Himpe
Computational Methods in Systems and Control Theory
Max Planck Institute for Dynamics of Complex Technical Systems
Sandtorstr. 1
D-39106 Magdeburg
Germany

Reply | Threaded
Open this post in threaded view
|

Re: Octave 4.3.0+ Build error in doc

Mike Miller-4
On Wed, Mar 21, 2018 at 00:00:06 +0100, Christian Himpe wrote:

>   GEN      doc/interpreter/octave_interpreter.qch
> /bin/bash: line 2: doc/interpreter/octave_interpreter.qhcp: Permission
>   denied Makefile:27805: recipe for target
>   'doc/interpreter/octave_interpreter.qch' failed make[2]: ***
>   [doc/interpreter/octave_interpreter.qch] Error 126
>
> ###
>
> on Ubuntu 16.04. Is this already a known issue or did I overlook
> something else? Is there a temporary or permanent fix?
This has been raised but not fixed. I would be curious to see which
version of Qt you are building with, and the output of

    $ grep -E '^(MOC|UIC|LREL|Q.*GEN)' Makefile

I have made one small fix related to qcollectiongenerator on the stable
branch that may not yet be merged into the development branch. This may
or may not be related to the error you are seeing.

--
mike

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Octave 4.3.0+ Build error in doc

himpe
On Tue, 20 Mar 2018 16:11:52 -0700
Mike Miller <[hidden email]> wrote:

> On Wed, Mar 21, 2018 at 00:00:06 +0100, Christian Himpe wrote:
> >   GEN      doc/interpreter/octave_interpreter.qch
> > /bin/bash: line 2: doc/interpreter/octave_interpreter.qhcp:
> > Permission denied Makefile:27805: recipe for target
> >   'doc/interpreter/octave_interpreter.qch' failed make[2]: ***
> >   [doc/interpreter/octave_interpreter.qch] Error 126
> >
> > ###
> >
> > on Ubuntu 16.04. Is this already a known issue or did I overlook
> > something else? Is there a temporary or permanent fix?  
>
> This has been raised but not fixed. I would be curious to see which
> version of Qt you are building with, and the output of
>
>     $ grep -E '^(MOC|UIC|LREL|Q.*GEN)' Makefile
>
> I have made one small fix related to qcollectiongenerator on the
> stable branch that may not yet be merged into the development branch.
> This may or may not be related to the error you are seeing.
>

Hi,

here is the output of the grep:

###

LRELEASE =
LRELEASEFLAGS =
LRELEASE_QTVER =
MOC =
MOCFLAGS =
MOC_QTVER =
QCOLLECTIONGENERATOR =
QCOLLECTIONGENERATOR_QTVER =
QHELPGENERATOR =
QHELPGENERATOR_QTVER =
UIC =
UICFLAGS =
UIC_QTVER =

###

and my Qt version is:

qmake --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib/x86_64-linux-gnu

yet I do not have the qt4-dev-tools installed (and never needed to) as I
am building with:

--disable-gui

and:

--disable-java

if that makes a difference.

Best

Christian

-
--
Christian Himpe
Computational Methods in Systems and Control Theory
Max Planck Institute for Dynamics of Complex Technical Systems
Sandtorstr. 1
D-39106 Magdeburg
Germany

Reply | Threaded
Open this post in threaded view
|

Re: Octave 4.3.0+ Build error in doc

Mike Miller-4
On Wed, Mar 21, 2018 at 00:33:58 +0100, Christian Himpe wrote:
> yet I do not have the qt4-dev-tools installed (and never needed to) as I
> am building with:
>
> --disable-gui

That option doesn't exist anymore, but I take it you mean --without-qt.
Thanks, you are right. I have filed a bug report about this error:

  https://savannah.gnu.org/bugs/?53394

I guess the workaround for now is to build with Qt or with
--disable-docs.

--
mike

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Octave 4.3.0+ Build error in doc

himpe
On Tue, 20 Mar 2018 16:53:22 -0700
Mike Miller <[hidden email]> wrote:

> On Wed, Mar 21, 2018 at 00:33:58 +0100, Christian Himpe wrote:
> > yet I do not have the qt4-dev-tools installed (and never needed to)
> > as I am building with:
> >
> > --disable-gui  
>
> That option doesn't exist anymore, but I take it you mean
> --without-qt. Thanks, you are right. I have filed a bug report about
> this error:
>
>   https://savannah.gnu.org/bugs/?53394
>
> I guess the workaround for now is to build with Qt or with
> --disable-docs.
>

Alright.

Thanks

Christian


--
Christian Himpe
Computational Methods in Systems and Control Theory
Max Planck Institute for Dynamics of Complex Technical Systems
Sandtorstr. 1
D-39106 Magdeburg
Germany

Reply | Threaded
Open this post in threaded view
|

Re: Octave 4.3.0+ Build error in doc

tmacchant
----- Original Message -----

> From: Christian Himpe
> To: Mike Miller
> Cc: octave-maintainers
> Date: 2018/3/21, Wed 09:53
> Subject: Re: Octave 4.3.0+ Build error in doc
>
> On Tue, 20 Mar 2018 16:53:22 -0700
> Mike Miller <[hidden email]> wrote:
>
>>  On Wed, Mar 21, 2018 at 00:33:58 +0100, Christian Himpe wrote:
>>  > yet I do not have the qt4-dev-tools installed (and never needed to)
>>  > as I am building with:
>>  >
>>  > --disable-gui 
>>
>>  That option doesn't exist anymore, but I take it you mean
>>  --without-qt. Thanks, you are right. I have filed a bug report about
>>  this error:
>>
>>   https://savannah.gnu.org/bugs/?53394
>>
>>  I guess the workaround for now is to build with Qt or with
>>  --disable-docs.
>>
>
> Alright.
>
> Thanks
>
> Christian


My dirty workaround is

sudo ln -s /usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator /usr/lib/x86_64-linux-gnu/qt4/bin/qcollectiongenerator

Tatsuro