<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>45813</bug_id>
          
          <creation_ts>2004-03-26 08:43 0000</creation_ts>
          <short_desc>Sierra AGI resource interpreter engine</short_desc>
          <delta_ts>2004-03-29 19:38:09 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://sarien.sourceforge.net</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hodglim@hodglim.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hodglim@hodglim.com</who>
            <bug_when>2004-03-26 08:43:04 0000</bug_when>
            <thetext>Submitting an ebuild for the sarien-0.7.0 AGI game engine

Reproducible: Always
Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hodglim@hodglim.com</who>
            <bug_when>2004-03-26 08:45:15 0000</bug_when>
            <thetext>Created an attachment (id=28067)
ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-27 02:23:27 0000</bug_when>
            <thetext>games-engines/sarien added to CVS.  thanks for the bug report and ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hodglim@hodglim.com</who>
            <bug_when>2004-03-29 01:53:30 0000</bug_when>
            <thetext>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 &quot;undefined references&quot;.

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

&lt;snip&gt;

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


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

&gt; cd /var/tmp/portage/sarien-0.7.0/work/sarien-0.7.0
&gt; make
&gt; 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&apos;t see how make was being called in your updated ebuild, any ideas on what could be causing compile to fail?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-29 02:13:59 0000</bug_when>
            <thetext>Try it with MAKEOPTS=&quot;-j1&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hodglim@hodglim.com</who>
            <bug_when>2004-03-29 03:12:13 0000</bug_when>
            <thetext>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!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mr_bones_@gentoo.org</who>
            <bug_when>2004-03-29 19:38:09 0000</bug_when>
            <thetext>The problem is caused by buggy makefiles that don&apos;t properly list dependencies
within the build.  I&apos;ve put a work around into CVS so this shouldn&apos;t be a problem
for anyone else.  Thanks for reporting it.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>28067</attachid>
            <date>2004-03-26 08:45 0000</date>
            <desc>sarien-0.7.0.ebuild</desc>
            <filename>sarien-0.7.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKaW5oZXJpdCBnYW1lcwoKREVTQ1JJUFRJT049IlNpZXJyYSBBR0kgcmVz
b3VyY2UgaW50ZXJwcmV0ZXIgZW5naW5lIgpIT01FUEFHRT0iaHR0cDovL3Nhcmllbi5zb3VyY2Vm
b3JnZS5uZXQvIgpTUkNfVVJJPSJtaXJyb3I6Ly9zb3VyY2Vmb3JnZS9zYXJpZW4vJHtQfS50YXIu
Z3oiCgpLRVlXT1JEUz0ifng4NiIKTElDRU5TRT0iR1BMLTIiClNMT1Q9IjAiCklVU0U9IiIKCnNy
Y191bnBhY2soKQp7Cgl1bnBhY2sgJHtBfQoJY2QgJHtTfQp9CgpzcmNfY29tcGlsZSgpCnsKCWVn
YW1lc2NvbmYgfHwgZGllICJlZ2FtZXNjb25mIGZhaWxlZCIKCW1ha2UKfQoKc3JjX2luc3RhbGwo
KQp7CgkjTm8gaW5zdGFsbCBzY3JpcHQKCWluc2ludG8gIiR7R0FNRVNfQklORElSfSIKCWRvaW5z
ICIke1N9L2Jpbi9zYXJpZW4iIHx8IGRpZSAiZG9pbnMgZmFpbGVkIChiaW4pIgoJaW5zaW50byAi
L2V0YyIKCW5ld2lucyAiJHtTfS9ldGMvc2FyaWVuLmNmZyIgInNhcmllbi5jb25mIiB8fCBkaWUg
ImRvaW5zIGZhaWxlZCAoZXRjKSIKCWRvZG9jICIke1N9L2RvYy9BVVRIT1JTIiAiJHtTfS9kb2Mv
QlVHUyIgIiR7U30vZG9jL0NPUFlJTkciIFwKCSIke1N9L2RvYy9DaGFuZ2Vsb2ciICIke1N9L2Rv
Yy9SRUFETUUuYWdpIiAiJHtTfS9kb2MvUkVBRE1FLnVuaXgiIFwKCSIke1N9L2RvYy9UT0RPIiAi
JHtTfS9kb2Mvcm9hZG1hcC50eHQiIHx8IGRpZSAiZG9kb2MgZmFpbGVkIgoJcHJlcGFsbGRvY3MK
CXByZXBnYW1lc2RpcnMKfQoKcGtnX3Bvc3RpbnN0KCkKewoJZ2FtZXNfcGtnX3Bvc3RpbnN0Cn0K
</data>        

          </attachment>
    </bug>

</bugzilla>