Opened 8 years ago
Last modified 8 years ago
#54078 closed defect
gnuradio, gnuradio-devel: Build failure with cppunit 1.14.0 — at Version 5
Reported by: | mf2k (Frank Schima) | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dgmess01 | |
Port: | gnuradio |
Description (last modified by mf2k (Frank Schima))
gnuradio-devel seems to be failing due to the latest cppunit. I am running macOS Sierra 10.12.4 with Xcode 8.3.2.
/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_science_gnuradio/gnuradio-devel/work/gnuradio-082711cc3f7d910e50609695224e7a3c994a4c73/gnuradio-runtime/lib/math/qa_fxpt.h:32:3: note: in instantiation of member function 'CppUnit::TestCaller<qa_fxpt>::TestCaller' requested here :info:build CPPUNIT_TEST(t0); :info:build ^ :info:build /opt/local/include/cppunit/extensions/HelperMacros.h:299:15: note: expanded from macro 'CPPUNIT_TEST' :info:build ( new CPPUNIT_NS::TestCaller<TestFixtureType>( \ :info:build ^ :info:build /opt/local/include/cppunit/Portability.h:107:21: note: expanded from macro 'CPPUNIT_NS' :info:build # define CPPUNIT_NS CppUnit :info:build ^ :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:862:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided :info:build find(_InputIterator __first, _InputIterator __last, const _Tp& __value_) :info:build ^ :info:build 4 errors generated. :info:build make[2]: *** [gnuradio-runtime/lib/CMakeFiles/test-gnuradio-runtime.dir/math/qa_fxpt.cc.o] Error 1
$ port installed cppunit The following ports are currently installed: cppunit @1.14.0_0 (active)
I have not tried to build gnuradio yet.
Change History (6)
Changed 8 years ago by mf2k (Frank Schima)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Summary: | gnuradio-devel: Build failure with cppunit → gnuradio-devel: Build failure with cppunit 1.14.0 |
---|
comment:3 Changed 8 years ago by michaelld (Michael Dickens)
comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | dgmess01 added |
---|---|
Summary: | gnuradio-devel: Build failure with cppunit 1.14.0 → gnuradio, gnuradio-devel: Build failure with cppunit 1.14.0 |
Has duplicate #54082.
comment:5 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
The issue is the new CppUnit requires C++11, and its API also requires C++11 which means any dependency requires C++11. I'm working on fixing GNU Radio to require C++11 for building.