chef / dep-selector-libgecode

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

Package isn't installable on FreeBSD v12 due to issues with gecode configure script #63

Open rick-pri opened 4 years ago

rick-pri commented 4 years ago

Version:

1.3.4, 1.3.1, 1.3.0, 1.2.0

Environment:

FreeBSD 12.0, tested with Ruby 25 and Ruby 26 (with and without gcc 9.4 installed)

Scenario:

sudo gem install dep-selector-libgecode

checking whether to build search... yes /usr/local/lib/ruby/gems/2.5/gems/dep-selector-libgecode-1.3.4/ext/libgecode3/vendor/gecode-3.7.3/configure: 11561: Syntax error: word unexpected (expecting ")") extconf.rb:124:in `block in run': Failed to build gecode library. (GecodeBuild::BuildError) from extconf.rb:123:in `chdir'
from extconf.rb:123:in `run' from extconf.rb:130:in `\<main>'

extconf failed, exit code 1

Steps to Reproduce:

Install (sudo) ruby, ruby26-gems, gcc. Attempt a normal install with rubygem of the package.

Expected Result:

The configure file creating gecode should not fail. (It may at some point fall into csh as the shell as I can see a lot of shell manipulation in the configure file but the default shell on FreeBSD is csh which doesn't seem to be supported in the script.)

Actual Result:

Error message as provided in the scenario.

Additional Information:

There's a packaged version of gecode available on FreeBSD without requiring building it.