<?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>177918</bug_id>
          
          <creation_ts>2007-05-10 13:54 0000</creation_ts>
          <short_desc>dev-games/ogre-1.4.1 version bump</short_desc>
          <delta_ts>2007-05-29 19:37:57 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>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.ogre3d.org/</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>seventhguardian@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>devurandom@gmx.net</cc>

      

      
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-10 13:54:03 0000</bug_when>
            <thetext>ogre-1.4.1 is released. It&apos;s a maintenance release that should correct some of the existing bugs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-10 14:21:13 0000</bug_when>
            <thetext>Using the 1.4.0 ebuild and cegui patch I get a linking error:

.libs/OgreGLRenderSystem.o: In function `Ogre::GLRenderSystem::shutdown()&apos;:
OgreGLRenderSystem.cpp:(.text+0x217b): undefined reference to `Ogre::HighLevelGp
uProgramManager::removeFactory(Ogre::HighLevelGpuProgramFactory*)&apos;
collect2: ld returned 1 exit status
libtool: install: error: relink `RenderSystem_GL.la&apos; with the above command befo
re installing it

Not sure if this is related to the ebuild or just a bug in the code...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>egore@gmx.de</who>
            <bug_when>2007-05-10 18:56:33 0000</bug_when>
            <thetext>I could get it to build using the ogre 1.4.0 ebuild. No linking error here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-10 19:22:46 0000</bug_when>
            <thetext>I&apos;m using gcc-4.1.2, arch is x86_64.

Ogre use flags: cegui cg examples freeimage gtk threads
Cflags: -march=nocona -O3 -pipe

Yours?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>roeland@rullzer.com</who>
            <bug_when>2007-05-10 19:45:34 0000</bug_when>
            <thetext>Renato. You are on amd64. I&apos;m to. I get the same linking error here.. So it must be an amd64 problem. But there is not amd64 keyword so that makes sence.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-10 19:58:09 0000</bug_when>
            <thetext>Yes I suppose..

But 1.4.0 compiles fine under amd64. There was a problem with the library though (it seemed like it was with the Blue Highway font). I hoped that it would be corrected with 1.4.1, but it doesn&apos;t compile.. I&apos;ll try to find the source of the compilation problem.

For now it should be running under 32bit, so it should be put in portage for that arch..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattepiu@gentoo.org</who>
            <bug_when>2007-05-11 08:07:03 0000</bug_when>
            <thetext>Please don&apos;t test just compilation as the freeimage issue is causing segfault
to ANY app/demo/game/example in ogre....
http://www.ogre3d.org/phpBB2/viewtopic.php?p=222212#222212</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-11 12:29:10 0000</bug_when>
            <thetext>The x86_64 compilation problem is caused by the ebuild/portage. It compiled fine by hand.

Not sure what it was, but I suspect it had something to do with -march=nocona. I compared &quot;by eye&quot; the compilation command line for the GL render system and that was the only thing I&apos;ve noticed to be different (apart from the g++/ x86_64-pc-linux-gnu-g++)..

Will do more checks to see..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-11 12:40:57 0000</bug_when>
            <thetext>Created an attachment (id=118866)
The differences between compilation commands

Here&apos;s the difference between portage and &quot;by hand&quot; compilation commands for the GL render system library</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-11 12:42:48 0000</bug_when>
            <thetext>It has nothing to do with -march=nocona.

Now I suspect the culprit is the -lOgreMain directive, as this may link with the previous ogre installation library! This should not be happening I guess..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-11 15:51:17 0000</bug_when>
            <thetext>Ok, unmerging ogre 1.4.0 and emerging 1.4.1 works perfectly.

Somehow something is getting confused by the existing ogre installation. This doesn&apos;t happen when compiling by hand (that is, with &quot;./configure&quot; and &quot;make&quot;).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lazy_bum@o2.pl</who>
            <bug_when>2007-05-12 13:03:19 0000</bug_when>
            <thetext>Created an attachment (id=118996)
ogre-1.4.1.ebuild

ebuild is just a copy of 1.4.0 with added `devil` USE flag. Works fine for me on two different machines.

From the Changelog:
* Allow Linux configure to choose to use DevIL again if wished, to avoid conflicts of FreeImage&apos;s modified image libraries &amp; system libs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seventhguardian@gmail.com</who>
            <bug_when>2007-05-13 12:03:26 0000</bug_when>
            <thetext>No need for DevIL, the bug apparently doesn&apos;t affect gentoo users.

After unmerging ogre-1.4.0, ogre-1.4.1 compiled and linked fine, and my program was able to compile and run perfectly using freeimage.

So it&apos;s ok for the ~x86 and ~amd64 arches I suppose. But the linking problem when 1.4.0 is installed may need to be corrected..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nyhm@gentoo.org</who>
            <bug_when>2007-05-29 19:37:57 0000</bug_when>
            <thetext>thanks</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118866</attachid>
            <date>2007-05-11 12:40 0000</date>
            <desc>The differences between compilation commands</desc>
            <filename>compilation_command.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxhCTIwMDctMDUtMTEgMTM6Mzc6NDMuMDAwMDAwMDAwICswMTAwCisrKyBsYV9lYgkyMDA3
LTA1LTExIDEzOjQwOjU1LjAwMDAwMDAwMCArMDEwMApAQCAtMSw0ICsxLDQgQEAKLWcrKworeDg2
XzY0LXBjLWxpbnV4LWdudS1nKysKIC1zaGFyZWQKIC1ub3N0ZGxpYgogL3Vzci9saWIvZ2NjL3g4
Nl82NC1wYy1saW51eC1nbnUvNC4xLjIvLi4vLi4vLi4vLi4vbGliNjQvY3J0aS5vCkBAIC0zMiwx
NyArMzIsMTggQEAKIC4uLy4uLy4uL1JlbmRlclN5c3RlbXMvR0wvc3JjL252cGFyc2UvLmxpYnMv
bGlibnZwYXJzZS5hCiAuLi8uLi8uLi9SZW5kZXJTeXN0ZW1zL0dML3NyYy9hdGlmcy9zcmMvLmxp
YnMvbGliYXRpZnMuYQogLVdsLC0tbm8td2hvbGUtYXJjaGl2ZQotLVdsLC0tcnBhdGgKLS1XbCwv
aG9tZS9yZW5hdG8vb2dyZW5ldy9PZ3JlTWFpbi9zcmMvLmxpYnMKLS1ML2hvbWUvcmVuYXRvL29n
cmVuZXcvT2dyZU1haW4vc3JjCi0vdXNyL2xpYi9saWJHTFUuc28KKy1ML3Zhci90bXAvcG9ydGFn
ZS9kZXYtZ2FtZXMvb2dyZS0xLjQuMS93b3JrL29ncmVuZXcvT2dyZU1haW4vc3JjCistTC92YXIv
dG1wL3BvcnRhZ2UvZGV2LWdhbWVzL29ncmUtMS40LjEvaW1hZ2UvL3Vzci9saWIKKy1ML3Vzci9s
aWIKKy1sR0xVCiAtTC91c3IvbGliNjQKLS91c3IvbGliNjQvbGliWDExLnNvCi0vdXNyL2xpYjY0
L2xpYlhleHQuc28KLS91c3IvbGliNjQvbGliR0wuc28KLS91c3IvbGliNjQvbGliWHJhbmRyLnNv
Ci0vdXNyL2xpYjY0L2xpYlh4Zjg2dm0uc28KLS9ob21lL3JlbmF0by9vZ3JlbmV3L09ncmVNYWlu
L3NyYy8ubGlicy9saWJPZ3JlTWFpbi5zbworLUwvdmFyL3RtcC9wb3J0YWdlL2Rldi1nYW1lcy9v
Z3JlLTEuNC4xL2ltYWdlLy91c3IvbGliNjQKKy1sWDExCistbFhleHQKKy1sR0wKKy1sWHJhbmRy
CistbFh4Zjg2dm0KKy1sT2dyZU1haW4KIC1sYm9vc3RfdGhyZWFkCiAtbENnCiAtbGZyZWVpbWFn
ZQpAQCAtNjEsNiArNjIsNyBAQAogLWxnY2NfcwogL3Vzci9saWIvZ2NjL3g4Nl82NC1wYy1saW51
eC1nbnUvNC4xLjIvY3J0ZW5kUy5vCiAvdXNyL2xpYi9nY2MveDg2XzY0LXBjLWxpbnV4LWdudS80
LjEuMi8uLi8uLi8uLi8uLi9saWI2NC9jcnRuLm8KKy1tYXJjaD1ub2NvbmEKIC1XbCwtegogLVds
LGRlZnMKIC1XbCwtc29uYW1lCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>118996</attachid>
            <date>2007-05-12 13:03 0000</date>
            <desc>ogre-1.4.1.ebuild</desc>
            <filename>ogre-1.4.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA3IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2Rldi1nYW1lcy9vZ3JlL29ncmUtMS40LjAuZWJ1
aWxkLHYgMS4xIDIwMDcvMDQvMDQgMDE6NDQ6NDkgbnlobS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