Created attachment 643590 [details] emerge --info Trying to upgrade to gnuradio 3.8 on my mostly-stable system results in the following error: gr-blocks/swig/CMakeFiles/blocks_swig0.dir/blocks_swig0PYTHON_wrap.cxx: In function ‘PyObject* _wrap_file_meta_sink_make(PyObject*, PyObject*, PyObject*)’: gr-blocks/swig/CMakeFiles/blocks_swig0.dir/blocks_swig0PYTHON_wrap.cxx:8053:106: error: cannot convert ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} to ‘pmt::pmt_t’ {aka ‘boost::shared_ptr<pmt::pmt_base>’} 8053 | result = gr::blocks::file_meta_sink::make(arg1,(std::string const &)*arg2,arg3,arg4,arg5,arg6,arg7,(std::string const &)*arg8,arg9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | const string {aka const std::__cxx11::basic_string<char>} I'm not entirely sure what causes this, but I'd wager it needs a newer version of boost or swig?
Created attachment 643592 [details] emerge -pqv
Created attachment 643594 [details] environment
Created attachment 643596 [details] build.log
(In reply to Esteve Varela Colominas from comment #0) > Created attachment 643590 [details] > emerge --info > > Trying to upgrade to gnuradio 3.8 on my mostly-stable system results in the > following error: > > gr-blocks/swig/CMakeFiles/blocks_swig0.dir/blocks_swig0PYTHON_wrap.cxx: In > function ‘PyObject* _wrap_file_meta_sink_make(PyObject*, PyObject*, > PyObject*)’: > gr-blocks/swig/CMakeFiles/blocks_swig0.dir/blocks_swig0PYTHON_wrap.cxx:8053: > 106: error: cannot convert ‘const string’ {aka ‘const > std::__cxx11::basic_string<char>’} to ‘pmt::pmt_t’ {aka > ‘boost::shared_ptr<pmt::pmt_base>’} > 8053 | result = gr::blocks::file_meta_sink::make(arg1,(std::string > const &)*arg2,arg3,arg4,arg5,arg6,arg7,(std::string const &)*arg8,arg9); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > | > | > | > const string {aka const std::__cxx11::basic_string<char>} > > I'm not entirely sure what causes this, but I'd wager it needs a newer > version of boost or swig? I had the same problem two days ago. Someone on the gnuradio mailing list (see https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg70179.html) suggested deinstallation of former 3.7 version before installing 3.8. That helped.
(In reply to Thomas Beierlein from comment #4) > I had the same problem two days ago. Someone on the gnuradio mailing list > (see https://www.mail-archive.com/discuss-gnuradio@gnu.org/msg70179.html) > suggested deinstallation of former 3.7 version before installing 3.8. That > helped. Thanks! That helped me as well. I wonder why this happens, though? I think it should be fixed if possible, either by upstream or by having the ebuild warn the user or error out.
This bug just hit me too... I can confirm that unmerging and then emerging it again works.
This package has been refusing to upgrade for a while so I just searched and found this post. Unmerging then merging the new one worked perfectly.
I just want to add that this was with net-wireless/gnuradio-3.8.2.0 so the newer version has not fixed the problem.
Are you all building with --nodeps or what? DEPEND="${RDEPEND} !<net-wireless/gnuradio-3.8 Do I need to !! here?
Added !!, hope it helps more than it hurts