I have successfully installed compute node. I am trying to add a kit for sun gride engine(sge).
I have a the tarball sge-6.0u7_1-bin-lx24-x86 as the source for sge. Following is the structure of my build.kit file
----------------------------------------------------------------------------------------------------------------------------
# build.kit template
# Define your packages here by using a correct packageprofile class.
# Available types are SourcePackage(), RPMPackage(), SRPMPackage(),
# DistroPackage(), BinaryPackage()
pkg1 = SourcePackage()
pkg1.name = 'sge'
pkg1.version = '6.0'
pkg1.release = '1'
pkg1.installroot = '/opt/sge'
pkg1.filename = 'sge-6.0u7_1-bin-lx24-x86.tar.gz'
# define a default component
comp = DefaultComponent()
comp.name = 'master_sge'
comp.description = 'sge component for CentOS 5.'
comp.ngtypes = ['installer']
# Add any packages defined earlier by using the comp.addDep method
comp.addDep(pkg1)
# define a default kit
k = DefaultKit()
k.name = 'sge kit'
k.description = 'sge kit.'
k.arch = 'x86'
# Adding the component defined earlier
k.addComponent(comp)
# Add post install script. You can modify this shell script or add new ones in the
# sources directory
k.addScript('00-post-script.sh',mode='post')
# Add post uninstall script. You can modify this shell script or add new ones in the
# sources directory
k.addScript('00-postun-script.sh',mode='postun')
----------------------------------------------------------------------------------------------------------------------------
i have added the tarbal in the /sources directory.
when i run the command
buildkit make kit=sge
i get the following error:
-----------------------------------------------------------------------------------------------------------------------------------------
[root@alexander205 kits]# buildkit make kit=sge
Verifying the Kit Source directory found in /depot/kits/sge..
Setting up BuildProfile for this kit..
Setting up a proper .rpmmacros for building this kit
Looking for the kitscript build.kit..
Found kitscript. Loading it..
Building the package(s)..
Traceback (most recent call last):
File "/opt/kusu/bin/buildkit", line 471, in ?
app.run()
File "/opt/kusu/bin/buildkit", line 195, in run
handler(self.actionargs)
File "/opt/kusu/bin/buildkit", line 342, 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 288, in configure
return self.wrapper.configure(**kwargs)
File "/opt/kusu/lib/python/kusu/buildkit/builder.py", line 408, in configure
configP = subprocess.Popen(cmd,shell=True,cwd=self.buildsrc)
File "/usr/lib/python2.4/subprocess.py", line 542, in __init__
errread, errwrite)
File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: '/depot/kits/sge/tmp/sge-6.0u7_1-bin-lx24-x86'
-----------------------------------------------------------------------------------------------------------------------------
can someone help?


LinkBack URL
About LinkBacks
Reply With Quote

