Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Package tbb fails to build from source in Fedora Rawhide. Version-Release number of selected component (if applicable): 2020.3-12.fc37 Steps to Reproduce: koji build --scratch f38 tbb-2020.3-12.fc37.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/tbb The failure started when gcc was update to vrsion 13 in rawhide. In file included from ../../src/tbb/scheduler_common.h:39, from ../../src/tbb/observer_proxy.h:22, from ../../src/tbb/observer_proxy.cpp:21: ../../include/tbb/task.h:300:20: error: declaration of 'tbb::task& tbb::internal::task_prefix::task()' changes meaning of 'task' [-fpermissive] 300 | tbb::task& task() {return *reinterpret_cast<tbb::task*>(this+1);} | ^~~~ ../../include/tbb/task.h:252:9: note: used here to mean 'class tbb::task' 252 | task* next_offloaded; | ^~~~ ../../include/tbb/task.h:43:7: note: declared here 43 | class task; | ^~~~
Created attachment 1938488 [details] Patch that fixes the issue Scratch build with proposed patch applied. https://koji.fedoraproject.org/koji/taskinfo?taskID=96218649
I stumbled on this last month testing the parallel algorithms in libstdc++. I have pushed a fix to rawhide. Scratch build - https://koji.fedoraproject.org/koji/taskinfo?taskID=96229330
Could you do a non-scratch build for rawhide. A scratch build doesn't fix FTBFS failures in other packages that fail because they include the broken tbb header. PS. The patch that was checked in to git has a tab in it.
Build - https://koji.fedoraproject.org/koji/taskinfo?taskID=96257509 Fixed the errant tab in the patch