[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#886820: qtcreator: FTBFS on armhf: sed: can't read builddir/src/plugins/qmldesigner/Makefile.qmldesignerplugin: No such file or directory



Source: qtcreator
Version: 4.5.0-1
Severity: serious

Hi,

qtcreator fails to build on armhf, as it can't find the file for the -O1 hack:

# Hack over a g++ problem while using -O2 on armhf.
# If you don't like this horrible hack please feel free to help me try to
# reproduce it in a minimal test case so as to be able to properly fill a
# bug against g++.
sed -i 's/O2/O1/g' builddir/src/plugins/qmldesigner/Makefile.qmldesignerplugin
sed: can't read builddir/src/plugins/qmldesigner/Makefile.qmldesignerplugin: No such file or directory
debian/rules:32: recipe for target 'override_dh_auto_configure' failed

Note that this was added quite a while back:

qtcreator (3.1.2+dfsg-2) unstable; urgency=medium
[...]
  [ Lisandro Damián Nicanor Pérez Meyer ]
  * Add a horrible hack in debian/rules for building a few files with -O1
    instead of -O2 on armhf. If you don't like this please be sure to help
    me to get a minimal test case in order to fill a proper bug against g++.

 -- Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>  Sun, 03 Aug 2014 13:36:05 -0300

Maybe this is no longer needed due to the new qtcreator and/or new
compiler versions?

Cheers,
Emilio

Reply to: