Package Details: flashprog 1.3-1

Git Clone URL: https://aur.archlinux.org/flashprog.git (read-only, click to copy)
Package Base: flashprog
Description: Flashprog is a utility which can be used to detect, read, erase, or write BIOS chips (DIP, PLCC, SPI).
Upstream URL: https://flashprog.org/
Licenses: GPL
Submitter: icon
Maintainer: icon (felixsinger)
Last Packager: felixsinger
Votes: 3
Popularity: 0.79
First Submitted: 2024-01-09 20:57 (UTC)
Last Updated: 2024-11-12 13:21 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

icon commented on 2024-09-08 22:18 (UTC)

This failed for me because of a missing dependency on 'pkgconf', which results in make not finding the required libraries.

Thanks! updated

debrabander commented on 2024-09-03 08:39 (UTC)

This failed for me because of a missing dependency on 'pkgconf', which results in make not finding the required libraries.

Dependency libpci found: no
Dependency libusb1 found: no
Dependency libjaylink found: no
Dependency NI-845x found: no
Dependency libftdi1 found: no
Dependency libgpiod found: no
Checking for header "mtd/mtd-user.h": yes
Checking for header "linux/spi/spidev.h": yes
Checking for header "linux/i2c-dev.h": yes
Checking for header "linux/i2c.h": yes
Checking for header "sys/utsname.h": yes
Checking for function "clock_gettime": yes
Checking for external "librt": yes
The following features require libftdi1: CONFIG_FT2232_SPI=yes CONFIG_USBBLASTER_SPI=yes
The following features require libgpiod: CONFIG_LINUX_GPIO_SPI=yes
The following features require libjaylink: CONFIG_JLINK_SPI=yes
The following features require libpci: CONFIG_ATAVIA=yes CONFIG_DRKAISER=yes CONFIG_GFXNVIDIA=yes CONFIG_INTERNAL=yes CONFIG_IT8212=yes CONFIG_NIC3COM=yes CONFIG_NICINTEL=yes CONFIG_NICINTEL_EEPROM=yes CONFIG_NICINTEL_SPI=yes CONFIG_NICREALTEK=yes CONFIG_OGP_SPI=yes CONFIG_SATAMV=yes CONFIG_SATASII=yes
You can disable all PCI programmers with CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no.
The following features require libusb1/libusbx: CONFIG_CH341A_SPI=yes CONFIG_CH347_SPI=yes CONFIG_DEDIPROG=yes CONFIG_DEVELOPERBOX_SPI=yes CONFIG_DIGILENT_SPI=yes CONFIG_FT4222_SPI=yes CONFIG_PICKIT2_SPI=yes CONFIG_STLINKV3_SPI=yes CONFIG_DIRTYJTAG_SPI=yes
You can disable all USB programmers with CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no.
You can disable individual features with CONFIG_feature=no in your make command.
make: *** [Makefile:973: config] Error 1

boarim commented on 2024-06-12 04:11 (UTC)

Thank you. That did the trick.

icon commented on 2024-06-03 09:12 (UTC)

It doesn’t build because the PGP key can’t be verified. Here’s what I got:

The key is just not there. But the ID looks right.

tl;dr gpg --receive-keys A5C163B7E557CAEB

You have to import the key, because for sources the user's keyring is used (https://wiki.archlinux.org/title/Makepkg#Signature_checking). Once you have it in your keyring, makepkg will check it against the entry in the PKGBUILD file.

boarim commented on 2024-06-03 07:17 (UTC)

It doesn’t build because the PGP key can’t be verified. Here’s what I got:

[owner@katana flashprog]$ makepkg -srci
==> Making package: flashprog 1.0.1-1
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for owner: 
resolving dependencies...
looking for conflicting packages...

Packages (4) confuse-3.3-4  libftdi-1.5-6  libgpiod-2.1-2  libjaylink-0.3.1-1

Total Installed Size:  1.28 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                                       [################################################] 100%
(4/4) checking package integrity                                                     [################################################] 100%
(4/4) loading package files                                                          [################################################] 100%
(4/4) checking for file conflicts                                                    [################################################] 100%
(4/4) checking available disk space                                                  [################################################] 100%
:: Processing package changes...
(1/4) installing confuse                                                             [################################################] 100%
(2/4) installing libftdi                                                             [################################################] 100%
Optional dependencies for libftdi
    python: library bindings [installed]
(3/4) installing libjaylink                                                          [################################################] 100%
(4/4) installing libgpiod                                                            [################################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Saving list of explicit dependencies…
(4/4) Saving list of explicit optional dependencies…
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating flashprog git repo...
remote: Counting objects: 52, done
remote: Finding sources: 100% (47/47)
remote: Total 47 (delta 8), reused 13 (delta 8)
Unpacking objects: 100% (47/47), 16.13 KiB | 323.00 KiB/s, done.
From https://review.sourcearcade.org/flashprog
 * [new ref]           refs/changes/50/150/1    -> refs/changes/50/150/1
 * [new ref]           refs/changes/50/150/2    -> refs/changes/50/150/2
 * [new ref]           refs/changes/50/150/3    -> refs/changes/50/150/3
 * [new ref]           refs/changes/50/150/meta -> refs/changes/50/150/meta
 * [new ref]           refs/changes/51/151/1    -> refs/changes/51/151/1
 * [new ref]           refs/changes/51/151/2    -> refs/changes/51/151/2
 * [new ref]           refs/changes/51/151/3    -> refs/changes/51/151/3
 * [new ref]           refs/changes/51/151/meta -> refs/changes/51/151/meta
   5b4fdd11..3824c8d9  main                     -> main
==> Validating source files with sha256sums...
    flashprog ... Skipped
==> Verifying source file signatures with gpg...
    flashprog git repo ... FAILED (unknown public key A5C163B7E557CAEB)
==> ERROR: One or more PGP signatures could not be verified!

icon commented on 2024-05-23 22:26 (UTC)

It looks like ich_descriptors_tool has to be compiled, I ended up having to add this to build() to get the package to build:

Thanks! Updated, and also bumped the version. I guess you were building on non-x86? There's a stale `ifeq ($(ARCH), x86)' in the Makefile, actually don't know why it was added oO

luluco250 commented on 2024-05-11 01:37 (UTC)

It looks like ich_descriptors_tool has to be compiled, I ended up having to add this to build() to get the package to build:

build() {
    cd "${srcdir}/${pkgname}"
    make
    cd 'util/ich_descriptors_tool'
    make
}