Details

    • Type: Improvement
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Bolt
    • Sprint:
      Bolt Ready for Grooming
    • QA Risk Assessment:
      Needs Assessment

      Description

      Currently add the ed25519 and bcrypt_pbkdf gems in windows bolt packages results in the following error:

      *** extconf.rb failed ****** extconf.rb failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers.  Check the mkmf.log file for more details.  You mayneed configuration options.
      Provided configuration options: --with-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:/ProgramFiles64Folder/PuppetLabs/Bolt/bin/$(RUBY_BASE_NAME) --with-bcrypt_pbkdf_ext-dir --without-bcrypt_pbkdf_ext-dir --with-bcrypt_pbkdf_ext-include --without-bcrypt_pbkdf_ext-include=${bcrypt_pbkdf_ext-dir}/include --with-bcrypt_pbkdf_ext-lib --without-bcrypt_pbkdf_ext-lib=${bcrypt_pbkdf_ext-dir}/libC:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:1884:in `popen': No such file or directory - cygpath (Errno::ENOENT) from C:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:1884:in `mkintpath' from C:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:1912:in `block in configuration' from C:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:1912:in `gsub' from C:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:1912:in `configuration' from C:/ProgramFiles64Folder/PuppetLabs/Bolt/lib/ruby/2.5.0/mkmf.rb:2270:in `create_makefile' from extconf.rb:3:in `<main>'
      extconf failed, exit code 1 
      

      It appears that the cygpath command is not found on the path when the ruby code shells out to convert a path.
      From https://github.com/ruby/ruby/blob/6610b77ea85302e33d8cb0a2a082f8bd2b3e2f40/lib/mkmf.rb#L1870-L1888
      Is there some config I can set in vanagon to have a valid cygpath? (or should it be mingw32) https://github.com/puppetlabs/puppet-runtime/blob/d419668bd6707296c5372eff6ad5b529d92f9ac4/configs/projects/bolt-runtime.rb#L73-L82

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  cas.donoghue Cas Donoghue
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: