Proposal Progress: secp256k1 may break the build

in hive-102132 •  yesterday 

Thanks for all the supporters for Proposal: Fixing Steemd Build Dependencies in the Latest OS

Progress Update

I've pushed a commit yesterday to https://github.com/steemit/steem/pull/3700
However, I found out the local builds fail strangely on building secp256k1:

Here are some errors:

make -j2 Consolidate compiler generated dependencies of target equihash [ 1%] Built target project_secp256k1 [ 1%] Built target equihash make[2]: *** No rule to make target '../libraries/fc/vendor/secp256k1-zkp/.libs/libsecp256k1.a', needed by 'libraries/fc/CMakeFiles/secp256k1_build'. Stop. make[1]: *** [CMakeFiles/Makefile2:1563: libraries/fc/CMakeFiles/secp256k1_build.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Consolidate compiler generated dependencies of target rocksdb [ 32%] Built target rocksdb make: *** [Makefile:136: all] Error 2

cd src/project_secp256k1-build
root@7d103861a385:/usr/local/src/build/libraries/fc/vendor/secp256k1-zkp/src/project_secp256k1-build# make
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash /usr/local/src/libraries/fc/vendor/secp256k1-zkp/configure --prefix=/usr/local/src/build/libraries/fc/vendor/secp256k1-zkp --with-bignum=no --no-create --no-recursion
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: error: source directory already configured; run "make distclean" there first
make: *** [Makefile:711: config.status] Error 1

I've carefully checked my changes and none of them seem related to this failure.

image.png

It seems related to the local cmake cache

Steem to the Moon🚀!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello, I understand that we can receive upvotes by delegating to you on Steem. Could you please explain how this works? Directly deletage is enough for it ? What are minimum and maximum we can delegate ?

  ·  yesterday