Hi Shivam,
Uppss … Thank you very much for pointing out my crude typo (I missed an extra cup of coffee …). I was able to move forward but now I have problems with make check-all:
Testing: 0… 10… 20… 30… 40… 50… 60… 70… 80…
FAIL: LLVM :: tools/llvm-ar/error-opening-permission.test (69523 of 76951)
******************** TEST ‘LLVM :: tools/llvm-ar/error-opening-permission.test’ FAILED ********************
Script:
: ‘RUN: at line 5’; rm -rf /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp && mkdir -p /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp
: ‘RUN: at line 6’; echo file1 > /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/1.txt
: ‘RUN: at line 9’; /home/bigpack/llvm-paq/11.0.0/llvm-project/build/bin/llvm-ar rc /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/permission.b /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/1.txt
: ‘RUN: at line 10’; chmod 100 /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/permission.b
: ‘RUN: at line 11’; not /home/bigpack/llvm-paq/11.0.0/llvm-project/build/bin/llvm-ar p /home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/permission.b 2>&1 | /home/bigpack/llvm-paq/11.0.0/llvm-project/build/bin/FileCheck /home/bigpack/llvm-paq/11.0.0/llvm-project/llvm/test/tools/llvm-ar/error-opening-permission.test --check-prefix=NO-PERMISSION -DARCHIVE=/home/bigpack/llvm-paq/11.0.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission.test.tmp/permission.b
Exit Code: 1
Command Output (stderr):
/home/bigpack/llvm-paq/11.0.0/llvm-project/llvm/test/tools/llvm-ar/error-opening-permission.test:14:18: error: NO-PERMISSION: expected string not found in input
NO-PERMISSION: error: unable to open ‘[[ARCHIVE]]’: {{[pP]}}ermission denied
^
:1:1: note: scanning from here
file1
^
:1:1: note: with “ARCHIVE” equal to “/home/bigpack/llvm-paq/11\.0\.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission\.test\.tmp/permission\.b”
file1
^
Input file:
Check file: /home/bigpack/llvm-paq/11.0.0/llvm-project/llvm/test/tools/llvm-ar/error-opening-permission.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: file1
check:14’0 X~~~~ error: no match found
check:14’1 with “ARCHIVE” equal to “/home/bigpack/llvm-paq/11\.0\.0/llvm-project/build/test/tools/llvm-ar/Output/error-opening-permission\.test\.tmp/permission\.b”
Any suggestion to fix it? By the way, how do I control the number of threads with make check-all ? (e.g. does the -jN flag work in this context?).
Regards.