Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635376 - dev-util/catalyst-9999
Summary: dev-util/catalyst-9999
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-24 22:38 UTC by Michael Lawrence
Modified: 2018-01-10 18:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Lawrence 2017-10-24 22:38:11 UTC
host debian 9 AMR64 2 GIG
/chroot arm64 gentoo stage 4 


[IP-] [ -] dev-util/catalyst-9999:0
51 catalyst # cls
51 catalyst # ./cat
bash: ./cat: No such file or directory
51 catalyst # ls
catalisto.sh   iso               package.use          stage2.spec          stage4-cloud.spec
cloud          overlay           root_overlay         stage2-systemd.spec  stage4-systemd.spec
cloud-prep.sh  package.keywords  stage1.spec          stage3.spec          viewtopic-t-585185-start-0-postdays-0-postorder-asc-highlight-.html
index.html     package.mask      stage2-desktop.spec  stage3-systemd.spec  yank-stage3
51 catalyst # ./cat*
24/10/2017 17:29:54
24 Oct 2017 17:29:55 CDT: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
24 Oct 2017 17:29:55 CDT: ERROR   : CatalystError: Syntax error: 2
NoneType: None
24 Oct 2017 17:29:55 CDT: CRITICAL: Could not parse commandline
24 Oct 2017 17:29:56 CDT: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
24 Oct 2017 17:29:56 CDT: NOTICE  : Processing spec file: stage1.spec
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/catalyst", line 37, in <module>
    main(sys.argv[1:])
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 277, in main
    return _main(parser, opts)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 435, in _main
    success = build_target(addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 107, in build_target
    target = getattr(module, target)(conf_values, addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/targets/stage1.py", line 24, in __init__
    StageBase.__init__(self,spec,addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/base/stagebase.py", line 111, in __init__
    if hostmachine in machinemap:
TypeError: unhashable type: 'list'
24 Oct 2017 17:29:58 CDT: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
24 Oct 2017 17:29:58 CDT: NOTICE  : Processing spec file: stage1.spec
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/catalyst", line 37, in <module>
    main(sys.argv[1:])
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 277, in main
    return _main(parser, opts)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 435, in _main
    success = build_target(addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 107, in build_target
    target = getattr(module, target)(conf_values, addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/targets/stage1.py", line 24, in __init__
    StageBase.__init__(self,spec,addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/base/stagebase.py", line 111, in __init__
    if hostmachine in machinemap:
TypeError: unhashable type: 'list'
24 Oct 2017 17:29:59 CDT: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
24 Oct 2017 17:29:59 CDT: NOTICE  : Processing spec file: stage1.spec
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/catalyst", line 37, in <module>
    main(sys.argv[1:])
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 277, in main
    return _main(parser, opts)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 435, in _main
    success = build_target(addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 107, in build_target
    target = getattr(module, target)(conf_values, addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/targets/stage1.py", line 24, in __init__
    StageBase.__init__(self,spec,addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/base/stagebase.py", line 111, in __init__
    if hostmachine in machinemap:
TypeError: unhashable type: 'list'
51 catalyst #

51 catalyst # uname -a
Linux 51.15.85.252 4.9.23-std-1 #1 SMP Mon Apr 24 13:18:14 UTC 2017 aarch64 GNU/Linux
51 catalyst # catalyst -f stage1.spec
24 Oct 2017 17:32:21 CDT: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
24 Oct 2017 17:32:22 CDT: NOTICE  : Processing spec file: stage1.spec
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/catalyst", line 37, in <module>
    main(sys.argv[1:])
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 277, in main
    return _main(parser, opts)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 435, in _main
    success = build_target(addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/main.py", line 107, in build_target
    target = getattr(module, target)(conf_values, addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/targets/stage1.py", line 24, in __init__
    StageBase.__init__(self,spec,addlargs)
  File "/usr/lib64/python3.5/site-packages/catalyst/base/stagebase.py", line 111, in __init__
    if hostmachine in machinemap:
TypeError: unhashable type: 'list'
51 catalyst #
Comment 1 Michael Lawrence 2017-10-24 22:53:56 UTC
https://pastebin.com/FQkjZyik hears it "working on first installed 2.x 

however does not see gentoo itself is in chroot... so it fails to make a sandbox... trys to get me to downgrade packages.. 

bowing before the "almighty " devs of gentoo and begging for a gentoo release on https://github.com/scaleway/ as a deployable gentoo image would likely fix the chroot from inside a chroot ... issue..  

however just getting catalyst  ???  with defact'o out of the box configs to run native hardware in no less. 

51 src # ls /usr/portage/dev-util/cata*
catalyst-2.0.18-r1.ebuild  catalyst-2.0.9999.ebuild  catalyst-3.0_rc1.ebuild  files     metadata.xml
catalyst-2.0.18-r4.ebuild  catalyst-2.9999.ebuild    catalyst-9999.ebuild     Manifest
51 src #

18-r1 work-ish but fails to see i'm in chroot as is.. probably a winner ATM if I had not an RPI3-64 gentoo (moved install to server) and bare metal server. 

r4 fails massively ... catalyst-9999.ebuild  yup hears what gives..


stage1  has been an exercise in pain & WOE...

so much for getting a newer-ish stage3-arm64 ...
Comment 2 Ben Kohler gentoo-dev 2018-01-10 18:14:14 UTC
If this is still an issue with today's catalyst-9999, please open a new bug and attach your spec file and catalyst.conf and the full catalyst command you're using.