# github.com/ChainSafe/chainbridge-celo.test
/home/travis/.gimme/versions/go1.13.14.linux.amd64/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: skipping incompatible /home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/i686-unknown-linux-gnu/libbls_snark_sys.a when searching for -lbls_snark_sys
/usr/bin/ld: skipping incompatible /home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/i686-unknown-linux-gnu/libbls_snark_sys.a when searching for -lbls_snark_sys
/home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/x86_64-unknown-linux-gnu/libbls_snark_sys.a(rand-6fb9a16f9057e0f5.rand.a60cix0f-cgu.15.rcgu.o): In function `std::sync::once::Once::call_once::_$u7b$$u7b$closure$u7d$$u7d$::h52a30db3bdd4dc92':
rand.a60cix0f-cgu.15:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h52a30db3bdd4dc92E+0x1a): undefined reference to `pthread_atfork'
/home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/x86_64-unknown-linux-gnu/libbls_snark_sys.a(rand-6fb9a16f9057e0f5.rand.a60cix0f-cgu.15.rcgu.o): In function `core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h732400f78a4e3b74':
rand.a60cix0f-cgu.15:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h732400f78a4e3b74E+0x1a): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
FAIL github.com/ChainSafe/chainbridge-celo [build failed]
? github.com/ChainSafe/chainbridge-celo/bindings/AccessControl [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/Bridge [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/CentrifugeAsset [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/Context [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC165 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20Burnable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20Handler [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20Pausable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20PresetMinterPauser [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC20Safe [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721Burnable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721Handler [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721MinterBurnerPauser [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721Pausable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ERC721Safe [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/GenericHandler [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/HandlerHelpers [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IBridge [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IDepositExecute [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC165 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC20 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC721 [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC721Enumerable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC721Metadata [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERC721Receiver [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IERCHandler [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/IGenericHandler [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/Migrations [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/NoArgument [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/OneArgument [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/Ownable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/Pausable [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/ThreeArguments [no test files]
? github.com/ChainSafe/chainbridge-celo/bindings/TwoArguments [no test files]
# github.com/ChainSafe/chainbridge-celo/connection.test
/home/travis/.gimme/versions/go1.13.14.linux.amd64/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: skipping incompatible /home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/i686-unknown-linux-gnu/libbls_snark_sys.a when searching for -lbls_snark_sys
/usr/bin/ld: skipping incompatible /home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/i686-unknown-linux-gnu/libbls_snark_sys.a when searching for -lbls_snark_sys
/home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/x86_64-unknown-linux-gnu/libbls_snark_sys.a(rand-6fb9a16f9057e0f5.rand.a60cix0f-cgu.15.rcgu.o): In function `std::sync::once::Once::call_once::_$u7b$$u7b$closure$u7d$$u7d$::h52a30db3bdd4dc92':
rand.a60cix0f-cgu.15:(.text._ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h52a30db3bdd4dc92E+0x1a): undefined reference to `pthread_atfork'
/home/travis/gopath/pkg/mod/github.com/celo-org/celo-bls-go@v0.1.4/bls/../libs/x86_64-unknown-linux-gnu/libbls_snark_sys.a(rand-6fb9a16f9057e0f5.rand.a60cix0f-cgu.15.rcgu.o): In function `core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h732400f78a4e3b74':
rand.a60cix0f-cgu.15:(.text._ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h732400f78a4e3b74E+0x1a): undefined reference to `pthread_atfork'
collect2: error: ld returned 1 exit status
FAIL github.com/ChainSafe/chainbridge-celo/connection [build failed]
? github.com/ChainSafe/chainbridge-celo/shared/ethereum [no test files]
? github.com/ChainSafe/chainbridge-celo/shared/ethereum/testing [no test files]
FAIL
Makefile:22: recipe for target 'test' failed
make: *** [test] Error 2
Recently I tried to use celo-blockchain and but I end up this errors which I have no idea to fix nor I can find any solution on the internet so I decided to post it here.
Hi! This was solved in the v0.1.7 release and you seem to be using the v0.1.4 release. Let me know if it works.
If for some reason you can't use v0.1.7, there's another workaround we can use.
Recently I tried to use celo-blockchain and but I end up this errors which I have no idea to fix nor I can find any solution on the internet so I decided to post it here.