[MacPorts] #57195: gr-osmosdr @20170704_1 fails while installing BladeRF (was: gr-osmosdr fails installing while installing BladeRF)

MacPorts noreply at macports.org
Fri Sep 28 20:36:51 UTC 2018


#57195: gr-osmosdr @20170704_1 fails while installing BladeRF
------------------------------+--------------------
  Reporter:  BitBangingBytes  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.5.3
Resolution:                   |   Keywords:
      Port:  bladerf          |
------------------------------+--------------------
Changes (by BitBangingBytes):

 * port:   => bladerf


Old description:

> BladeRF fails installing with the following error:
>
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/ad9361.c:44:10:
> fatal error: 'malloc.h' file not found
> #include <malloc.h>
>          ^~~~~~~~~~
> [ 25%] Building C object
> host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/adc_core.c.o
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF
> && /usr/bin/clang -DHAVE_LIBUSB_GET_VERSION
> -DLIBBLADERF_SEARCH_PREFIX=\"/opt/local\" -DLOGGING_ENABLED
> -DLOG_INCLUDE_FILE_INFO -Dlibbladerf_shared_EXPORTS
> -DSHORT_FILE_=host/libraries/libbladeRF/src/driver/thirdparty/adi/adc_core.c
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include/osx
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../firmware_common
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../fpga_common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF/src
> -I/usr/include/malloc -I/opt/local/include/libusb-1.0  -pipe -Os
> -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -fvisibility=hidden -DNDEBUG -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -mmacosx-version-min=10.14 -fPIC   -Wall -Wextra -Wno-unused-parameter
> -std=gnu11 -o
> CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/adc_core.c.o
> -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/adc_core.c
> 1 error generated.
> make[2]: ***
> [host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/ad9361.c.o]
> Error 1
> make[2]: *** Waiting for unfinished jobs....
> [ 25%] Building C object
> host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/dac_core.c.o
> cd
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF
> && /usr/bin/clang -DHAVE_LIBUSB_GET_VERSION
> -DLIBBLADERF_SEARCH_PREFIX=\"/opt/local\" -DLOGGING_ENABLED
> -DLOG_INCLUDE_FILE_INFO -Dlibbladerf_shared_EXPORTS
> -DSHORT_FILE_=host/libraries/libbladeRF/src/driver/thirdparty/adi/dac_core.c
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include/osx
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../firmware_common
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../fpga_common/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF/src
> -I/usr/include/malloc -I/opt/local/include/libusb-1.0  -pipe -Os
> -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -fvisibility=hidden -DNDEBUG -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -mmacosx-version-min=10.14 -fPIC   -Wall -Wextra -Wno-unused-parameter
> -std=gnu11 -o
> CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/dac_core.c.o
> -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
> /bladeRF-
> 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/dac_core.c
> make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
> make[1]: ***
> [host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/all] Error 2
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
> make: *** [all] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build"
> && /usr/bin/make -j8 -w all VERBOSE=ON
> Exit code: 2
> Warning: The following existing file was hidden from the build system by
> trace mode:
>   /opt
> The following files would have been hidden from the build system by trace
> mode if they existed:
>   /usr/gnu/include
>   /usr/local/cuda
>   /usr/local/cuda-7.0
>   /usr/local/cuda-7.5
>   /usr/local/cuda-8.0
>   /usr/local/include
>   /usr/local/lib
> Error: Failed to build bladeRF: command execution failed

New description:

 BladeRF fails installing with the following error:

 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/ad9361.c:44:10:
 fatal error: 'malloc.h' file not found
 #include <malloc.h>
          ^~~~~~~~~~
 [ 25%] Building C object
 host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/adc_core.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF
 && /usr/bin/clang -DHAVE_LIBUSB_GET_VERSION
 -DLIBBLADERF_SEARCH_PREFIX=\"/opt/local\" -DLOGGING_ENABLED
 -DLOG_INCLUDE_FILE_INFO -Dlibbladerf_shared_EXPORTS
 -DSHORT_FILE_=host/libraries/libbladeRF/src/driver/thirdparty/adi/adc_core.c
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include/osx
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../firmware_common
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../fpga_common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF/src
 -I/usr/include/malloc -I/opt/local/include/libusb-1.0  -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -fvisibility=hidden -DNDEBUG -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14 -fPIC   -Wall -Wextra -Wno-unused-parameter
 -std=gnu11 -o
 CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/adc_core.c.o
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/adc_core.c
 1 error generated.
 make[2]: ***
 [host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/ad9361.c.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs....
 [ 25%] Building C object
 host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/dac_core.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF
 && /usr/bin/clang -DHAVE_LIBUSB_GET_VERSION
 -DLIBBLADERF_SEARCH_PREFIX=\"/opt/local\" -DLOGGING_ENABLED
 -DLOG_INCLUDE_FILE_INFO -Dlibbladerf_shared_EXPORTS
 -DSHORT_FILE_=host/libraries/libbladeRF/src/driver/thirdparty/adi/dac_core.c
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/common/include/osx
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../firmware_common
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/../fpga_common/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build/host/libraries/libbladeRF/src
 -I/usr/include/malloc -I/opt/local/include/libusb-1.0  -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -fvisibility=hidden -DNDEBUG -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14 -fPIC   -Wall -Wextra -Wno-unused-parameter
 -std=gnu11 -o
 CMakeFiles/libbladerf_shared.dir/src/driver/thirdparty/adi/dac_core.c.o
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work
 /bladeRF-
 6737d7b02be1dcb38c1e02ca31e88fe3d99b783a/host/libraries/libbladeRF/src/driver/thirdparty/adi/dac_core.c
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
 make[1]: ***
 [host/libraries/libbladeRF/CMakeFiles/libbladerf_shared.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_bladeRF/bladeRF/work/build"
 && /usr/bin/make -j8 -w all VERBOSE=ON
 Exit code: 2
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /opt
 The following files would have been hidden from the build system by trace
 mode if they existed:
   /usr/gnu/include
   /usr/local/cuda
   /usr/local/cuda-7.0
   /usr/local/cuda-7.5
   /usr/local/cuda-8.0
   /usr/local/include
   /usr/local/lib
 Error: Failed to build bladeRF: command execution failed
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57195#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list