Page 1 of 1

Installing/Updating on ARM64 (sakaki) prebuilt image

Posted: Mon Dec 06, 2021 3:55 pm
by akrmn21
Hi

Trying to install qemu (with emerge -a qemu), but it says:

Code: Select all

!!! [31;01mAll ebuilds that could satisfy [39;49;00m[32m"dev-python/pytz[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?]"[39;49;00m[31;01m have been masked.[39;49;00m
!!! One of the following masked packages is required to complete your request:
- dev-python/pytz-2021.3::gentoo (masked by: EAPI 8)

The current version of portage supports EAPI '7'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "[32mdev-python/Babel-2.9.1::gentoo[39;49;00m" [ebuild])
(dependency required by "[32mdev-python/sphinx-3.5.4::gentoo[39;49;00m" [ebuild])
(dependency required by "[32mdev-python/sphinxcontrib-applehelp-1.0.2::gentoo[39;49;00m" [ebuild])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

]0;root@:/var/lib/portagekroot@pi64:/var/lib/portage\[01;31mpi64[01;34m /var/lib/portage #[00m 
So then I try to install portage with:
emerge -au1 portage

And I get:

Code: Select all

kroot@pi64:~\pi64 ~ # emerge -a 1 portageu au  portage
]0;emerge!!! PORTAGE_BINHOST unset, but use is requested.

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

!!! PORTAGE_BINHOST unset, but use is requested.

These are the packages that would be merged, in order:

Exiting on signal Signals.SIGINT
]0;root@:~pkroot@pi64:~\pi64 ~ # p^C
kroot@pi64:~\pi64 ~ # ps
  PID TTY          TIME CMD
23887 pts/1    00:00:00 sudo
23888 pts/1    00:00:01 bash
26853 pts/1    00:00:00 ps
kroot@pi64:~\pi64 ~ # psemerge -au portage1 portage
]0;emerge!!! PORTAGE_BINHOST unset, but use is requested.

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

!!! PORTAGE_BINHOST unset, but use is requested.

These are the packages that would be merged, in order:

Calculating dependencies   - \ | - | \ \ - | - \ - \ - | \ - / / | / | | \ / | / - - - | - \ / - - - - / | - \ - - - / \ - | \ - / \ \ - - | / / | \ \ / \ \ - / | \ \ - / / / \ | \ \ \ - \ | \ - / \ - \ - | / - \ - / / \ | \ - / - \ / | \ / | - | - | - | - | \ \ / | - / | - / \ - | - | - | / - | | - | - / / / \ / - / | / / - \ / - / - | - | \ | | / / \ | / \ | \ - / / | - / | \ | - / - | / - \ | \ - | \ - | \ - - | \ / / \ | \ - | \ / \ / \ - / - - | / - | \ - \ \ / \ | - | - | - | - / | \ / - \ / \ | - | - / | \ - \ / / / / / | - | | \ \ | | - \ | - | \ | - - - - / | - | / \ - / - - - - \ - / - | | - \ / | \ \ / / \ - \ / | | - \ - | / | / / \ - / / | / / \ | / \ / | / - - / / / - / - - | \ | | / | \ | - - - / | - - | - - / | - | / | - / / \ - / | \ \ - - \ \ / \ - | \ | \ / - - - | - | \ - / / / - / | | | - \ | | / / - / | / - | - - - - \ - | - | | | \ | - \ | / \ | | | \ / / | \ \ | \ \ | | - / | \ \ / \ | \ | - | \ | | / \ | \ - | | \ - / - - \ / - \ \ \ | | | / - / / - / - - \ / | | - / | | | / - \ - / | - \ - \ - \ - - - \ / \ - - - \ \ | | | / | / / / \ | | / - - | | \ - \ / - / / - | / - \ | - - - - | / \ / | | - | \ | / / - / / / \ / / \ / - / | - - | - - | | - | | | / \ / / / / \ - - | / / | | \ | / \ - / \ | | | \ / \ \ / / - | / - - - \ - \ \ | | - / \ / / - / | - - \ / / | | / \ \ - - / / / \ - - \ - - | \ / | / | \ - \ | / \ / \ - \ \ - / - - / | / / / / - / | \ | | | \ \ \ - / \ \ | / - - | | | | \ - \ \ | | / \ | / - | \ / - / - | | | \ - / \ | | \ \ | / \ - \ \ / - | \ \ | / | \ - - - \ | | | / / \ \ \ / | - / / / / \ \ | \ / \ / / - \ / | \ - / \ | | \ / / - - / \ / / - \ / \ - | - / | \ \ / - / | - | / - | / | | / \ | - \ / \ - - / / / - | - - | | - - | - / | \ / / \ / \ | - / | \ | / \ - \ - / - \ | - \ / / / \ / - - | | / \ - / - / / | - \ | / - / \ | - - - - \ \ | - / - / \ - / | | / / - \ \ - \ \ | - \ | | \ | \ \ \ - \ / - / | \ / - | / \ | - | / / \ | - \ \ - | | - - / | | | / - / / - / / - / - | | | \ / / / - / \ - | \ / / / \ \ - - - \ - - \ \ \ / | | / - \ \ | | | | / - / | - - \ | | \ | - - | \ \ | | - / | \ | / \ | \ \ / / | | \ | | | | \ / - | / \ / | | / - | | / | / - / | | \ - - / / \ | / - | / - \ \ | | | \ - \ \ - - \ \ / / | - \ | \ - \ - / - | - / - / \ \ / - | \ - \ / / | / \ / | | / \ - | \ / | / / \ \ \ - - \ \ / / | / - - - - / - \ | - | - / - \ \ \ \ \ - / - \ / - \ / / \ \ - - / \ | / / | - - / | | \ \ / | / / \ / / / / - - \ \ | \ \ / - / \ \ \ \ | \ \ \ / | / \ - - \ | - - \ \ \ - | - | \ \ | \ - / | / / - / | / / / | | | | | - | / \ - / | | | / | - \ | \ | \ / \ - - / / / | | | | \ \ - | - \ | / / \ / | - - / - | \ - / / - | / | \ - / \ | \ / \ | \ \ - / | - \ - / | | / \ \ / | / \ | \ - / | / / - - | \ / \ | \ / / - / / - - \ - / | / | / - / | \ \ | - - \ - / | / / / | / \ | \ | - / / - | \ - / | \ | | | \ | | / | \ \ | | | - \ / - / | / - - - \ - - | - | \ | - | - | \ - | / | - - \ - / \ | | / | | - - - - | / - | - | \ - | / / - - / - / | \ \ / - / - | - - / | \ | - - \ / / - - \ / / | / - / - - - / | | / | - / | / - / \ / | - - - - - | / \ - - | | \ | - | | - - / / \ - \ | \ | - - | \ \ \ / | / / - | \ | | \ \ | \ - \ \ | | / | / - \ / / \ \ \ / / \ \ | / / - / / | - / / - | | / - / \ \ | / | / - - / / \ / \ \ / | \ \ - | | \ \ / | \ / \ | - | | / \ - | \ / / - / - - | / - | \ - - / - - | - - \ | \ \ - / / \ - \ / | / \ \ - | / - | | - / | - | / - \ - / | \ - \ / / \ | | | - / - - \ \ / / | - | \ | / | / - \ / \ | - | \ - \ / - - \ \ | / / \ | - / | / \ - \ | / / - | / \ - / - | / - \ - | - | - / - / / | / - - \ | \ - | / / / \ - \ \ | | \ - - \ \ / | | | \ | / - / \ - | | \ / | / - | / | / / | | - \ | / / \ | / / \ / - / / | | / - | - / | - \ | - | / \ | \ - - - | / - | \ \ \ \ | - / / / - | | \ - \ \ | \ / | / | | - \ \ - / \ - | - / | - - / | - | - | | | / - \ \ | \ \ | / - - / / | / \ \ \ / | | / \ | | \ \ - - - \ | - - \ \ \ | / - \ | - / | / - | \ - / / | / - / | | / / - / / \ / | - | - | / - | - / | / | - | \ - \ / - | / \ \ / - \ \ - | / - / \ \ - - \ | | \ - | / - / / | / - \ \ | \ / / - \ / | | \ / | | - \ \ / / | \ | / / - | - / - \ \ - | / - / | / - | - / | / \ | \ - / | - / - - / | / \ / \ - \ | / \ \ \ - \ / - / \ - - \ / / | | / - \ \ / - | - | \ / | | - \ \ / \ \ \ \ | \ \ \ \ / / / / \ \ / - - \ | | \ \ - / | | | | | \ - - - - \ \ \ - - / / \ | | \ - \ \ | / | - | / - / \ - \ - / - / | / - \ \ - / / | | \ | | | - - / | \ | - \ | - \ / - - | - / / - / \ | | / - / / | \ / | / - / - - | - | \ - | | / / \ \ \ \ / / / | | - | | / | / / - | \ - \ | | | | \ / \ / | | | / / / / / | | / \ / \ / \ - / - / / - | \ - \ \ / / | | / | \ | / \ / / | - | / | - \ | | - | / - | | \ - / | | \ - \ / - | | | / | / | / | / | \ | \ | | \ - / \ | / - / / | / | | | | \ - \ - - - | | / | / \ - - | \ | / \ / \ / | \ - | | | | - \ | - - \ | | | - - | | / - | | / / \ | / | / / - | | \ \ / - - | | - / / / \ | / | \ - | \ / - | - \ / | / - | \ - / | - \ / - / / / \ - / / | / \ | | / | - / \ \ | / \ - | - / | / \ | - / / - \ \ / | / - \ / - / / | / | \ / - | \ / | \ | \ \ / - - - - - / - - - | - | | - \ - / - - \ | / - / | | \ - / - \ \ - \ | \ / - - - \ - / \ | | - | - \ / \ | \ \ / | \ | - \ \ / | / - \ | / | | - - | / \ \ / - | | | - | \ - \ | | | \ \ - - - \ - | | | / / / | \ | | - / / | / \ \ \ / - | / \ | | \ - - | | \ - \ | \ \ \ | | | / - / / | - \ / / | - / | \ / / | - \ \ \ | - \ - / \ / | | \ / / - / - \ | | / / / | \ | / \ \ | / \ - / \ / - / | - / | | / \ / \ | \ \ / / | | / / | \ \ / - / | | | - / / / | | - \ - \ | - - - - | / - / | | \ | | - - / - / \ - \ | | | - | \ / / | | / / - / - / / \ / / - / | \ | / | \ \ | | | \ - | / | | / \ \ / \ | \ / / / - | / - | - - - | / \ \ - - - - - \ / - \ / / | - - / - | | \ / | - | \ | - / \ | - \ \ / | - \ / / | \ \ \ \ - | | / - \ | | | / | \ \ - \ - \ \ \ | - / | \ | \ | - \ - \ / / - | - - / | - / \ | \ | \ \ / | | / \... done!
[ebuild     U  ] dev-python/certifi-2999 [2020.4.5.1] USE="-test%" PYTHON_TARGETS="python3_9* (-python3_10)"
[ebuild  N     ] dev-python/tomli-1.2.2-r1  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
[ebuild     U  ] dev-python/setuptools-59.2.0 [46.4.0-r1] PYTHON_TARGETS="python3_9* (-python3_10)"
[ebuild     U  ] dev-python/pyparsing-2.4.7-r1 [2.4.7] PYTHON_TARGETS="python3_9* (-python3_10)"
[ebuild  N     ] dev-python/packaging-21.0  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
[ebuild  N     ] dev-python/setuptools_scm-6.3.2  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
[ebuild  N     ] dev-python/charset_normalizer-2.0.6  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"
[ebuild     U  ] dev-python/idna-3.3 [2.9] PYTHON_TARGETS="python3_9* (-python3_10)"
[ebuild     U  ] dev-python/PySocks-1.7.1-r1 [1.7.1] PYTHON_TARGETS="python3_9%* (-python3_10)"
[ebuild     U  ] dev-python/urllib3-1.26.7 [1.25.9] PYTHON_TARGETS="python3_9* (-python3_10)"
[ebuild     U  ] dev-python/requests-2.26.0 [2.23.0] PYTHON_TARGETS="python3_9%* (-python3_10)"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/setuptools:0

  (dev-python/setuptools-59.2.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" pulled in by
    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/PySocks-1.7.1-r1:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.26.0:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/setuptools_scm-6.3.2:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/idna-3.3:0/0::gentoo, ebuild scheduled for merge) USE="" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/packaging-21.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/pyparsing-2.4.7-r1:0/0::gentoo, ebuild scheduled for merge) USE="-examples" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/charset_normalizer-2.0.6:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/urllib3-1.26.7:0/0::gentoo, ebuild scheduled for merge) USE="-brotli -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"


  (dev-python/setuptools-46.4.0-r1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy3 -python3_8 -python3_9" pulled in by
    >=dev-python/setuptools-42.0.2[python_targets_python2_7(-),python_targets_python3_6(-),
python_targets_python3_7(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),
-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/cffi-1.14.0-r2:0/1.14.0::gentoo, installed) USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8 -python3_9"

    >=dev-python/setuptools-39.2.0[python_targets_python2_7(-),python_targets_python3_6(-),
python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),
-python_single_target_python3_9(-)] required by (dev-python/pip-20.1.1:0/0::gentoo, installed) USE="-test -vanilla" PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy3 -python3_8 -python3_9"

    >=dev-python/setuptools-42.0.2[python_targets_python3_6(-),python_targets_python3_7(-),
-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),
-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (app-portage/gemato-14.4:0/0::gentoo, installed) USE="gpg -test -tools" PYTHON_TARGETS="python3_6 python3_7 -pypy3 -python3_8 -python3_9"

    dev-python/setuptools[python_targets_python3_6(-),python_targets_python3_7(-),-python_single_target_python3_6(-),
-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (net-misc/youtube-dl-2020.06.06:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_6 python3_7 -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_python2_7(-),python_targets_python3_6(-),
python_targets_python3_7(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),
-python_single_target_python3_7(-),-python_single_target_python3_8(-)] required by (dev-python/python-distutils-extra-2.44-r1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8"

    >=dev-python/setuptools-42.0.2[python_targets_python2_7(-),python_targets_python3_6(-),
python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),
-python_single_target_python3_9(-)] required by (dev-python/pip-20.1.1:0/0::gentoo, installed) USE="-test -vanilla" PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy3 -python3_8 -python3_9"


dev-python/certifi:0

  (dev-python/certifi-2999:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" pulled in by
    >=dev-python/certifi-2017.4.17[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/requests-2.26.0:0/0::gentoo, ebuild scheduled for merge) USE="-socks5 -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"

    >=dev-python/certifi-2016.9.26[python_targets_pypy3(-)?,python_targets_python3_8(-)?,
python_targets_python3_9(-)?,python_targets_python3_10(-)?] required by (dev-python/setuptools-59.2.0:0/0::gentoo, ebuild scheduled for merge) USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8"


  (dev-python/certifi-2020.4.5.1:0/0::gentoo, installed) USE="" PYTHON_TARGETS="python2_7 python3_6 python3_7 (-pypy3) -python3_8 -python3_9" pulled in by
    >=dev-python/certifi-2016.9.26[python_targets_python2_7(-),python_targets_python3_6(-),
python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),
-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),
-python_single_target_python3_9(-)] required by (dev-python/setuptools-46.4.0-r1:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy3 -python3_8 -python3_9"



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- sys-devel/binutils-2.34-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- media-sound/clementine-1.4.0_rc1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Lars Wendler <polynomial-c@gentoo.org> (2021-11-24)
# No real development since Q1 2020. Last release from 2016.
# Users should switch over to media-sound/strawberry which is an actively
# developed fork.
# Masked for removal in 30 days.

- virtual/libcrypt-1-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/base/package.mask:
# Sam James <sam@gentoo.org> (2021-11-22)
# Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease
# dependency resolution. In a fair number of cases, this has helped
# upgrades go through cleanly.
# Read the news item if you need help!
# (This mask is undone in musl profiles where the transition is not yet being
# made.)
# bug #699422.

- sys-apps/opentmpfiles-0.2::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/base/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2021-07-06)
# No longer maintained upstream; please see the 2021-07-15-opentmpfiles-deprecation
# news item.

- sys-fs/eudev-3.2.9::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Mike Gilbert <floppym@gentoo.org> (2021-11-27)
# eudev will be removed on 2022-01-01.
# Please see the news item published on 2021-08-24 for more information.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
So what can I do to fix this?

By the way I removed the rpi64 and sakaki-tools repos from the portage environment to clear some other messages

Thanks

[Moderator edit: added [code] tags to preserve output layout; broke long whitespace-free lines in code tags to fix thread layout. -Hu]

Posted: Mon Dec 06, 2021 3:57 pm
by akrmn21
Also, here is my emerge --info:

Code: Select all

Portage 2.3.99 (python 3.6.10-final-0, default/linux/arm64/17.0/desktop, gcc-10.1.0, glibc-2.33-r1, 5.4.45-v8-3b41649ff96d-p4-bis+ aarch64)
=================================================================
System uname: Linux-5.4.45-v8-3b41649ff96d-p4-bis+-aarch64-with-gentoo-2.7
KiB Mem:     7949164 total,    677328 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sun, 05 Dec 2021 00:45:01 +0000
Head commit of repository gentoo: f860b3e4f444f2bc3b9c474c2438a0d42c1a6d21
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
distcc 3.3.3 aarch64-unknown-linux-gnu [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::genpi64, 3.7.7-r2::genpi64, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-lang/rust:            1.44.0::gentoo
dev-util/cmake:           3.21.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r2::genpi64
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            10.1.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /boot/startup.sh /etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa arm64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Code tags added by NeddySeagoon

Posted: Mon Dec 06, 2021 4:00 pm
by alamahant
Hi
plz do NOT use the Sakaki image.
It is very obsolete.
Also it seems you are doing something odd with your emerge command
kroot@pi64:~\pi64 ~ # psemerge -au portage1 portage
That is why you get the BINHOST error.
Just try

Code: Select all

emerge --sync
emerge -1av portage
It will complain about python and/or perl conficts,I suppose.

Posted: Mon Dec 06, 2021 4:19 pm
by akrmn21
Sorry I did a dump of a screen log, so the formatting is not ideal, but I did 'emerge -a1 portage'.

I will try with the 'v' flag, I guess it means verbose.

But I don't really want to reinstall a whole system...I just need qemu to run some amd64 things that dont compile on arm64.

Posted: Mon Dec 06, 2021 4:23 pm
by akrmn21
Correction: I did 'emerge -a1u portage', so I'll try without the u and a v instead.

Posted: Mon Dec 06, 2021 4:34 pm
by fedeliallalinea
Moved from Portage & Programming to Gentoo on ARM.

Posted: Mon Dec 06, 2021 4:56 pm
by NeddySeagoon
akrmn21,

Sakaki's binhost is now about 15 months old. You need to switch away from.using it and everything that goes with it.
With lots of things moving to EAPI 8, the upgrade will be slow.

The surest way is to switch to Gentoo as it was about September 2020 and do a number of upgrades, so that portage can resolve everything, step by step.
A reinstall will be faster but you will miss the learning experience.

What amd64 things don't compile on arm64?
You will hate QEMU when you get it going as its software emulation of the CPU. That makes it very slow.

Posted: Mon Dec 06, 2021 5:56 pm
by Hu
akrmn21 wrote:Sorry I did a dump of a screen log, so the formatting is not ideal, but I did 'emerge -a1 portage'.
You will likely get cleaner output if you redirect the process's output via the shell, rather than try to capture the screen contents after the fact.

Posted: Mon Dec 06, 2021 6:19 pm
by pingtoo
Hi akrmn21,

GenPi64 successor for Sakaki's. I started with it an slowly update my system to a usable state.

I agree with alamahant and Naddy, Sakaki's is just outdated and not easy to use.

In the mean time if you just want a quick workaround you use this Readme referenced binhost to pull in qemu binary.

Posted: Mon Dec 06, 2021 6:40 pm
by alamahant
My 2 cents:
If you want to start afresh and avoid cross-compile and qemu-chrrots,
the best way is first to install a binary distro's arm64 ie debian or devuan etc and then use that to install your arm64 Gentoo.
This is how I did it and it was easy-peasy..

Posted: Mon Dec 06, 2021 6:42 pm
by akrmn21
OK no worries, I don't think I need qemu right now. But would be nice to have a solution for this or I may just create a new system in a chroot environment before loading in to it.

I hate to use binary packages, would want to compile everything from source.

Posted: Mon Dec 06, 2021 6:46 pm
by alamahant
I hate to use binary packages, would want to compile everything from source.
You will.All of Gentoo.
The binary distro will just let you chroot into your Gentoo system.
This is what I meant.
You cant chroot from amd64 to arm64 unless you use some crazy obscure techniques.
To implement this solution you will need 2 sd cards an sd-card-to-usb adaptor and preferably(but not necessarily) an extra hd or mini ssd.

Posted: Mon Dec 06, 2021 7:06 pm
by NeddySeagoon
akrmn21,

It would be good to know what the original packages were that prompted your post.

Posted: Mon Dec 06, 2021 8:46 pm
by akrmn21
No it was just some telegram CLI I pulled from github, but now I found another version that compiles on ARM, though just last week telegram blocked the old api that will require something else, but so far it's compiling.

I have some experience with building Linux distros, and maybe in the future I can contribute to an ARM64 OS. I used to make distros with full desktop environments, but I feel like making just a pure text based OS, since I can work on almost anything with the console, just the font size / resolution is always terrible with the typical installers, and I think I can make something more useable that people overlook. So I'm interested to see similar things that are being worked on, but that's an other topic...

Oh and to reply to almahunt, I'm sort of in a weird situation now where the raspi 4b is my only computer, so I just want to create a new root partition inside this with chroot then add that to my bootloader.

Posted: Sun Dec 12, 2021 6:09 pm
by flysideways
https://downloads.raspberrypi.org/raspios_arm64/images/

If all you currently have is a Pi, and it is running some 32 bit distro, then that url is where you find the 64 bit version of Raspberry Pi OS. Running your Pi on that 64 bit RPiOS, you can natively install Gentoo to an sd card or usb device attached to your Pi. It just takes time, but so did a pc install 15 years ago.

There are plenty of choices.