Open udance4ever opened 1 month ago
This kind of error seems to happen when the JSON is corrupted. In this case the JSON is generated by Buildroot's show-info
, so I don't think that it was generated with errors.
Could it be that the JSON file was corrupted while br-pbuilder was reading it? Eg., Did you execute br-pbuilder twice at the same time for different targets?
this is the first time execution on an x86 machine (not M1) - this is the only difference. I've tried a clean build several times & same result.
do you have x86 hardware available?
can you reproduce the result?
I have an x86_64, but I've never seen this.
Could it be an issue with the host's python3 and/or its json libs?
I don't think it's a BR issue, but just to be sure, could you execute make -s --no-print-directory show-info
and validate the resulting JSON? (any online validator should be ok)
it’s valid JSON: test.json
used the following commands to create it:
squatter@orbit:~/dev/batocera.linux$ make x86_64-shell
squatter@8513b6ae1d9a:/x86_64$ make -s --no-print-directory show-info > test.json
no issues getting
pbuilder
off the ground in an arm64 Ubuntu build container in Asahi Linux (MBP 2020)went to checkout the same branch in a x86 Ubuntu build container on an x86 machine (MBP early 2015) (same Dockerfile on both machines)
and get this error:
wondering if this error makes any sense to you?
Building x86 targets on an x86 machine is our default configuration so it’s surprising the cross-build environment succeeds to the end!