New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX brew error: 'ruby.h' file not found #105

Open
tvmaly opened this Issue Mar 14, 2017 · 9 comments

Comments

Projects
None yet
6 participants
@tvmaly

tvmaly commented Mar 14, 2017

I am trying to install dislocker on osx via brew. I followed the directions in the INSTALL.md and I get the following error:

MacBook-Pro:dislocker tmaly$ brew install src/dislocker.rb

==> Downloading https://github.com/Aorimn/dislocker/archive/v0.7.zip
Already downloaded: /Users/tmaly/Library/Caches/Homebrew/dislocker-0.7.0.zip
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D
==> make
Last 15 lines from /Users/tmaly/Library/Logs/Homebrew/dislocker/02.make:
#include <ruby.h>
^
/tmp/dislocker-20170314-17394-1h2f0jw/dislocker-0.7/src/dislocker.c:710:10: fatal error: 'ruby.h' file not found
#include <ruby.h>
^
15 errors generated.
15 errors generated.
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker.dir/dislocker.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/dislocker.c.o] Error 1
make[1]: *** [src/CMakeFiles/dislocker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/dislocker_bundle.dir/all] Error 2
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

MacBook-Pro:dislocker tmaly$

@Aorimn

This comment has been minimized.

Show comment
Hide comment
@Aorimn

Aorimn Mar 26, 2017

Owner

Hi,

Would it be possible for you to retry this command in verbose mode, like so: brew install -v src/dislocker.rb?

The problem here is that cmake seems to have found the ruby.h header but the compiler doesn't.

Owner

Aorimn commented Mar 26, 2017

Hi,

Would it be possible for you to retry this command in verbose mode, like so: brew install -v src/dislocker.rb?

The problem here is that cmake seems to have found the ruby.h header but the compiler doesn't.

@08600rr

This comment has been minimized.

Show comment
Hide comment
@08600rr

08600rr Mar 26, 2017

Hi Aorimn, here is my output for brew install -v src/dislocker.rb:

Last login: Mon Mar 27 01:05:55 on ttys000
MacbookPro:~ xxxxx$ cd prj/dislocker/
MacbookPro:dislocker xxxxx$ brew install -v src/dislocker.rb
==> Downloading https://github.com/Aorimn/dislocker/archive/v0.7.zip
Already downloaded: /Users/xxxxx/Library/Caches/Homebrew/dislocker-0.7.0.zip
==> Verifying dislocker-0.7.0.zip checksum
unzip -qq /Users/xxxxx/Library/Caches/Homebrew/dislocker-0.7.0.zip
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dislocker/0.7.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-- The C compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
-- Found POLARSSL: /usr/local/include
PolarSSL/mbedTLS version: 2.4.2
-- Found FUSE: /usr/local/include
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_CXX_FLAGS_RELEASE

-- Build files have been written to: /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7
==> make
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 -B/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_progress_start /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/CMakeFiles /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker-find.dir/build.make src/CMakeFiles/dislocker-find.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker_bundle.dir/build.make src/CMakeFiles/dislocker_bundle.dir/depend
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker-find.dir/DependInfo.cmake --color=
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker.dir/DependInfo.cmake --color=
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker_bundle.dir/DependInfo.cmake --color=
Scanning dependencies of target dislocker-find
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker-find.dir/build.make src/CMakeFiles/dislocker-find.dir/build
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && cp /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find.rb /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && chmod u+x /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && mkdir -p /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && gzip -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/darwin/dislocker-find.1 > /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/dislocker-find.1.gz
Scanning dependencies of target dislocker
Scanning dependencies of target dislocker_bundle
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker_bundle.dir/build.make src/CMakeFiles/dislocker_bundle.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/build
[ 0%] Built target dislocker-find
[ 7%] Building C object src/CMakeFiles/dislocker_bundle.dir/dislocker.c.o
[ 8%] Building C object src/CMakeFiles/dislocker.dir/common.c.o
[ 10%] Building C object src/CMakeFiles/dislocker.dir/config.c.o
[ 8%] Building C object src/CMakeFiles/dislocker_bundle.dir/config.c.o
[ 10%] Building C object src/CMakeFiles/dislocker_bundle.dir/common.c.o
[ 10%] Building C object src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o
[ 7%] Building C object src/CMakeFiles/dislocker.dir/dislocker.c.o
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/xstd/xstdio.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdio.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/config.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/common.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/config.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/dislocker.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/common.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/dislocker.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
[ 11%] Building C object src/CMakeFiles/dislocker_bundle.dir/xstd/xstdio.c.o
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/xstd/xstdio.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdio.c
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
In file included from In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:38:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: :28:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.herror: 'ruby.h' file not found with include; use "quotes" instead
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:#include <ruby.h>10
: ^~~~~~~~
"ruby.h"errorVALUE rb_str_catf(VALUE str, const char *fmt, ...);
^

: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t* data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:40:20: error: unknown type name 'VALUE'
void Init_accesses(VALUE rb_mDislocker);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: In file included from unknown type name 'VALUE'/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
:36:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
38:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:40:20: error: unknown type name 'VALUE'
void Init_accesses(VALUE rb_mDislocker);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:27:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:320:1:VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len)
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:322:2: error: use of undeclared identifier 'VALUE'
VALUE rb_str = rb_str_new("", 0);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:320:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len)
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:322:2: error: use of undeclared identifier 'VALUE'
VALUE rb_str = rb_str_new("", 0);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:336:15: error: use of undeclared identifier 'rb_str'
void Init_guid(VALUE rb_mDislockerMetadata);
^
rb_str_catf(rb_str, "%s\n", s);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:339:9: error: use of undeclared identifier 'rb_str'
return rb_str;
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:336:15: error: use of undeclared identifier 'rb_str'
rb_str_catf(rb_str, "%s\n", s);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
10 errors generated.
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:339:9: error: use of undeclared identifier 'rb_str'
return rb_str;
^
10 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:17: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:27:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:1729:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t xinfo);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from : make[2]: *** [src/CMakeFiles/dislocker.dir/common.c.o] Error 1
error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:void Init_datum(VALUE rb_cDislockerMetadata);29
:
^/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h
:362make[2]: : Waiting for unfinished jobs....17
: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: errorvoid Init_metadata(VALUE rb_mDislocker);:
unknown type name 'VALUE' ^

VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/common.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:: 364error:: 38unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:42:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/prepare.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
13 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:17: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:710:10: fatal error: 'ruby.h' file not found
#include <ruby.h>
^
13 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:42:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/prepare.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
15 errors generated.
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/dislocker.c.o] Error 1
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:710:10: fatal error: 'ruby.h' file not found
#include <ruby.h>
^
[ 13%] Building C object src/CMakeFiles/dislocker_bundle.dir/xstd/xstdlib.c.o
15 errors generated.
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/xstd/xstdlib.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdlib.c
make[2]: *** [src/CMakeFiles/dislocker.dir/dislocker.c.o] Error 1
make[1]: *** [src/CMakeFiles/dislocker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/dislocker_bundle.dir/all] Error 2
make: *** [all] Error 2

==> Formula
Path: /Users/xxxxx/prj/dislocker/src/dislocker.rb
==> Configuration
HOMEBREW_VERSION: 1.1.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 394f9fa0aaa5854aa52bc589708a079665dcf462
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 70dc4d4824f3b9ca00ea3559d787fd0277c0ab36
Core tap last commit: 62 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.12.0 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.0/bin/ruby
Java: N/A
macOS: 10.12.3-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/mbedtls/bin:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: dislocker 0.7.0 did not build
Logs:
/Users/xxxxx/Library/Logs/Homebrew/dislocker/00.options.out
/Users/xxxxx/Library/Logs/Homebrew/dislocker/01.cmake
/Users/xxxxx/Library/Logs/Homebrew/dislocker/01.cmake.cc
/Users/xxxxx/Library/Logs/Homebrew/dislocker/02.make
/Users/xxxxx/Library/Logs/Homebrew/dislocker/02.make.cc
/Users/xxxxx/Library/Logs/Homebrew/dislocker/CMakeCache.txt
Do not report this issue to Homebrew/brew or Homebrew/core!

MacbookPro:dislocker xxxxx$

08600rr commented Mar 26, 2017

Hi Aorimn, here is my output for brew install -v src/dislocker.rb:

Last login: Mon Mar 27 01:05:55 on ttys000
MacbookPro:~ xxxxx$ cd prj/dislocker/
MacbookPro:dislocker xxxxx$ brew install -v src/dislocker.rb
==> Downloading https://github.com/Aorimn/dislocker/archive/v0.7.zip
Already downloaded: /Users/xxxxx/Library/Caches/Homebrew/dislocker-0.7.0.zip
==> Verifying dislocker-0.7.0.zip checksum
unzip -qq /Users/xxxxx/Library/Caches/Homebrew/dislocker-0.7.0.zip
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/dislocker/0.7.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-- The C compiler identification is AppleClang 8.0.0.8000042
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
-- Found POLARSSL: /usr/local/include
PolarSSL/mbedTLS version: 2.4.2
-- Found FUSE: /usr/local/include
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_CXX_FLAGS_RELEASE

-- Build files have been written to: /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7
==> make
/usr/local/Cellar/cmake/3.7.2/bin/cmake -H/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 -B/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_progress_start /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/CMakeFiles /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker-find.dir/build.make src/CMakeFiles/dislocker-find.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker_bundle.dir/build.make src/CMakeFiles/dislocker_bundle.dir/depend
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker-find.dir/DependInfo.cmake --color=
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker.dir/DependInfo.cmake --color=
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7 /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/CMakeFiles/dislocker_bundle.dir/DependInfo.cmake --color=
Scanning dependencies of target dislocker-find
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker-find.dir/build.make src/CMakeFiles/dislocker-find.dir/build
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && cp /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find.rb /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && chmod u+x /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker-find
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && mkdir -p /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && gzip -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/darwin/dislocker-find.1 > /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/man/dislocker-find.1.gz
Scanning dependencies of target dislocker
Scanning dependencies of target dislocker_bundle
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker_bundle.dir/build.make src/CMakeFiles/dislocker_bundle.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/dislocker.dir/build.make src/CMakeFiles/dislocker.dir/build
[ 0%] Built target dislocker-find
[ 7%] Building C object src/CMakeFiles/dislocker_bundle.dir/dislocker.c.o
[ 8%] Building C object src/CMakeFiles/dislocker.dir/common.c.o
[ 10%] Building C object src/CMakeFiles/dislocker.dir/config.c.o
[ 8%] Building C object src/CMakeFiles/dislocker_bundle.dir/config.c.o
[ 10%] Building C object src/CMakeFiles/dislocker_bundle.dir/common.c.o
[ 10%] Building C object src/CMakeFiles/dislocker.dir/xstd/xstdio.c.o
[ 7%] Building C object src/CMakeFiles/dislocker.dir/dislocker.c.o
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/xstd/xstdio.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdio.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/config.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/common.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/config.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/dislocker.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/common.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker.dir/dislocker.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
[ 11%] Building C object src/CMakeFiles/dislocker_bundle.dir/xstd/xstdio.c.o
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/xstd/xstdio.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdio.c
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
In file included from In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:38:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: :28:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.herror: 'ruby.h' file not found with include; use "quotes" instead
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:#include <ruby.h>10
: ^~~~~~~~
"ruby.h"errorVALUE rb_str_catf(VALUE str, const char *fmt, ...);
^

: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t* data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char *fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char *fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:40:20: error: unknown type name 'VALUE'
void Init_accesses(VALUE rb_mDislocker);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:28:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:83:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: In file included from unknown type name 'VALUE'/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c
:36:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
38:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:35:10: error: 'ruby.h' file not found with include; use "quotes" instead
#include <ruby.h>
^~~~~~~~
"ruby.h"
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:1: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:43:20: error: unknown type name 'VALUE'
VALUE rb_str_vcatf(VALUE str, const char fmt, va_list ap);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:1: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/ruby.h:48:19: error: unknown type name 'VALUE'
VALUE rb_str_catf(VALUE str, const char fmt, ...);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:36:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/accesses/accesses.h:40:20: error: unknown type name 'VALUE'
void Init_accesses(VALUE rb_mDislocker);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:27:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:320:1:VALUE rb_hexdump(uint8_t
data, size_t data_len);
^
error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len)
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:322:2: error: use of undeclared identifier 'VALUE'
VALUE rb_str = rb_str_new("", 0);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:320:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t
data, size_t data_len)
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:322:2: error: use of undeclared identifier 'VALUE'
VALUE rb_str = rb_str_new("", 0);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:336:15: error: use of undeclared identifier 'rb_str'
void Init_guid(VALUE rb_mDislockerMetadata);
^
rb_str_catf(rb_str, "%s\n", s);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t
xinfo);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:339:9: error: use of undeclared identifier 'rb_str'
return rb_str;
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:336:15: error: use of undeclared identifier 'rb_str'
rb_str_catf(rb_str, "%s\n", s);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
10 errors generated.
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/common.c:339:9: error: use of undeclared identifier 'rb_str'
return rb_str;
^
10 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:29:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:17: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:27:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/common.h:85:1: error: unknown type name 'VALUE'
VALUE rb_hexdump(uint8_t data, size_t data_len);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:1729:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/extended_info.h:58:1: error: unknown type name 'VALUE'
VALUE rb_datum_virtualization_extinfo_to_s(extended_info_t xinfo);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from : make[2]: *** [src/CMakeFiles/dislocker.dir/common.c.o] Error 1
error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/inouts.priv.h:void Init_datum(VALUE rb_cDislockerMetadata);29
:
^/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h
:362make[2]: : Waiting for unfinished jobs....17
: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:30:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/guid.h:44:16: error: unknown type name 'VALUE'
void Init_guid(VALUE rb_mDislockerMetadata);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: errorvoid Init_metadata(VALUE rb_mDislocker);:
unknown type name 'VALUE' ^

VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/common.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:: 364error:: 38unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/config.c:30:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:42:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/prepare.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
13 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:37:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:362:17: error: unknown type name 'VALUE'
void Init_datum(VALUE rb_cDislockerMetadata);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:1: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:38: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/datums.h:364:51: error: unknown type name 'VALUE'
VALUE rb_cDislockerMetadataDatum_new(VALUE klass, VALUE datum);
^
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:710:10: fatal error: 'ruby.h' file not found
#include <ruby.h>
^
13 errors generated.
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:42:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/inouts/prepare.h:29:
In file included from /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/dislocker.priv.h:31:
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include/dislocker/metadata/metadata.priv.h:296:20: error: unknown type name 'VALUE'
void Init_metadata(VALUE rb_mDislocker);
^
15 errors generated.
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker.dir/config.c.o] Error 1
make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/dislocker.c.o] Error 1
/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/dislocker.c:710:10: fatal error: 'ruby.h' file not found
#include <ruby.h>
^
[ 13%] Building C object src/CMakeFiles/dislocker_bundle.dir/xstd/xstdlib.c.o
15 errors generated.
cd /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src && /usr/local/Homebrew/Library/Homebrew/shims/super/clang -DAUTHOR=""Romain Coltel"" -DPROGNAME="dislocker" -DVERSION="0.7.1" -DVERSION_DBG=":" -D_FILE_OFFSET_BITS=64 -D_HAVE_RUBY=2.4.0 -D__ARCH="x86_64" -D__ARCH_X86_64 -D__DARWIN -D__OS="Darwin" -Ddislocker_bundle_EXPORTS -isystem /usr/local/include -I/tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/include -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 -I/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -fPIC -Wall -Wextra -fstack-protector -fstrict-aliasing -D_FORTIFY_SOURCE=2 -O1 -Qunused-arguments -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.12 -fPIC -o CMakeFiles/dislocker_bundle.dir/xstd/xstdlib.c.o -c /tmp/dislocker-20170327-19090-1m9iin8/dislocker-0.7/src/xstd/xstdlib.c
make[2]: *** [src/CMakeFiles/dislocker.dir/dislocker.c.o] Error 1
make[1]: *** [src/CMakeFiles/dislocker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/dislocker_bundle.dir/all] Error 2
make: *** [all] Error 2

==> Formula
Path: /Users/xxxxx/prj/dislocker/src/dislocker.rb
==> Configuration
HOMEBREW_VERSION: 1.1.11
ORIGIN: https://github.com/Homebrew/brew
HEAD: 394f9fa0aaa5854aa52bc589708a079665dcf462
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 70dc4d4824f3b9ca00ea3559d787fd0277c0ab36
Core tap last commit: 62 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.12.0 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.0/bin/ruby
Java: N/A
macOS: 10.12.3-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/mbedtls/bin:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: dislocker 0.7.0 did not build
Logs:
/Users/xxxxx/Library/Logs/Homebrew/dislocker/00.options.out
/Users/xxxxx/Library/Logs/Homebrew/dislocker/01.cmake
/Users/xxxxx/Library/Logs/Homebrew/dislocker/01.cmake.cc
/Users/xxxxx/Library/Logs/Homebrew/dislocker/02.make
/Users/xxxxx/Library/Logs/Homebrew/dislocker/02.make.cc
/Users/xxxxx/Library/Logs/Homebrew/dislocker/CMakeCache.txt
Do not report this issue to Homebrew/brew or Homebrew/core!

MacbookPro:dislocker xxxxx$

@Aorimn

This comment has been minimized.

Show comment
Hide comment
@Aorimn

Aorimn Mar 26, 2017

Owner

Thank you! According to these logs, cmake finds your local version of ruby is in /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0, /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 or /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0.

Can you run the following command and give me its output: find /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -type f -name 'ruby*.h' please?

If it doesn't return any output, can you run this command: find / -type f -name ruby.h? It will take a while for this command to complete, but I'd like to be sure.

Owner

Aorimn commented Mar 26, 2017

Thank you! According to these logs, cmake finds your local version of ruby is in /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0, /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 or /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0.

Can you run the following command and give me its output: find /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -type f -name 'ruby*.h' please?

If it doesn't return any output, can you run this command: find / -type f -name ruby.h? It will take a while for this command to complete, but I'd like to be sure.

@therealjayvi90

This comment has been minimized.

Show comment
Hide comment
@therealjayvi90

therealjayvi90 Mar 27, 2017

I'm having the exact same problem right now. Is there a reason why not to include the header file with the download?

therealjayvi90 commented Mar 27, 2017

I'm having the exact same problem right now. Is there a reason why not to include the header file with the download?

@08600rr

This comment has been minimized.

Show comment
Hide comment
@08600rr

08600rr Mar 28, 2017

Hi Aorimn, here is the find result:
find /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -type f -name 'ruby*.h'
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/backward/rubyio.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/backward/rubysig.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby.h

find: /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0: No such file or directory

08600rr commented Mar 28, 2017

Hi Aorimn, here is the find result:
find /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0 /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/x86_64-darwin16 /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0 -type f -name 'ruby*.h'
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/backward/rubyio.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/backward/rubysig.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby/ruby.h
/usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby.h

find: /usr/local/Cellar/ruby/2.4.0/include/x86_64-darwin16/ruby-2.4.0: No such file or directory

@Aorimn

This comment has been minimized.

Show comment
Hide comment
@Aorimn

Aorimn Apr 2, 2017

Owner

@therealjayvi90 : This header file is not included because it's a ruby interpreter header file, not a dislocker one. dislocker only use it to call ruby library functions.

@08600rr : Thank you for these information. It seems like the ruby.h file is on your file system (according to this result of find: /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby.h), but that the clang version of Homebrew doesn't find it anyway. I'm trying try to reproduce the problem, but have no luck so far. I'll poke clang guys if I'm not successful at reproducing it.

Owner

Aorimn commented Apr 2, 2017

@therealjayvi90 : This header file is not included because it's a ruby interpreter header file, not a dislocker one. dislocker only use it to call ruby library functions.

@08600rr : Thank you for these information. It seems like the ruby.h file is on your file system (according to this result of find: /usr/local/Cellar/ruby/2.4.0/include/ruby-2.4.0/ruby.h), but that the clang version of Homebrew doesn't find it anyway. I'm trying try to reproduce the problem, but have no luck so far. I'll poke clang guys if I'm not successful at reproducing it.

@jricks92

This comment has been minimized.

Show comment
Hide comment
@jricks92

jricks92 Apr 19, 2017

Just FYI, I had this same issue, but I found a workaround. I had ruby installed through homebrew like @tvmaly and dislocker failed to build with the same error. What I had to do was unlink the hombrew version of ruby, run the dislocker formula, and then link the home-brew version of ruby again.
brew unlink ruby
brew install src/dislocker.rb
brew link ruby
I'm pretty sure this allows dislocker to use the OS X native ruby to build, rather than homebrew's. Not sure if it'll make a difference in dislocker (haven't tried to mount anything yet), but it builds successfully this way.

jricks92 commented Apr 19, 2017

Just FYI, I had this same issue, but I found a workaround. I had ruby installed through homebrew like @tvmaly and dislocker failed to build with the same error. What I had to do was unlink the hombrew version of ruby, run the dislocker formula, and then link the home-brew version of ruby again.
brew unlink ruby
brew install src/dislocker.rb
brew link ruby
I'm pretty sure this allows dislocker to use the OS X native ruby to build, rather than homebrew's. Not sure if it'll make a difference in dislocker (haven't tried to mount anything yet), but it builds successfully this way.

@08600rr

This comment has been minimized.

Show comment
Hide comment
@08600rr

08600rr Apr 20, 2017

The workaround from @jricks92 works:

brew unlink ruby
brew install src/dislocker.rb
brew link ruby

Thank you very much!

08600rr commented Apr 20, 2017

The workaround from @jricks92 works:

brew unlink ruby
brew install src/dislocker.rb
brew link ruby

Thank you very much!

@schwarzben

This comment has been minimized.

Show comment
Hide comment
@schwarzben

schwarzben Nov 7, 2017

The workaround from @jricks92 works

… only if your remaining ruby installation is >2.3, it seems. Which is not the case unless you updated your system's ruby installation in any other way except via homebrew (on 10.12.6 HighSierra with recent updates including XCode).

So for me this means I am still stuck—getting the latest ruby via brew install ruby fixes most errors thrown by brew install src/dislocker.rb but leaves me with the described "missing ruby.h"-type error. Any suggestions?

schwarzben commented Nov 7, 2017

The workaround from @jricks92 works

… only if your remaining ruby installation is >2.3, it seems. Which is not the case unless you updated your system's ruby installation in any other way except via homebrew (on 10.12.6 HighSierra with recent updates including XCode).

So for me this means I am still stuck—getting the latest ruby via brew install ruby fixes most errors thrown by brew install src/dislocker.rb but leaves me with the described "missing ruby.h"-type error. Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment