Bug 146014

Summary: scons failes on x86-64
Product: [Fedora] Fedora Reporter: Thorsten Leemhuis <fedora>
Component: sconsAssignee: GĂ©rard Milmeister <gemi>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-27 15:45:24 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
fixes x86_64 problems, update minor spec-file bit none

Description Thorsten Leemhuis 2005-01-24 18:44:50 UTC
Description of problem:
The libs of scons are placed in /usr/lib64 on x86-64; scons doest not find them
there:

$ scons
Traceback (most recent call last):
  File "/usr/bin/scons", line 143, in ?
    import SCons.Script
ImportError: No module named SCons.Script

Even with exporting SCONS_LIB_DIR it does not work:

$ export SCONS_LIB_DIR=/usr/lib64/scons/
$ scons

scons: *** No SConstruct file found.
File "/usr/lib64/scons/SCons/Script/__init__.py", line 870, in _main

Version-Release number of selected component (if applicable):
scons-0.96-3 from pre-extras

Suggested resolution:
Not really sure. But so there seem to be only python-Files in /usr/lib(64)/scons
-- so why not place them in /usr/lib?

Comment 1 Michael Schwendt 2005-01-24 19:20:15 UTC
Yes, installing into %{_prefix}/lib would be correct, because it is a
noarch package.

Comment 2 Thorsten Leemhuis 2005-01-25 18:12:09 UTC
Created attachment 110208 [details]
fixes x86_64 problems, update minor spec-file bit

Changelog:
- Place libs in {_prefix}/lib/ and not in {libdir}; fixes x86_64 problems
- Adjust minor bits to be in sync with python-spec-template

Michael, what do you suggest: Gerald placing an update package in fedora.us
with this fixes or fix this directly in CVS?

Comment 3 Thorsten Leemhuis 2005-01-27 15:45:24 UTC
Built, published.