Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#47067 closed defect (worksforme)

gnuradio @3.7.6.1_2: user force-enabled gnuradio-companion but configuration checked failed

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

Description

OSX 10.10.2, Xcode 6.1.1 'sudo port -v install gnuradio'

Console message:

-- Configuring incomplete, errors occurred!
See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeOutput.log".
See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeError.log".
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DENABLE_GR_CTRLPORT=OFF -DENABLE_PERFORMANCE_COUNTERS=OFF -DENABLE_GR_ZEROMQ=OFF -DENABLE_VOLK=ON -DCMAKE_MODULES_DIR=/opt/local/share/cmake -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages -DENABLE_DOXYGEN=ON -DENABLE_SPHINX=ON -DSPHINX_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build -DSWIG_EXECUTABLE=/opt/local/bin/swig -DENABLE_GRC=ON -DENABLE_GR_QTGUI=ON -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DENABLE_GR_WXGUI=ON -DENABLE_GR_UHD=ON -DUHD_INCLUDE_DIRS=/opt/local/include -DUHD_LIBRARIES=/opt/local/lib/libuhd.dylib -DORCC_EXECUTABLE=/opt/local/bin/orcc -DENABLE_GR_WAVELET=ON -DJACK_INCLUDE_DIR=/opt/local/include -DJACK_LIBRARY=/opt/local/lib/libjack.dylib -DPORTAUDIO_INCLUDE_DIRS=/opt/local/include -DPORTAUDIO_LIBRARIES=/opt/local/lib/libportaudio.dylib -DENABLE_GR_VIDEO_SDL=ON -DSDLMAIN_LIBRARY=/opt/local/lib/libSDLmain.a -DSDL_INCLUDE_DIR=/opt/local/include/SDL -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.10" -DCMAKE_OSX_SYSROOT="/" ../gnuradio-3.7.6.1 
Exit code: 1
Error: org.macports.configure for port gnuradio returned: configure failure: command execution failed
Warning: targets not executed for gnuradio: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install

From tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/main.log:

:info:configure -- Configuring gnuradio-companion support...
:info:configure --   Dependency ENABLE_GNURADIO_RUNTIME = ON
:info:configure --   Dependency ENABLE_PYTHON = ON
:info:configure --   Dependency PYTHON_MIN_VER_FOUND = TRUE
:info:configure --   Dependency CHEETAH_FOUND = TRUE
:info:configure --   Dependency LXML_FOUND = TRUE
:info:configure --   Dependency PYGTK_FOUND = TRUE
:info:configure --   Dependency NUMPY_FOUND = FALSE
:info:configure CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
:info:configure   user force-enabled gnuradio-companion but configuration checked failed
:info:configure Call Stack (most recent call first):
:info:configure   grc/CMakeLists.txt:45 (GR_REGISTER_COMPONENT)
:info:configure 
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeOutput.log".
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeError.log".
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DENABLE_GR_CTRLPORT=OFF -DENABLE_PERFORMANCE_COUNTERS=OFF -DENABLE_GR_ZEROMQ=OFF -DENABLE_VOLK=ON -DCMAKE_MODULES_DIR=/opt/local/share/cmake -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages -DENABLE_DOXYGEN=ON -DENABLE_SPHINX=ON -DSPHINX_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/sphinx-build -DSWIG_EXECUTABLE=/opt/local/bin/swig -DENABLE_GRC=ON -DENABLE_GR_QTGUI=ON -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DENABLE_GR_WXGUI=ON -DENABLE_GR_UHD=ON -DUHD_INCLUDE_DIRS=/opt/local/include -DUHD_LIBRARIES=/opt/local/lib/libuhd.dylib -DORCC_EXECUTABLE=/opt/local/bin/orcc -DENABLE_GR_WAVELET=ON -DJACK_INCLUDE_DIR=/opt/local/include -DJACK_LIBRARY=/opt/local/lib/libjack.dylib -DPORTAUDIO_INCLUDE_DIRS=/opt/local/include -DPORTAUDIO_LIBRARIES=/opt/local/lib/libportaudio.dylib -DENABLE_GR_VIDEO_SDL=ON -DSDLMAIN_LIBRARY=/opt/local/lib/libSDLmain.a -DSDL_INCLUDE_DIR=/opt/local/include/SDL -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.10" -DCMAKE_OSX_SYSROOT="/" ../gnuradio-3.7.6.1 
:info:configure Exit code: 1
:error:configure org.macports.configure for port gnuradio returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for gnuradio: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install

From tail /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeOutput.log:

Run Build Command:"/usr/bin/make" "cmTryCompileExec3080660951/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec3080660951.dir/build.make CMakeFiles/cmTryCompileExec3080660951.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3080660951.dir/CheckIncludeFile.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++   -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec3080660951.dir/CheckIncludeFile.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTryCompileExec3080660951
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3080660951.dir/link.txt --verbose=1
/usr/bin/clang++   -pipe -Os -arch x86_64 -stdlib=libc++   -arch x86_64 -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/cmTryCompileExec3080660951.dir/CheckIncludeFile.cxx.o  -o cmTryCompileExec3080660951  

From tail /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeError.log:

Performing C++ SOURCE FILE Test HAVE_SSLEEP failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2611079822/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2611079822.dir/build.make CMakeFiles/cmTryCompileExec2611079822.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2611079822.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SSLEEP -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec2611079822.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: 'Winbase.h' file not found
    #include <Winbase.h>
             ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec2611079822.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec2611079822/fast] Error 2

Source file was:

    #include <Winbase.h>
    int main(){Sleep(0); return 0;}
    
Performing C++ SOURCE FILE Test HAVE_VALLOC failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2202336516/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2202336516.dir/build.make CMakeFiles/cmTryCompileExec2202336516.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2202336516.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_VALLOC -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec2202336516.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: 'malloc.h' file not found
    #include <malloc.h>
             ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec2202336516.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec2202336516/fast] Error 2

Source file was:

    #include <malloc.h>
    int main(){valloc(0); return 0;}
    
Performing C++ SOURCE FILE Test HAVE_CREATEFILEMAPPING failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec481751078/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec481751078.dir/build.make CMakeFiles/cmTryCompileExec481751078.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec481751078.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_CREATEFILEMAPPING -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec481751078.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:2:14: fatal error: 'windows.h' file not found
    #include <windows.h>
             ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec481751078.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec481751078/fast] Error 2

Source file was:

    #include <windows.h>
    int main(){
        HANDLE handle;
        int size;
        LPCTSTR lpName;
        handle = CreateFileMapping(
                         INVALID_HANDLE_VALUE,    // use paging file
                         NULL,                    // default security
                         PAGE_READWRITE,          // read/write access
                         0,                       // max. object size
                         size,                    // buffer size
                         lpName);                 // name of mapping object
        return 0;
    } 
Performing C++ SOURCE FILE Test HAVE_SHM_OPEN failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2557682452/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2557682452.dir/build.make CMakeFiles/cmTryCompileExec2557682452.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2557682452.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SHM_OPEN -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec2557682452.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTryCompileExec2557682452
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2557682452.dir/link.txt --verbose=1
/usr/bin/clang++   -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SHM_OPEN -arch x86_64 -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/cmTryCompileExec2557682452.dir/src.cxx.o  -o cmTryCompileExec2557682452  -lrt 
ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [cmTryCompileExec2557682452] Error 1
make: *** [cmTryCompileExec2557682452/fast] Error 2

Source file was:

    #include <sys/types.h>
    #include <sys/mman.h>
    int main(){shm_open(0, 0, 0); return 0;}
    
Performing C++ SOURCE FILE Test HAVE_SINCOS failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3888487329/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec3888487329.dir/build.make CMakeFiles/cmTryCompileExec3888487329.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec3888487329.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SINCOS -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec3888487329.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:4:36: error: use of undeclared identifier 'sincos'; did you mean '__sincos'?
    int main(){double x, sin, cos; sincos(x, &sin, &cos); return 0;}
                                   ^~~~~~
                                   __sincos
/usr/include/math.h:647:29: note: '__sincos' declared here
__header_always_inline void __sincos(double __x, double *__sinp, double *__cosp) {
                            ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec3888487329.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec3888487329/fast] Error 2

Source file was:

    #define _GNU_SOURCE
    #include <math.h>
    int main(){double x, sin, cos; sincos(x, &sin, &cos); return 0;}
    
Performing C++ SOURCE FILE Test HAVE_SINCOSF failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2017527520/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2017527520.dir/build.make CMakeFiles/cmTryCompileExec2017527520.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2017527520.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SINCOSF -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec2017527520.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:4:35: error: use of undeclared identifier 'sincosf'; did you mean '__sincosf'?
    int main(){float x, sin, cos; sincosf(x, &sin, &cos); return 0;}
                                  ^~~~~~~
                                  __sincosf
/usr/include/math.h:642:29: note: '__sincosf' declared here
__header_always_inline void __sincosf(float __x, float *__sinp, float *__cosp) {
                            ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec2017527520.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec2017527520/fast] Error 2

Source file was:

    #define _GNU_SOURCE
    #include <math.h>
    int main(){float x, sin, cos; sincosf(x, &sin, &cos); return 0;}
    
Performing C++ SOURCE FILE Test HAVE_SCHED_SETSCHEDULER failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec956834546/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec956834546.dir/build.make CMakeFiles/cmTryCompileExec956834546.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec956834546.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_SCHED_SETSCHEDULER -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec956834546.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx:4:13: error: unknown type name 'pid_t'
            pid_t pid;
            ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec956834546.dir/src.cxx.o] Error 1
make: *** [cmTryCompileExec956834546/fast] Error 2

Source file was:

        #include <sched.h>
        int main(){
            pid_t pid;
            sched_setscheduler(pid, 0, 0);
            return 0;
        } 
Determining if the include file windows.h exists failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2085616935/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2085616935.dir/build.make CMakeFiles/cmTryCompileExec2085616935.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2085616935.dir/CheckIncludeFile.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++   -arch x86_64 -mmacosx-version-min=10.10   -o CMakeFiles/cmTryCompileExec2085616935.dir/CheckIncludeFile.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:10: fatal error: 'windows.h' file not found
#include <windows.h>
         ^
1 error generated.
make[1]: *** [CMakeFiles/cmTryCompileExec2085616935.dir/CheckIncludeFile.cxx.o] Error 1
make: *** [cmTryCompileExec2085616935/fast] Error 2


Performing C++ SOURCE FILE Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE failed with the following output:
Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec428377574/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec428377574.dir/build.make CMakeFiles/cmTryCompileExec428377574.dir/build
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec428377574.dir/src.cxx.o
/usr/bin/clang++    -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_WNO_UNUSED_BUT_SET_VARIABLE -arch x86_64 -mmacosx-version-min=10.10   -Wno-unused-but-set-variable -o CMakeFiles/cmTryCompileExec428377574.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles/CMakeTmp/src.cxx
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
1 warning generated.
Linking CXX executable cmTryCompileExec428377574
/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec428377574.dir/link.txt --verbose=1
/usr/bin/clang++   -pipe -Os -arch x86_64 -stdlib=libc++  -DHAVE_WNO_UNUSED_BUT_SET_VARIABLE -arch x86_64 -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Wl,-headerpad_max_install_names -arch x86_64 CMakeFiles/cmTryCompileExec428377574.dir/src.cxx.o  -o cmTryCompileExec428377574  -lpthread 

Source file was:
int main() { return 0; }

Change History (9)

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

Owner: changed from macports-tickets@… to michaelld@…
Port: gnuradio added
Summary: gnuradio @3.7.6.1_2 Build failure - Config errorgnuradio @3.7.6.1_2: user force-enabled gnuradio-companion but configuration checked failed

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

What does "port installed py27-numpy" return for you?

comment:3 Changed 10 years ago by acb@…

acb_imac:~ acb$ port installed py27-numpy
The following ports are currently installed:
  py27-numpy @1.9.0_0
  py27-numpy @1.9.0_0+universal
  py27-numpy @1.9.1_0+universal
  py27-numpy @1.9.1_2+gfortran+universal
  py27-numpy @1.9.2_0+gfortran+universal (active)

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

Thanks. The issue is that "NumPy +universal" isn't universal (ticket #42416); it's just x86 (i386, 32-bit), which means it won't load property when running 64-bit Python (which is what CMake is doing when it tests for NumPy). Can you do:

sudo port install py27-numpy
sudo port clean gnuradio
sudo port install gnuradio

and see if that does the trick? If you need NumPy to be +universal, well, you'll have to wait for a while; I'm working on it and I expect to get it fixed within the next week or so. But, it's a difficult issue to fix so don't "hold your breath" waiting ...

comment:5 Changed 10 years ago by acb@…

Past configure and into build...

comment:6 Changed 10 years ago by acb@…

and done! Thanks, Michael!

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

Resolution: worksforme
Status: newclosed

Great; you're welcome! Thanks for reporting & good luck with GNU Radio.

comment:8 in reply to:  7 Changed 10 years ago by picree

Replying to michaelld@…:

Great; you're welcome! Thanks for reporting & good luck with GNU Radio.

I'm running OSX 10.8.5, Xcode 5.1.1

I continue to see this behavior and comment:4 doesn't solve the problem(?). If after applying comment:4 I then run:

sudo port install gr-osmosdr +full -universal

The gnuradio install then hangs with py27-scipy architectural mismatch since scipy has no universal. Running

sudo port upgrade gnuradio

and I'm back at the beginning of this thread with this behavior. Am I missing something?

Interestingly if I run

port info gnuradio

It reports gnuradio @3.7.6.1_2 but checking

port outdated

Gives gnuradio 3.7.5.1 (even after running port clean).

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

Hi "caveney@…", I'm going to email you off-ticket to deal with this issue.

Note: See TracTickets for help on using tickets.