Summary: | dev-util/catalyst-2.0_rc45 won't build netboot target on ppc64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | Current packages | Assignee: | Gentoo Catalyst Developers <catalyst> |
Status: | VERIFIED FIXED | ||
Severity: | enhancement | CC: | ppc64, stephane.gautier |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | fix |
Description
Markus Rothe (RETIRED)
2006-02-16 14:22:23 UTC
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 |