Jira (BOLT-1296) Support ed25519 on windows

3 views
Skip to first unread message

Cas Donoghue (JIRA)

unread,
May 8, 2019, 3:09:04 PM5/8/19
to puppe...@googlegroups.com
Cas Donoghue created an issue
 
Puppet Task Runner / Improvement BOLT-1296
Support ed25519 on windows
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2019/05/08 12:08 PM
Priority: Normal Normal
Reporter: Cas Donoghue

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

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Yasmin Rajabi (JIRA)

unread,
Aug 27, 2019, 2:50:03 PM8/27/19
to puppe...@googlegroups.com
Yasmin Rajabi commented on Improvement BOLT-1296
 
Re: Support ed25519 on windows

Cas Donoghue this is something Ethan Brown has offered to help point in the right direction if you wanted to move this work.

Reply all
Reply to author
Forward
0 new messages