1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

Building v0-hdmiusb build Error 2 #511

Closed
opened 2026-02-20 14:00:37 -05:00 by deekerman · 4 comments
Owner

Originally created by @RobCod on GitHub (Aug 6, 2022).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
make os fails to build the os after Updating the trust database

To Reproduce
Steps to reproduce the behavior, like:

  1. build os
  2. build os refuses to run
  3. sudo build os, downloads everything starts to build and then fails after Updating trust database (step 26/90)

Expected behavior
To build sucessfully so i can move onto the make install portion

Screenshots
image

error in text:

Step 26/90 : RUN echo "Server = $REPO_URL/\$arch/\$repo" > /etc/pacman.d/mirrorlist 	&& pacman-key --init 	&& pacman-key --populate archlinuxarm
 ---> Running in 45ba7ae8b12d
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/84A5AD2DE335B7DA160010602E11F7BA58DB600C.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinuxarm.gpg does not exist.
The command '/bin/sh -c echo "Server = $REPO_URL/\$arch/\$repo" > /etc/pacman.d/mirrorlist 	&& pacman-key --init 	&& pacman-key --populate archlinuxarm' returned a non-zero code: 1
make[1]: *** [Makefile:220: os] Error 1
make[1]: Leaving directory '/home/robert/os/.pi-builder/v0-hdmiusb-rpi3'
make: *** [Makefile:58: os] Error 2

config.mk

# rpi3 for Raspberry Pi 3; rpi2 for the version 2, zerow for ZeroW
BOARD = rpi3

# Hardware configuration
PLATFORM = v0-hdmiusb

# Target hostname
HOSTNAME = pikvm

# ru_RU, etc. UTF-8 only
LOCALE = en_US

# See /usr/share/zoneinfo
TIMEZONE = America/Edmonton

# For SSH root user
ROOT_PASSWD = root

# Web UI credentials: user=admin, password=<this>
WEBUI_ADMIN_PASSWD = admin

# IPMI credentials: user=admin, password=<this>
IPMI_ADMIN_PASSWD = admin

# SD card device
CARD = /dev/sdc

Desktop (please complete the following information):

  • OS: arch 64bit
  • Browser: Firefox
  • Version 103?

PiKVM info:

  • Raspberry Pi board version: pi 3 B+
  • PiKVM platform: v0-hdmiusb
  • Video capture type: ezcoo 4 switch KVM hub
  • KVMD version: pacman -Q | grep kvmd - Returns with nothing
  • uStreamer version: pacman -Q | grep ustreamer - Also returns with nothing
  • Linux kernel: uname -a - Linux Desktop 5.18.16-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000 x86_64 GNU/Linux

EDIT It seems like this line is the issue, which persists in a ubuntu VM ==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinuxarm.gpg does not exist.

Originally created by @RobCod on GitHub (Aug 6, 2022). Originally assigned to: @mdevaev on GitHub. **Describe the bug** make os fails to build the os after Updating the trust database **To Reproduce** Steps to reproduce the behavior, like: 1. build os 2. build os refuses to run 3. sudo build os, downloads everything starts to build and then fails after Updating trust database (step 26/90) **Expected behavior** To build sucessfully so i can move onto the make install portion **Screenshots** ![image](https://user-images.githubusercontent.com/48031674/183253234-0c7026ba-971f-44b5-8705-040e87a48794.png) error in text: ``` Step 26/90 : RUN echo "Server = $REPO_URL/\$arch/\$repo" > /etc/pacman.d/mirrorlist && pacman-key --init && pacman-key --populate archlinuxarm ---> Running in 45ba7ae8b12d gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created gpg: no ultimately trusted keys found gpg: starting migration from earlier GnuPG versions gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent gpg: migration succeeded ==> Generating pacman master key. This may take some time. gpg: Generating pacman keyring master key... gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/84A5AD2DE335B7DA160010602E11F7BA58DB600C.rev' gpg: Done ==> Updating trust database... gpg: marginals needed: 3 completes needed: 1 trust model: pgp gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u ==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinuxarm.gpg does not exist. The command '/bin/sh -c echo "Server = $REPO_URL/\$arch/\$repo" > /etc/pacman.d/mirrorlist && pacman-key --init && pacman-key --populate archlinuxarm' returned a non-zero code: 1 make[1]: *** [Makefile:220: os] Error 1 make[1]: Leaving directory '/home/robert/os/.pi-builder/v0-hdmiusb-rpi3' make: *** [Makefile:58: os] Error 2 ``` config.mk ``` # rpi3 for Raspberry Pi 3; rpi2 for the version 2, zerow for ZeroW BOARD = rpi3 # Hardware configuration PLATFORM = v0-hdmiusb # Target hostname HOSTNAME = pikvm # ru_RU, etc. UTF-8 only LOCALE = en_US # See /usr/share/zoneinfo TIMEZONE = America/Edmonton # For SSH root user ROOT_PASSWD = root # Web UI credentials: user=admin, password=<this> WEBUI_ADMIN_PASSWD = admin # IPMI credentials: user=admin, password=<this> IPMI_ADMIN_PASSWD = admin # SD card device CARD = /dev/sdc ``` **Desktop (please complete the following information):** - OS: arch 64bit - Browser: Firefox - Version 103? **PiKVM info:** - Raspberry Pi board version: pi 3 B+ - PiKVM platform: v0-hdmiusb - Video capture type: ezcoo 4 switch KVM hub - KVMD version: `pacman -Q | grep kvmd` - Returns with nothing - uStreamer version: `pacman -Q | grep ustreamer` - Also returns with nothing - Linux kernel: `uname -a` - Linux Desktop 5.18.16-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000 x86_64 GNU/Linux **EDIT** It seems like this line is the issue, which persists in a ubuntu VM `==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinuxarm.gpg does not exist.`
Author
Owner

@mdevaev commented on GitHub (Aug 6, 2022):

Retry again

@mdevaev commented on GitHub (Aug 6, 2022): Retry again
Author
Owner

@RobCod commented on GitHub (Aug 6, 2022):

I have several times, do you mean restart from the beginning?

@RobCod commented on GitHub (Aug 6, 2022): I have several times, do you mean restart from the beginning?
Author
Owner

@RobCod commented on GitHub (Aug 6, 2022):

I recloned the github repo, and have the same issue on ubuntu

@RobCod commented on GitHub (Aug 6, 2022): I recloned the github repo, and have the same issue on ubuntu
Author
Owner

@mdevaev commented on GitHub (Aug 16, 2022):

At the moment, the build is successful. Probably the base image has already been updated. Run rm -rf .pi-builder and make os NC=1 to rebuild with flushed caches.

@mdevaev commented on GitHub (Aug 16, 2022): At the moment, the build is successful. Probably the base image has already been updated. Run `rm -rf .pi-builder` and `make os NC=1` to rebuild with flushed caches.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pikvm-pikvm#511
No description provided.