Skip to content

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

@naftalimurgor

Description

@naftalimurgor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions