First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45813
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Darren Hodges <hodglim@hodglim.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
sarien-0.7.0.ebuild sarien-0.7.0.ebuild text/plain Darren Hodges 2004-03-26 08:45 0000 912 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-03-26 08:43 0000
Submitting an ebuild for the sarien-0.7.0 AGI game engine

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Darren Hodges 2004-03-26 08:45:15 0000 -------
Created an attachment (id=28067) [edit]
ebuild

------- Comment #2 From Mr. Bones. 2004-03-27 02:23:27 0000 -------
games-engines/sarien added to CVS.  thanks for the bug report and ebuild.

------- Comment #3 From Darren Hodges 2004-03-29 01:53:30 0000 -------
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 From Mr. Bones. 2004-03-29 02:13:59 0000 -------
Try it with MAKEOPTS="-j1"

------- Comment #5 From Darren Hodges 2004-03-29 03:12:13 0000 -------
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 From Mr. Bones. 2004-03-29 19:38:09 0000 -------
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.

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