EESSI / compatibility-layer

Compatibility layer of the EESSI project
https://eessi.github.io/docs/compatibility_layer
GNU General Public License v2.0
11 stars 21 forks source link

add python-is-python3 and portage to bootstrap container #174

Closed trz42 closed 1 year ago

trz42 commented 1 year ago

The task to install eselect-repository failed without python-is-python3 and portage.

For the former, see https://unix.stackexchange.com/questions/609855/how-to-make-python-an-alias-of-python3-systemwide-on-debian/617643#617643

For the latter, just the portage python module was missing.

With this PR both packages are added to the container. The building of the compatibility layer finishes.

Not entirely sure if these packages shall be provided by the container or the bootstrapped prefix.

eessi-bot[bot] commented 1 year ago

Instance eessi-bot-citc-aws is configured to build:

amadio commented 1 year ago

Cannot comment on whether python-is-python3 is needed, but portage most definitely should come from Gentoo prefix, and should always be there.

trz42 commented 1 year ago

Made it a draft, because it might not be needed after all.

trz42 commented 1 year ago

Adding

  vars:
     ansible_python_interpreter: "{{ gentoo_prefix_path }}/usr/bin/python3"

to tasks that use community.general.portage makes sure the python3 from the prefix is used.

Hence, this PR is not needed anymore.