Opened 8 years ago

Closed 8 years ago

#53233 closed defect (fixed)

Error: Processing of port gnuradio failed

Reported by: xtr33me (Daniel Krotov) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: gnuradio

Description

I am currently running macOS Sierra 10.12.2. I have tried cleaning, reinstalling searching through the logs and have not been able to get this gnuradio port to install. I am attaching the main.log file to this ticket as someone with more experience might get something more from it. I have the latest version of Xcode with tools installed.

The most recent attempt provided this in console when running 'sudo port install gnuradio'. Any ideas?

--->  Computing dependencies for gnuradio
--->  Fetching archive for gnuradio
--->  Attempting to fetch gnuradio-3.7.10.1_1+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from https://packages.macports.org/gnuradio
--->  Attempting to fetch gnuradio-3.7.10.1_1+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/gnuradio
--->  Attempting to fetch gnuradio-3.7.10.1_1+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuradio
--->  Fetching distfiles for gnuradio
--->  Verifying checksums for gnuradio
--->  Extracting gnuradio
--->  Applying patches to gnuradio
--->  Configuring gnuradio
--->  Building gnuradio

Error: org.macports.build for port gnuradio returned: command execution failed
Please see the log file for port gnuradio for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnuradio failed

Attachments (5)

main.log (1.9 MB) - added by xtr33me (Daniel Krotov) 8 years ago.
main2.log (591.0 KB) - added by xtr33me (Daniel Krotov) 8 years ago.
main3.log (2.0 MB) - added by xtr33me (Daniel Krotov) 8 years ago.
nkw_main.log (2.0 MB) - added by nkwood (Noah Wood) 8 years ago.
nkw_port_installed.txt (8.6 KB) - added by nkwood (Noah Wood) 8 years ago.

Change History (17)

Changed 8 years ago by xtr33me (Daniel Krotov)

Attachment: main.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: gnuradio removed
Owner: set to michaelld
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers gnuradio), if any.

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

The issue is that Doxygen is being told to use LaTeX and DVIPS, but they are not installed. The problem is somewhere between GR's CMake script not checking carefully enough and Doxygen not checking carefully enough. I think you can get around this by doing:

sudo port install doxygen +docs

which will take a while since there's a ton of dependencies for it. Then you'll want to:

sudo port clean gnuradio
sudo port install gnuradio

and, hopefully all will be will. I'm trying this right now; if it works for both of us, then I'll add a hook into the GR Portfile to check for this variant on doxygen.

comment:3 Changed 8 years ago by xtr33me (Daniel Krotov)

Hey Michael...thanks for the quick response. I'm not sure if you had any luck but it seems I am still seeing the same error. I have attached the latest log I'm getting on my end just incase you might see something more. I will let you know if I figure anything out also.

Changed 8 years ago by xtr33me (Daniel Krotov)

Attachment: main2.log added

comment:4 Changed 8 years ago by xtr33me (Daniel Krotov)

So I was trying to figure out how you were able to figure out so quickly that Latex and dvips were the problems from the previous log and see that they were listed next to the word error in the logs....go figure :) I was trying to look through the logs and treating them like a stack trace but feel stupid for not looking for the keyword error. Anyways, I looked through the last log file I sent you and saw there seemed to be some issues with swig and after looking further on google for that error people still tied it back to doxygen. I have tried performing a clean for both doxygen and gnuradio (also tried installing swig, but it wasnt able to find that via ports). In some of your other tickets I also saw you using selfupdate, so I tried that and it seemed to find some updates so I installed those.

I then went to rerun the doxygen command you provided before and reinstall gnuradio. Now I am getting an error where gnuradio URL is sending back a 404 error on ports. I assume this might be due to it potentially being worked on. Regardless, I am still attaching the log file just incase it is able to help in some way. Thanks again for your help.

Changed 8 years ago by xtr33me (Daniel Krotov)

Attachment: main3.log added

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

Interesting. Well, at least the LaTeX & DVIPS issues seem to be solved. Let me do the same update & see what happens. There's something still missing ... just takes patience & perseverance to figure it out! In the meantime, can you either cut-and-paste or attach a file with the contents of "port installed"; that might be useful.

comment:6 Changed 8 years ago by nkwood (Noah Wood)

I'm encountering the same error (or at least my install errors at the same place). I followed the doxygen fix steps in comment 2, and the install still fails. I attached my main.log as well as the output of port installed if it is useful. I also get the OS X popup during the install attempt about missing Java, but my understanding from reading other tickets is that isn't a big deal and doesn't effect the install.

Changed 8 years ago by nkwood (Noah Wood)

Attachment: nkw_main.log added

Changed 8 years ago by nkwood (Noah Wood)

Attachment: nkw_port_installed.txt added

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

OK; thanks for the feedback. I'm still working on it. Hopefully figure out what's going on this afternoon.

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

Almost there. One final GR build to verify. Looks like this was actually issues with both the GR dependencies (+docs needs port:texlive-latex, which can be installed via "doxygen +docs" or directly; this provides LaTeX and DVIPS) as well as a bug in doxygen ( https://github.com/doxygen/doxygen/commit/381d9d286dd27ce0ba14989b51011070d8583d62 ).

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

OK. Should be fixed in https://github.com/macports/macports-ports/commit/e3809c33cce9e6695e97cb1017a358db5dc7a198 . I forgot to reference this ticket in that commit, darn it. No going back now! Please do the usual & see if it works:

sudo port clean doxygen "gnuradio*"
sudo port selfupdate
sudo port install gnuradio

comment:10 Changed 8 years ago by xtr33me (Daniel Krotov)

Michael...you sir are a coding god...I honestly am a bit frustrated I wasn't able to figure anything out even close to this...clearly much to learn but your fix worked perfectly. I can't thank you enough mate and truly appreciate the quick fix. Any way I can buy you a couple drinks by making a donation to a paypal account or something?

comment:11 Changed 8 years ago by nkwood (Noah Wood)

Michael - fix works great here. Thanks! (... and on a Saturday night no less!)

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

Resolution: fixed
Status: assignedclosed

Awesome; I'm glad those fixes worked! Y'all are very welcome; if I ever get to your neck of the woods I'll look forward to a pint & some good conversation!

Note: See TracTickets for help on using tickets.