Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1386 - Bug found in sources of pwlib.
Summary: Bug found in sources of pwlib.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-28 23:19 UTC by Gabriel Sandor
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Sandor 2002-03-28 23:19:56 UTC
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
Comment 1 Gabriel Sandor 2002-03-28 23:19:56 UTC
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
Comment 2 Spider (RETIRED) gentoo-dev 2002-03-31 18:37:26 UTC
this patch is already in the portage tree? check the existing patch... what is
the difference?
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-02 14:31:26 UTC
Should be fixed if using bison-1.34 and pwlib-1.2.13.  Thanks to Seemant.