Opened 9 years ago

Closed 9 years ago

#48741 closed defect (fixed)

bladeRF @20150825: fatal error: 'doc/cmd_help.h' file not found

Reported by: camelotmclean@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: bladeRF

Description

Hi there, I'm trying to install gqrx port - it always fails at bladeRF dependency. Have tried to clean and reinstall multiple times but always get error with bladeRF. Running Yosemite 10.10.5, MacPorts 2.3.3, Xcode 6.4 Log file attached. Terminal output below...

sudo port install gqrx
--->  Computing dependencies for gqrx
--->  Dependencies to be installed: gr-osmosdr bladeRF gr-fcdproplus hackrf rtl-sdr
--->  Building bladeRF
Error: org.macports.build for port bladeRF returned: command execution failed
Error: Failed to install bladeRF
Please see the log file for port bladeRF for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_bladeRF/bladeRF/main.log
Error: The following dependencies were not installed: gr-osmosdr bladeRF gr-fcdproplus hackrf rtl-sdr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gqrx failed

Attachments (3)

main.log.zip (3.5 KB) - added by camelotmclean@… 9 years ago.
main2.log.zip (11.6 KB) - added by camelotmclean@… 9 years ago.
bladeRF_Portfile_48741.diff (376 bytes) - added by michaelld (Michael Dickens) 9 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by camelotmclean@…

Attachment: main.log.zip added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bladeRF gqrx removed
Owner: changed from macports-tickets@… to michaelld@…
Summary: bladeRF fails to install as part of gqrx portbladeRF @20150825: fatal error: 'doc/cmd_help.h' file not found

Have tried to clean and reinstall multiple times but always get error with bladeRF

But the log you attached is not from a clean build attempt. Please try one more time to run "sudo port clean bladeRF". Then try one more time to install it, and attach that main.log file.

Changed 9 years ago by camelotmclean@…

Attachment: main2.log.zip added

comment:2 Changed 9 years ago by camelotmclean@…

Ah, yes. Many apologies. I cleaned and retried - and I still get same error. New log attached (main2.log.zip). Cheers

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

I can't commit right now. I've attached a patch to the bladeRF Portfile that should do the trick. It works for me, even when a "pandoc" executable is installed and available. I don't particularly want to create a variant to use pandoc because it has so many dependencies outside of those for bladeRF, so just not using it seems like the way to go. If you could give this a try I'd appreciate it. Hopefully commit access will come back online soon.

Changed 9 years ago by michaelld (Michael Dickens)

Attachment: bladeRF_Portfile_48741.diff added

comment:4 Changed 9 years ago by camelotmclean@…

While trac was down I managed to get gqrx working simply by doing

port clean bladeRF
port install pandoc
port install gqrx

Also, total n00b here - I got stuck trying to manually use the attached patch to test it. Once the commit is online I'll uninstall and retry the gqrx/bladeRF port to test it on my machine. First time using MacPorts - lots of gaps in my knowledge, but it's awesome! Thanks folks.

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

Resolution: fixed
Status: newclosed

OK; NP; glad installing pandoc worked for you. I just pushed r139957, which fixes the issue by disabling use of pandoc. So, you won't need pandoc any more nor any of its numerous hs* dependencies (unless you need them for some other port, of course).

Note: See TracTickets for help on using tickets.