Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2421 - spidev_test fails to build under SDK #7246

Open
openwrt-bot opened this issue Aug 1, 2019 · 7 comments
Open

FS#2421 - spidev_test fails to build under SDK #7246

openwrt-bot opened this issue Aug 1, 2019 · 7 comments
Labels

Comments

@openwrt-bot
Copy link

cshoredaniel:

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.

@openwrt-bot
Copy link
Author

chunkeey:

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.

@openwrt-bot
Copy link
Author

cshoredaniel:

Hi, I'm no longer getting the issue with current snapshots from master. Testing a 19.07-SNAPSHOT tonight, so I'll let you know if it's present there.

@openwrt-bot
Copy link
Author

cshoredaniel:

with 19.07-SNAPSHOT SDK I get:

cp: cannot stat '/home/daniel/Build/sdk-19.07-ath79/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-4.14.141/tools/spi/*': No such file or directory
make[3]: *** [Makefile:64: /home/daniel/Build/sdk-19.07-ath79/build_dir/target-mips_24kc_musl/linux-ath79_generic/linux-4.14.141/tools/spi-target-mips_24kc_musl/.prepared_8b19dd551411b99292ed5d221e373c29_6664517399ebbbc92a37c5bb081b5c53] Error 1
time: package/feeds/base/spidev_test/compile#0.19#0.05#0.38

This is what selects the spidev_test package

config PACKAGE_spidev-test
tristate
default m

in Config-build.in in the SDK,
but I think the real issue is that like the kernel and libc spidev_test should be a special wrapper that just packages the already built binaries that should be in the SDK.

@openwrt-bot
Copy link
Author

cshoredaniel:

Still failing on the buildbots (see logs at link below).

@openwrt-bot
Copy link
Author

PolynomialDivision:

Still fails.

@openwrt-bot
Copy link
Author

PolynomialDivision:

This PR should fix it:
#4846

@youkechat
Copy link

PolynomialDivision:

This PR should fix it: #4846

not fix yet, I meet with latest sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants