OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Daniel Dickinson - 01.08.2019

FS#2421 - spidev_test fails to build under SDK

Using July 31, 2019 snapshot SDK (and quite few before that, just got around to reporting) spidev_test fails to build under the ath79 SDK (which causes the entire build to fail). Log message is:

cp: cannot stat ‘/home/daniel/Build/openwrt-sdk-ath79-generic_gcc-7.4.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-4.19.62/tools/spi/*’: No such file or directory
make[3]: *** [Makefile:64: /home/daniel/Build/openwrt-sdk-ath79-generic_gcc-7.4.0_musl.Linux-x86_64/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-4.19.62/tools/spi-target-mips_24kc_musl/.prepared_de019ecc69c7e706dce2af75912fda36_6664517399ebbbc92a37c5bb081b5c53] Error 1
time: package/feeds/base/spidev_test/compile#0.20#0.05#0.50

base feed is standard, openwrt-packages has modes to p910nd and saned-backends, otherwise current master, all other feeds standard.

 


Project Manager
Christian Lamparter commented on 02.08.2019 19:29

This is strange, the spidev_test should not be available in the SDK due to @!IN_SDK:

https://github.com/openwrt/openwrt/blob/master/package/utils/spidev_test/Makefile#L22

The main reason being that much like the "perf" utility, its part of to the linux kernel source so it gets updated constantly.

I've tried to reproduce this with todays (added sane-backends + p910nd) with the attached config, but in my case I can compile it successfully, as long as the key-build is in place.

   config (113.3 KiB)

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing