package fails to build from source

Bug #687464 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnuradio (Debian)
Fix Released
Unknown
gnuradio (Ubuntu)
Fix Released
Low
Unassigned

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

Tags: python27

Related branches

Matthias Klose (doko)
Changed in gnuradio (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Joel Stanley (shenki) wrote :

The following upstream commit looks like it would resolve this issue:

http://gnuradio.org/redmine/repositories/diff/gnuradio/usrp2/host/lib/usrp2.cc?rev=d2888160c3fca8da2152f8690dda7ae40d9a9163

It is attached as a diff.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnuradio - 3.2.2.dfsg-1ubuntu5

---------------
gnuradio (3.2.2.dfsg-1ubuntu5) natty; urgency=low

  * Apply upstream patch to fix build failure with GCC-4.5. LP: #687464.
 -- Matthias Klose <email address hidden> Mon, 13 Dec 2010 15:31:45 +0100

Changed in gnuradio (Ubuntu):
status: Confirmed → Fix Released
Changed in gnuradio (Debian):
status: Unknown → New
Changed in gnuradio (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.