Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437446 - media-gfx/nip2-7.26.4 - parser.h:57:12: error: conflicting types for ‘yyleng’ lex.c:275:11: note: previous declaration of ‘yyleng’ was here
Summary: media-gfx/nip2-7.26.4 - parser.h:57:12: error: conflicting types for ‘yyleng’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords: PATCH
: 514080 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-06 21:42 UTC by Andrew Savchenko
Modified: 2016-09-14 10:52 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,166.36 KB, text/plain)
2012-10-06 21:46 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,7.69 KB, text/plain)
2012-10-06 21:46 UTC, Andrew Savchenko
Details
nip2-7.26.4-lex.patch (nip2-7.26.4-lex.patch,367 bytes, patch)
2012-10-06 22:16 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2012-10-06 21:42:36 UTC
Hello,

nip2-7.26.4 fails to build:

In file included from ip.h:485:0,
                 from lex.l:31:
parser.h:57:12: error: conflicting types for ‘yyleng’
lex.c:275:11: note: previous declaration of ‘yyleng’ was here
make[3]: *** [nip2-lex.o] Error 1
Comment 1 Andrew Savchenko gentoo-dev 2012-10-06 21:46:01 UTC
Created attachment 325846 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2012-10-06 21:46:11 UTC
Created attachment 325848 [details]
emerge --info
Comment 3 Andrew Savchenko gentoo-dev 2012-10-06 22:16:54 UTC
Created attachment 325850 [details, diff]
nip2-7.26.4-lex.patch

int is not always compatible with ssize_t :)
Comment 4 Maxim Kammerer 2013-01-08 15:36:01 UTC
Can confirm the problem on x86, the patch fixes it.
Comment 5 Maxim Kammerer 2013-08-20 23:16:43 UTC
Any chance of having the patch in tree?
Comment 6 Toralf Förster gentoo-dev 2016-06-18 16:35:55 UTC
*** Bug 514080 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Savchenko gentoo-dev 2016-09-14 10:52:49 UTC
Fixed in 7.38.1 which is in the tree now.