Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45813 - Sierra AGI resource interpreter engine
Summary: Sierra AGI resource interpreter engine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://sarien.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 08:43 UTC by Darren Hodges
Modified: 2004-03-29 19:38 UTC (History)
0 users

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


Attachments
sarien-0.7.0.ebuild (sarien-0.7.0.ebuild,912 bytes, text/plain)
2004-03-26 08:45 UTC, Darren Hodges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hodges 2004-03-26 08:43:04 UTC
Submitting an ebuild for the sarien-0.7.0 AGI game engine

Reproducible: Always
Steps to Reproduce:
Comment 1 Darren Hodges 2004-03-26 08:45:15 UTC
Created attachment 28067 [details]
sarien-0.7.0.ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-03-27 02:23:27 UTC
games-engines/sarien added to CVS.  thanks for the bug report and ebuild.
Comment 3 Darren Hodges 2004-03-29 01:53:30 UTC
Thanks for adding the ebuild to the CVS, I seem to be having a problem installing it however.

When I tried installing this morning, compilation failed with a large list of "undefined references".

main.o(.text+0x7e): In function `main':
: undefined reference to `init_video'
main.o(.text+0xc5): In function `main':
: undefined reference to `report'
main.o(.text+0xca): In function `main':
: undefined reference to `console_init'
main.o(.text+0xd6): In function `main':
: undefined reference to `report'
main.o(.text+0x121): In function `main':
: undefined reference to `report'

<snip>

dobin: making bin/sarien executable...
install: cannot stat `bin/sarien': No such file or directory


However, switching to the work directory and manually running make created the binary successfully.

> cd /var/tmp/portage/sarien-0.7.0/work/sarien-0.7.0
> make
> ls bin/

total 172K
-rw-r--r--    1 root     root          171 Sep  2  2001 Makefile
-rwxr-xr-x    1 root     root         157K Mar 29 10:44 sarien*
-rw-r--r--    1 root     root         2.7K Sep  2  2001 sarien.ico
-rwxr-xr-x    1 root     root          379 Sep  2  2001 sarien.info*

I couldn't see how make was being called in your updated ebuild, any ideas on what could be causing compile to fail?
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-03-29 02:13:59 UTC
Try it with MAKEOPTS="-j1"
Comment 5 Darren Hodges 2004-03-29 03:12:13 UTC
Excellent, that fixed the compilation issues. Thank you.

But may I ask why that change was necessary? I have not experienced any problems compiling any other ebuilds.

It would be a pain if all users had to update their make.conf file just for this ebuild.

Thanks for your help!
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-03-29 19:38:09 UTC
The problem is caused by buggy makefiles that don't properly list dependencies
within the build.  I've put a work around into CVS so this shouldn't be a problem
for anyone else.  Thanks for reporting it.