error F002: failed to build module build/tianocore/edk2-platforms/Silicon/NXP/LX2160A/AcpiTables/LX2160aCex7.inf
Closed this issue · 3 comments
the-real-neil commented
Here's what I did:
set -euvx
mkdir -vp /tmp/lx2160a_uefi
cd /tmp/lx2160a_uefi
find . -mindepth 1 -delete
git clone https://github.com/SolidRun/lx2160a_uefi.git .
INITIALIZE=1 ./runme.sh
./runme.sh
Here's what happened:
...
build.py...
: error F002: Failed to build module
/tmp/lx2160a_uefi/build/tianocore/edk2-platforms/Silicon/NXP/LX2160A/AcpiTables/LX2160aCex7.inf [AARCH64, GCC5, RELEASE]
- Failed -
Here's the complete log of stdout and stderr:
the-real-neil commented
Here's something else that happened during that attempted build:
ERROR: testRandomDataCycles (TianoCompress.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/lx2160a_uefi/build/tianocore/edk2/BaseTools/Tests/TianoCompress.py", line 60, in testRandomDataCycles
self.compressionTestCycle(data)
File "/tmp/lx2160a_uefi/build/tianocore/edk2/BaseTools/Tests/TianoCompress.py", line 46, in compressionTestCycle
start = self.ReadTmpFile('input')
File "/tmp/lx2160a_uefi/build/tianocore/edk2/BaseTools/Tests/TestTools.py", line 139, in ReadTmpFile
data = f.read()
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
----------------------------------------------------------------------
Ran 285 tests in 0.568s
FAILED (errors=1)
make[1]: Leaving directory '/tmp/lx2160a_uefi/build/tianocore/edk2/BaseTools/Tests'
make: Leaving directory '/tmp/lx2160a_uefi/build/tianocore/edk2/BaseTools'
the-real-neil commented
As you can probably guess from my fix, one can reproduce this error by assigning LC_ALL=C
within the shell executing ./runme.sh
.
the-real-neil commented