Opened 5 months ago
Closed 5 months ago
#70096 closed defect (fixed)
bali-phy fails to build with gcc-13: error: 'bitset' has not been declared in 'std'
Reported by: | barracuda156 | Owned by: | barracuda156 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | reneeotten (Renee Otten) | |
Port: | bali-phy |
Description
[106/295] /opt/local/bin/g++-mp-13 -Isrc/libbaliphy.a.p -Isrc -I../BAli-Phy-3.6.1/src -I. -I../BAli-Phy-3.6.1 -I../BAli-Phy-3.6.1/src/util/include -I/opt/local/libexec/boost/1.81/include -I/opt/local/include -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -fvisibility=default -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -isystem/opt/local/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libbaliphy.a.p/dp_hmm.cc.o -MF src/libbaliphy.a.p/dp_hmm.cc.o.d -o src/libbaliphy.a.p/dp_hmm.cc.o -c ../BAli-Phy-3.6.1/src/dp/hmm.cc FAILED: src/libbaliphy.a.p/dp_hmm.cc.o /opt/local/bin/g++-mp-13 -Isrc/libbaliphy.a.p -Isrc -I../BAli-Phy-3.6.1/src -I. -I../BAli-Phy-3.6.1 -I../BAli-Phy-3.6.1/src/util/include -I/opt/local/libexec/boost/1.81/include -I/opt/local/include -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++17 -O3 -DHAVE_CONFIG_H -Wno-sign-compare -Wno-maybe-uninitialized -Woverloaded-virtual -Wstrict-aliasing -Wno-unknown-pragmas -fdiagnostics-show-template-tree -funroll-loops -fno-math-errno -fno-signed-zeros -DNDEBUG_DP -fvisibility=default -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -isystem/opt/local/include/eigen3 -DBOOST_RANDOM_DYN_LINK -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libbaliphy.a.p/dp_hmm.cc.o -MF src/libbaliphy.a.p/dp_hmm.cc.o.d -o src/libbaliphy.a.p/dp_hmm.cc.o -c ../BAli-Phy-3.6.1/src/dp/hmm.cc ../BAli-Phy-3.6.1/src/dp/hmm.cc:69:12: error: 'bitset' has not been declared in 'std' 69 | using std::bitset; | ^~~~~~
Change History (2)
comment:1 Changed 5 months ago by barracuda156
comment:2 Changed 5 months ago by barracuda156
Owner: | set to barracuda156 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Okay, I have a fix, the source simply does not included the needed
<bitset>
header.https://github.com/macports/macports-ports/pull/24169