crashappsec / chalk

Chalk allows you to follow code from development, through builds and into production.
https://crashoverride.com/
GNU General Public License v3.0
354 stars 16 forks source link

building chalk on mac os 14.1.2 fails #107

Open aleftik-lw opened 11 months ago

aleftik-lw commented 11 months ago
/root/.cache/nim/nimutils_r/@m..@s..@s..@sroot@s.nimble@spkgs2@sunicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09@sunicodedb@sproperties_data.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@sroot@s.nimble@spkgs2@sunicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09@sunicodedb@sproperties.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@sroot@s.nimble@spkgs2@sunicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09@sunicodedb@swidths_data.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@sroot@s.nimble@spkgs2@sunicodedb-0.12.0-4452416471e2fe8726eb6070ed6ea7368171cc09@sunicodedb@swidths.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@sunicodeid.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@scolortable.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@smarkdown.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@shtmlparse.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@shexdump.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@srope_base.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@srope_construct.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@srope_styles.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@srope_prerender.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@srope_ansirender.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@spubsub.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@snativesockets.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@scollections@ssets.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@sstd@smonotimes.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@sssl_certs.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@snet.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@sbase64.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@suri.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@srandom.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@shttpcore.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@sasyncfutures.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@sselectors.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@sasyncdispatch.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@shttpclient.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@ssha.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@swrappers@spcre.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@spure@scollections@srtarrays.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@simpure@sre.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@ssigv4.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@sawsclient.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@ss3client.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@sencodings.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@sstd@stempfiles.nim.c.o /root/.cache/nim/nimutils_r/@m..@s..@s..@ssrc@snim-2.0.0@slib@sposix@sposix_utils.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@sfile.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@ssinks.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@stexttable.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@scrownhash.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@ssubproc.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@saes.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@sprp.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@snet.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils@slogging.nim.c.o /root/.cache/nim/nimutils_r/@mnimutils.nim.c.o  -lm -lm -pthread -pthread -lm -lm -lrt  -static /root/.local/c0/libs/libpcre.a /root/.local/c0/libs/libssl.a /root/.local/c0/libs/libcrypto.a /root/.local/c0/libs/libgumbo.a /root/.local/c0/libs/libhatrack.a  -ldl'
13.70        Tip: 37 messages have been suppressed, use --verbose to show them.
13.70 nimble.nim(229)          buildFromDir
13.70
13.70     Error:  Build failed for the package: nimutils
------
failed to solve: process "/bin/sh -c mkdir src &&     touch src/chalk.nim &&     nimble build" did not complete successfully: exit code: 1
make: *** [chalk] Error 17
viega commented 11 months ago

Thank you for reporting. I take it that this an x86 Mac?

Hatrack is a new library add laying the groundwork for a some multi-threaded stuff we'll be doing (it's a lock-free hash table I wrote a few years ago), and we haven't added a cached version for x86, but should be there for Arm.

I should be able to get get a cached version built for that platform, hopefully tonight (I've got an x86 mac at home).

If you don't want to wait, this should build on your mac: https://github.com/viega/hatrack.git

You'd need to brew install autoconf automake Then in the directory, run:

autoreconf -i
./automake.sh
./configure
make libhatrack.a
mv libhatrack.a ~/.local/c0/libs/

At this point, nimble build should work again within chalk.