bugGNU Octave - Bugs: bug #50580, lrelease is searched for in wrong...


bug #50580: lrelease is searched for in wrong directory

Submitter:  Martin Castillo <castilma>
Submitted:  Sat 18 Mar 2017 07:14:17 PM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


( Jump to the original submission )

Tue 23 May 2017 12:45:08 PM UTC, comment #7: 


I do not use build-dep anymore because it installs other things that aren't needed for building octave and it misses some packages (like bison!). So I also try to keep a list of the packages needed. So far my last was the same as the one in the wiki http://wiki.octave.org/Octave_for_Debian_systems , but it needs to change now, it seems.

Juan Pablo Carbajal <juanpi>
Project Member
Mon 22 May 2017 03:18:17 PM UTC, comment #6: 

Debian and Ubuntu octave packages are built using Qt 4. They will probably transition to Qt 5 in the next Debian release cycle (later this year).

`apt build-dep octave` lags behind current releases and newly added dependencies. I always try to maintain my own full list of dependencies that doesn't depend on which source package I'm dealing with (have they used Qt 4 or 5? does the native version build with portaudio or not?)

This could be listed on wiki.octave.org/Debian, if you can figure out a way to make it clear that there is a set of packages to build against Qt 4, and a different set to build against Qt 5.

Feel free to look at https://github.com/mtmiller/octave-snapshot/blob/master/guest-bootstrap.sh for dependencies needed to build the default branch (in Ubuntu 14.04 at the moment).

Mike Miller <mtmiller>
Project Administrator
Mon 22 May 2017 03:00:07 PM UTC, comment #5: 


apt-get build-dep octave

install qttools5-dev-tools?  It may be that the packager (Debian or Ubuntu) needs to update their package dependency list.

Rik <rik5>
Project Administrator
Mon 22 May 2017 02:43:19 PM UTC, comment #4: 

It seems it is solved by installing qttools5-dev-tools maybe it should be added to the dependencies (at least in Debian based systems)

Juan Pablo Carbajal <juanpi>
Project Member
Mon 22 May 2017 02:33:19 PM UTC, comment #3: 

Please re-open

Same problem here
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

the requested output

LRELEASE = lrelease
MOC = moc
QTCHOOSER = qtchooser
QT_CFLAGS = -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5
QT_CPPFLAGS = -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5
QT_LIBS = -lQt5Network -lQt5OpenGL -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lqt5scintilla2
RCC = rcc
UIC = uic
MOC_CPPFLAGS = $(am__append_24)

Juan Pablo Carbajal <juanpi>
Project Member
Mon 03 Apr 2017 12:17:14 AM UTC, comment #2: 

No response.  Closing report.

Rik <rik5>
Project Administrator
Sat 25 Mar 2017 07:52:59 PM UTC, comment #1: 

Can you paste the results of "egrep '^(QT|MOC|UIC|LREL|RCC)' Makefile" in the build directory? Do you have a config.cache file left over from a previous build? Have you recently installed or uninstalled any Qt related packages? Did you intend to build Octave with Qt 5, and do you have the qttools5-dev-tools packages installed?

Mike Miller <mtmiller>
Project Administrator
Sat 18 Mar 2017 07:14:17 PM UTC, original submission:  

I'm on Ubuntu 16.04. I tried to compile release-4-2-1 from the repo. the build fails with

  GEN      libgui/languages/be_BY.qm
lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/lrelease': No such file or directory
Makefile:27270: die Regel für Ziel „libgui/languages/be_BY.qm“ scheiterte
make[2]: *** [libgui/languages/be_BY.qm] Fehler 1

$ whereis lrelease
lrelease: /usr/bin/lrelease

before that, I tried the 4.2.0 tarball. same problem.

Martin Castillo <castilma>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by juanpi (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by castilma (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-03 rik5 Open/ClosedOpen Closed
    2017-03-25 mtmiller StatusNone Works For Me

    Back to the top

    Powered by Savane 3.9