Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Make -j$(nproc) command exits with error 1 #139

Open
naftalimurgor opened this issue Dec 24, 2024 · 2 comments
Open

Tests: Make -j$(nproc) command exits with error 1 #139

naftalimurgor opened this issue Dec 24, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@naftalimurgor
Copy link
Contributor

naftalimurgor commented Dec 24, 2024

Motivation

Running:

./autogen.sh
./configure

Exits with following error:

make[2]: *** No rule to make target 'minisketch/src/test.cpp', needed by 'minisketch/src/test-test.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
  CXX      qt/test/test_BGL_qt-moc_wallettests.o
make[2]: Leaving directory '/home/nmurgor/c++/bitgesell/src'
make[1]: *** [Makefile:17827: all-recursive] Error 1
make[1]: Leaving directory '/home/nmurgor/c++/bitgesell/src'
make: *** [Makefile:817: all-recursive] Error 1

Using GCC/G++
OS: Ubuntu 22.04 LTS

g++ (Ubuntu 11.4.0-9ubuntu1) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Possible solution

Possible to resolve by updating build system to correctly handle building tests for minisketch lib
@wu-emma I can take on this soon enough
Ty!

Useful Skills

  • Compiling Bitcoin Core from source
  • Running the C++ unit tests and the Python functional tests
  • ...

Guidance for new contributors

Want to work on this issue?

For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

@naftalimurgor naftalimurgor added the good first issue Good for newcomers label Dec 24, 2024
@janus
Copy link
Collaborator

janus commented Dec 25, 2024

Is this from which branch ?

@naftalimurgor
Copy link
Contributor Author

I checked out the latest release as follows:

git tag

Lists all release tags as follows:

0.1.1
0.1.10
0.1.11
0.1.12
0.1.1u1
0.1.1u2
0.1.2
0.1.3
0.1.7
0.1.8
0.1.9

Then checkout the latest stable release:

git checkout 0.1.9

Is this from which branch ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants