[MacPorts] #47067: gnuradio @3.7.6.1_2 Build failure - Config error
MacPorts
noreply at macports.org
Sat Mar 7 10:12:41 PST 2015
#47067: gnuradio @3.7.6.1_2 Build failure - Config error
--------------------+--------------------------------
Reporter: acb@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port:
--------------------+--------------------------------
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; }
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47067>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list