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

Bug 662926

Summary: dev-libs/libmcal-0.7-r6: icalroutines.h:53:15: error: conflicting types for ‘ical_yyleng’ extern size_t ical_yyleng;
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2018-08-06 09:00:06 UTC
Created attachment 542520 [details]
build.log

powerpc-unknown-linux-gnu-gcc -O2 -mcpu=powerpc -pipe -DUSE_PAM -lpam -fPIC -Iicap -Imstore    -I. -c -o lex.ical_yy.o lex.ical_yy.c
In file included from icalscanner.lex:34:0:
icalroutines.h:53:15: error: conflicting types for ‘ical_yyleng’
 extern size_t ical_yyleng;
               ^~~~~~~~~~~
lex.ical_yy.c:21:16: note: previous declaration of ‘ical_yyleng’ was here
 #define yyin ical_yyin
                ^
lex.ical_yy.c:528:5: note: in expansion of macro ‘yyleng’
 static int yy_n_chars;  /* number of characters read into yy_ch_buf */
     ^~~~~~
make: *** [Makefile:24: lex.ical_yy.o] Error 1
 * ERROR: dev-libs/libmcal-0.7-r6::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2018-08-06 09:01:07 UTC
Created attachment 542522 [details]
emerge --info
Comment 2 ernsteiswuerfel archtester 2018-08-06 09:04:20 UTC
Ah, just realized this already has been reported...

*** This bug has been marked as a duplicate of bug 542924 ***