Bug 147267

Summary: Inventor SRPM fails on AMD64
Product: [Fedora] Fedora Reporter: Andy Loening <loening>
Component: InventorAssignee: Ralf Corsepius <rc040203>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: bugs.michael, fedora
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-16 18:55:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
A new spec file for the Inventor package
none
spec diff none

Description Andy Loening 2005-02-05 20:40:42 UTC
The Inventor SRPM fails to build on the AMD64 architecture.  A
modified .spec file is included to get Inventor to build correctly.

Comment 1 Andy Loening 2005-02-05 20:42:01 UTC
Created attachment 110694 [details]
A new spec file for the Inventor package

Comment 2 Thorsten Leemhuis 2005-02-07 10:39:44 UTC
Ralf, I can confirm that Inventor builds on x86_64 with the spec in attachment
(id=110694).

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.

Comment 3 Ralf Corsepius 2005-02-07 11:00:13 UTC
(In reply to comment #2)
> Ralf, I can confirm that Inventor builds on x86_64 with the spec in attachment
> (id=110694) [edit].
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 :-(

Comment 4 Michael Schwendt 2005-02-07 11:27:22 UTC
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.

Comment 5 Ralf Corsepius 2005-02-07 11:38:37 UTC
(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.

Comment 6 Michael Schwendt 2005-02-07 11:50:33 UTC
Created attachment 110714 [details]
spec diff

I referred to the spec diff only.

Comment 7 Thorsten Leemhuis 2005-02-10 15:14:32 UTC
Ralf, what do you think on the spec-file-patch -- is it okay with you
if we push it?

Comment 8 Thorsten Leemhuis 2005-02-16 18:48:35 UTC
Commited to CVS, will request build later. Ralf, Andy, can you close this bug?
Thanks.