Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 437446

Summary: 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
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: bircoph, mk, patrick
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
nip2-7.26.4-lex.patch

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.