Package Details: coreboot-utils 24.02.01-1

Git Clone URL: https://aur.archlinux.org/coreboot-utils.git (read-only, click to copy)
Package Base: coreboot-utils
Description: Tools and utilities to work with coreboot firmware
Upstream URL: https://www.coreboot.org/
Licenses: GPL2
Provides: ectool
Submitter: slact
Maintainer: slact
Last Packager: slact
Votes: 4
Popularity: 0.000038
First Submitted: 2020-07-10 17:11 (UTC)
Last Updated: 2024-04-19 16:52 (UTC)

Latest Comments

stotes commented on 2024-05-02 01:02 (UTC)

@baronmod @atomicfs If you are having issue with the missing public key as I did try this keyserver:

gpg --keyserver hkps://keys.openpgp.org --receive-keys C75AAA4E5C9DB017C1DC6EDBDB1B0EC29202D874

atomicfs commented on 2024-04-28 13:20 (UTC)

I have the same problem

baronmog commented on 2024-04-26 17:04 (UTC) (edited on 2024-04-26 17:13 (UTC) by baronmog)

Unable to install the latest version (updating from 4.22.01-1), due to an unknown public key:

:: keys need to be imported:
     EB51718A2D22AB1DA92C74B11F991B62CCC9259B wanted by: coreboot-utils-24.02.01-1
     3D705758E41EB17A3D28754941050E818DCB9057 wanted by: coreboot-utils-24.02.01-1
     1504DB83B93905F5160EB3FD86EB211649573F59 wanted by: coreboot-utils-24.02.01-1
     C75AAA4E5C9DB017C1DC6EDBDB1B0EC29202D874 wanted by: coreboot-utils-24.02.01-1
     7642F206B20B77DAEB5B611A53C88CBFBC4F65F3 wanted by: coreboot-utils-24.02.01-1
     D0BB76A6FB81653A2B175BC2DB682C092C49D476 wanted by: coreboot-utils-24.02.01-1
:: import? [Y/n]: 
gpg: key 6B249D77269C04E1: 3 duplicate signatures removed
gpg: key 6B249D77269C04E1: 3 signatures reordered
gpg: key 6B249D77269C04E1: public key "Patrick Georgi <patrick@georgi.software>" imported
gpg: key 53C88CBFBC4F65F3: public key "Angel Pons <th3fanbus@gmail.com>" imported
gpg: key 86EB211649573F59: public key "Jason Glenesk (coreboot developer) <Jason.Glenesk@gmail.com>" imported
gpg: key AA103F48728F5291: public key "Patrick Georgi <pgeorgi@google.com>" imported
gpg: key 6B249D77269C04E1: 3 duplicate signatures removed
gpg: key 6B249D77269C04E1: 3 signatures reordered
gpg: key 6B249D77269C04E1: "Patrick Georgi <patrick@georgi.software>" not changed
gpg: Total number processed: 5
gpg:               imported: 4
gpg:              unchanged: 1
fetching devel info...
==> Making package: coreboot-utils 24.02.01-1 (Fri 26 Apr 2024 09:56:56 AM PDT)
==> Retrieving sources...
  -> Found coreboot-24.02.01.tar.xz
  -> Found coreboot-24.02.01.tar.xz.sig
==> Validating source files with sha256sums...
    coreboot-24.02.01.tar.xz ... Passed
    coreboot-24.02.01.tar.xz.sig ... Skipped
==> Verifying source file signatures with gpg...
    coreboot-24.02.01.tar.xz ... FAILED (unknown public key DB1B0EC29202D874)
==> ERROR: One or more PGP signatures could not be verified!
error: failed to download sources for 'coreboot-utils-24.02.01-1': 
error: packages failed to build: coreboot-utils-24.02.01-1

I'm using paru to install. When I clear paru's cache for coreboot-utils and rerun, it says there is an error downloading one of the keys:

gpg: keyserver receive failed: No data
error: failed to run: gpg --recv-keys C75AAA4E5C9DB017C1DC6EDBDB1B0EC29202D874

slact commented on 2024-04-19 16:54 (UTC)

version bumped to 23.02.01

intelmetool compilation issue addressed

C_Schmidpeter commented on 2024-03-27 14:22 (UTC)

@slact Could you please add the sed command to prepare() as described by @je-vv, please?

taotieren commented on 2024-02-19 09:15 (UTC)

Can you add a pciutils dependency. to solve the problem of compilation reporting errors? Thank you!

pciutils /usr/include/pci/header.h

je-vv commented on 2023-12-27 21:24 (UTC) (edited on 2023-12-27 21:48 (UTC) by je-vv)

That Makefile is an upstream one, right? So it seems an upstream bug. That said, a sed command in prepare() is required, otherwise this package doesn't build, :(

Perhaps @slact has an account on their bug tracker system, https://ticket.coreboot.org, and can file the bug on them... I once wrote to their general mailing list, and never got a reply back, :(

BTW, thanks a lot @Parker8283. Here it's the sed addition to prepare():

prepare() {
  cd "coreboot-$pkgver"
  patch -p0 < ../ifdtools-nowerror.patch
  sed -i 's|CFLAGS  ?=|CFLAGS  +=|' util/intelmetool/Makefile
}

Parker8283 commented on 2023-12-27 17:35 (UTC)

I am unable to build the intelmetool on my system, as I get the following output:

==> Starting build()...
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/amdfwtool'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/amdfwtool'
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/cbfstool'
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/cbfstool'
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/cbmem'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/cbmem'
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/ectool'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/ectool'
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/ifdtool'
make: '../ifdtool/ifdtool' is up to date.
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/ifdtool'
make: Entering directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/intelmetool'
cc -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection   -c -o me_status.o me_status.c

Checking for development libraries: pci and zlib... me_status.c:4:10: fatal error: commonlib/bsd/helpers.h: No such file or directory
    4 | #include <commonlib/bsd/helpers.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: me_status.o] Error 1
make: *** Waiting for unfinished jobs....
found.
make: Leaving directory '/home/parker/.cache/yay/coreboot-utils/src/coreboot-4.22.01/util/intelmetool'
==> ERROR: A failure occurred in build().
    Aborting...

After some investigation, it is likely due to the Makefile for intelmetool doing a ?= for CFLAGS, and since makepkg sets its own CFLAGS, the CFLAGS in intelmetool do not get set. Unsure if this is an upstream bug or a something that this package should patch (or maybe this is user error?)

I got around this by simply changing the ?= to a +=, and it compiled fine after that. Unsure if that's the best solution, but it's what I did.

je-vv commented on 2020-11-17 05:46 (UTC)

Really good to see a non git version. Cloning and fetching from coreboot is really hard on bad internet connections... Thanks a lot !