Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753383 - sys-apps/flashrom-1.2-r2: src_configure fails on arm64 with "Target arch is unknown" due to unexpected archtest output
Summary: sys-apps/flashrom-1.2-r2: src_configure fails on arm64 with "Target arch is u...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL: https://sourceware.org/pipermail/libc...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-06 19:52 UTC by Roy Bamford
Modified: 2020-11-11 21:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full output of gcc -E archtest.c with gcc:9 (SA_RESTART.txt,31.98 KB, text/plain)
2020-11-08 15:51 UTC, Roy Bamford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Bamford gentoo-dev 2020-11-06 19:52:17 UTC
sys-apps/flashrom-1.2-r2 fails to build on 64 bit Raspberry Pi 4.

Replacing all version templates with 1.2.
Checking for a C compiler... sed -e "s#@PREFIX@#/usr#" -e "s#@LIBDIR@#lib64#" -e "s#@INCLUDEDIR@#include#" -e "s#@VERSION@#1.2#" -e "s#@LIBS@#      -lusb-1.0  #" < flashrom.pc.in > flashrom.pc.tmp && mv flashrom.pc.tmp flashrom.pc
found.
Target arch is unknown. Aborting.





Reproducible: Always

Steps to Reproduce:
1. emerge -1av sys-apps/flashrom
2.
3.
Actual Results:  
Build system failed to determine that the Pi4 is arm64.

Expected Results:  
sys-apps/flashrom-1.2-r2 builds on 64 bit Raspberry Pi4

emerge --info '=sys-apps/flashrom-1.2-r2::gentoo
> '
Portage 3.0.9 (python 3.7.9-final-0, default/linux/arm64/17.0/desktop, gcc-10.2.0, glibc-2.32-r2, 5.4.45-v8+ aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.45-v8+-aarch64-with-gentoo-2.7
KiB Mem:     7819896 total,   2738768 free
KiB Swap:    4194300 total,   4193532 free
Head commit of repository genpi: 62cd2c4cc784bc4f5e0ff495b450a7dd024990fa

Head commit of repository genpi64: d77bf950710736c54130ecc566238f05a3ba20cf

sh bash 5.0_p18
ld GNU gold (Gentoo 2.34 p6 2.34.0) 1.16
distcc 3.3.3 aarch64-unknown-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.10-r2::gentoo, 3.7.9::genpi, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.18.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r3::genpi
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34-r2::gentoo, 2.35.1::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo, 10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

Pi_aarch64
    location: /usr/local/last_out_of_the_past
    masters: gentoo

genpi
    location: /var/db/repos/genpi
    sync-type: git
    sync-uri: https://github.com/NeddySeagoon/genpi64-overlay
    masters: gentoo

genpi64
    location: /var/db/repos/genpi64
    sync-type: git
    sync-uri: https://github.com/sakaki-/genpi64-overlay
    masters: gentoo

bunder
    location: /var/lib/layman/bunder
    masters: gentoo
    priority: 50

palemoon
    location: /var/lib/layman/palemoon
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE all-rights-reserved bh-luxi bluez-firmware fairuse FraunhoferFDK freedist linux-firmware linux-fw-redistributable MPEG-4 no-source-code Oracle-BCLA-JavaSE oracle-java-documentation-8"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/                  http://mirror.mdfnet.se/gentoo                  http://mirrors.163.com/gentoo/                  http://gentoo.mirror.web4u.cz/                  http://64.50.236.52/                  http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/                  http://gentoo.mneisen.org/                  http://gentoo.mirror.pw.edu.pl/                  http://gentoo.prz.rzeszow.pl                  http://mirror.mdfnet.se/mirror/gentoo                  http://ftp.gentoo.bg/                  http://distfiles.gentoo.bg/                  http://mirrors.ludost.net/gentoo/                  http://mirror.hamakor.org.il/pub/mirrors/gentoo/                  http://ftp.dei.uc.pt/pub/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-map-whole-files"
LINGUAS="en en_GB"
MAKEOPTS="-j5"
PKGDIR="/packages"
PORTAGE_BINHOST="http://bloodnoc.org/~roy/BINHOSTS/gcc-10.x/armv8a"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa arm64 berkdb bluetooth branding bzip2 cairo cdda cdr cli context crypt cups dbus doc dot dri dts dvd dvdnav dvdr eds egl elogind emboss encode exif flac fontconfig fortran gdbm gif gles1 gnome-keyring gpm graphite gstreamer gtk gtk3 gui iconv icu inspector introspection iptables ipv6 jadetex jpeg latex lcms libglvnd libnotify libtirpc mad minizip mng mp3 mp4 mpeg mysql mysqli ncurses nls nptl nss ogg opengl openmp openssl pam pango pcre pcre16 pdf pie png policykit postproc ppds python qml qt5 raspberry-pi readline script sdl seccomp skia spell split-usr sqlite ssl ssp startup-notification svc svg tcpd theora threads tiff tk truetype udev udisks unicode upower usb v4l vala virt-network vorbis widgets wxwidgets x264 xattr xcb xml xpm xv xvfb xvid xvmc zlib" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev nouveau radeon v3d vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/flashrom-1.2-r2::gentoo was built with the following:
USE="atavia buspirate-spi ch341a-spi dediprog developerbox-spi digilent-spi drkaiser dummy ft2232-spi gfxnvidia internal-dmi it8212 linux-mtd linux-spi nicintel nicintel-eeprom nicintel-spi ogp-spi pickit2-spi pony-spi satasii serprog usbblaster-spi wiki (-atahpt) (-atapromise) (-internal) (-jlink-spi) -mstarddc-spi (-nic3com) (-nicnatsemi) (-nicrealtek) (-rayer-spi) (-satamv) -static -stlinkv3-spi (-tools)"
CFLAGS="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto=6 -fPIC"
CXXFLAGS="-mcpu=cortex-a72+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto=6 -fPIC"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

The package settinigs above are incorrect. The installed version was built on the Cavium Thunder II build box. The Pi 4 is missing most of the hardware listed in the USE flags. The actual emerge invocation was

# USE="-atavia -gfxnvidia -it8212 -nicintel -nicintel-eeprom -nicintel-spi -satasii -serprog -usbblaster-spi -wiki -linux-mtd -linux-spi -drkaiser -ogp-spi" emerge -1av sys-apps/flashrom

The build log is pasted below.
  * Package:    sys-apps/flashrom-1.2-r2
 * Repository: gentoo
 * Maintainer: marecki@gentoo.org
 * USE:        arm64 buspirate-spi ch341a-spi dediprog developerbox-spi digilent-spi dummy elibc_glibc ft2232-spi internal-dmi kernel_linux pickit2-spi pony-spi userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking flashrom-v1.2.tar.bz2 to /var/tmp/portage/sys-apps/flashrom-1.2-r2/work
>>> Source unpacked in /var/tmp/portage/sys-apps/flashrom-1.2-r2/work
>>> Preparing source in /var/tmp/portage/sys-apps/flashrom-1.2-r2/work/flashrom-v1.2 ...
 * Applying flashrom-1.2_make-libflashrom-usable.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/flashrom-1.2-r2/work/flashrom-v1.2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/flashrom-1.2-r2/work/flashrom-v1.2 ...
make -j5 INCLUDEDIR=include LIBDIR=lib64 PREFIX=/usr VERSION=1.2 WARNERROR=no CONFIG_ATAHPT=no CONFIG_ATAPROMISE=no CONFIG_ATAVIA=no CONFIG_BUSPIRATE_SPI=yes CONFIG_CH341A_SPI=yes CONFIG_DEDIPROG=yes CONFIG_DEVELOPERBOX_SPI=yes CONFIG_DIGILENT_SPI=yes CONFIG_DRKAISER=no CONFIG_DUMMY=yes CONFIG_FT2232_SPI=yes CONFIG_GFXNVIDIA=no CONFIG_INTERNAL=no CONFIG_IT8212=no CONFIG_JLINK_SPI=no CONFIG_LINUX_MTD=no CONFIG_LINUX_SPI=no CONFIG_MSTARDDC_SPI=no CONFIG_NIC3COM=no CONFIG_NICINTEL=no CONFIG_NICINTEL_EEPROM=no CONFIG_NICINTEL_SPI=no CONFIG_NICNATSEMI=no CONFIG_NICREALTEK=no CONFIG_OGP_SPI=no CONFIG_PICKIT2_SPI=yes CONFIG_PONY_SPI=yes CONFIG_RAYER_SPI=no CONFIG_SATAMV=no CONFIG_SATASII=no CONFIG_SERPROG=no CONFIG_STLINKV3_SPI=no CONFIG_USBBLASTER_SPI=no CONFIG_PRINT_WIKI=no CONFIG_STATIC=no all libflashrom.a 
Replacing all version templates with 1.2.
Checking for a C compiler... sed -e "s#@PREFIX@#/usr#" -e "s#@LIBDIR@#lib64#" -e "s#@INCLUDEDIR@#include#" -e "s#@VERSION@#1.2#" -e "s#@LIBS@#      -lusb-1.0  #" < flashrom.pc.in > flashrom.pc.tmp && mv flashrom.pc.tmp flashrom.pc
found.
Target arch is unknown. Aborting.
make: *** [Makefile:1187: compiler] Error 1
 * ERROR: sys-apps/flashrom-1.2-r2::gentoo failed (compile phase):
 *   emake failed
Comment 1 Marek Szuba archtester gentoo-dev 2020-11-06 20:45:36 UTC
Could you explain what exactly Cavium Thunder II mentioned under Package Settings got to do with this bug? I feel rather confused right now.

Regarding this problem, I've got no way of trying to reproduce it myself so I'll have to ask *you* to run some tests. Lets begin like this:

 - take the files: archtest.c and platform.h from the flashrom tarball;
 - on the affected host, run 

gcc -E archtest.c 2>/dev/null | grep -v '^\#' | grep '"' | cut -f 2 -d'"'

What do you get?
Comment 2 Roy Bamford gentoo-dev 2020-11-06 23:32:21 UTC
I have access to two different arm64 systems.
sys-apps/flashrom-1.2-r2 builds on one, the 96 core Cavium Thunder, which is how i had it on the Raspberry Pi4. My workflow is build there, push to a binhost and install on the Pi from the binhost.
That's how I got sys-apps/flashrom-1.2-r2 installed on the Pi even though it won't build there.

My attempt to build sys-apps/flashrom-1.2-r2 on the Pi4 was triggered by a post on the forums.
The mention of the Cavium Thunder was to explain that a piece of the requested output for bug reports, namely the sys-apps/flashrom-1.2-r2::gentoo was built with the following: ... was not relevant.


Pi4_~arm64 ~ # emerge sys-apps/flashrom -1
Let it fail ...
cd /var/tmp/portage/sys-apps/flashrom-1.2-r2/work/flashrom-v1.2

Your test produces ...

Pi4_~arm64 /var/tmp/portage/sys-apps/flashrom-1.2-r2/work/flashrom-v1.2 # gcc -E archtest.c 2>/dev/null | grep -v '^\#' | grep '"' | cut -f 2 -d'"'
Use sigaction with SA_RESTART instead
arm

To add to my confusion sys-apps/flashrom-1.2-r2 no longer builds on the Cavium.
It produces the same failure and same test output as above.
... but it has built as its in the binary packages.
Comment 3 Marek Szuba archtester gentoo-dev 2020-11-08 11:57:20 UTC
(In reply to Roy Bamford from comment #2)

> Use sigaction with SA_RESTART instead

This line should very much not be there. Could you find out where exactly it comes from? It's probably part of the 'gcc -E' output but better to make sure.
Comment 4 Marek Szuba archtester gentoo-dev 2020-11-08 11:58:39 UTC
Oh, and if I see correctly that you have used gcc-10 try this test with gcc-9 as well.
Comment 5 Marek Szuba archtester gentoo-dev 2020-11-08 13:22:41 UTC
For the record, the message itself comes from glibc-2.32 - but we still have to identify what bit of the flashrom build chain tries to use the deprecated signal (pretty sure it's not anything in flashrom itself, given archtest is not even compiled), or why the problem appears to be arm64-specific.
Comment 6 Roy Bamford gentoo-dev 2020-11-08 15:51:05 UTC
Created attachment 670466 [details]
Full output of gcc -E archtest.c with gcc:9
Comment 7 Marek Szuba archtester gentoo-dev 2020-11-10 16:33:36 UTC
Could you give 1.2-r3 a go? Mind you, you'll have to unmask it.
Comment 8 Marek Szuba archtester gentoo-dev 2020-11-11 13:24:43 UTC
Not really fixed but since meson-based sys-apps/flashrom-1.2-r3 seems to be finally usable, I do not think we have to mess with the Makefile any more.
Comment 9 Roy Bamford gentoo-dev 2020-11-11 21:56:02 UTC
sys-apps/flashrom-1.2-r3 builds on arm64 but the built system is inconsistent.
See the warnings.

Not yet run time tested on my Pi4 as the one in use is current.


>>> Emerging (1 of 1) sys-apps/flashrom-1.2-r3::gentoo
 * flashrom-v1.2.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking flashrom-v1.2.tar.bz2 to /var/tmp/portage/sys-apps/flashrom-1.2-r3/work
>>> Source unpacked in /var/tmp/portage/sys-apps/flashrom-1.2-r3/work
>>> Preparing source in /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-v1.2 ...
 * Applying flashrom-1.2_meson-fixes.patch ...                                                                                    [ ok ]
 * Applying flashrom-1.2_meson-install-manpage.patch ...                                                                          [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-v1.2 ...
meson setup --buildtype plain --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/sys-apps/flashrom-1.2-r3/temp/meson.aarch64-unknown-linux-gnu.arm64.ini -Dconfig_atahpt=false -Dconfig_atapromise=false -Dconfig_atavia=false -Dconfig_buspirate_spi=true -Dconfig_ch341a_spi=true -Dconfig_dediprog=true -Dconfig_developerbox_spi=true -Dconfig_digilent_spi=true -Dconfig_drkaiser=false -Dconfig_dummy=true -Dconfig_ft2232_spi=true -Dconfig_gfxnvidia=false -Dconfig_internal=false -Dconfig_internal_dmi=true -Dconfig_it8212=false -Dconfig_jlink_spi=false -Dconfig_linux_mtd=false -Dconfig_linux_spi=false -Dconfig_mstarddc_spi=false -Dconfig_nic3com=false -Dconfig_nicintel_eeprom=false -Dconfig_nicintel_spi=false -Dconfig_nicintel=false -Dconfig_nicnatsemi=false -Dconfig_nicrealtek=false -Dconfig_ogp_spi=false -Dconfig_pickit2_spi=true -Dconfig_pony_spi=true -Dconfig_rayer_spi=false -Dconfig_satamv=false -Dconfig_satasii=false -Dconfig_stlinkv3_spi=true -Dconfig_serprog=false -Dconfig_usbblaster_spi=false /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-v1.2 /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-1.2-build
The Meson build system
Version: 0.55.3
Source dir: /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-v1.2
Build dir: /var/tmp/portage/sys-apps/flashrom-1.2-r3/work/flashrom-1.2-build
Build type: native build
Project name: flashromutils
Project version: v1.2
C compiler for the host machine: aarch64-unknown-linux-gnu-gcc (gcc 10.2.0 "aarch64-unknown-linux-gnu-gcc (Gentoo 10.2.0-r3 p4) 10.2.0")
C linker for the host machine: aarch64-unknown-linux-gnu-gcc ld.gold 2.34
Host machine cpu family: aarch64
Host machine cpu: aarch64
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES 
Compiler for C supports arguments -Wno-address-of-packed-member -Waddress-of-packed-member: YES 
Compiler for C supports arguments -Wno-enum-conversion -Wenum-conversion: YES 
Compiler for C supports arguments -Wno-missing-braces -Wmissing-braces: YES 
Checking for function "clock_gettime" : YES 
Checking for function "strnlen" : YES 
Check usable header "sys/utsname.h" : YES 
Found pkg-config: /usr/bin/aarch64-unknown-linux-gnu-pkg-config (0.29.2)
Run-time dependency libftdi1 found: YES 1.4
Run-time dependency libusb-1.0 found: YES 1.0.23
WARNING: Project targeting '>=0.47.0' but tried to use feature introduced in '0.50.0': install arg in configure_file.
Configuring flashrom.8 using configuration
Build targets in project: 3
WARNING: Project specifies a minimum meson_version '>=0.47.0' but uses features which were added in newer versions:
 * 0.50.0: {'install arg in configure_file'}

Found ninja-1.10.1 at /usr/bin/ninja
>>> Source configured.