!!! catalyst: Unknown build machine type ppc64le Reproducible: Always Steps to Reproduce: 1. Make ppc64le seed for catalyst 2. Compress seed as gentoo0912.tar.bz2 3. cp gentoo0912.tar.bz to /var/tmp/catalyst/builds/default 4. #catalyst -s 2015.09 4. write stage1ppc64le.spec 5 #catalyst -f stage1ppc64le.spec Actual Results: Catalyst, version 2.0.18 Copyright 2003-2008 Gentoo Foundation Copyright 2008-2012 various authors Distributed under the GNU General Public License version 2.1 Using default Catalyst configuration file, /etc/catalyst/catalyst.conf Setting sharedir to config file value "/usr/lib64/catalyst" Setting snapshot_cache to config file value "/var/tmp/catalyst/snapshot_cache" Setting hash_function to config file value "crc32" Setting storedir to config file value "/var/tmp/catalyst" Setting portdir to config file value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "autoresume bindist kerncache pkgcache seedcache snapcache" Autoresuming support enabled. Binary redistribution enabled Kernel cache support enabled. Package cache support enabled. Seed cache support enabled. Snapshot cache support enabled. Envscript support enabled. !!! catalyst: Unknown build machine type ppc64le Traceback (most recent call last): File "/usr/lib64/catalyst/catalyst", line 216, in build_target mytarget=targetmap[addlargs["target"]](conf_values, addlargs) File "modules/stage1_target.py", line 16, in __init__ generic_stage_target.__init__(self,spec,addlargs) File "modules/generic_stage_target.py", line 96, in __init__ raise CatalystError, "Unknown build machine type "+buildmachine CatalystError !!! catalyst: Error encountered during run of target stage1 Catalyst aborting.... root@p006vm32:/usr/lib64/catalyst/arch# Expected Results: Setting portdir to config file value "/usr/portage" Setting distdir to config file value "/usr/portage/distfiles" Setting options to config file value "autoresume bindist kerncache pkgcache seedcache snapcache" Autoresuming support enabled. Binary redistribution enabled Kernel cache support enabled. Package cache support enabled. Seed cache support enabled. Snapshot cache support enabled. Envscript support enabled. Using target: stage2 Building natively for powerpc Source path set to /var/tmp/catalyst/tmp/default/stage1-power8-2015.9/tmp/stage1root/ If this is not desired, remove this directory or turn of seedcache in the options of catalyst.conf the source path will then be /var/tmp/catalyst/builds/default/gentoo0912.tar.bz2 Caching snapshot to /var/tmp/catalyst/snapshot_cache/2015.09/ The autoresume path is /var/tmp/catalyst/tmp/default/.autoresume-stage1-power8-2015.9/ Resume point detected, skipping target path setup operation... Location of the package cache is /var/tmp/catalyst/packages/default/stage1-power8-2015.9/ Location of the kerncache is /var/tmp/catalyst/kerncache/default/stage1-power8-2015.9/ Checking for processes running in chroot and killing them. --- Running action sequence: unpack
Created attachment 412250 [details, diff] Add support for ppc64le
content of stage1ppc64le.spec: subarch: power8 version_stamp: 2015.9 target: stage1 rel_type: default profile: default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian snapshot: 2015.09 source_subpath: default/gentoo0912
the catalyst repo is here: https://gitweb.gentoo.org/proj/catalyst.git/ and patches can be sent here: gentoo-catalyst@lists.gentoo.org
Done, please review and comments :-)