You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm not sure it's a bug or a misconfiguration, but I'm unable to install github-changelog-generator 16+ on Windows. The latest version I can install is 1.15.2.
To Reproduce
Steps to reproduce the behavior:
Install chocolatey for Windows
choco install ruby ( I also tried with the msi installation with the same results)
choco install msys2
gem install github_changelog_generator -v 1.16.0
Expected behavior
The installation succeed
Screenshots
Here's the command line output of both the 1.15.2 (success) and 1.16.0 (failure) installation back to back. The latest version reacts the same as version 1.16.0
C:\>gem install github_changelog_generator -v 1.15.2
Fetching github_changelog_generator-1.15.2.gem
Fetching retriable-3.1.2.gem
Successfully installed retriable-3.1.2
Successfully installed concurrent-ruby-1.1.10
Successfully installed tzinfo-2.0.5
Successfully installed i18n-1.12.0
Successfully installed activesupport-7.0.4
Successfully installed github_changelog_generator-1.15.2
Parsing documentation for retriable-3.1.2
Installing ri documentation for retriable-3.1.2
Parsing documentation for concurrent-ruby-1.1.10
Installing ri documentation for concurrent-ruby-1.1.10
Parsing documentation for tzinfo-2.0.5
Installing ri documentation for tzinfo-2.0.5
Parsing documentation for i18n-1.12.0
Installing ri documentation for i18n-1.12.0
Parsing documentation for activesupport-7.0.4
Installing ri documentation for activesupport-7.0.4
Parsing documentation for github_changelog_generator-1.15.2
Installing ri documentation for github_changelog_generator-1.15.2
Done installing documentation for retriable, concurrent-ruby, tzinfo, i18n, activesupport, github_changelog_generator after 16 seconds
6 gems installed
C:\>gem install github_changelog_generator -v 1.16.0
Fetching github_changelog_generator-1.16.0.gem
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing github_changelog_generator:
ERROR: Failed to build gem native extension.
current directory: C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/io-event-1.0.9/ext
C:/tools/ruby31/bin/ruby.exe -I C:/tools/ruby31/lib/ruby/3.1.0 -r ./siteconf20220915-9660-mxmn3b.rb extconf.rb
checking forrb_ext_ractor_safe()... yes
checking for&rb_fiber_transfer()... yes
checking for -luring... no
checking for sys/epoll.h... no
checking for sys/event.h... no
checking for sys/eventfd.h... no
checking forrb_io_descriptor()... yes
checking for&rb_process_status_wait()... no
checking forrb_fiber_current()... yes
checking for&rb_fiber_raise()... yes
checking for ruby/io/buffer.h... yes
creating extconf.h
creating Makefile
current directory: C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/io-event-1.0.9/ext
make DESTDIR\= clean
current directory: C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/io-event-1.0.9/ext
make DESTDIR\=
generating IO_Event-x64-mingw-ucrt.def
compiling ./io/event/event.c
compiling ./io/event/selector/selector.c
./io/event/selector/selector.c:26:10: fatal error: sys/wait.h: No such file or directory
26 |#include <sys/wait.h>| ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:246: selector.o] Error 1
make failed, exit code 2
Gem files will remain installed in C:/tools/ruby31/lib/ruby/gems/3.1.0/gems/io-event-1.0.9 for inspection.
Results logged to C:/tools/ruby31/lib/ruby/gems/3.1.0/extensions/x64-mingw-ucrt/3.1.0/io-event-1.0.9/gem_make.out
Desktop (please complete the following information):
OS: Windows 10
Version 1.16.0+
The text was updated successfully, but these errors were encountered:
sbraconnier
changed the title
Unable to install github-changelog-generator 16+ on Windows.
Unable to install github-changelog-generator 1.6+ on Windows.
Sep 16, 2022
sbraconnier
changed the title
Unable to install github-changelog-generator 1.6+ on Windows.
Unable to install github-changelog-generator 1.16.0+ on Windows.
Sep 16, 2022
According to socketry/io-event#25, build on Windows seems to fail. If you just want to try the feature of github-changelog-generator, my recommendation is to use the Docker image. See this instruction fore more details.
Describe the bug
I'm not sure it's a bug or a misconfiguration, but I'm unable to install github-changelog-generator 16+ on Windows. The latest version I can install is 1.15.2.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The installation succeed
Screenshots
Here's the command line output of both the 1.15.2 (success) and 1.16.0 (failure) installation back to back. The latest version reacts the same as version 1.16.0
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: