jskeus 1.0.13: Build fails on macOS Sierra
wkentaro opened this issue · comments
gcc -O2 -Dx86_64 -DDarwin -DLinux -D_REENTRANT -DGCC -I/opt/local/include -I/usr/local/Cellar/jskeus/1.0.13/eus/include -DTHREADED -DPTHREAD -DSVNVERSION=\"\" -g -falign-functions=8 -fPIC -g -falign-functions=8 -fPIC -c CPQP.C -o /usr/local/Cellar/jskeus/1.0.13/eus/Darwin/obj/CPQP.o
In file included from CPQP.C:25:
In file included from ./PQP/src/PQP.h:44:
./PQP/src/PQP_Compile.h:47:14: error: 'sqrt' is missing exception specification 'throw()'
inline float sqrt(float x) { return (float)sqrt((double)x); }
^
throw()
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:963:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float sqrt(float __lcpp_x) _NOEXCEPT {return ::sqrtf(__lcpp_x);}
^
In file included from CPQP.C:25:
In file included from ./PQP/src/PQP.h:44:
./PQP/src/PQP_Compile.h:48:14: error: 'cos' is missing exception specification 'throw()'
inline float cos(float x) { return (float)cos((double)x); }
^
throw()
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:778:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float cos(float __lcpp_x) _NOEXCEPT {return ::cosf(__lcpp_x);}
^
In file included from CPQP.C:25:
In file included from ./PQP/src/PQP.h:44:
./PQP/src/PQP_Compile.h:49:14: error: 'sin' is missing exception specification 'throw()'
inline float sin(float x) { return (float)sin((double)x); }
^
throw()
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:939:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float sin(float __lcpp_x) _NOEXCEPT {return ::sinf(__lcpp_x);}
^
In file included from CPQP.C:25:
In file included from ./PQP/src/PQP.h:44:
./PQP/src/PQP_Compile.h:50:14: error: 'fabs' is missing exception specification 'throw()'
inline float fabs(float x) { return (float)fabs((double)x); }
^
throw()
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:814:46: note: previous declaration is here
inline _LIBCPP_INLINE_VISIBILITY float fabs(float __lcpp_x) _NOEXCEPT {return ::fabsf(__lcpp_x);}
^
4 errors generated.
make[1]: *** [/usr/local/Cellar/jskeus/1.0.13/eus/Darwin/obj/CPQP.o] Error 1
make: *** [irteus-installed] Error 2
==> Formula
Tap: euslisp/jskeus
Path: /usr/local/Homebrew/Library/Taps/euslisp/homebrew-jskeus/jskeus.rb
==> Configuration
HOMEBREW_VERSION: 1.5.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 058dad61b1ddb203e38187115517957824d51a2c
Last commit: 4 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1f53db986173f350b1abc0c54e9050e7fddb71cb
Core tap last commit: 3 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_AWS_ACCESS_KEY_ID: set
HOMEBREW_AWS_SECRET_ACCESS_KEY: set
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_GITHUB_TOKEN: set
HOMEBREW_GITHUB_USER: wkentaro
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_RUBY_WARNINGS: -W0
CPU: quad-core 64-bit kabylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.14.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.1/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/bin/python3.6
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.5.0_2/bin/ruby
Java: N/A
macOS: 10.12.6-x86_64
Xcode: 9.2
CLT: 9.2.0.0.1.1510905681
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CMAKE_PREFIX_PATH: /usr/local/opt/gettext:/usr/local/opt/openssl:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/opt/X11/include:/opt/X11/include/freetype2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /opt/X11/lib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/jpeg/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/mesalib-glw/lib/pkgconfig:/usr/local/opt/libidn2/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12:/opt/X11/lib/pkgconfig:/opt/X11/share/pkgconfig
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal:/opt/X11/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/jpeg/bin:/usr/local/opt/libpng/bin:/usr/local/opt/gettext/bin:/usr/local/opt/libidn2/bin:/usr/local/opt/openssl/bin:/usr/local/opt/wget/bin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: euslisp/jskeus/jskeus 1.0.13 did not build
Logs:
/Users/wkentaro/Library/Logs/Homebrew/jskeus/00.options.out
/Users/wkentaro/Library/Logs/Homebrew/jskeus/01.make
/Users/wkentaro/Library/Logs/Homebrew/jskeus/01.make.cc
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/euslisp/homebrew-jskeus/issues
may be we need to fix https://github.com/euslisp/jskeus/blob/master/irteus/PQP/src/PQP_Compile.h#L47-L50 line, (Original code can be found at
https://github.com/euslisp/jskeus/blob/master/irteus/PQP/src/PQP_Compile.h#L47-L50)
where is the original code?
I am not sure why it is necessary. (it says: // prevents compiler warnings when PQP_REAL is float)
I found a solution: euslisp/jskeus#499
Should be fixed by euslisp/jskeus#520.
yeah, but they're not yet released, I'll work on this in few days...
--
◉ Kei Okada
2018年8月30日(木) 22:19 Kentaro Wada <notifications@github.com>:
… Should be fixed by euslisp/jskeus#520
<euslisp/jskeus#520>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3GMU9C5UBoQNnYdEVKpMJQQkHbhfks5uV-ZAgaJpZM4S4_TC>
.