Package Details: flashrom-git v1.2.r746.g086f0c8e-1

Git Clone URL: (read-only, click to copy)
Package Base: flashrom-git
Description: Flashrom is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI).
Upstream URL:
Licenses: GPL
Conflicts: flashrom
Provides: flashrom
Replaces: flashrom-svn
Submitter: Manouchehri
Maintainer: bitfehler
Last Packager: bitfehler
Votes: 22
Popularity: 0.180759
First Submitted: 2017-08-24 00:04 (UTC)
Last Updated: 2022-05-16 17:20 (UTC)

Dependencies (6)

Required by (4)

Sources (1)

Latest Comments

bitfehler commented on 2022-05-16 17:21 (UTC)

Thanks for letting me know, fixed in latest version!

kasugano commented on 2022-05-15 20:40 (UTC)

New dependency needed: "cmocka"

bitfehler commented on 2022-04-04 19:33 (UTC)

Thanks, @belzebub40k! Fixed accordingly.

belzebub40k commented on 2022-04-04 16:12 (UTC)

When trying to build the package it prints the following error message.

$ makepkg -si
==> Making package: flashrom-git v1.2.r564.gdda19339-1 (Mo 04 Apr 2022 18:02:49 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning flashrom git repo...
Cloning into bare repository '/space1/Downloads/flashrom-git/flashrom'...
fatal: remote error:
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see for more information.
==> ERROR: Failure while downloading flashrom git repo

This can easily be fixed by changing the source url from git:// to git+https://

bitfehler commented on 2021-12-14 13:51 (UTC)

The PKGBUILD still works, but does not build/install the shared library which is needed to use fwupd flashrom plugin. The regular Arch package is using meson now, which will just do the right thing (I suspect the regular Makefile might be unmaintained). I used this for build/package:

build() {
        cd "${srcdir}/${_gitname}"
        arch-meson ../build
        ninja -v -C ../build

package() {
        cd "${srcdir}"
        DESTDIR="${pkgdir}" ninja -C build install

Of course meson should then be added to build_deps also.

encounter commented on 2018-09-06 19:50 (UTC)

Patch removed, since it was applied upstream.

ilikenwf commented on 2018-09-06 16:15 (UTC)

Patch I suggested before @encounter no longer applies cleanly and isn't required. Thanks!

ilikenwf commented on 2018-07-07 20:02 (UTC)


encounter commented on 2018-06-26 18:53 (UTC)

Thanks, I noticed that patch had landed upstream, but the PKGBUILD was using the staging branch. I updated the branch to master, and submitted another patch for libusb upstream (included in PKGBUILD for now).

ilikenwf commented on 2018-06-26 02:24 (UTC)

Fixed PKGBUILD with patch to fix build:

ilikenwf commented on 2018-05-31 04:06 (UTC)

This fixes the build

nacase commented on 2015-08-21 20:09 (UTC)

Or alternatively, you can just change the "make" line in the build() function to "CONFIG_DEDIPROG=yes make" instead, without calling sed on the Makefile.

nacase commented on 2015-08-21 16:55 (UTC)

PKGBUILD patch to enable Dediprog/SF-100 support: --- PKGBUILD.orig 2015-08-21 11:34:54.777307435 -0500 +++ PKGBUILD 2015-08-21 11:50:39.370790480 -0500 @@ -10,7 +10,7 @@ conflicts=(flashrom) replaces=(flashrom) license=(GPL) -depends=(libftdi-compat pciutils) +depends=(libftdi-compat pciutils libusb libusb-compat) makedepends=(subversion) optdepends=('dmidecode: for SMBIOS/DMI table decoder support') source=(flashrom::svn:// @@ -26,6 +26,8 @@ prepare() { cd flashrom sed -i "s:sbin:bin:g" Makefile + # enable Dediprog SF100 support + sed -i "s/^\(CONFIG_DEDIPROG ?= \)\([a-zA-Z]*\)/\1yes/" Makefile }

stevenhoneyman commented on 2015-03-14 13:25 (UTC)

Still builds 0.9.7 for some reason, but stable is already on to 0.9.8