bugGNU Octave - Bugs: bug #50572, error during compiling


bug #50572: error during compiling

Submitted by:  None
Submitted on:  Fri Mar 17 23:02:35 2017  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: NoneAssigned to: None
Originator Name: SalehOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Thu Mar 23 01:18:09 2017, comment #13:

Attached a patch to make octave detect qscintilla by it self (at least on Manjaro).

The patch can be applied to octave/m4/acinclude.m4

Dear developers: can you apply the patch and close the bug


(file #40088)

Sun Mar 19 07:54:08 2017, comment #12:

@Stefan (in reply to comment #8): This is really strange. In the case where qscintilla is not found on your system, the code where the compilation error on file_editor_tab_widget occurred should never be compiled since it is located within

after the changeset 5bddd4089386.

Torsten <ttl>
Project Member
Sun Mar 19 01:27:21 2017, comment #11:

The problem is form my system.

I updated qscintilla. In the new version the name of the library
changed from qscintilla-q5.so to qscintilla2_qt5.
I did not notice it at first. I am not sure if the name changing is caused by the person who buid qscintilla in Manjaro or by qscintilla itself.

I added the name(qscintilla2_qt5) to the name list in line 1331 of "acinclude.m4" to solve the problem

By doing that, octave is able to detect qscintilla by itself.

@Stefan can you confirm if this is the case for arch

Sat Mar 18 15:58:19 2017, comment #10:

It is weird. I can confirm it builds successfully on manjaro. I also have both qscintilla-qt4 and qscintilla-qt5 installed.
However, octave cannot detect neither.
Note: the path for qscintillas are

Sat Mar 18 15:08:57 2017, comment #9:

Hello, obviously the issue can be worked around by deinstalling qscintilla-qt4.

Stefan Husmann <haawda>
Sat Mar 18 14:14:49 2017, comment #8:

Both questions have to be answered with yes. Maybe it is relevant that I have both qscintilla-qt4 and qscintilla-qt4 installed.

The error message is exactly the same as the ticket opener had.

Stefan Husmann <haawda>
Sat Mar 18 12:51:16 2017, comment #7:

@Stefan: You are taling about the error described in the original submission of this report? What is the exact error message and do you have QScintilla installed?

Torsten <ttl>
Project Member
Sat Mar 18 12:45:25 2017, comment #6:

I cannot confirm that 5bddd4089386 fixes the build error under Arch Linux.

Stefan Husmann <haawda>
Sat Mar 18 10:17:39 2017, comment #5:

with 5bddd4089386 change set, it is possible to build octave
even if scintilla not detected,

I built octave from scratch in a new folder, but still cannot detect scintilla.
I believe there is something happened since my last successful build (March 12). At that time, octave was able to detect scintilla.

I was thinking maybe my system is broken, however there are other people having the same problem

Sat Mar 18 08:57:33 2017, comment #4:

Sounds familiar. See


That should have been fixed for your setup, though. Have you built Octave from scratch? Sometimes that is needed to get rid of some settings hanging around from previous builds.

Dan Sebald <sebald>
Sat Mar 18 08:50:25 2017, comment #3:

Thanks for the report. The bug leading to a compilation error when no qscintilla is available was introduced with changeset changeset 23276:ea143f4f76a5 and is fixed with
Could you please check this with your system?

The changeset does not fix the issue, that configure does not find qscintilla on your system anymore.

Torsten <ttl>
Project Member
Sat Mar 18 08:49:32 2017, comment #2:

As a work around, I created a link to scintilla wiht a name that
octave familiar with.

sudo ln -s /usr/lib/libqscintilla2_qt5.so /usr/lib/libqt5scintilla2.so

By doing that the problem is solved.

is it possible to make octave figure the correct name by itself?

Sat Mar 18 07:27:26 2017, comment #1:

I think I found a lead

octave cannot find libqscintilla2

The last week is the last time I build octave successfully

the directory of the library on my manjaro linux is


Fri Mar 17 23:02:35 2017, original submission:

I am using MAnjaro linux with gcc version 6.3

This bug probably related to #50567

configured as follow



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

Attach File(s):

Attached Files
file #40088:  patch.txt added by None (439B - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by haawda (Posted a comment)
  • -unavailable- added by sebald (Posted a comment)
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Mar 23 01:18:09 2017NoneAttached File-=>Added patch.txt, #40088

    Back to the top

    Powered by Savane 3.1-cleanup1