chef / dep-selector-libgecode

Bundled Gecode Libraries for dep-selector
Apache License 2.0
11 stars 26 forks source link

msysgit tar breaks during compilation #29

Open btm opened 10 years ago

btm commented 10 years ago

This is a known issue with the tar that comes with git bash. Both the chef-client MSI and the chefdk windows alpha builds have a good version of tar in them.

Related discussion: https://github.com/berkshelf/berkshelf/issues/1184#issuecomment-42244272

                cp ./$f/*.mzn \
                  c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/dep-selector-libgecode-1.0.2/lib/dep-selector-libgecode/vendored-gecode/share/gecode/mznlib; done
      0 [main] tar 6364 open_stackdumpfile: Dumping stack trace to tar.exe.stackdump
      0 [main] tar 9680 open_stackdumpfile: Dumping stack trace to tar.exe.stackdump
make[1]: *** [doinstallheaders] Error 5
make[1]: Leaving directory `/usr/lib/ruby/gems/1.9.1/gems/dep-selector-libgecode-1.0.2/ext/libgecode3/vendor/gecode-3.7.3'
make: *** [installlib] Error 2
extconf.rb:98:in `block in run': Failed to build gecode library. (GecodeBuild::BuildError)
        from extconf.rb:97:in `chdir'
        from extconf.rb:97:in `run'
        from extconf.rb:104:in `<main>'
danielsdeleo commented 10 years ago

@btm in the meantime, we should add the instructions from the berks issue to the read me for this project. You have a few moments to spruce them up and make a patch?

cmluciano commented 9 years ago

@danielsdeleo I can add this. Are you referring to the 4 steps that you listed for installing on windows?

danielsdeleo commented 9 years ago

@drag00n yes, exactly that, my note on berkshelf#1184 that BTM referenced.

jkeiser commented 9 years ago

Just ran into this, glad to have the issue here. I have to wonder if it's worth putting in a message in our own compile stuff if we detect you are using the git tar.exe.