[scribus] Build error on Arch Linux 64 bit, scribus 1.5.3svn r21750
Craig Bradney
cbradney at scribus.info
Sat Feb 4 22:25:50 UTC 2017
> On 4 Feb 2017, at 21:24, Stefan Husmann <stefan-husmann at t-online.de> wrote:
>
> Hello,
>
> I cannot compile the version of scibus that was established by the most
> recent commit 21750 on svn.
>
> This is what I get:
>
> [ 90%] Built target txtim
> [ 90%] Building CXX object scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o
> /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp: In member function 'void XtgScanner::xtgParse()':
> /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:1520:21: error: ambiguous overload for 'operator!=' (operand types are 'QChar' and 'char')
> while (lookAhead() != '\0')
> ~~~~~~~~~~~~^~~~~~~
> In file included from /usr/include/qt/QtCore/QString:1:0,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:
> /usr/include/qt/QtCore/qstring.h:1639:13: note: candidate: bool operator!=(QChar, const QStringRef&)
> inline bool operator!=(QChar lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }
> ^~~~~~~~
> /usr/include/qt/QtCore/qstring.h:1625:13: note: candidate: bool operator!=(const QString&, QChar)
> inline bool operator!=(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return !(rhs == lhs); }
> ^~~~~~~~
> /usr/include/qt/QtCore/qstring.h:1620:13: note: candidate: bool operator!=(QChar, const QString&)
> inline bool operator!=(QChar lhs, const QString &rhs) Q_DECL_NOTHROW { return !(lhs == rhs); }
> ^~~~~~~~
> /usr/include/qt/QtCore/qstring.h:1567:13: note: candidate: bool operator!=(const QString&, const QStringRef&)
> inline bool operator!=(const QString &lhs, const QStringRef &rhs) Q_DECL_NOTHROW { return lhs.compare(rhs) != 0; }
> ^~~~~~~~
> In file included from /usr/include/qt/QtCore/qstring.h:48:0,
> from /usr/include/qt/QtCore/QString:1,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/../style.h:21,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/style.h:6,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/styles/charstyle.h:20,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.h:31,
> from /home/haawda/paketierung/meine_Pakete/scribus-svn/src/scribus/Scribus/scribus/plugins/gettext/xtgim/xtgscanner.cpp:27:
> /usr/include/qt/QtCore/qchar.h:576:30: note: candidate: constexpr bool operator!=(QChar, QChar)
> Q_DECL_CONSTEXPR inline bool operator!=(QChar c1, QChar c2) Q_DECL_NOTHROW { return !operator==(c1, c2); }
> ^~~~~~~~
> make[2]: *** [scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/build.make:85: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/xtgscanner.cpp.o] Error 1
> make[1]: *** [CMakeFiles/Makefile2:3745: scribus/plugins/gettext/xtgim/CMakeFiles/xtgimplugin.dir/all] Error 2
>
> Revision 21748 was built successfully, I did not try 21749.
>
> Btw., I wanted to report this on Mantis, but my account obviously only has
> readonly access there. Is it the correct way to post here?
>
> Best Regards
>
> Stefan Husmann (haawda on Mantis)
>
Hi Stefan
This error is weird in that:
- nothing in the revision from 21749 or 21750 would affect this code.
- I can build it fine on OSX and Ubuntu 15.04 and 16.10.
I suspect your system must have updated something in between. gcc, or some compilation related dependency.
Anyway, we’ll adjust it.
Your account should work fine on bugs.scribus.net <http://bugs.scribus.net/>, nothing wrong with it from what I see.
thanks
Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20170204/85f34665/attachment.html>
More information about the scribus
mailing list