Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58833 closed defect (fixed)

gnuradio 3.7.13.5 unable to build with macports on macbookpro

Reported by: pupshadow Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: gnuradio

Description (last modified by jmroot (Joshua Root))

Hello i keep having a problem with trying to get gnuradio to build with macports on my macbookpro.

here is the error and code:

sudo port install gnuradio
--->  Computing dependencies for gnuradio
--->  Building gnuradio
Error: Failed to build gnuradio: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuradio/gnuradio/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed

log file will be attached to this ticket.

Attachments (3)

log file 1.rtf (7.9 MB) - added by pupshadow 5 years ago.
log file part 1
log file2.txt (9.5 MB) - added by pupshadow 5 years ago.
log file part 2
main.log (1.0 MB) - added by pupshadow 5 years ago.
after updated boost log file.

Change History (14)

comment:1 Changed 5 years ago by pupshadow

log file is 18mb and i am unable to attach it so i will make into two parts.

Last edited 5 years ago by pupshadow (previous) (diff)

Changed 5 years ago by pupshadow

Attachment: log file 1.rtf added

log file part 1

Changed 5 years ago by pupshadow

Attachment: log file2.txt added

log file part 2

comment:2 Changed 5 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to michaelld
Status: newassigned

comment:3 Changed 5 years ago by michaelld (Michael Dickens)

Actual error is due to the recent Boost upgrade:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gnuradio/gnuradio/work/gnuradio-3.7.13.5/gr-blocks/lib/socket_pdu_impl.cc:168:82: error: no member named 'get_io_service' in 'boost::asio::basic_socket_acceptor<boost::asio::ip::tcp, boost::asio::executor>'
:info:build       tcp_connection::sptr new_connection = tcp_connection::make(d_acceptor_tcp->get_io_service(), d_rxbuf.size(), d_tcp_no_delay);
:info:build                                                                  ~~~~~~~~~~~~~~  ^

I'll get this patched up shortly.

comment:4 Changed 5 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: assignedclosed

In b0991109e3bc8bbaededff9f77b17b8c80cc9d3b/macports-ports (master):

gnuradio: add patch to fix building with Boost 1.70.0

This is a backport of the same fix for GR38: https://github.com/gnuradio/gnuradio/commit/c01473bf00b73ba1dd72813fbc4c4c5d0f66d339

Closes: #58833

comment:5 Changed 5 years ago by michaelld (Michael Dickens)

Done! Please update your ports & try installing GNU Radio again.

comment:6 Changed 5 years ago by pupshadow

it looks like there is a bigger problem not ever-since the boost update. i will post logfile again.

comment:7 in reply to:  5 Changed 5 years ago by pupshadow

Replying to michaelld:

Done! Please update your ports & try installing GNU Radio again.

I fully uninstalled and reinstalled got a completely different error this time ill look at the log file and upload a new version of it. thank you again for looking into this.

comment:8 Changed 5 years ago by michaelld (Michael Dickens)

You can compress the logfile & it'll upload as a single file.

Changed 5 years ago by pupshadow

Attachment: main.log added

after updated boost log file.

comment:9 Changed 5 years ago by michaelld (Michael Dickens)

Try this:

sudo port clean gnuradio
sudo port selfupdate
sudo port install gnuradio

Hopefully that will work.

comment:10 in reply to:  9 Changed 5 years ago by pupshadow

that worked i though that i updated before installing but i guess not thank you again.

Replying to michaelld:

Try this:

sudo port clean gnuradio
sudo port selfupdate
sudo port install gnuradio

Hopefully that will work.

comment:11 Changed 5 years ago by michaelld (Michael Dickens)

YW! Glad that worked!

Note: See TracTickets for help on using tickets.