badkins
2022-1-2 22:14:38

I blew the dust off my Raspberry Pi 2 Model B, put a brand new Raspberry Pi OS on it, and I’m trying to get Racket installed. In the past, I was able to install BC w/o any issues, but I’m getting an error when installing the latest 8.3 CS: (time (compile-file "<http://syntax.ss\|syntax.ss>" ...)) 39 collections 81.085195511s elapsed cpu time, including 3.837153869s collecting 83.039933010s elapsed real time, including 3.849560466s collecting 663073728 bytes allocated, including 498647776 bytes reclaimed 205791232 bytes peak memory use Killed make[9]: *** [Mf-base:307: cpnanopass.patch] Error 137 make[9]: *** Waiting for unfinished jobs.... (time (compile-file "<http://cpprim.ss\|cpprim.ss>" ...)) 103 collections 246.554476253s elapsed cpu time, including 11.627763959s collecting 264.595796179s elapsed real time, including 20.050567615s collecting 1754737072 bytes allocated, including 1244896752 bytes reclaimed 548093952 bytes peak memory use make[8]: *** [Mf-boot:25: tarm32le.boot] Error 2 make[7]: *** [Makefile:66: tarm32le.bootquick] Error 2 make[6]: *** [Makefile:66: tarm32le.bootquick] Error 2 make[6]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build/cs/c/ChezScheme' make[5]: *** [Makefile:156: pb-bootquick] Error 2 make[5]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build/cs/c' make[4]: *** [Makefile:150: scheme-via-pb] Error 2 make[4]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build/cs/c' make[3]: *** [Makefile:132: scheme] Error 2 make[3]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build/cs/c' make[2]: *** [Makefile:86: cs] Error 2 make[2]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build/cs/c' make[1]: *** [Makefile:81: racketcs] Error 2 make[1]: Leaving directory '/home/pi/software/racket/racket-8.3/src/build' make: *** [Makefile:43: all] Error 2 What other info can I provide to help troubleshoot this?


badkins
2022-1-2 22:16:21

From config.log: hostname = raspberrypi uname -m = armv7l uname -r = 5.10.63-v7+ uname -s = Linux uname -v = #1488 SMP Thu Nov 18 16:14:44 GMT 2021 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = armv7l /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown


badkins
2022-1-2 22:22:01

I was using make -j 4, so just in case there is an issue with parallel make, I’m now trying make


badkins
2022-1-2 22:27:14

That may have been it. Peak memory when compiling <http://cpnanopass.ss\|cpnanopass.ss> was 780 MB, and my Pi only has 1 GB, so it may have simply run out of memory.


badkins
2022-1-2 23:21:04

Yes, I think that was the problem. It’s been building for over an hour, but I got farther than the step above, so it appears to be a memory issue with make -j 4