Skip to content

Instantly share code, notes, and snippets.

@jkeiser
Created March 10, 2016 23:59
Show Gist options
  • Save jkeiser/168bdad334b46f5f4e64 to your computer and use it in GitHub Desktop.
Save jkeiser/168bdad334b46f5f4e64 to your computer and use it in GitHub Desktop.
From http://manhattan.ci.chef.co/view/Chefdk/job/chefdk-build/70/architecture=i386,platform=windows-2008r2,project=chefdk,role=builder/console
[Builder: berkshelf] I | bundle `install --jobs 10 --without guard': 2151.2407s
[Builder: berkshelf] I | Build berkshelf: 2151.3188s
The following shell command exited with status 5:
$ CFLAGS=-IC:/opscode/chefdk/embedded/include -m32 -O3 -mfpmath=sse -msse2 -march=i686 CPPFLAGS=-IC:/opscode/chefdk/embedded/include -m32 -O3 -mfpmath=sse -msse2 -march=i686 CXXFLAGS=-IC:/opscode/chefdk/embedded/include -m32 -O3 -mfpmath=sse -msse2 -march=i686 LDFLAGS=-LC:/opscode/chefdk/embedded/lib -m32 LD_RUN_PATH=C:/opscode/chefdk/embedded/lib PKG_CONFIG_PATH=C:/opscode/chefdk/embedded/lib/pkgconfig Path=C:/opscode/chefdk/bin;C:/opscode/chefdk/embedded/bin;C:/languages/ruby/2.1.5/lib/ruby/gems/2.1.0/bin;C:\msys\bin;C:\msys\mingw\bin;C:\Program Files (x86)\Git\Cmd;C:\Program Files (x86)\Git\libexec\git-core;C:\languages\ruby\2.1.5\bin;C:\wix;C:\7-zip;C:\Program Files\7-zip;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;C:\Program Files\Java\jre1.8.0_45\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\opscode\chef\bin C:\opscode\chefdk\embedded\bin\bundle install --jobs 10 --without guard
Output:
Fetching gem metadata from https://rubygems.org/.......
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.......
Using i18n 0.7.0
Using json 1.8.3
Using addressable 2.4.0
Using contracts 0.13.0
Using rake 10.5.0
Using gherkin 3.2.0
Using thread_safe 0.3.5
Using builder 3.2.2
Using minitest 5.8.4
Using ffi 1.9.10
Using cucumber-wire 0.0.1
Using diff-lcs 1.2.5
Using multi_json 1.11.2
Using multi_test 0.1.2
Using rspec-support 3.4.1
Using thor 0.19.1
Using ast 2.2.0
Using ice_nine 0.11.2
Using multipart-post 2.0.0
Using httpclient 2.7.1
Using buff-extensions 1.0.0
Using hashie 3.4.3
Using buff-ignore 1.1.1
Using buff-ruby_engine 0.1.0
Using hitimes 1.2.3
Using nio4r 1.2.1
Using mixlib-config 2.2.1
Using wmi-lite 1.0.0
Using erubis 2.7.0
Using mixlib-log 1.6.0
Using retryable 2.0.3
Using semverse 1.2.1
Using cleanroom 1.0.0
Using minitar 0.5.4
Using molinillo 0.2.3
Using multi_xml 0.5.5
Using rack 1.6.4
Using equalizer 0.0.11
Using msgpack 0.5.12
Using unf_ext 0.0.7.2
Using http-form_data 1.0.1
Using http_parser.rb 0.6.0
Using websocket-extensions 0.1.2
Using bundler 1.11.2
Using libyajl2 1.2.0
Using uuidtools 2.1.5
Using colorize 0.7.7
Using safe_yaml 1.0.4
Using dep-selector-libgecode 1.1.0
Using ruby-progressbar 1.7.5
Using jwt 1.5.1
Using iniparse 1.4.2
Using powerpack 0.1.1
Using rainbow 2.1.0
Using unicode-display_width 0.3.1
Using hashdiff 0.3.0
Using mixlib-install 0.7.1
Using net-ssh 3.0.2
Using spork 0.9.2
Using yard 0.8.7.6
Using cucumber-core 1.4.0
Using tzinfo 1.2.2
Using descendants_tracker 0.0.4
Using archive 0.0.6
Using childprocess 0.5.9
Using win32-process 0.8.3
Using rspec-expectations 3.4.0
Using rspec-core 3.4.3
Using rspec-mocks 3.4.1
Using parser 2.3.0.6
Using faraday 0.9.2
Using varia_model 0.4.1
Using buff-shell_out 0.2.0
Using timers 4.0.4
Using solve 2.0.2
Using rack-accept 0.4.5
Using rack-mount 0.8.3
Using unf 0.1.4
Using websocket-driver 0.6.3
Using ffi-yajl 2.2.3
Using crack 0.4.3
Using net-scp 1.2.1
Using cucumber 2.3.2
Using activesupport 4.2.6
Using axiom-types 0.1.1
Using coercible 1.0.0
Using overcommit 0.32.0
Using mixlib-shellout 2.2.6
Using mixlib-authentication 1.4.0
Using rspec 3.4.0
Using rubocop 0.37.2
Using sawyer 0.7.0
Using oauth2 1.1.0
Using buff-config 1.0.1
Using celluloid 0.16.0
Using domain_name 0.5.20160216
Using chef-zero 4.5.0
Using webmock 1.24.2
Using aruba 0.10.2
Using virtus 1.0.5
Using chef-config 12.7.2
Using test-kitchen 1.6.0
Using fuubar 2.0.0
Using octokit 4.3.0
Using github_api 0.13.1
Using celluloid-io 0.16.2
Using http-cookie 1.0.2
Using grape 0.14.0
Using github_changelog_generator 1.11.3
Installing dep_selector 1.0.3 with native extensions
Using ridley 4.5.0
Using http 0.9.8
Using grape-msgpack 0.1.2
Using berkshelf-api-client 2.0.2
Using reel 0.6.0
Using berkshelf 4.3.0 from source at `.`
Using berkshelf-api 2.1.3 from https://github.com/berkshelf/berkshelf-api.git (at master@1b714dc)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/dep_selector-1.0.3/ext/dep_gecode
C:/opscode/chefdk/embedded/bin/ruby.exe -r ./siteconf20160310-2396-wv2023.rb extconf.rb
checking for main() in -lgecodesupport... no
checking for main() in -lgecodesupport... no
=========================================================================================
Gecode ~>3.5 must be installed (http://www.gecode.org/).
OSX:
cd $( brew --prefix )
git checkout 3c5ca25 Library/Formula/gecode.rb
brew install gecode
Debian and Ubuntu:
sudo apt-get install libgecode-dev
Build from source:
Get gecode 3.7.3 source:
curl -O http://www.gecode.org/download/gecode-3.7.3.tar.gz
Unpack it:
tar zxvf gecode-3.7.3.tar.gz
Build:
./configure --disable-doc-dot --disable-doc-search --disable-doc-tagfile --disable-doc-chm --disable-doc-docset --disable-qt --disable-examples
make
(sudo) make install
=========================================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/opscode/chefdk/embedded/bin/ruby
--with-gecodesupportlib
--without-gecodesupportlib
--with-gecodesupportlib
--without-gecodesupportlib
extconf.rb:106:in `<main>': Gecode not installed (RuntimeError)
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/dep_selector-1.0.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/dep_selector-1.0.3 for inspection.
Results logged to C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/dep_selector-1.0.3/gem_make.out
An error occurred while installing dep_selector (1.0.3), and Bundler cannot
continue.
Make sure that `gem install dep_selector -v '1.0.3'` succeeds before bundling.
Error:
(nothing)
C:\opscode\chefdk\embedded\lib\ruby\gems\2.1.0\extensions\x86-mingw32\2.1.0\dep_
selector-1.0.3>cat mkmf.log
find_library: checking for main() in -lgecodesupport... -------------------- no
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/include -m32 -O
3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MI
NGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/inclu
de -O3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/op
scode/chefdk/embedded/lib -L. -LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-
ruby210 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return 0;
8: }
/* end */
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/include -m32 -O
3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MI
NGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/inclu
de -O3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/op
scode/chefdk/embedded/lib -L. -LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-
ruby210 -lgecodesupport -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: cannot find -lgecodesupport
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/include -m32 -O
3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MI
NGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/inclu
de -O3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/op
scode/chefdk/embedded/lib -L. -LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-
ruby210 -lgecodesupport -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:15: error: too few arguments to function 'main'
int t(void) { main(); return 0; }
^
conftest.c:8:5: note: declared here
int main(int argc, char **argv)
^
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { main(); return 0; }
/* end */
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/include -m32 -O
3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MI
NGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/inclu
de -O3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/op
scode/chefdk/embedded/lib -LC:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/
dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-gecode/lib -L.
-LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-ruby210 -lgecodesupport -lshe
ll32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible C:/opscode/chefdk/embedded/lib/ruby/gems/
2.1.0/gems/dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-geco
de/lib/libgecodesupport.a when searching for -lgecodesupport
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible C:/opscode/chefdk/embedded/lib/ruby/gems/
2.1.0/gems/dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-geco
de/lib\libgecodesupport.a when searching for -lgecodesupport
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: skipping incompatible C:/opscode/chefdk/embedded/lib/ruby/gems/
2.1.0/gems/dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-geco
de/lib/libgecodesupport.a when searching for -lgecodesupport
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: cannot find -lgecodesupport
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/include -m32 -O
3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MI
NGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/inclu
de -O3 -mfpmath=sse -msse2 -march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/op
scode/chefdk/embedded/lib -LC:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/gems/
dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-gecode/lib -L.
-LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-ruby210 -lgecodesupport -lshe
ll32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:15: error: too few arguments to function 'main'
int t(void) { main(); return 0; }
^
conftest.c:8:5: note: declared here
int main(int argc, char **argv)
^
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { main(); return 0; }
/* end */
--------------------
have_library: checking for main() in -lgecodesupport... -------------------- no
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/lib/ruby/gems/2
.1.0/gems/dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-gecod
e/include -IC:/opscode/chefdk/embedded/include -m32 -O3 -mfpmath=sse -msse2 -mar
ch=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_F
ILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/include -O3 -mfpmath=sse -msse2
-march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/opscode/chefdk/embedded/lib
-L. -LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-ruby210 -lgecodesupport -
lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/msys/mingw/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-min
gw32/bin/ld.exe: cannot find -lgecodesupport
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"gcc -o conftest.exe -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/i386-mingw3
2 -IC:/opscode/chefdk/embedded/include/ruby-2.1.0/ruby/backward -IC:/opscode/che
fdk/embedded/include/ruby-2.1.0 -I. -IC:/opscode/chefdk/embedded/lib/ruby/gems/2
.1.0/gems/dep-selector-libgecode-1.1.0/lib/dep-selector-libgecode/vendored-gecod
e/include -IC:/opscode/chefdk/embedded/include -m32 -O3 -mfpmath=sse -msse2 -mar
ch=i686 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_F
ILE_OFFSET_BITS=64 -IC:/opscode/chefdk/embedded/include -O3 -mfpmath=sse -msse2
-march=i686 -DFD_SETSIZE=2048 conftest.c -L. -LC:/opscode/chefdk/embedded/lib
-L. -LC:/opscode/chefdk/embedded/lib -m32 -lmsvcrt-ruby210 -lgecodesupport -
lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:15: error: too few arguments to function 'main'
int t(void) { main(); return 0; }
^
conftest.c:8:5: note: declared here
int main(int argc, char **argv)
^
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { main(); return 0; }
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment