Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560818 - dev-util/catalyst-2.0.18-r1: Add support for subarch power8
Summary: dev-util/catalyst-2.0.18-r1: Add support for subarch power8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-19 08:35 UTC by Leno Hou
Modified: 2015-09-23 05:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add support for ppc64le (1-ppc64le-for-power8.patch,944 bytes, patch)
2015-09-19 08:42 UTC, Leno Hou
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leno Hou 2015-09-19 08:35:30 UTC
!!! 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
Comment 1 Leno Hou 2015-09-19 08:42:47 UTC
Created attachment 412250 [details, diff]
Add support for ppc64le
Comment 2 Leno Hou 2015-09-19 08:44:25 UTC
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
Comment 3 SpanKY gentoo-dev 2015-09-20 18:27:04 UTC
the catalyst repo is here:
https://gitweb.gentoo.org/proj/catalyst.git/

and patches can be sent here:
gentoo-catalyst@lists.gentoo.org
Comment 4 Leno Hou 2015-09-21 12:46:04 UTC
Done, please review and comments :-)