Comments (10)
This issue still remains on HEAD
1 gem installed
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td-agent-4.0.0~rc1/td-agent/downloads/plug
in_gems/26-fluent-plugin-windows-eventlog-0.5.4.gem
Fetching mini_portile2-2.4.0.gem
Fetching nokogiri-1.10.9-x64-mingw32.gem
Fetching fluent-plugin-parser-winevt_xml-0.2.2.gem
Successfully installed mini_portile2-2.4.0
ERROR: Error installing C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-eventlog-0.5.4.ge
m:
The last version of nokogiri (>= 1.10, < 1.12) to support your Ruby & RubyGems was 1.10.9. Try installing it wit
h `gem install nokogiri -v 1.10.9` and then running the current command again
nokogiri requires Ruby version >= 2.3, < 2.7.dev. The current ruby version is 2.7.1.83.
rake aborted!
Command failed with status (1): [C:/opt/td-agent/bin/gem install --no-docum...]
C:/td-agent-4.0.0~rc1/td-agent/Rakefile:634:in `gem_install'
C:/td-agent-4.0.0~rc1/td-agent/Rakefile:645:in `block in install_gems'
C:/td-agent-4.0.0~rc1/td-agent/Rakefile:644:in `each'
C:/td-agent-4.0.0~rc1/td-agent/Rakefile:644:in `install_gems'
C:/td-agent-4.0.0~rc1/td-agent/Rakefile:272:in `block (2 levels) in define'
Tasks: TOP => msi:selfbuild => build:all => build:licenses => build:gems => build:plugin_gems
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [C:/tools/ruby27/bin/ruby.exe -S rake msi:s...]
C:/td-agent-4.0.0~rc1/Rakefile:27:in `block (3 levels) in define_bulked_task'
C:/td-agent-4.0.0~rc1/Rakefile:26:in `block (2 levels) in define_bulked_task'
C:/td-agent-4.0.0~rc1/Rakefile:25:in `each'
C:/td-agent-4.0.0~rc1/Rakefile:25:in `block in define_bulked_task'
Tasks: TOP => msi:selfbuild
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [docker run --rm --tty --volume C:/work/td-...]
C:/work/td-agent-builder/td-agent/Rakefile:952:in `run_docker'
C:/work/td-agent-builder/td-agent/Rakefile:871:in `block (2 levels) in define'
C:/work/td-agent-builder/td-agent/Rakefile:861:in `block (2 levels) in define'
Tasks: TOP => msi:dockerbuild
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [C:/Ruby26-x64/bin/ruby.exe -S rake msi:bui...]
C:/work/td-agent-builder/Rakefile:27:in `block (3 levels) in define_bulked_task'
C:/work/td-agent-builder/Rakefile:26:in `block (2 levels) in define_bulked_task'
C:/work/td-agent-builder/Rakefile:25:in `each'
C:/work/td-agent-builder/Rakefile:25:in `block in define_bulked_task'
Tasks: TOP => msi:build
(See full trace by running task with --trace)
from fluent-package-builder.
FYI: #24 (comment)
from fluent-package-builder.
I've tried sparklemotion/nokogiri#2029 (comment) workaround works as expected:
- fix fluent-plugin-windows-eventlog.gemspec to
~> 1.11.pre
. - rake build to make .gem
- put it under td-agent/downloads
- use 0.7.0.gem in plugin_gem.rb
- rake msi:build.
It works for me.
�[?25h�[?25l"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e��[?25h�[?25l
ventlog-0.7.0.gem"�[62X�[62C�[25;19H�[?25h�[?25l�[HC�[25;19H�[?25h�[?25l
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e��[?25h�[?25l
ventlog-0.7.0.gem"�[62X�[62C�[25;19H�[?25h�[?25l
"--prerelease"�[66X�[66C�[25;15H�[?25h�[?25l
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td��[?25h�[?25l
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-eventlo��[?25h�[?25l
g-0.7.0.gem�[69X�[69C�[25;12H�[?25h�[?25l
�[H"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/24-win32-eventlog-0.6.7.ge
m"�[78X�[78C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/24-win32-eventlog-0.6.7.ge
m"�[78X�[78C
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/24-win32-eventlog-0.6.7.gem
Successfully installed win32-eventlog-0.6.7�[37X�[37C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem�[11X�[11C
Temporarily enhancing PATH for MSYS/MINGW...�[36X�[36C
Building native extensions. This could take a while...�[26X�[26C
Successfully installed winevt_c-0.7.4�[43X�[43C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"--prerelease"�[66X�[66C
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-eventlo
g-0.7.0.gem�[69X�[69C
�[80X�[80C
�[?25h�[?25lFetching winevt_c-0.8.1.gem ��[?25h�[?25l�[H"�[25;28H�[?25h�[?25l
�[80X�[80C
�[?25h�[?25l�[Hm"�[78X�[78C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/24-win32-eventlog-0.6.7.ge
m"�[78X�[78C
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/24-win32-eventlog-0.6.7.gem
Successfully installed win32-eventlog-0.6.7�[37X�[37C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem�[11X�[11C
Temporarily enhancing PATH for MSYS/MINGW...�[36X�[36C
Building native extensions. This could take a while...�[26X�[26C
Successfully installed winevt_c-0.7.4�[43X�[43C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"--prerelease"�[66X�[66C
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-eventlo
g-0.7.0.gem�[69X�[69C
Fetching winevt_c-0.8.1.gem�[53X�[53C
�[80X�[80C
�[?25h�[?25lTemporarily enhancing PATH for MSYS/MINGW... ��[?25h�[?25l
�[80X�[80C
�[?25h�[?25lBuilding native extensions. This could take a while... ��[?25h�[H"�[25;55H�[?25l
�[80X�[80C
�[?25h�[?25lSuccessfully installed winevt_c-0.8.1 ��[?25h�[Hm�[25;38H�[?25l
�[80X�[80C
�[?25h�[?25lSuccessfully installed fluent-plugin-windows-eventlog-0.7.0 ��[?25h�[HC�[25;60H�[?25l
2 gems installed�[64X�[64C�[25;17H�[?25h�[?25l
�[80X�[80C
�[?25h�[?25l�[HSuccessfully installed win32-eventlog-0.6.7�[37X�[37C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem"
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/25-winevt_c-0.7.4.gem�[11X�[11C
Temporarily enhancing PATH for MSYS/MINGW...�[36X�[36C
Building native extensions. This could take a while...�[26X�[26C
Successfully installed winevt_c-0.7.4�[43X�[43C
1 gem installed�[65X�[65C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"C:/td-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-e
ventlog-0.7.0.gem"�[62X�[62C
"--prerelease"�[66X�[66C
C:/opt/td-agent/bin/gem install --no-document --bindir C:/opt/td-agent/bin C:/td
-agent-4.0.0~rc1/td-agent/downloads/plugin_gems/26-fluent-plugin-windows-eventlo
g-0.7.0.gem�[69X�[69C
Fetching winevt_c-0.8.1.gem�[53X�[53C
Temporarily enhancing PATH for MSYS/MINGW...�[36X�[36C
Building native extensions. This could take a while...�[26X�[26C
Successfully installed winevt_c-0.8.1�[43X�[43C
Successfully installed fluent-plugin-windows-eventlog-0.7.0�[21X�[21C
2 gems installed�[64X�[64C
�[80X�[80C
�[?25h�[?25lmkdir -p C:/opt/td-agent/LICENSES ��[?25h�[?25l
cd C:/opt/td-agent/LICENSES�[53X�[53C�[25;28H�[?25h�[?25l
mv C:/opt/td-agent/LICENSE.txt LICENSE-RubyInstaller.txt�[24X�[24C�[25;57H�[?25h�[?25l
tar xf C:/td-agent-4.0.0~rc1/td-agent/downloads/ruby-2.7.1.tar.gz ruby-2.7.1/COP��[?25h�[?25l
from fluent-package-builder.
here is the build log.
wip.use0.7.0.take2.utf8.log
from fluent-package-builder.
TODO: ask when nokogiri 1.11 gem will be released
from fluent-package-builder.
I've asked sparklemotion/nokogiri#2029 (comment).
from fluent-package-builder.
After #116 was merged, the next issue is rc version handling in wix.
C:\Program Files (x86)\WiX Toolset v3.11\bin\candle -nologo -dProjectSourceDir=
:/opt/td-agent -arch x64 project-files.wxs source.wxsc
project-files.wxs
csource.wxs
cC:\td-agent-4.0.0~rc1\td-agent\msi\source.wxs(11) : error CNDL0108 : The Produc
/@Version attribute's value, '4.0.0~rc1', is not a valid version. Legal versio
values should look like 'x.x.x.x' where x is an integer from 0 to 65534.
C:\td-agent-4.0.0~rc1\td-agent\msi\source.wxs(11) : error CNDL0010 : The Produc
/@Version attribute was not found; it is required.
rake aborted!
from fluent-package-builder.
We need to change https://github.com/fluent-plugins-nursery/td-agent-builder/blob/master/td-agent/msi/parameters.wxi.erb#L3
from fluent-package-builder.
Idea:
- regards 4.0.0~rc1 as 400 (Integer)
- then apply 400.pred => 399.
- append 3.9.9.YYMMDD (for example, 2020/06/23 -> 3.9.9.200623)
from fluent-package-builder.
Nokogiri v1.10.10 has been released with precompiled support for Ruby 2.7 on Windows.
from fluent-package-builder.
Related Issues (20)
- Add option to choice whether it enables to start fluentd service or not HOT 2
- Keep fluentdwinsvc commandline option during upgrading HOT 1
- msi: Env var PATH for Fluent Package Prompt are specified in a not good way HOT 1
- Vulnerabilities in yajl-ruby-1.4.1 & fluentd-1.14.6 package of fluent-plugin-td-1.2.0 HOT 1
- Enabled state of systemd service isn't migrated on upgrading from td-agent v4 to fluent-package v5
- Prevent accidental duplicate launching HOT 13
- Use ruby 3.2.3 HOT 3
- Windows: Slow service start (fluent-package) HOT 2
- Windows: a garbage character is sometimes placed at the end of 'fluentdopt' registry value (fluent-package) HOT 2
- Windows: td-agent 4.5.2 Too many open files HOT 1
- nokogiri-1.15.3 in td-agent v4.5.3 has vulnerability(CVE-2019-18425) HOT 1
- Install win32-service gem from a forked repository HOT 2
- HIGH CVE's on openssl-3.1.0 CVE-2023-0464, CVE-2023-4807, CVE-2023-5363 HOT 2
- fluent-package: msi: migration process wrongly runs every update in env once updated from v4 HOT 1
- MSI: specify custom install path over commandline
- fluent-package v5.1.0 HOT 31
- CVE-2023-46674 reported on fluent-package-builder HOT 1
- Disabled macOS GitHub Actions workflow HOT 1
- Set log path in system/log section of System Configuration
- How to get json message to logstash without extracting fields from fluentd
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-package-builder.