Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPRECATION] Struct layout is already defined for class Windows::ServiceStructs::SERVICE_STATUS_PROCESS #70

Closed
dreweasland opened this issue Jan 30, 2020 · 3 comments

Comments

@dreweasland
Copy link

Description

class SERVICE_STATUS_PROCESS is declared twice in structs, causing deprecation error messages with FFI

Gem Version

2.1.4

Windows Version

windows 10

Replication Case

run chef-client on a windows chef node and the warning will appear
the bigger issue is that when running a bootstrap via terraform, the warning is output as an error and causing a failure

GabrielNagy added a commit to lucywyman/puppet-runtime that referenced this issue Apr 3, 2020
Pin ffi on Windows due to pxp-agent tests failing.

Even though they are deprecation warnings, having output on stderr may
break things in unexpected ways.

See: chef/win32-service#70
@samanthakem
Copy link

What's the ETA for this fix? I am having the same issue.

@ksandrmatveyev
Copy link

as I, with td-agent 3.6.+. Seems that 2.1.5 wasn't fix this issue treasure-data/omnibus-td-agent#246

@tas50
Copy link
Contributor

tas50 commented Apr 7, 2021

Closing this out since we removed the 2nd SERVICE_STATUS_PROCESS

@tas50 tas50 closed this as completed Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants