Error building Octave default branch (HG-ID 107091f22e65 from 2021-02-19)

I did a

$ hg clone https://www.octave.org/hg/octave

and I’ve got this error during “make”

CXXLD src/octave-gui
/usr/bin/ld: libgui/.libs/liboctgui.so: undefined reference to `QsciLexer::readSettings(QSettings&, char const*)’
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:15960: src/octave-gui] Error 1
make[2]: Leaving directory ‘/home/leonardo/octavesrc/octave_hg/octave’
make[1]: *** [Makefile:27827: all-recursive] Error 1
make[1]: Leaving directory ‘/home/leonardo/octavesrc/octave_hg/octave’
make: *** [Makefile:11295: all] Error 2

$ cat HG-ID
107091f22e65

Any ideas?

Additional info:

  • I can build octave 6.1.0 with no problems (built without ccache).
  • I’m running debian 10.
  • I’m using ccache at ./configure (to build the HG 107091f22e65)

Update:
I realised that octave 6.2.0 was released today.
Downloaded and successfully built with ccache and without ccache.

Kind regards,
Leonardo

The cset referred to by @pocker is 107091f22e65 from 2021-02-19: “Return 0 if first argument to exist() is empty regardless of nargin value (bug #59950).”

For me this revision builds cleanly. You also switched between the development branch and the stable branch. Can you try to run from ./bootstrap again after changing the build tree (see in the wiki Building - Octave)? If you receive any further errors, can you post all your commands typed in and the output as log file to this report?

That is odd.

I ran all commands as before but now it builds with no errors.

Marking this as solution since I could not reproduce the fail anymore.