• [gentoo-user] Confused about what to do with " USE changes are necessar

    From Dennis Clarke@21:1/5 to All on Tue Jul 22 18:00:01 2025
    Dear Gentoo folks :

    It has taken a lot of effort but I managed to get my SiFive RISC-V
    P550 board to boot and run entirely from an external attached SATA disk.
    I am fairly sure that there is still stuff left behind on some flash
    memory chip somewhere and that is the OpenSBI and U-Boot stuff.

    I created a new GPT partition table on the boards NVME chip. It is something called /dev/mmcblk0 and the partition data looks like this :

    p550# fdisk /dev/mmcblk0

    Welcome to fdisk (util-linux 2.40.2).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.

    Command (m for help): p

    Disk /dev/mmcblk0: 116.48 GiB, 125069950976 bytes, 244277248 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 175E3A93-158D-401E-BEC5-0041355DA342

    Device Start End Sectors Size Type
    /dev/mmcblk0p1 2048 1050623 1048576 512M EFI System
    /dev/mmcblk0p2 1050624 17827839 16777216 8G Linux swap
    /dev/mmcblk0p3 17827840 244275199 226447360 108G Linux filesystem

    Command (m for help):


    There is also some UUID data that I am sure to need later :

    p550# blkid | grep 'mmc'
    /dev/mmcblk0p3: UUID="6383942e-8974-4671-88f6-5dd37c045417"
    BLOCK_SIZE="4096" TYPE="ext4"
    PARTUUID="0f600fa5-8141-4ed4-879b-a939ace93d5b"
    /dev/mmcblk0p1: LABEL_FATBOOT="EFI" LABEL="EFI" UUID="0AC0-79CF" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="931fec17-08d4-4220-97f9-be7b5fb014c0" /dev/mmcblk0p2: UUID="ee902d2d-2420-419e-bb06-b43be416e780" TYPE="swap" PARTUUID="8a5d1595-2a78-471f-a2b8-f89d05c1c108"
    p550#

    I extracted the stage3 file into the p3 partition there.

    I am trying to follow the instructions for the AMD64 stuff in the handbook. I do not think there are any docs for RISC-V. Really I just
    needed to get the magic mounts done for /proc and /dev etc. Then I was
    able to chroot into the stage3 and begin a few trivial steps.

    I am not going with anything complicated at all and the "profile" is whatever the default thing is. No desktop stuff at all. I was able to
    setup a trivial make.conf file with nothing special in it :

    p550# cat /mnt/gentoo/etc/portage/make.conf
    # These settings were set by the catalyst build script that automatically
    # built this stage.
    # Please consult /usr/share/portage/config/make.conf.example for a more
    # detailed example.
    MAKEOPTS="-j4 -l5"
    COMMON_FLAGS="-O2 -pipe"
    CFLAGS="${COMMON_FLAGS}"
    CXXFLAGS="${COMMON_FLAGS}"
    FCFLAGS="${COMMON_FLAGS}"
    FFLAGS="${COMMON_FLAGS}"

    # WARNING: Changing your CHOST is not something that should be done lightly.
    # Please consult
    https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing. CHOST="riscv64-unknown-linux-gnu"

    # NOTE: This stage was built with the bindist USE flag enabled

    # This sets the language of build output to English.
    # Please keep this setting intact when reporting bugs.
    LC_MESSAGES=C.utf8

    GENTOO_MIRRORS="https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
    p550#

    That works and so does the web-sync stuff and then I did the emerge of
    whatever needs to be updated. Also I did emerge a trivial editor ed and
    also vim. Here are the interesting buts from the emerge.log :

    p550# grep 'completed emerge' /mnt/gentoo/var/log/emerge.log
    1753148811: ::: completed emerge (1 of 3) net-analyzer/netselect-0.4-r2
    to /
    1753148889: ::: completed emerge (2 of 3)
    dev-util/dialog-1.3.20250116-r1 to /
    1753148918: ::: completed emerge (3 of 3)
    app-portage/mirrorselect-2.5.0 to /
    1753148982: ::: completed emerge (1 of 1)
    app-portage/mirrorselect-2.5.0 to /
    1753149691: ::: completed emerge (1 of 2) sys-apps/ed-1.21.1 to /
    1753149787: ::: completed emerge (2 of 2) sys-process/time-1.9-r1 to / 1753149929: ::: completed emerge (1 of 5)
    app-eselect/eselect-vi-20221122 to /
    1753150056: ::: completed emerge (2 of 5)
    dev-libs/libsodium-1.0.20_p20250606 to /
    1753150345: ::: completed emerge (3 of 5) app-editors/vim-core-9.1.1500
    to /
    1753150619: ::: completed emerge (4 of 5) app-editors/vim-9.1.1500 to / 1753150643: ::: completed emerge (5 of 5) app-vim/gentoo-syntax-16 to / 1753151247: ::: completed emerge (1 of 10) app-shells/bash-5.3-r2 to / 1753151443: ::: completed emerge (2 of 10) dev-libs/libxml2-2.13.8-r2 to / 1753152456: ::: completed emerge (3 of 10) sys-devel/gettext-0.23.2 to / 1753152673: ::: completed emerge (4 of 10) dev-libs/libgcrypt-1.11.1 to / 1753152803: ::: completed emerge (5 of 10) sys-libs/pam-1.7.1 to /
    1753152871: ::: completed emerge (6 of 10) app-crypt/libb2-0.98.1-r3 to / 1753152909: ::: completed emerge (7 of 10) net-misc/iputils-20250605-r1
    to /
    1753153184: ::: completed emerge (8 of 10) sys-apps/texinfo-7.2-r3 to / 1753153519: ::: completed emerge (9 of 10) app-text/po4a-0.74-r1 to / 1753153679: ::: completed emerge (10 of 10)
    app-portage/portage-utils-0.97 to /
    p550#

    Now I am looking at the page in the handbook where it says we do then "Installing a distribution kernel" and I want to run :

    # emerge --ask sys-kernel/gentoo-kernel

    That fails with a baffling message :

    chroot# /usr/bin/time -p /usr/bin/nice -n +19 emerge --ask --verbose sys-kernel/gentoo-kernel
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: dracut

    * IMPORTANT: 3 config files in '/etc/portage' need updating.
    * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
    * sections of the emerge man page to learn how to update config files.

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

    Calculating dependencies... done!
    Dependency resolution took 5.06 s (backtrack: 0/20).

    [ebuild N ] app-text/asciidoc-10.2.1::gentoo USE="-test" PYTHON_SINGLE_TARGET="python3_13 (-pypy3_11) -python3_11 -python3_12"
    1251 KiB
    [ebuild N ] app-eselect/eselect-rust-20210703::gentoo 5 KiB
    [ebuild N ] sys-apps/lsb-release-3.3::gentoo 16 KiB
    [ebuild N ] sys-apps/dtc-1.7.2-r2::gentoo USE="-python
    -static-libs -test -yaml" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12" 166 KiB
    [ebuild N ] dev-libs/elfutils-0.193::gentoo USE="bzip2 lzma nls
    utils -debuginfod (-stacktrace) -static-libs -test (-valgrind)
    -verify-sig -zstd" 11695 KiB
    [eb
  • From Arve Barsnes@21:1/5 to Dennis Clarke on Tue Jul 22 18:10:02 2025
    On Tue, 22 Jul 2025, at 17:49, Dennis Clarke wrote:
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: dracut

    The following USE changes are necessary to proceed:
    (see "package.use" in the portage(5) man page for more details)
    # required by sys-kernel/gentoo-kernel-6.15.7::gentoo[initramfs]
    # required by virtual/dist-kernel-6.15.7::gentoo
    =sys-kernel/installkernel-60 dracut

    * IMPORTANT: 4 config files in '/etc/portage' need updating.
    * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
    * sections of the emerge man page to learn how to update config files.

    I have no idea what is needed in that file :

    chroot# cat /etc/portage/package.use/zz-autounmask
    # package.use
    dracut
    chroot#

    Also "Invalid atom" is a total mystery.

    Is there a simple way to proceed here?

    A few things here:

    - A package atom is of the form: <package category>/<package name> with some optional version info

    - The package.use files requires a package atom and USE flag modifiers, an example is above:
    =sys-kernel/installkernel-60 dracut

    - The IMPORTANT message is important, and the cause and solution to your troubles. The auto-stuff only creates the changes you create, but does not apply them to the live files without your help. Read the mentioned sections from the emerge man page (#
    man emerge), to learn about them.

    Regards,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to Arve Barsnes on Tue Jul 22 18:30:01 2025
    On 7/22/25 12:05, Arve Barsnes wrote:
    sys-kernel/installkernel-60 dracut


    I just changed that one file and it still fails the same way :


    chroot#
    chroot# cat /etc/portage/package.use/zz-autounmask
    # package.use
    sys-kernel/installkernel-60 dracut
    chroot#
    chroot# /usr/bin/time -p /usr/bin/nice -n +19 emerge --ask --verbose sys-kernel/gentoo-kernel
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: sys-kernel/installkernel-60

    * IMPORTANT: 4 config files in '/etc/portage' need updating.
    * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
    * sections of the emerge man page to learn how to update config files.

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

    Calculating dependencies... done!
    Dependency resolution took 5.06 s (backtrack: 0/20).

    [ebuild N ] app-text/asciidoc-10.2.1::gentoo USE="-test" PYTHON_SINGLE_TARGET="python3_13 (-pypy3_11) -python3_11 -python3_12"
    1251 KiB
    [ebuild N ] app-eselect/eselect-rust-20210703::gentoo 5 KiB
    [ebuild N ] sys-apps/lsb-release-3.3::gentoo 16 KiB
    [ebuild N ] sys-apps/dtc-1.7.2-r2::gentoo USE="-python
    -static-libs -test -yaml" PYTHON_SINGLE_TARGET="python3_13 -python3_11 -python3_12" 166 KiB
    [ebuild N ] dev-libs/elfutils-0.193::gentoo USE="bzip2 lzma nls
    utils -debuginfod (-stacktrace) -static-libs -test (-valgrind)
    -verify-sig
  • From Arve Barsnes@21:1/5 to Dennis Clarke on Tue Jul 22 18:40:01 2025
    On Tue, 22 Jul 2025, at 18:28, Dennis Clarke wrote:
    On 7/22/25 12:05, Arve Barsnes wrote:
    sys-kernel/installkernel-60 dracut


    I just changed that one file and it still fails the same way :


    Details matter, and that is *not* what I wrote (you missed the equals sign). Specifying a version also requires specifying a comparison (either an equals, greater than, smaller than, greater or equal than, etc.).

    And most of all, the IMPORTANT part of your output, which is, you know, *important*, as others also pointed out.

    Regards,
    Arve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli Schwartz@21:1/5 to Dennis Clarke on Tue Jul 22 18:20:02 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------QHFKKzj3RrUNG0rn8QyWAxFz
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 7/22/25 11:49 AM, Dennis Clarke wrote:

    Now I am looking at the page in the handbook where it says we do then "Installing a distribution kernel" and I want to run :

    # emerge --ask sys-kernel/gentoo-kernel

    That fails with a baffling message :

    chroot# /usr/bin/time -p /usr/bin/nice -n +19 emerge --ask --verbose sys-kernel/gentoo-kernel
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: dracut

    [...]

    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by sys-kernel/gentoo-kernel-6.15.7::gentoo[initramfs]
    # required by virtual/dist-kernel-6.15.7::gentoo
    =sys-kernel/installkernel-60 dracut

    Would you like to add these changes to your config files? [Yes/No] Yes

    [...]

    I have no idea what is needed in that file :

    chroot# cat  /etc/portage/package.use/zz-autounmask
    # package.use
    dracut
    chroot#

    Also "Invalid atom" is a total mystery.

    Is there a simple way to proceed here?


    The package.use file contains a series of lines, each of which is an
    "atom" followed by whitespace followed by USE flags to use.

    Atoms are documented in emerge(1) as a reference to ebuild(5) which
    tells us an atom is a package name in full "category/package" format,
    and extended atoms with versions / slots / comparison operators are ">=category/package-version".

    The message "> The following USE changes are necessary to proceed:" told
    you the file contents to add (two comment lines and a code line):


    # required by sys-kernel/gentoo-kernel-6.15.7::gentoo[initramfs]
    # required by virtual/dist-kernel-6.15.7::gentoo
    =sys-kernel/installkernel-60 dracut


    Where ">=sys-kernel/installkernel-60" is an atom (greater than or equal
    to version 60 of the package name sys-kernel/installkernel).

    You said yes, it should write that out. But then,

    * IMPORTANT: 3 config files in '/etc/portage' need updating.

    Indicates you need to run dispatch-conf to apply the updates.


    Your file actually contains "dracut" which is just the second half of a package.use directive -- it is missing the sys-kernel/installkernel atom.


    --
    Eli Schwartz

    --------------QHFKKzj3RrUNG0rn8QyWAxFz--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaH+5FgUDAAAAAAAKCRCEp9ErcA0vV9DZ AQDF+jrZ47UEqrMfUSGrS8XtnWs/vSDTOMJelg1qj8IfoQEAus9KQZGoDlgn2A91/Z3JoxmUmVME 3zRDY2oXOv6Frgo=
    =f9QG
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to Javier Martinez on Tue Jul 22 18:40:01 2025
    This is a multi-part message in MIME format.
    On 7/22/25 12:10, Javier Martinez wrote:
    El 22/7/25 a las 17:49, Dennis Clarke escribió:
    SiFive RISC-V
    P550
    USE=dracut emerge blablabla

    Or

    Create a file called installkernel in /etc/portage/package.use/ that contains:

    sys-kernel/installkernel dracut

    woo hoo !

    Thank you .. that seems to be the magic that works. See progress log
    attached which goes back to yesterday where I was flailing around in
    circles with no clue what to do.

    Thank you !



    --
    --
    Dennis Clarke
    RISC-V/SPARC/PPC/ARM/CISC
    UNIX and Linux spoken /Td6WFoAAATm1rRGAgAhARwAAAAQz1jM4FAkCntdAAVhiNB1XB6bMjV5gNKTBpE+1r7ym0Ag 7Y9KOhg72SWFOFiuULM7QKcASJI8+jB3Uz+5DEBH1W3r38lVYeV5Kj93ogsX2kDdejorNYbT NI0/S9Xuo5cxDDi1Ypiu4DV1mtHSCQvI4+s8ra7fBche/5MZHQLqqyW8JahbKWP5yskUY3i8 KytSPpF/f89F/ukbnfQ/gYcsCG8N6EcNsRtkvljUxyCvWVEkAowMfrcjRGmzWcbr7pdJaKX+ xHHfYy+No9ZcaIBqkb1uuvuew2srwv1p0RPRFN39w3ssLZs+/P3zMzFc3YzZK4ZyXpJkrypU qFMGLOjG/B51ST3cUmPi8qCDxH9lKb5aQEnwCWw93h8AcZhAPdo8Y25W0HOiQP9ioFyfbEy/ Ic+77CRhijat8t145izh6lfpvq19gbj6uqsKyKTA681VQqGhYRV73EVyX5SrGbhjYJTZhyTP 0UpllH1WRzhmjAn20paSf9p50nR0d382ZgBZiSmYltxubsn2FLd0dc1JMvESxTLxriXT/t9C rS+UXYBmSgpVq4ncvXldQRfjTgg29jM2Tpv4XE9Fka0Hn7DUItF03WJCCqYNjVg8fBX4VOO6 RAWKWbc8MJqHL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jhU b5ntlKUWk5MDutTkTqgRzLbaVrFDgDF2TM1yUzSCyNSoGm2oX6R2uxuXD8KvhP9PazphWiwk iEqwWLoH1dXYEXusGLNr6NpXVZgBM/zQjkCcyZ4j2NoH7oMBnSjbFgz1ghK1ZnEjgzVhKCr0 X5Aslo3AJvFdSjaQYFF/bmi/fv9B3z0RQMzrjFhyr/O63UfZluXEh6lJBET+KftIWWkPc8aw VlLtDzcsQ81ufXinA86gLhIDaozRIzgF6rcdkCSBs/JeH2sWDAIISbjvYCPWvyQjHfOgbGUO NLJL83vKunLe3GYt8M91wlEpKEetAUT13HGEJnnanXX/ybep5iG7AxclTR2aSbVVeioR4zy0 666HJqyOHDNtmEfUtmTgGoq61UEmuMssEkOYECW9EIL4neeo1+0/FneoqQE8DDIg8qNoI8dH SXU3j20RFoAuOFMVRApXdXXF9CvUfxoqGlD0cil8oSj1/R0BFLMDzbrBSD7yZwYXAgxv1cqh CDfniJJeI8d2Mbb+fc+7kAkUyNab/3sPH0zHYeXv5sgHEx0AxQ57ZKtu62pP7uog+81i98MS 9t79nW8M28XEWCrhBSxlO1LInE5+JFnWBME2LeG7fq+sJ7o1CzB4fGVNsXhCBwFLeYNdCA71 a9A+6zU4qEi/FSSlJ3wSnFdDyiJ8WLpdcD63RTb9ifXcP3rZBHNJ4hDdDVuM3TaIS2vbX3Un a3L7qvqxaTXSV7APMNgszrajoObZ3PTh7ZphfGK9KwaZnaKuzFyOx5PDQJEDzgAibusquvwy vyqnjpEAfVHC7Z0Y3QAAAKYOrpWlfYcHAAGXFaWgAQDCb+DRscRn+wIAAAAABFla

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli Schwartz@21:1/5 to Dennis Clarke on Tue Jul 22 18:40:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------b066CLqg57QUU0Z0B1DRfxVv
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 7/22/25 12:28 PM, Dennis Clarke wrote:
    On 7/22/25 12:05, Arve Barsnes wrote:
    sys-kernel/installkernel-60 dracut


    I just changed that one file and it still fails the same way :


    chroot#
    chroot# cat  /etc/portage/package.use/zz-autounmask
    # package.use
    sys-kernel/installkernel-60 dracut
    chroot#
    chroot# /usr/bin/time -p /usr/bin/nice -n +19 emerge --ask --verbose sys-kernel/gentoo-kernel
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: sys-kernel/ installkernel-60


    autounmask is shy and nervous and doesn't like to make waves. It will
    use versioned atoms out of an anxious desire to avoid stepping on toes.

    Versioned atoms (has a "-60" at the end) need version comparators such
    as ">=" or even just "=". But you could also say:

    sys-kernel/installkernel dracut

    and apply to all versions.


    --
    Eli Schwartz

    --------------b066CLqg57QUU0Z0B1DRfxVv--

    -----BEGIN PGP SIGNATURE-----

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaH+9YQUDAAAAAAAKCRCEp9ErcA0vV4kW AP0Tb8LEstlGp2hDsrgrYmOx9Dof2HPY9v8Q7ZIMpNtLPAEA/ULwif8jKUvRPZXJPZQJ/OJC2mzs 54VL+QamONVorgE=
    =nMUb
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to Eli Schwartz on Tue Jul 22 18:50:01 2025
    On 7/22/25 12:33, Eli Schwartz wrote:
    On 7/22/25 12:28 PM, Dennis Clarke wrote:
    On 7/22/25 12:05, Arve Barsnes wrote:
    sys-kernel/installkernel-60 dracut


    I just changed that one file and it still fails the same way :


    chroot#
    chroot# cat  /etc/portage/package.use/zz-autounmask
    # package.use
    sys-kernel/installkernel-60 dracut
    chroot#
    chroot# /usr/bin/time -p /usr/bin/nice -n +19 emerge --ask --verbose
    sys-kernel/gentoo-kernel
    --- Invalid atom in /etc/portage/package.use/zz-autounmask: sys-kernel/
    installkernel-60


    autounmask is shy and nervous and doesn't like to make waves. It will
    use versioned atoms out of an anxious desire to avoid stepping on toes.

    Versioned atoms (has a "-60" at the end) need version comparators such
    as ">=" or even just "=". But you could also say:

    sys-kernel/installkernel dracut

    and apply to all versions.



    I am making some progress again and there are packages building thanks
    to a trivial file needed :

    chroot#
    chroot# cat /etc/portage/package.use/installkernel
    sys-kernel/installkernel dracut
    chroot#

    I don't know what the other file /etc/portage/package.use/zz-autounmask
    is doing at all. It seems to be ignored now. I have no idea.

    Regardless, the Sifive board is chewing on packages again and I suspect
    it will take a day to crank out a kernel. The really difficult steps
    will be to get the board to boot anything that works. I suspect that
    GRUB for RISC-V will be needed as well as some UEFI magic. I may cross
    that bridge when I get there. Later in the week I am sure.

    Thank you again.


    --
    --
    Dennis Clarke
    RISC-V/SPARC/PPC/ARM/CISC
    UNIX and Linux spoken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to Arve Barsnes on Tue Jul 22 18:50:01 2025
    On 7/22/25 12:34, Arve Barsnes wrote:
    On Tue, 22 Jul 2025, at 18:28, Dennis Clarke wrote:
    On 7/22/25 12:05, Arve Barsnes wrote:
    sys-kernel/installkernel-60 dracut


    I just changed that one file and it still fails the same way :


    Details matter, and that is *not* what I wrote (you missed the equals sign). Specifying a version also requires specifying a comparison (either an equals, greater than, smaller than, greater or equal than, etc.).

    And most of all, the IMPORTANT part of your output, which is, you know, *important*, as others also pointed out.

    Regards,
    Arve


    So the string there needs to be "=sys-kernel/installkernel-60 dracut" ?


    --
    --
    Dennis Clarke
    RISC-V/SPARC/PPC/ARM/CISC
    UNIX and Linux spoken

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)