← Back to team overview

ubuntu-hams-devel team mailing list archive

[Bug 687464] Re: package fails to build from source

 

** Changed in: gnuradio (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to gnuradio in Ubuntu.
https://bugs.launchpad.net/bugs/687464

Title:
  package fails to build from source

Status in “gnuradio” package in Ubuntu:
  Fix Released
Status in “gnuradio” package in Debian:
  Fix Released

Bug description:
  Binary package hint: gnuradio

  rebuild would be needed for the python default change to python 2.7

  libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I/build/buildd/gnuradio-3.2.2.dfsg/usrp2/host/include -I/build/buildd/gnuradio-3.2.2.dfsg/usrp2/firmware/include -I/usr/include -DOMNITHREAD_POSIX=1 -I/usr/include -I/build/buildd/gnuradio-3.2.2.dfsg/omnithread -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/runtime -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/general -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/general -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/gengen -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/gengen -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/filter -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/filter -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/missing -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/reed-solomon -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/viterbi -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/io -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/g72x -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/swig -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/hier -I/build/buildd/gnuradio-3.2.2.dfsg/gnuradio-core/src/lib/swig -I/build/buildd/gnuradio-3.2.2.dfsg/gruel/src/include -I/build/buildd/gnuradio-3.2.2.dfsg/gruel/src/include -I/build/buildd/gnuradio-3.2.2.dfsg/gruel/src/include -I/build/buildd/gnuradio-3.2.2.dfsg/gruel/src/include -Wall -Woverloaded-virtual -g -O2 -pthread -MT usrp2.lo -MD -MP -MF .deps/usrp2.Tpo -c usrp2.cc  -fPIC -DPIC -o .libs/usrp2.o
  usrp2.cc:41:33: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::weak_ptr'
  usrp2.cc:41:33: error:   expected a type, got 'usrp2::usrp2::usrp2'
  usrp2.cc:43:75: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::weak_ptr'
  usrp2.cc:43:75: error:   expected a type, got 'usrp2::usrp2::usrp2'
  usrp2.cc: In static member function 'static usrp2::usrp2::sptr usrp2::usrp2::find_existing_or_make_new(const std::string&, usrp2::props*, size_t)':
  usrp2.cc:60:20: error: request for member 'expired' in 'p.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator-> [with _Iterator = usrp2::usrp_table_entry*, _Container = std::vector<usrp2::usrp_table_entry>, __gnu_cxx::__normal_iterator<_Iterator, _Container>::pointer = usrp2::usrp_table_entry*]()->usrp2::usrp_table_entry::value', which is of non-class type 'int'
  usrp2.cc:64:31: error: no matching function for call to 'boost::shared_ptr<usrp2::usrp2>::shared_ptr(int&)'
  /usr/include/boost/smart_ptr/shared_ptr.hpp:182:5: note: candidates are: boost::shared_ptr< <template-parameter-1-1> >::shared_ptr() [with T = usrp2::usrp2]
  /usr/include/boost/smart_ptr/shared_ptr.hpp:169:1: note:                 boost::shared_ptr<usrp2::usrp2>::shared_ptr(const boost::shared_ptr<usrp2::usrp2>&)
  usrp2.cc:73:23: error: expected type-specifier
  usrp2.cc:73:23: error: expected ')'
  usrp2.cc:74:30: error: no matching function for call to 'usrp2::usrp_table_entry::usrp_table_entry(std::string&, usrp2::usrp2::sptr&)'
  usrp2.cc:43:5: note: candidates are: usrp2::usrp_table_entry::usrp_table_entry(const std::string&, int)
  usrp2.cc:38:27: note:                 usrp2::usrp_table_entry::usrp_table_entry(const usrp2::usrp_table_entry&)
  In file included from /usr/include/boost/shared_ptr.hpp:17:0,
                   from /build/buildd/gnuradio-3.2.2.dfsg/usrp2/host/include/usrp2/usrp2.h:22,
                   from usrp2.cc:23:
  /usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor 'boost::shared_ptr< <template-parameter-1-1> >::shared_ptr(Y*) [with Y = int, T = usrp2::usrp2]':
  usrp2.cc:73:56:   instantiated from here
  /usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert 'int*' to 'usrp2::usrp2*' in initialization
  make[5]: *** [usrp2.lo] Error 1
  make[5]: Leaving directory `/build/buildd/gnuradio-3.2.2.dfsg/usrp2/host/lib'
  make[4]: *** [all-recursive] Error 1
  make[4]: Leaving directory `/build/buildd/gnuradio-3.2.2.dfsg/usrp2/host'
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory `/build/buildd/gnuradio-3.2.2.dfsg/usrp2'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/build/buildd/gnuradio-3.2.2.dfsg'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/build/buildd/gnuradio-3.2.2.dfsg'
  make: *** [build-stamp] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnuradio/+bug/687464/+subscriptions


References