Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9999 - endeavour does not compile
Summary: endeavour does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-30 23:47 UTC by Arno
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Arno 2002-10-30 23:47:08 UTC
This is the error i get when compiling endeavour-2.1.14

In file included from fio.cpp:7:
../include/xsw_ctype.h:9: new declaration `bool isblank(int)'
/usr/include/ctype.h:128: ambiguates old declaration `int isblank(int)'
make[1]: *** [fio.o] Error 1

with:
Portage 2.0.43 (default-x86-1.4, gcc-3.2, glibc-2.3.1-r1)
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2002-11-07 03:32:51 UTC
Hi Arno.

Thank you for the bug report.
Looks like this is  related to the glibc version (or possibly to stricter
gcc-3.x checks).
In any case, looks like I have a fix for the problem - I commented out #include
<ctyoes.h> in that file (I don't understand why app developer put that #include
statment there at all - xsw_ctype.h seems to define all the necessary macros
(local versions)). This seems to work for both 3.2 and 2.95.3.
  I committed the fix (no revision bump, since this is a fix for certain
platform only, no need to force rebuild for people who have it working).
Please test and report.

George
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2002-11-07 16:02:52 UTC
Ok, new version is in portage as well as of few minutes ago (and does not seem
to have this problem).
Closing this bug.

George
Comment 3 Arno 2002-11-08 02:38:02 UTC
Hi,

Endeavour-2.1.14 compiles and works OK now.

However, it seems that endeavour-2.1.20 shows the exact same problem:

In file included from ../fio.cpp:7:
../../include/xsw_ctype.h:9: new declaration `bool isblank(int)'
/usr/include/ctype.h:128: ambiguates old declaration `int isblank(int)'
make[1]: *** [../fio.o] Error 1

With:
Portage 2.0.43 (default-x86-1.4, gcc-3.2, glibc-2.3.1-r2)
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2002-11-08 13:20:59 UTC
Hi Arno.

Thanks for testing (and the excellent report in the first place).
Unfortunately 2.1.20 was committed independently of me, based on somewhat oldish
submission, so it did not incorporate this fix :(.
Fixed now, please test.
I guess I'll need to ask endeavour developers about this issue as well.

George
Comment 5 Arno 2002-11-12 12:25:19 UTC
Hi,

Endeavour-2.1.20-r1 compiles OK now (Portage 2.0.43 (default-x86-1.4, gcc-3.2,
glibc-2.3.1-r2). Thanks.

-- Arno.