Red Hat Bugzilla – Bug 147267
Inventor SRPM fails on AMD64
Last modified: 2007-11-30 17:10:59 EST
The Inventor SRPM fails to build on the AMD64 architecture. A
modified .spec file is included to get Inventor to build correctly.
Created attachment 110694 [details]
A new spec file for the Inventor package
Ralf, I can confirm that Inventor builds on x86_64 with the spec in attachment
Andy, just FYI: Next time please attach a diff for the spec file and not the
whole new spec file -- then it's way easier to see what you changed. And also
add a changelog entry next time.
(In reply to comment #2)
> Ralf, I can confirm that Inventor builds on x86_64 with the spec in attachment
> (id=110694) .
Well, you know, I suspect multilibs in Rh's x86_64 to be broken, so all this
*.spec changes probably means playing with symptoms.
Unfortunately, I don't have access to x86_64 systems, so identifying and
verifying such bugs is hardly possible for me. I think I am going to ask on
fedora-devel@ and may-be on gcc@.
> Andy, just FYI: Next time please attach a diff for the spec file and not the
> whole new spec file -- then it's way easier to see what you changed. And also
> add a changelog entry next time.
Exactly, this would have helped tremendously. Now, I'll have to find a timeslot
and have to check the diff myself :-(
Theoretically, the fix is correct. %_libdir expands to /usr/lib64 on x86_64 and
%_lib to lib64. So far, I'm not much of a fan of publishing untested x86_64
builds, but since all packages were rebuilt, we seem to use that as a Rawhide
kind of start for that platform. 99% of the released x86_64 Fedora Extras
packages are untested mass-rebuilds and would benefit from x86_64 specific
maintainers. In case Inventor fails horribly, e.g. in the demos/examples, it
better be ExcludeArch x86_64.
(In reply to comment #4)
> Theoretically, the fix is correct. %_libdir expands to /usr/lib64 on x86_64
> and %_lib to lib64
Theoretically gcc -m64 -L/usr/X11R6/lib should expand to
gcc -m64 -L/usr/X11R6/lib/../lib64
This is how multilibs work on all platforms but x86_64-redhat.
Created attachment 110714 [details]
I referred to the spec diff only.
Ralf, what do you think on the spec-file-patch -- is it okay with you
if we push it?
Commited to CVS, will request build later. Ralf, Andy, can you close this bug?