Error compiling pwlib_1.2.12 ../common/getdate.y: In function `PTime_yylex': ../common/getdate.y:659: `EOF' undeclared (first use in this function) ../common/getdate.y:659: (Each undeclared identifier is reported only once ../common/getdate.y:659: for each function it appears in.) ../common/getdate.y:709: warning: control reaches end of non-void function make[2]: *** [/var/tmp/portage/pwlib-1.2.12-r2/work/pwlib/lib/obj_linux_x86_r/getdate.tab.o] Erreur 1 make[2]: Quitte le r
Error compiling pwlib_1.2.12 ../common/getdate.y: In function `PTime_yylex': ../common/getdate.y:659: `EOF' undeclared (first use in this function) ../common/getdate.y:659: (Each undeclared identifier is reported only once ../common/getdate.y:659: for each function it appears in.) ../common/getdate.y:709: warning: control reaches end of non-void function make[2]: *** [/var/tmp/portage/pwlib-1.2.12-r2/work/pwlib/lib/obj_linux_x86_r/getdate.tab.o] Erreur 1 make[2]: Quitte le répertoire `/var/tmp/portage/pwlib-1.2.12-r2/work/pwlib/src/ptlib/unix' make[1]: *** [opt] Erreur 2 make[1]: Quitte le répertoire `/var/tmp/portage/pwlib-1.2.12-r2/work/pwlib' make: *** [optshared] Erreur 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/dev-libs/pwlib/pwlib-1.2.12-r2.ebuild . The problem is that is missing the #include <stdio.h> declaration in getdate.y I made de patch and updated the ebuild to pwlib-1.2.12-r3.ebuild. I'll send that attached in an email. Greets Gabriel
this patch is already in the portage tree? check the existing patch... what is the difference?
Should be fixed if using bison-1.34 and pwlib-1.2.13. Thanks to Seemant.