Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133013 - Problem when compiling games-strategy/warzone2100
Summary: Problem when compiling games-strategy/warzone2100
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: 2006-05-11 06:02 UTC by Gernot Kohlhaas
Modified: 2006-07-20 14:59 UTC (History)
2 users (show)

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


Attachments
An edited ebuild (warzone2100-0.2.2-r1.ebuild,1.57 KB, application/octet-stream)
2006-05-11 06:04 UTC, Gernot Kohlhaas
Details
Patch for src/Makefile.in (Makefile1.patch,357 bytes, patch)
2006-05-11 06:05 UTC, Gernot Kohlhaas
Details | Diff
Patch for src/Makefile.am (Makefile2.patch,320 bytes, patch)
2006-05-11 06:05 UTC, Gernot Kohlhaas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gernot Kohlhaas 2006-05-11 06:02:37 UTC
I ran into a problem when compiling games-strategy/warzone2100.
When it tries to compile the subdirectory src/, it fails with the message that it cannot find the file '"' (just a quotation-mark).

I took a look into the src/Makefile and found the error:
It tries to get the version of warzone2100 with "svnversion ..".
But this fails and so "exported" is returned and this value is causing this error.
I had to replace the line
$SVN_REV := $(shell svnversion ..)
with
$SVN_REV := 2.2.0
and now it compiles fine.
I created patch-files for src/Makefile.in and src/Makefile.am

I'll post them now - together with an edited ebuild.
Comment 1 Gernot Kohlhaas 2006-05-11 06:04:32 UTC
Created attachment 86607 [details]
An edited ebuild
Comment 2 Gernot Kohlhaas 2006-05-11 06:05:12 UTC
Created attachment 86608 [details, diff]
Patch for src/Makefile.in
Comment 3 Gernot Kohlhaas 2006-05-11 06:05:29 UTC
Created attachment 86609 [details, diff]
Patch for src/Makefile.am
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-11 08:35:23 UTC
I was just about to say that I had no problems building this until I realized that I also have subversion installed.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-07-20 14:59:15 UTC
latest version should work.  open a new bug if there's any issues.