Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

CMake tests fail

Open
#138 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cmake, cpp

Research direction

Start with libs/optional/test/optional_test_inplace_factory.cpp and the linked GitHub Actions job to reproduce the CMake failure. Trace why boost/utility/in_place_factory.hpp is unavailable during the test build, then verify that the CMake tests complete successfully.

Written by the indexing model from the issue text.

Description

With

[ 42%] Building CXX object libs/optional/test/CMakeFiles/boost_optional-optional_test_inplace_factory.dir/optional_test_inplace_factory.cpp.o
/home/runner/work/boost/boost/libs/optional/test/optional_test_inplace_factory.cpp:21:10: fatal error: boost/utility/in_place_factory.hpp: No such file or directory
   21 | #include "boost/utility/in_place_factory.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(https://github.com/boostorg/boost/actions/runs/11381811673/job/31664029157)

Dominant language
C++
Stars
60
Forks
75
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/optional

All issues in boostorg/optional

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.