Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259235 - compile bug: searchandrescue-0.8.2 string.cpp:6: error: previous declaration of 'char* tzname [2]' with 'C++' linkage
Summary: compile bug: searchandrescue-0.8.2 string.cpp:6: error: previous declaration ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 16:42 UTC by Doug Ausmus
Modified: 2009-02-16 22:28 UTC (History)
0 users

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


Attachments
build environment file /var/tmp/portage/games-simulation/searchandrescue-0.8.2/temp/environment (environment,91.00 KB, text/plain)
2009-02-16 16:51 UTC, Doug Ausmus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Ausmus 2009-02-16 16:42:49 UTC
string.cpp:6: error: previous declaration of 'char* tzname [2]' with 'C++' linkage
/usr/include/time.h:282: error: conflicts with new declaration with 'C' linkage
make[1]: *** [string.o] Error 1
make: *** [all] Error 2
 *
 * ERROR: games-simulation/searchandrescue-0.8.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2440:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *  The die message:
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1.emerge -v searchandrescue
2.
3.

Actual Results:  
cut-n-paste from tail of log:
...
Compiling module fio.o
Compiling module gww.o
Compiling module string.o
string.cpp:6: error: previous declaration of 'char* tzname [2]' with 'C++' linkage
/usr/include/time.h:282: error: conflicts with new declaration with 'C' linkage
make[1]: *** [string.o] Error 1
make: *** [all] Error 2
 *
 * ERROR: games-simulation/searchandrescue-0.8.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2440:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *  The die message:
 *   emake failed
...
Comment 1 Doug Ausmus 2009-02-16 16:51:32 UTC
Created attachment 182243 [details]
build environment file /var/tmp/portage/games-simulation/searchandrescue-0.8.2/temp/environment
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2009-02-16 18:48:53 UTC
Does searchandrescue-0.8.2-r1 fail in the same way?
Comment 3 Doug Ausmus 2009-02-16 22:02:48 UTC
I just tried the ~86 searchandrescue-0.8.2-r1 version and it does not fail in this manner. Question: Is -r1 near stable release? -Thanks
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2009-02-16 22:28:37 UTC
It'll be marked stable by the arch teams at their leisure.