First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 144100
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ufo2000-0.7.1062.ebuild updated ebuild text/plain Alexander Stein 2006-08-16 10:48 0000 2.36 KB Details
ufo2000-0.7.1062-svnstring.patch patch for string issue patch Alexander Stein 2006-08-16 10:48 0000 495 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 144100 depends on: Show dependency tree
Bug 144100 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-16 04:09 0000
I get an error in the build process, at least (I suppose) on systems where
LANGUAGE is set to German.
When make starts, i get the following error:
g++ -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I
src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exportiert \" -O2 -pipe
-I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO
-DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c
src/bullet.cpp -o obj/bullet.o
g++: ": Datei oder Verzeichnis nicht gefunden

Note the space after exportiert!

If I run the make manually by typing "LANGUAGE=C make" the output is:
g++ -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I
src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -O2 -pipe
-I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO
-DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c
src/bullet.cpp -o obj/bullet.o

Without any error (note there is no space after exported). After digging the
makefile I found, that the error is in this line:
UFO_SVNVERSION := ${shell svnversion .}
But I don't know, what it does and which causes this (translation?) error.
Maybe somebody can dig into this.

------- Comment #1 From Siarhei Siamashka 2006-08-16 09:24:20 0000 -------
This is done in order to get exact revision number when building the game from
SVN working copy. It is unexpected inconvenience that 'exported' is not a
constant identifier but an internationalized string which contains space
character for German and break building process. Looks like the best solution
is to sed 'UFO_SVNVERSION := ${shell svnversion .}' line from ebuild to
explicitly define it to 'exported' or empty string or probably even better to
'0.7.1062-gentoo'. This version number identifier will be shown in the top left
corner in the main menu screen in the game and also reported to the server when
connecting for statistics purpuses. See http://ufo2000.xcomufo.com:2000 client
version information in the table.

------- Comment #2 From Alexander Stein 2006-08-16 10:47:30 0000 -------
Ah, I just didn't know that svnversion is a command itself.
I build a patch to fix the string problem. I edited the ebuild for the patch
and added RESTRICT="test" because I get link error against allegro (which I
have installed).

------- Comment #3 From Alexander Stein 2006-08-16 10:48:26 0000 -------
Created an attachment (id=94406) [details]
updated ebuild

------- Comment #4 From Alexander Stein 2006-08-16 10:48:51 0000 -------
Created an attachment (id=94407) [details]
patch for string issue

------- Comment #5 From Tristan Heaven 2006-11-06 19:55:40 0000 -------
Fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug