Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652928 - app-editors/juffed-0.10_p20160323-r1 : /.../qscilexerada.h:7:19: error: expected identifier before numeric constant
Summary: app-editors/juffed-0.10_p20160323-r1 : /.../qscilexerada.h:7:19: error: expec...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-10 16:14 UTC by Toralf Förster
Modified: 2019-12-22 10:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.07 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
app-editors:juffed-0.10_p20160323-r1:20180410-113350.log (app-editors:juffed-0.10_p20160323-r1:20180410-113350.log,127.51 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.82 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
environment (environment,115.82 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.91 KB, application/x-bzip)
2018-04-10 16:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.54 KB, application/x-bzip)
2018-04-10 16:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.48 KB, application/x-bzip)
2018-04-10 16:14 UTC, Toralf Förster
Details
juffed-0.10_p20160323-qscintilla-2.10.3.patch (juffed-0.10_p20160323-qscintilla-2.10.3.patch,1.98 KB, patch)
2018-04-10 18:42 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-10 16:14:06 UTC
In file included from /var/tmp/portage/app-editors/juffed-0.10_p20160323-r1/work/juffed-0.10_p20160323_build/juffed-engine-qsci_autogen/HJY3QJUKGU/moc_qscilexerada.cpp:9:0,
                 from /var/tmp/portage/app-editors/juffed-0.10_p20160323-r1/work/juffed-0.10_p20160323_build/juffed-engine-qsci_autogen/mocs_compilation.cpp:2:
/var/tmp/portage/app-editors/juffed-0.10_p20160323-r1/work/juffed-0.10_p20160323_build/juffed-engine-qsci_autogen/HJY3QJUKGU/../../../juffed-0.10_p20160323/src/app/qsci/lexers/qscilexerada.h:7:19: error: expected identifier before numeric constant
 #define SCLEX_ADA 20

                   ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl-test_20180406-190612

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.7.0 [icedtea-8]
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpv app-editors/juffed
[ebuild  N    ] app-editors/juffed-0.10_p20160323-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2018-04-10 16:14:09 UTC
Created attachment 527078 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-10 16:14:12 UTC
Created attachment 527080 [details]
app-editors:juffed-0.10_p20160323-r1:20180410-113350.log
Comment 3 Toralf Förster gentoo-dev 2018-04-10 16:14:15 UTC
Created attachment 527082 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-10 16:14:18 UTC
Created attachment 527084 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-04-10 16:14:21 UTC
Created attachment 527086 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-04-10 16:14:24 UTC
Created attachment 527088 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-10 16:14:27 UTC
Created attachment 527090 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2018-04-10 18:04:44 UTC
juffed source in respective headers inside src/app/qsci/lexers (re-)defines several constants from qsciscintillabase.h for reasons unknown to me, to the same value QScintilla already has them:

#define SCLEX_ADA 20
#define SCLEX_LISP 21
#define SCLEX_NSIS 43
#define SCLEX_HASKELL 68

Once removing those defines, the build finishes okay.
Comment 9 Andreas Sturmlechner gentoo-dev 2018-04-10 18:42:56 UTC
Created attachment 527110 [details, diff]
juffed-0.10_p20160323-qscintilla-2.10.3.patch

this works, although I am not sure if really qscintilla-2.10.3 is the reason for the failure. at least it is one thing that changed since previous build of juffed.
Comment 10 Atlant 2018-12-23 03:04:24 UTC
This patch corrects a similar error at me, commit it!
Comment 11 Larry the Git Cow gentoo-dev 2019-12-22 10:54:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890adca6eccc4fca4f25be16c2c04da1011c3979

commit 890adca6eccc4fca4f25be16c2c04da1011c3979
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-12-22 10:30:45 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-12-22 10:53:52 +0000

    app-editors/juffed: Fix build with QScintilla-2.10.3
    
    Closes: https://bugs.gentoo.org/652928
    Package-Manager: Portage-2.3.82, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../juffed-0.10_p20160323-qscintilla-2.10.3.patch  | 71 ++++++++++++++++++++++
 app-editors/juffed/juffed-0.10_p20160323-r1.ebuild |  3 +-
 2 files changed, 73 insertions(+), 1 deletion(-)