Opened 5 years ago

Closed 5 years ago

#60012 closed defect (fixed)

Compile error for SDRangel on MacOS 10.14.6 with Xcode 11.3.1 through bash-3.2

Reported by: ScienceOnAMac Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: mojave Cc: michaelld (Michael Dickens)
Port: SDRangel

Description (last modified by mf2k (Frank Schima))

Thanks for your hard work to bring SDRangel to those of us using Macs! I look forward to using, but a problem turned up during compilation.

bash-3.2$ sudo port install SDRangel +hackrf resulted in the following output:

--->  Computing dependencies for SDRangel
--->  Fetching archive for SDRangel
--->  Attempting to fetch SDRangel-4.12.5_0+airspy+airspyhf+funcube+gui+hackrf+limesuite+rtlsdr+server+soapysdr.darwin_18.x86_64.tbz2 from https://packages.macports.org/SDRangel
--->  Attempting to fetch SDRangel-4.12.5_0+airspy+airspyhf+funcube+gui+hackrf+limesuite+rtlsdr+server+soapysdr.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/SDRangel
--->  Attempting to fetch SDRangel-4.12.5_0+airspy+airspyhf+funcube+gui+hackrf+limesuite+rtlsdr+server+soapysdr.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/SDRangel
--->  Fetching distfiles for SDRangel
--->  Verifying checksums for SDRangel
--->  Extracting SDRangel
--->  Configuring SDRangel
--->  Building SDRangel
Error: Failed to build SDRangel: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_SDRangel/SDRangel/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port SDRangel failed

I will try to attach the log file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_SDRangel/SDRangel/main.log.

I can see that other users have successfully compiled SDRangel on 10.14.

Thanks again!

Attachments (1)

main.log (2.8 MB) - added by ScienceOnAMac 5 years ago.
Log file generated from build error for SDRangel

Change History (8)

Changed 5 years ago by ScienceOnAMac

Attachment: main.log added

Log file generated from build error for SDRangel

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

Cc: michaelld added; rainbow@… removed
Description: modified (diff)
Owner: set to ra1nb0w
Status: newassigned

comment:2 Changed 5 years ago by ra1nb0w

Just for reference: https://github.com/f4exb/sdrangel/issues/467

I am investigating; same problem on macOS 10.15.

note: don't try SDRangel 5.13; it requires unreleased limesuite package or latest limesuite-devel

comment:3 Changed 5 years ago by ra1nb0w

disabling channeltx plugin permit to compile SDRangel but obviously it is not a solution ;-)

--- plugins/channeltx/CMakeLists.txt.orig	2020-01-27 09:57:05.000000000 +0100
+++ plugins/channeltx/CMakeLists.txt	2020-01-27 09:57:17.000000000 +0100
@@ -9,7 +9,7 @@
 add_subdirectory(filesource)

 if(CM256CC_FOUND)
-    add_subdirectory(remotesource)
+    #add_subdirectory(remotesource)
 endif(CM256CC_FOUND)

 if (OpenCV_FOUND)

comment:4 Changed 5 years ago by ra1nb0w

In 4e16ccb4abcba2ff0c8f966b966c35106eebba87/macports-ports (master):

SDRangel: temporary fix for building the software

disable remotesource plugin

see: #60012

comment:5 Changed 5 years ago by ra1nb0w

ScienceOnAMac: update your ports and try again; now should build fine without remotesource-tx (temporary fix)

comment:6 Changed 5 years ago by ScienceOnAMac

Successful build! Thanks for the quick fix! Good luck with finding a solution with remotesource-tx.

Thanks again for your work! ScienceOnAMac

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.