Closed belzebub40k closed 3 years ago
Also happens on rockchip-armv8. Updated first post.
@blocktrron was hunting down a few of these lately, however it is unclear to me how so many new ones turned up at once. We need to find a way to catch these in our CI...
This requires some guess work. My first one would be, that they closed stdin in the shell they're giving us?
https://superuser.com/questions/813472/how-do-i-close-stdin-in-a-shell-script https://stackoverflow.com/questions/30968734/reopen-stdout-and-stderr-after-closing-them
stdin is probably connected to /dev/null
in the CI.
I don't see a good way to detect missing config symbols with current OpenWrt:
V=s
</dev/null
I believe that OpenWrt's behaviour changed at some point, and there were versions where the build without V=s
would fail for missing symbols, but I might be wrong.In any case, it seems that OpenWrt doesn't care too much about missing config symbols anymore, seeing how many targets have them. Maybe instead of fixing the missing symbols, we should just add a </dev/null
at the right place in the OpenWrt build system, so things don't break with V=s
?
I'm working on a way to reproducibly trigger the failure regardloss of the presence of stdin. See my branch https://github.com/blocktrron/gluon/tree/pr-kconfig-missing
Bug report
What is the problem? Builds hang and wait for user input when building.
ramips-mt76x8
rockchip-armv8
sunxi-cortexa7
x86-legacy
What is the expected behaviour? The build process should run without further user interaction.
Gluon Version: master (v2021.1-87-g338a831a)
Site Configuration: https://github.com/freifunk-mwu/site-ffmwu/tree/restruct
Custom patches: None