[Bug 286625] devel/onetbb: Fails to build, fatal error: 'hwloc.h' file not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 06 May 2025 11:56:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286625

            Bug ID: 286625
           Summary: devel/onetbb: Fails to build, fatal error: 'hwloc.h'
                    file not found
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac@FreeBSD.org
          Reporter: agh@riseup.net
          Assignee: martymac@FreeBSD.org
             Flags: maintainer-feedback?(martymac@FreeBSD.org)
 Attachment #260202 text/plain
         mime type:

Created attachment 260202
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260202&action=edit
14.2 build log

Hello,

On a 15-CURRENT host, building onetbb with poudriere, within any of the current
releases, results the build failing:

> =======================<phase: configure      >============================
> [...]
> -- HWLOC target HWLOC::hwloc_1_11 doesn't exist. The tbbbind target cannot be created
> -- HWLOC target HWLOC::hwloc_2_5 doesn't exist. The tbbbind_2_5 target cannot be created
> [...]
> FAILED: src/tbbbind/CMakeFiles/tbbbind_2_0.dir/tbb_bind.cpp.o 
/ccache/libexec/ccache/c++ -D__TBBBIND_BUILD
-I/wrkdirs/usr/ports/devel/onetbb/work/oneTBB-2022.1.0/src/tbbbind/../../include
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing    -DNDEBUG -std=c++11 -flto=thin
-fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -mrtm
-mwaitpkg -Wformat -Wformat-security -Werror=format-security -fPIC
-fstack-protector-strong -D_FORTIFY_SOURCE=2
-ffile-prefix-map=/wrkdirs/usr/ports/devel/onetbb/work/oneTBB-2022.1.0/=
-ffile-prefix-map=../oneTBB-2022.1.0/= -MD -MT
src/tbbbind/CMakeFiles/tbbbind_2_0.dir/tbb_bind.cpp.o -MF
src/tbbbind/CMakeFiles/tbbbind_2_0.dir/tbb_bind.cpp.o.d -o
src/tbbbind/CMakeFiles/tbbbind_2_0.dir/tbb_bind.cpp.o -c
/wrkdirs/usr/ports/devel/onetbb/work/oneTBB-2022.1.0/src/tbbbind/tbb_bind.cpp
/wrkdirs/usr/ports/devel/onetbb/work/oneTBB-2022.1.0/src/tbbbind/tbb_bind.cpp:31:10:
fatal error: 'hwloc.h' file not found
>   31 | #include <hwloc.h>
>      |          ^~~~~~~~~
> 1 error generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.