I'm following instructions from "Build system – Usage" page (https://openwrt.org/docs/guide-developer/build-system/use-buildsystem) and it's running for a while and then I get an error message that odhcpd-1.14.tar.xz is bad:
. /mnt/1TB/ow/openwrt/include/shell.sh; xzcat /mnt/1TB/ow/openwrt/dl/odhcpd-1.14.tar.xz | tar -C /mnt/1TB/ow/openwrt/build_dir/target-mipsel_74kc_musl/odhcpd-ipv6only/odhcpd-1.14/.. -xf -
tar: This does not look like a tar archive
And indeed, its size is just 32 bytes. Sizes of all other archives in that directory appear reasonable.
Does anybody see this?
Update. I produced the problem by doing:
To find the error message, I used:
make -j1 V=sc
Now, as an experiment, I simply erased the bad file and run:
make -j1 V=sc
And it recreated the file and it's now good and build has finished.
Probably a local, one-off issue then.
This kind of a problem happens regularly for me. I've seen it with libiwinfo package yesterday. Today It has just happened with libiwinfo-2018-12-25-dd508af4.tar.xz, on a completely fresh clone of the master branch:
git clone https://git.openwrt.org/openwrt/openwrt.git
./scripts/feeds update -a
./scripts/feeds install -a
=> dl/libiwinfo-2018-12-25-dd508af4.tar.xz is 32 bytes long
Then, as I expected, the build failed and I resolved it as before.
the hash was just fixed up?
Have you seen the contents of the downloaded file?
Tried again with that commit, the problem didn't happen.