§2023-09-16

$ sudo emerge --ask sys-boot/raspberrypi-firmware

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


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

Calculating dependencies... done!
Dependency resolution took 5.93 s.


!!! All ebuilds that could satisfy "sys-boot/raspberrypi-firmware" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-boot/raspberrypi-firmware-9999::gentoo (masked by: raspberrypi-videocore-bin license(s), missing keyword)
A copy of the 'raspberrypi-videocore-bin' license is located at '/var/db/repos/gentoo/licenses/raspberrypi-videocore-bin'.

- sys-boot/raspberrypi-firmware-1.20230106::gentoo (masked by: raspberrypi-videocore-bin license(s))
- sys-boot/raspberrypi-firmware-1.20221104::gentoo (masked by: raspberrypi-videocore-bin license(s))

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
$ sudo mkdir /etc/portage/package.accept_keywords
$ sudo touch /etc/portage/package.accept_keywords/raspberrypi-videocore-bin
$ nano /etc/portage/package.accept_keywords/raspberrypi-videocore-bin
$ sudo emerge --ask sys-boot/raspberrypi-firmware

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


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

Calculating dependencies... done!
Dependency resolution took 9.08 s.

[ebuild  N     ] sys-boot/raspberrypi-firmware-1.20230106 

Would you like to merge these packages? [Yes/No] Yes
Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Running pre-merge checks for sys-boot/raspberrypi-firmware-1.20230106
 * Your boot partition is not mounted at /boot.
 * Please mount it and retry.
 * ERROR: sys-boot/raspberrypi-firmware-1.20230106::gentoo failed (pretend phase):
 *   /boot not mounted
 * 
 * Call stack:
 *           ebuild.sh, line 136:  Called pkg_pretend
 *           ebuild.sh, line 370:  Called mount-boot_pkg_pretend
 *   mount-boot.eclass, line  90:  Called mount-boot_check_status
 *   mount-boot.eclass, line  72:  Called die
 * The specific snippet of code:
 *   		die -n "/boot not mounted"
 * 
 * If you need support, post the output of `emerge --info '=sys-boot/raspberrypi-firmware-1.20230106::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/raspberrypi-firmware-1.20230106::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/empty'
 * S: '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/work/firmware-1.20230106'

>>> Failed to emerge sys-boot/raspberrypi-firmware-1.20230106, Log file:

>>>  '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/temp/build.log'

 * Messages for package sys-boot/raspberrypi-firmware-1.20230106:

 * Your boot partition is not mounted at /boot.
 * Please mount it and retry.
 * ERROR: sys-boot/raspberrypi-firmware-1.20230106::gentoo failed (pretend phase):
 *   /boot not mounted
 * 
 * Call stack:
 *           ebuild.sh, line 136:  Called pkg_pretend
 *           ebuild.sh, line 370:  Called mount-boot_pkg_pretend
 *   mount-boot.eclass, line  90:  Called mount-boot_check_status
 *   mount-boot.eclass, line  72:  Called die
 * The specific snippet of code:
 *   		die -n "/boot not mounted"
 * 
 * If you need support, post the output of `emerge --info '=sys-boot/raspberrypi-firmware-1.20230106::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/raspberrypi-firmware-1.20230106::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/empty'
 * S: '/var/tmp/portage/sys-boot/raspberrypi-firmware-1.20230106/work/firmware-1.20230106'

 sudo mount /dev/mmcblk0p1 /boot
alexlai@rpi4bGenoo ~ $ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk0     179:0    0 235.5G  0 disk 
├─mmcblk0p1 179:1    0   512M  0 part /boot
├─mmcblk0p2 179:2    0     8G  0 part [SWAP]
├─mmcblk0p3 179:3    0    60G  0 part /
└─mmcblk0p4 179:4    0   167G  0 part 
$ sudo emerge --ask sys-boot/raspberrypi-firmware

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


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

Calculating dependencies... done!
Dependency resolution took 9.07 s.

[ebuild  N     ] sys-boot/raspberrypi-firmware-1.20230106 

Would you like to merge these packages? [Yes/No]