openhwgroup / cvw

CORE-V Wally is a configurable RISC-V Processor associated with RISC-V System-on-Chip Design textbook. Contains a 5-stage pipeline, support for A, B, C, D, F, M and Q extensions, and optional caches, BP, FPU, VM/MMU, AHB, RAMs, and peripherals.
Other
256 stars 182 forks source link

$WALLY/bin/wally-tool-chain-install.sh Fails #988

Open eroom1966 opened 2 weeks ago

eroom1966 commented 2 weeks ago

Running on Ubuntu 22.04 when attempting to run the script $WALLY/bin/wally-tool-chain-install.sh as a user (not root) This fails with the following error

######################################################################################################################################################################################################################################################################################################################################################################################################################################################################################Installing Buildroot and Creating Linux testvectors ######################################################################################################################################################################################################################################################################################################################################################################################################################################################################################Buildroot successfully download. make[1]: [support/dependencies/dependencies.mk:27: dependencies] Error 1 make: [Makefile:51: Image] Error 2 Error: Buildroot installation failed Error on line 387 with command [ "${PIPESTATUS[0]}" == 0 ]

eroom1966 commented 2 weeks ago

current hash commit 428e9d0a6d3c2e97b967db029fa3279a5108e85b (HEAD -> main, origin/main, origin/HEAD)

eroom1966 commented 2 weeks ago

Update: it appears that error messages do not come the the console/stdout, I looked in the $RISCV/logs directory and saw this message

You seem to have the current working directory in your PATH environment variable. This doesn't work. make[1]: [support/dependencies/dependencies.mk:27: dependencies] Error 1 make[1]: Leaving directory '/home/moore/git/eroom1966_wally/cvw/linux/buildroot' make: [Makefile:51: Image] Error 2

I am running again to see if this is the issue, but hidden in the logfile not to the stdout - is not really helpful in diagnosing a problem

jordancarlin commented 2 weeks ago

Thanks for reporting this. Any line with the words error or warning should be printed to stdout. I’ll take a look at tweaking the filter to make sure this message makes it through and may add a check at the beginning for this specific path issue.

jordancarlin commented 2 weeks ago

Should avoided in the future by #988. Let us know if the installation still fails after updating your PATH.

jordancarlin commented 1 week ago

@eroom1966 Did rerunning the installation with the modified PATH work?