when I try to emerge planeshift It compiles a while and then it gives the following error: C++ ./out/linuxx86/updater.o In file included from src/updater/httpclient/updater.cpp:32: src/updater/httpclient/download.h:55: error: syntax error before `*' token g++ -c -o ./out/linuxx86/updater.o -I/opt/crystal/include -D__CRYSTAL_SPACE__ -Wall -Wno-unknown-pragmas -fno-exceptions -mcpu=pentiumpro -march=i686 -O3 -fomit-frame-pointer -ffast-math -I/opt/crystal/include -fexceptions -Isrc/updater/httpclient -I. -I./include -I./src/common -I./src/client -I./src/server src/updater/httpclient/updater.cpp ...failed C++ ./out/linuxx86/updater.o ... C++ ./out/linuxx86/updaterconfig.o ...skipped updater for lack of <src!updater!httpclient>updater.o... ...failed updating 1 target(s)... ...skipped 1 target(s)... ...updated 157 target(s)... !!! ERROR: games-rpg/planeshift-0.2.010-r1 failed. !!! Function src_compile, Line 41, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge -k planeshift Actual Results: It starts to compile the game and after a while I get the errrors described above Expected Results: It should have compiled without an error and build the game successfully I looked into the problem myself and it seems that the directory "curl" is missing from the source tree. Some files from the curl directory get included but they are not found. At least this is what I could make of it.
i have this problem too any new informations about this bug?
reopen with output from emerge --info please.
This is caused by a code error in src/updater/httpclient/download.h, line 22: #include <curl/types.h> This is wrong because type CURL is defined in curl/curl.h but not in curl/types.h. A simple patch sholud solve the problem. If you are the bug owner, please reopen it, as I am neither permitted to reopen nor to mark the bug as verified.
Created attachment 45706 [details, diff] Patch to solve the wrong header inclusion in src/updater/httpclient/download.h, line 22 Small patch as suggested by Carsten Milkau here, in bugzilla, and Ginsu_Squirrel on #gentoo @irc.freenode.net. To use this patch : 1) copy the attached patch to /usr/portage/games-rpg/planeshift/files/planeshift-0.2.010-fix-curl.diff 2) edit /usr/portage/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild and add epatch "${FILESDIR}/${P}-fix-curl.diff" on line 32. Re-emerge planeshift, and this time it will work. (Sorry for the way i posted this patch : not yet familiar with gentoo, i still don't know the way to post patches...)
Comment on attachment 45706 [details, diff] Patch to solve the wrong header inclusion in src/updater/httpclient/download.h, line 22 --- planeshift/src/updater/httpclient/download.h 2004-12-11 01:04:51.728622224 +0100 +++ planeshift/src/updater/httpclient/download.h 2004-12-11 01:05:02.994909488 +0100 @@ -19,7 +19,7 @@ #ifndef __UPDATER_DOWNLOAD_H__ #define __UPDATER_DOWNLOAD_H__ -#include <curl/types.h> +#include <curl/curl.h> #include "error.h" namespace updater
thanx for your help
clean up bug list after bugzilla update