Hi, I just tied to build the netboot target on ppc64, but it fails: # catalyst2 -f netboot.spec Gentoo Catalyst, version 2.0_rc38 Copyright 2003-2005 The Gentoo Foundation Distributed under the GNU General Public License version 2 Using default Catalyst configuration file, /etc/catalyst2/catalyst2.conf Setting sharedir to config file value "/usr/lib/catalyst2" Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache" Setting hash_function to config file value "md5" Setting storedir to config file value "/var/tmp/catalyst2" Setting portdir to default value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "autoresume ccache kerncache pkgcache seedcache snapcache" Compiler cache support enabled. Package cache support enabled. Snapshot cache support enabled. Seed cache support enabled. Kernel cache support enabled. Autoresuming support enabled. Using target: netboot Building natively for ppc64 netboot root path is /tmp/image Source path set to /var/tmp/catalyst2/builds/default/stage3-ppc64-64ul-2005.1-r1.tar.bz2 Caching snapshot to /var/tmp/catalyst2/snapshot_cache/20060216/ The autoresume path is /var/tmp/catalyst2/tmp/default/.autoresume-netboot-ppc64-pseries-20060216/ Location of the package cache is /var/tmp/catalyst2/packages/default/netboot-ppc64-pseries-20060216/ Location of the kerncache is /var/tmp/catalyst2/kerncache/default/netboot-ppc64-pseries-20060216/ Catalyst aborting.... Traceback (most recent call last): File "/usr/bin/catalyst2", line 380, in ? build_target(addlargs, targetmap) File "/usr/bin/catalyst2", line 196, in build_target mytarget=targetmap[addlargs["target"]](conf_values, addlargs) File "/usr/lib/catalyst2/modules/netboot_target.py", line 43, in __init__ self.set_build_kernel_vars(addlargs) TypeError: set_build_kernel_vars() takes exactly 1 argument (2 given) # This is my netboot.spec (very first try): subarch: ppc64 version_stamp: pseries-20060216 target: netboot rel_type: default profile: default-linux/ppc/2006.0/ppc64/64bit-userland snapshot: 20060216 source_subpath: default/stage3-ppc64-64ul-2005.1-r1 netboot/kernel/sources: gentoo-sources netboot/kernel/config: /root/pseries-kernel.config netboot/packages: util-linux e2fsprogs jfsutils xfsprogs reiserfsprogs nano vim rsync wget
Sorry that this has taken so long to get to... What if you try without kerncache enabled?
I'm getting the same error (this is a fresh snapshot as of 20060505 and catalyst2.0_rc45: # catalyst2 -f netboot.spec Gentoo Catalyst, version 2.0_rc45 Copyright 2003-2005 The Gentoo Foundation Distributed under the GNU General Public License version 2 Using default Catalyst configuration file, /etc/catalyst2/catalyst2.conf Setting sharedir to config file value "/usr/lib/catalyst2" Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache" Setting hash_function to config file value "crc32" Setting storedir to config file value "/var/tmp/catalyst2" Setting portdir to default value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "autoresume ccache pkgcache seedcache snapcache" Compiler cache support enabled. Package cache support enabled. Snapshot cache support enabled. Seed cache support enabled. Autoresuming support enabled. Using target: netboot Building natively for ppc64 netboot root path is /tmp/image Source path set to /var/tmp/catalyst2/builds/default/stage3-ppc64-2006.0-64ul.tar.bz2 Caching snapshot to /var/tmp/catalyst2/snapshot_cache/20060505/ The autoresume path is /var/tmp/catalyst2/tmp/default/.autoresume-netboot-ppc64-pseries-20060216/ Location of the package cache is /var/tmp/catalyst2/packages/default/netboot-ppc64-pseries-20060216/ Catalyst aborting.... Traceback (most recent call last): File "/usr/bin/catalyst2", line 380, in ? build_target(addlargs, targetmap) File "/usr/bin/catalyst2", line 196, in build_target mytarget=targetmap[addlargs["target"]](conf_values, addlargs) File "/usr/lib/catalyst2/modules/netboot_target.py", line 43, in __init__ self.set_build_kernel_vars(addlargs) TypeError: set_build_kernel_vars() takes exactly 1 argument (2 given)
Idem, on x86 arch. shandril ~ # catalyst2 -f netboot_template.spec Gentoo Catalyst, version 2.0_rc47 Copyright 2003-2005 The Gentoo Foundation Distributed under the GNU General Public License version 2 Using default Catalyst configuration file, /etc/catalyst2/catalyst2.conf Setting sharedir to config file value "/usr/lib/catalyst2" Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache" Setting hash_function to config file value "crc32" Setting storedir to config file value "/var/tmp/catalyst2" Setting portdir to default value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "autoresume ccache kerncache pkgcache seedcache snapcache" Compiler cache support enabled. Package cache support enabled. Snapshot cache support enabled. Seed cache support enabled. Kernel cache support enabled. Autoresuming support enabled. Using target: netboot Building natively for x86 netboot root path is /tmp/image Source path set to /var/tmp/catalyst2/builds/stage3-x86-2006.0+20060614-0.tar.bz2 Caching snapshot to /var/tmp/catalyst2/snapshot_cache/ghsi2/ The autoresume path is /var/tmp/catalyst2/tmp/default/.autoresume-netboot-i386-1.0beta1/ Location of the package cache is /var/tmp/catalyst2/packages/default/netboot-i386-1.0beta1/ Location of the kerncache is /var/tmp/catalyst2/kerncache/default/netboot-i386-1.0beta1/ Catalyst aborting.... Traceback (most recent call last): File "/usr/bin/catalyst2", line 380, in ? build_target(addlargs, targetmap) File "/usr/bin/catalyst2", line 196, in build_target mytarget=targetmap[addlargs["target"]](conf_values, addlargs) File "/usr/lib/catalyst2/modules/netboot_target.py", line 43, in __init__ self.set_build_kernel_vars(addlargs) TypeError: set_build_kernel_vars() takes exactly 1 argument (2 given) ------------- shandril ~ # cat netboot_template.spec subarch:i386 version_stamp: 1.0beta1 target: netboot rel_type: default profile: default-linux/x86/2006.0 snapshot:ghsi2 source_subpath:stage3-x86-2006.0+20060614-0 netboot/kernel/sources:gentoo-sources netboot/kernel/config:/usr/share/gmk/ghsi2/conf/k26-config
Created attachment 102612 [details, diff] fix set_build_kernel_vars didn't take arguements in modules/generic_stage_target.py
it's fixed in catalyst 2.0
closing