-
March 26th, 2010 11:50 PM #1
New SourcePackage kit is failing
I am trying to build a new kit that contains gcc installed in /usr/local/gcc/<version> due to a customer request for two different versions of gcc to be installed on his cluster.
My build.kit file:
pkg1 = SourcePackage()
pkg1.name = 'gcc443'
pkg1.version = '4.4'
pkg1.release = '3'
pkg1.installroot = '/usr/local/gcc'
pkg1.filename = 'gcc-4.4.3-compiled.tar.gz'
# Define a default component
comp = RHEL5Component()
comp.name = 'gcc443'
comp.description = 'gcc443 component for RHEL5.'
# Add any packages defined earlier by using the comp.addDep method
#comp.addDep(pkg1)
# Define a default kit
# Change arch if needed to fit your needs (x86, x86_64, noarch)
k = DefaultKit()
k.name = 'gcc443'
k.description = 'gcc443 kit.'
k.arch = getArch()
# Adding the component defined earlier
k.addComponent(comp
And the error I'm getting:
OSErroTraceback (most recent call last):
File "/opt/kusu/bin/buildkit", line 533, in ?
app.run()
File "/opt/kusu/bin/buildkit", line 198, in run
handler(self.actionargs)
File "/opt/kusu/bin/buildkit", line 378, in _make
self.bkinst.handlePackages(packages,bp)
File "/opt/kusu/lib/python/kusu/buildkit/tool.py", line 97, in handlePackages
p.configure()
File "/opt/kusu/lib/python/kusu/buildkit/builder.py", line 291, in configure
return self.wrapper.configure(**kwargs)
File "/opt/kusu/lib/python/kusu/buildkit/builder.py", line 411, in configure
configP = subprocess.Popen(cmd,shell=True,cwd=self.buildsrc)
File "/usr/lib64/python2.4/subprocess.py", line 542, in __init__
errread, errwrite)
File "/usr/lib64/python2.4/subprocess.py", line 975, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: '/root/gcc443/tmp/gcc-4.4.3-compiled'
Why is it looking for /root/gcc443/tmp/gcc-4.4.3-compiled?
Thanks!
-
March 26th, 2010 11:51 PM #2
One more thing--the tarball package is a tarball of /usr/local/gcc/4.4.3 and all subdirs under it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules