public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] bug when building netboot
@ 2006-07-10 13:06 Ian P. Christian
  2006-07-10 13:39 ` Andrew Gaffney
  0 siblings, 1 reply; 2+ messages in thread
From: Ian P. Christian @ 2006-07-10 13:06 UTC (permalink / raw
  To: gentoo-catalyst

[-- Attachment #1: Type: text/plain, Size: 3049 bytes --]

It's quite probable my spec file is nonsence, but even in these cases I would 
expect an error message rather then a backtrace.

spec file: http://pookey.co.uk/temp/test.spec

# catalyst2 -f ./test.spec
Gentoo Catalyst, version 2.0_rc49
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.

        WARNING: No value set for key netboot/base_tarball...deleting

        WARNING: No value set for key 
netboot/packages/reiserfsprogs/files...deleting

        WARNING: No value set for key pkgcache_path...deleting

        WARNING: No value set for key kerncache_path...deleting

        WARNING: No value set for key 
netboot/packages/e2fsprogs/files...deleting

        WARNING: No value set for key portage_confdir...deleting

        WARNING: No value set for key 
netboot/packages/xfsprogs/files...deleting

        WARNING: No value set for key netboot/use...deleting

        WARNING: No value set for key netboot/kernel/use...deleting

        WARNING: No value set for key netboot/extra_files...deleting

        WARNING: No value set for key 
netboot/packages/raidtools/files...deleting

        WARNING: No value set for key portage_overlay...deleting

        WARNING: No value set for key netboot/busybox_config...deleting
Using target: netboot
Building natively for x86
netboot root path is /tmp/image
Source path set to /var/tmp/catalyst2/builds/stage3-i686-2006.0.tar.bz2
Caching snapshot to /var/tmp/catalyst2/snapshot_cache/20060710/
The autoresume path 
is /var/tmp/catalyst2/tmp/default/.autoresume-netboot-i686-20060710/
Location of the package cache 
is /var/tmp/catalyst2/packages/default/netboot-i686-20060710/
Location of the kerncache 
is /var/tmp/catalyst2/kerncache/default/netboot-i686-20060710/
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)

-- 
Ian P. Christian
http://pookey.co.uk

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-catalyst] bug when building netboot
  2006-07-10 13:06 [gentoo-catalyst] bug when building netboot Ian P. Christian
@ 2006-07-10 13:39 ` Andrew Gaffney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Gaffney @ 2006-07-10 13:39 UTC (permalink / raw
  To: gentoo-catalyst

Ian P. Christian wrote:
> It's quite probable my spec file is nonsence, but even in these cases I would 
> expect an error message rather then a backtrace.
> 
> spec file: http://pookey.co.uk/temp/test.spec

While your spec file really shouldn't have keys with empty values, that is 
unrelated. The netboot target is in desperate need of repair. It's been 
neglected for a long time. Patches are welcome.

-- 
Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
Gentoo Linux Developer                                   Installer Project

-- 
gentoo-catalyst@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-10 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-10 13:06 [gentoo-catalyst] bug when building netboot Ian P. Christian
2006-07-10 13:39 ` Andrew Gaffney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox