Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925191 - app-admin/mkosi: stabilise for amd64
Summary: app-admin/mkosi: stabilise for amd64
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: pmn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-21 16:41 UTC by pmn
Modified: 2024-06-14 14:53 UTC (History)
5 users (show)

See Also:
Package list:
app-admin/mkosi-20.2-r1 amd64
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pmn 2024-02-21 16:41:40 UTC
Stabilise app-admin/mkosi for amd64


Reproducible: Always
Comment 1 pmn 2024-02-21 16:43:20 UTC
fix is waiting for after https://github.com/gentoo/gentoo/pull/35470 is merged.
Comment 2 Eli Schwartz gentoo-dev 2024-02-26 01:14:09 UTC
You should set the package list manually and wait for nattka to sanity check it, then CC arches via the CC-ARCHES keyword.

Especially if you're waiting for after a fix is merged, it seems premature to CC arches for something that isn't yet ready.

Can you specify which version you are trying to stabilize?
Comment 3 Nick Owens 2024-04-05 06:26:33 UTC
hi, any update on this? i've tried 20.2-r1 and can't build anything with mostly default arguments (my first time trying to use it, sorry). i have rpm installed,  but it seems mkosi does something weird to block distfiles.gentoo.org and there's no ebuild for apt-get AFAICT.


$ mkosi; mkosi -d debian; mkosi -d fedora
‣ Building default image
ERROR:root:code for hash blake2b was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2b
ERROR:root:code for hash blake2s was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2s
‣  Installing Gentoo
‣   Fetching latest stage3 snapshot
#=#=#                                                                          
##O#-#                                                                         
##O=#  #                                                                       
curl: (6) Could not resolve host: distfiles.gentoo.org

‣ "curl -L --progress-bar -o /var/tmp/mkosi-workspaceko79ypnp/cache/stage3.tar https://distfiles.gentoo.org/releases/amd64/autobuilds/20240317T170433Z/stage3-amd64-llvm-systemd-mergedusr-20240317T170433Z.tar.xz" returned non-zero exit code 6.
‣ Building default image
ERROR:root:code for hash blake2b was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2b
ERROR:root:code for hash blake2s was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2s
‣  Installing Debian
env: ‘apt-get’: No such file or directory
‣ "env APT_CONFIG=/var/tmp/mkosi-workspaceqff96q72/apt.conf DEBIAN_FRONTEND=noninteractive DEBCONF_INTERACTIVE_SEEN=true INITRD=No apt-get -o APT::Architecture=amd64 -o APT::Architectures=amd64 -o APT::Install-Recommends=false -o APT::Immediate-Configure=off -o APT::Get::Assume-Yes=true -o APT::Get::AutomaticRemove=true -o APT::Get::Allow-Change-Held-Packages=true -o APT::Get::Allow-Remove-Essential=true -o APT::Sandbox::User=root -o Dir::Cache=/var/cache/apt -o Dir::State=/var/lib/apt -o Dir::State::Status=/var/tmp/mkosi-workspaceqff96q72/root/var/lib/dpkg/status -o Dir::Log=/var/tmp/mkosi-workspaceqff96q72 -o Dir::Bin::DPkg=/usr/bin/dpkg -o Debug::NoLocking=true -o DPkg::Options::=--root=/var/tmp/mkosi-workspaceqff96q72/root -o DPkg::Options::=--force-unsafe-io -o DPkg::Options::=--force-architecture -o DPkg::Options::=--force-depends -o DPkg::Options::=--no-debsig -o DPkg::Use-Pty=false -o DPkg::Install::Recursive::Minimum=1000 -o pkgCacheGen::ForceEssential=, update" returned non-zero exit code 127.
‣ Building default image
ERROR:root:code for hash blake2b was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2b
ERROR:root:code for hash blake2s was not found.
Traceback (most recent call last):
  File "/usr/lib/python3.11/hashlib.py", line 307, in <module>
    globals()[__func_name] = __get_hash(__func_name)
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 129, in __get_openssl_constructor
    return __get_builtin_constructor(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/hashlib.py", line 123, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2s
rpm: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
‣ "rpm --eval '%{__plugindir}'" returned non-zero exit code 127.
Comment 4 pmn 2024-06-14 14:45:12 UTC
(In reply to Nick Owens from comment #3)
upstream has removed gentoo without contacting me (i am the author of the gentoo module).

i'm working on revivive it (will be creating a PR soon); you can test the latest from [1].

[1]: https://github.com/257/mkosi/tree/gentoo
Comment 5 pmn 2024-06-14 14:53:53 UTC
(In reply to pmn from comment #4)
> (In reply to Nick Owens from comment #3)
> upstream has removed gentoo without contacting me (i am the author of the
> gentoo module).
> 
> i'm working on revivive it (will be creating a PR soon); you can test the
> latest from [1].
> 
> [1]: https://github.com/257/mkosi/tree/gentoo

moved eveything to main (for CIs):

[1] https://github.com/257/mkosi