Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596886 - kde-frameworks/kservice-5.26.0 fails to build, illegal comment
Summary: kde-frameworks/kservice-5.26.0 fails to build, illegal comment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 17:21 UTC by gentoo
Modified: 2016-12-19 21:18 UTC (History)
0 users

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


Attachments
emerge --info output (emerge-info.txt,17.31 KB, text/plain)
2016-10-11 17:21 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2016-10-11 17:21:44 UTC
Created attachment 449886 [details]
emerge --info output

When I try to emerge this (stable on amd64), I get this error:

/var/tmp/portage/kde-frameworks/kservice-5.26.0/work/kservice-5.26.0_build/src/lex.c: In function ‘kiotraderensure_buffer_stack’:
/var/tmp/portage/kde-frameworks/kservice-5.26.0/work/kservice-5.26.0_build/src/lex.c:1708:21: error: C++ style comments are not allowed in ISO C90
   num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
/var/tmp/portage/kde-frameworks/kservice-5.26.0/work/kservice-5.26.0_build/src/lex.c:1708:21: error: (this will be reported only once per input file)

Attaching output of: emerge --info
Comment 1 Andreas Sturmlechner gentoo-dev 2016-10-11 17:26:53 UTC
Please upgrade to sys-devel/flex-2.6.1 and try again. 2.6.0 should probably be removed from tree for that bug.
Comment 2 gentoo 2016-10-11 17:45:55 UTC
Thank you, upgrading sys-devel/flex to 2.6.1 fixed this.
Comment 3 Jefferson Carpenter 2016-12-19 21:11:39 UTC
I just had this problem too.  flex-2.6.1 should be a dependency of KDE Plasma, right?  How does this dependency get added?
Comment 4 Jefferson Carpenter 2016-12-19 21:18:14 UTC
(In reply to Jefferson Carpenter from comment #3)
> I just had this problem too.  flex-2.6.1 should be a dependency of KDE
> Plasma, right?  How does this dependency get added?