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: felixsinger
Last Packager: slact
Votes: 4
Popularity: 0.000000
First Submitted: 2020-07-10 17:11 (UTC)
Last Updated: 2024-04-19 16:52 (UTC)

Latest Comments

« First ‹ Previous 1 2

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 !