flashrom builds without libftdi because pkg-config command isn't a build-dep
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashrom (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Problem:
flashrom specifies libftdi1-dev as a build dependency. The build process is unable to detect the presence of this library without the pkg-config command being installed. This is evidenced in the build_details.txt file created during the build process:
...
exec: export LC_ALL=C ; { [ -n "" ] && export PKG_CONFIG_
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
...
Hence flashrom will be built without support for the ft2232_spi class of programmers:
$ flashrom --help
flashrom v0.9.9-rc1-r1942 on Linux 4.4.0-87-generic (x86_64)
...
-p | --programmer <name>[:<param>] specify the programmer device. One of
internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
it8212, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi, nicintel,
nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi, pickit2_spi,
ch341a_spi.
...
When installing pkg-config the support for ft2232_spi is included:
$ ./flashrom --help
flashrom v0.9.9-rc1-r1942 on Linux 4.4.0-87-generic (x86_64)
...
-p | --programmer <name>[:<param>] specify the programmer device. One of
internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
it8212, ft2232_spi, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi,
nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi,
usbblaster_spi, pickit2_spi, ch341a_spi.
...
Solution:
Include pkg-config as a build dependency
tags: | added: packaging xenial |
Changed in flashrom (Ubuntu): | |
status: | New → Fix Committed |
Changed in flashrom (Ubuntu): | |
status: | Fix Committed → Fix Released |
This affects flashrom 0.9.9~rc1+r1942-1 on Ubuntu 16.04