Unable to install gem using the chef-infra-client v17.6.18

Unable to install gem using the chef-infra-client v17.6.18
I am trying to install this gem below with the latest version of chef-client v17.6.18 using the below code block in my recipe. But getting error while installing the gem.
Since my VM doesn't have internet connection, I have to update my gem source to my local repo in artifactory instead of the default rubygems URL (https://rubygems.org). But while deployment it is still trying to look in the rubygems URL which it shouldn't. Infact older version of chef-client (v15.13.8) did work fine i.e., it installs the gem from my artifactory repo.
I tried to use clear_sources true and source https://local-artifactory-gem-repo as well with chef_gem resource. But still the same error. This time I could see the artifactory-local-gem-repo as my source repo.
chef_gem 'tiny_tds' do
  action :install
end

Software Version
chef-infra-client v17.6.18
OS Win2019
Stacktrace
[2021-10-07T13:09:37-04:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2021-10-07T13:09:37-04:00] FATAL: ---------------------------------------------------------------------------------------
[2021-10-07T13:09:37-04:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2021-10-07T13:09:37-04:00] FATAL: ---------------------------------------------------------------------------------------
[2021-10-07T13:09:37-04:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: chef_gem[tiny_tds] (COOKBOOK_NAME::RECIPE_NAME line 16) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org ----
STDOUT: Building native extensions. This could take a while...
STDERR: ERROR:  Error installing tiny_tds:
        ERROR: Failed to build gem native extension.

    current directory: C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5/ext/tiny_tds
C:/opscode/chef/embedded/bin/ruby.exe -I C:/opscode/chef/embedded/lib/ruby/3.0.0 -r ./siteconf20211007-356-j4rum4.rb extconf.rb
looking for freetds headers in the following directories:
 - /opt/local/include
 - /opt/local/include/freetds
 - /usr/local/include
 - /usr/local/include/freetds
looking for freetds library in the following directories:
 - /opt/local/lib
 - /opt/local/lib/freetds
 - /usr/local/lib
 - /usr/local/lib/freetds
checking for sybfront.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-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:/opscode/chef/embedded/bin/$(RUBY_BASE_NAME)
        --help
        --with-freetds-dir
        --without-freetds-dir
        --with-freetds-include
        --without-freetds-include=${freetds-dir}/include
        --with-freetds-lib
        --without-freetds-lib=${freetds-dir}/lib
C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:482:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:624:in `try_cpp'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:1188:in `block in find_header'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:982:in `block in checking_for'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block (2 levels) in postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block in postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:357:in `postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:981:in `checking_for'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:1187:in `find_header'
        from extconf.rb:59:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5 for inspection.
Results logged to C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/gem_make.out
---- End output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org ----
Ran C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org returned 1

It looks like you managed to pull the gem down just fine. It's just failing to compile it. The system is missing some library that gem requires.

May be Should I try with some stable versions of chef-infra-client instead of the latest one?
If you think this approach should help, then please suggest the right version of chef-infra-client. Thanks.

@marcparadise @lamont-granquist I'm also having this problem with chef 17 when I'm trying to install airbrake-ruby.
I tested chef version 16.17.18 and there it is working.
I get the following error in the mkmf.log in chef 17:
"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/missing.h:38:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/defines.h:80,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/ieeefp.h:6:22: fatal error: ansidecl.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

i checked the c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/ path in the explorer and the ansidecl.h file is missing which is causing the error

@tas50 sorry for the ping this issue is blocking us from updating to chef 17.
could this be triaged?

@floh96 I'm no longer at Chef so I won't be able to assist further here

@lamont-granquist i saw you fixed the issue in #12693 for the kitchen tests.
could you please triage this issue to fix this in the chef-client instakker?

Side note : I tried to manually install tiny_tds outside of chef using "gem install tindy_tds" on Windows 11. I got the same error. It came back and told me Failed! Do you have FreeTDS 0.95.80 or higher installed?

Upon further investigation, I see that the error regarding Freetds is really a cascading error and that the real missing file is : sybfront.h. A quick scan of the interwebs for that file and I came across this bug from 2017.  https://github.com/rails-sqlserver/tiny_tds/issues/331

I found freetds.org and it says that the tool is for Unix/Linux OS's to talk to MS-SQL with. Why are we trying to load that on Windows?

@johnmccrae glad to hear that do you have a link to the issue so I can follow it? Or is it private?

Lemme see if I can find it.

@johnmccrae friendly ping since I have not heard anything from you

Hi @johnmccrae , do you perhaps know if this has been resolved ? seems that this issue is still occurring with -> Chef Infra Client, version 17.9.52 ?

+1 - same issue but with seven_zip_ruby gem

Apologies for leaving this dangling. I'll get some cycles in a couple of days and give this an update.

Hi All, working on this now. I found one immediate workaround while I dig deeper. You can create a file called .gemrc (note the leading period) and stick in the root of the user running your cookbooks. It needs to have this inside of it>
:sources:
  - http://my.gem.server
  - http://rubygems.org

When you execute "gem env" after that you'll note that it correctly reflects the sources for you.

If I do this: I can talk chef_gem into looking at another location. Does this work for anyone else?
chef_gem 'tiny_tds' do
  action :install
  source "https://foo.org"
end

Here's my output from my recipe
[2022-06-09T14:45:02-07:00] INFO: Running queued delayed notifications before re-raising exception
[2022-06-09T14:45:02-07:00] FATAL: Stacktrace dumped to C:/chef/cache/chef-stacktrace.out
[2022-06-09T14:45:02-07:00] FATAL: ---------------------------------------------------------------------------------------
[2022-06-09T14:45:02-07:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2022-06-09T14:45:02-07:00] FATAL: ---------------------------------------------------------------------------------------
[2022-06-09T14:45:02-07:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: chef_gem[tiny_tds] ((chef-apply cookbook)::(chef-apply recipe) line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'
---- Begin output of c:/opscode/chef-workstation/embedded/bin/gem install "tiny_tds" -q --no-document  --clear-sources --source=https://foo.org ----
STDOUT:
STDERR: ERROR:  Could not find a valid gem 'tiny_tds' (>= 0), here is why:
          Unable to download data from https://foo.org/ - SocketError: Failed to open TCP connection to foo.org:443 (getaddrinfo: No such host is known. ) (https://foo.org/specs.4.8.gz)

BTW, I am running  - Chef Infra Client: 17.10.0

@johnmccrae I've tried the suggested approach by, however I'm receiving the following ouput.
I must be doing something wrong, do you have any suggestions ?
chef_gem 'tiny_tds' do
  compile_time true
  version '2.1.5'
  source "http://rubygems.org"
end

The output is as followed
 * chef_gem[tiny_tds] action install

    ================================================================================
    Error executing action `install` on resource 'chef_gem[tiny_tds]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --clear-sources --source=http://rubygems.org ----
    STDOUT: Building native extensions. This could take a while...
    STDERR: ERROR:  Error installing tiny_tds:
        ERROR: Failed to build gem native extension.

        current directory: C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5/ext/tiny_tds
    C:/opscode/chef/embedded/bin/ruby.exe -I C:/opscode/chef/embedded/lib/ruby/3.0.0 -r ./siteconf20220610-10808-dd8wt0.rb extconf.rb
    looking for freetds headers in the following directories:
     - /opt/local/include
     - /opt/local/include/freetds
     - /usr/local/include
     - /usr/local/include/freetds
    looking for freetds library in the following directories:
     - /opt/local/lib
     - /opt/local/lib/freetds
     - /usr/local/lib
     - /usr/local/lib/freetds
    checking for sybfront.h... *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers.  Check the mkmf.log file for more details.  You may
    need configuration options.

    Provided configuration options:
        --with-opt-dir
        --without-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:/opscode/chef/embedded/bin/$(RUBY_BASE_NAME)
        --help
        --with-freetds-dir
        --without-freetds-dir
        --with-freetds-include
        --without-freetds-include=${freetds-dir}/include
        --with-freetds-lib
        --without-freetds-lib=${freetds-dir}/lib
    C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:482:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:624:in `try_cpp'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:1188:in `block in find_header'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:982:in `block in checking_for'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block (2 levels) in postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:361:in `block in postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:331:in `open'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:357:in `postpone'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:981:in `checking_for'
        from C:/opscode/chef/embedded/lib/ruby/3.0.0/mkmf.rb:1187:in `find_header'
        from extconf.rb:59:in `<main>'

    To see why this extension failed to compile, please check the mkmf.log which can be found here:

      C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log

    extconf failed, exit code 1

    Gem files will remain installed in C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5 for inspection.
    Results logged to C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/gem_make.out
    ---- End output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --clear-sources --source=http://rubygems.org ----
    Ran C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --clear-sources --source=http://rubygems.org returned 1

    Cookbook Trace: (most recent call first)
    ----------------------------------------

Results output ;
C:\opscode\chef\embedded\bin>cat C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log
"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/missing.h:38:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/defines.h:80,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/ieeefp.h:6:22: fatal error: ansidecl.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

Results ;
C:\opscode\chef\embedded\bin>cat C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log
"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/missing.h:38:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/defines.h:80,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/include/ieeefp.h:6:22: fatal error: ansidecl.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

@jmunnik @johnmccrae I have a working workaround for the airbrake-ruby gem see https://github.com/chef/chef/issues/12149#issuecomment-1072245231 and the linked pr when you copy the ansidecl.h file to the correct location the airbrake-ruby gem installation is working.
@johnmccrae the issue is that the chef installer is placing the ansidecl.h file to the wrong location.
You can see that this is causing the error when you are looking at the mkmf.log after you tried installing a gem see https://github.com/chef/chef/issues/12149#issuecomment-985416161.

@floh96 thanks, that is indeed step 1. that I executed to overcome one issue, however then I'm facing the issue as mentioned in my last comment.

OMG, was it that thing again? Thanks @floh96 I needed to see this.

Tried adding the ansidecl.h file and also the .gemrc file but it made no difference for me.
` * chef_gem[seven_zip_ruby] action install
         ================================================================================
         Error executing action `install` on resource 'chef_gem[seven_zip_ruby]'
         ================================================================================

         Mixlib::ShellOut::ShellCommandFailed
         ------------------------------------
         Expected process to exit with [0], but received '1'
         ---- Begin output of C:/opscode/chef/embedded/bin/gem install seven_zip_ruby -q --no-document -v "1.3.0" --source=https://rubygems.org ----
         STDOUT: Building native extensions. This could take a while...
         STDERR: ERROR:  Error installing seven_zip_ruby:

            ERROR: Failed to build gem native extension.

      current directory: C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/seven_zip_ruby-1.3.0/ext/seven_zip_ruby

         C:/opscode/chef/embedded/bin/ruby.exe -I C:/opscode/chef/embedded/lib/ruby/3.0.0 -r ./siteconf20220610-1432-c0s9b4.rb extconf.rb

         checking for ruby/thread.h... yes

         *** extconf.rb failed ***

         Could not create Makefile due to some reason, probably lack of necessary

         libraries and/or headers.  Check the mkmf.log file for more details.  You may

         need configuration options.

         Provided configuration options:

            --with-opt-dir

            --without-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:/opscode/chef/embedded/bin/$(RUBY_BASE_NAME)

            --with-ruby-dir

            --without-ruby-dir

            --with-ruby-include

            --without-ruby-include=${ruby-dir}/include

            --with-ruby-lib

            --without-ruby-lib=${ruby-dir}/lib

         extconf.rb:152:in `main': C++11 is not supported by the compiler. (RuntimeError)

            from extconf.rb:193:in `<main>'

         To see why this extension failed to compile, please check the mkmf.log which can be found here:

    C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/seven_zip_ruby-1.3.0/mkmf.log

         extconf failed, exit code 1

         Gem files will remain installed in C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/seven_zip_ruby-1.3.0 for inspection.

         Results logged to C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/seven_zip_ruby-1.3.0/gem_make.out
         ---- End output of C:/opscode/chef/embedded/bin/gem install seven_zip_ruby -q --no-document -v "1.3.0" --source=https://rubygems.org ----
         Ran C:/opscode/chef/embedded/bin/gem install seven_zip_ruby -q --no-document -v "1.3.0" --source=https://rubygems.org returned 1`

Ok, yeah the mkmf.log is different after adding the ansidecl.h file

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

"gcc -E -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ruby/thread.h>
/* end */

--------------------

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64  -c conftest.c"
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <ruby.h>
 6: #include <ruby/thread.h>
 7:
 8: #include <stdio.h>
 9:
10: int main(int argc, char *argv[])
11: {
12:     printf("%p\n", rb_thread_call_without_gvl);
13:     return 0;
14: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64  -c conftest.c"
conftest.c: In function 'main':
conftest.c:8:20: error: 'nullptr' undeclared (first use in this function)
conftest.c:8:20: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <stdio.h>
 6: int main(int argc, char *argv[])
 7: {
 8:     printf("%p\n", nullptr);
 9:     return 0;
10: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64  -x c++  -c conftest.c"
In file included from c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../include/c++/4.7.2/array:36:0,
                 from conftest.c:7:
c:\opscode\chef\embedded\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../include/c++/4.7.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:98:69: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(ID, VALUE*), int)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:100:41: error: invalid conversion from 'int' to 'void (*)(VALUE, ID, VALUE*) {aka void (*)(long long unsigned int, long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:49:6: error:   initializing argument 3 of 'void rb_define_virtual_variable(const char*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:105:57: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), int)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:108:41: error: invalid conversion from 'int' to 'void (*)(VALUE, ID, VALUE*) {aka void (*)(long long unsigned int, long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:49:6: error:   initializing argument 3 of 'void rb_define_virtual_variable(const char*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:112:48: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, int, void (*)(VALUE, ID, VALUE*))':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:114:41: error: invalid conversion from 'int' to 'VALUE (*)(ID, VALUE*) {aka long long unsigned int (*)(long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:49:6: error:   initializing argument 2 of 'void rb_define_virtual_variable(const char*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:119:48: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, int, void (*)(...))':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:122:41: error: invalid conversion from 'int' to 'VALUE (*)(ID, VALUE*) {aka long long unsigned int (*)(long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:49:6: error:   initializing argument 2 of 'void rb_define_virtual_variable(const char*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:161:78: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(ID, VALUE*), int)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:163:43: error: invalid conversion from 'int' to 'void (*)(VALUE, ID, VALUE*) {aka void (*)(long long unsigned int, long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:50:6: error:   initializing argument 4 of 'void rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:168:66: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(...), int)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:171:43: error: invalid conversion from 'int' to 'void (*)(VALUE, ID, VALUE*) {aka void (*)(long long unsigned int, long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:50:6: error:   initializing argument 4 of 'void rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:175:57: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_hooked_variable(const char*, VALUE*, int, void (*)(VALUE, ID, VALUE*))':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:177:43: error: invalid conversion from 'int' to 'VALUE (*)(ID, VALUE*) {aka long long unsigned int (*)(long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:50:6: error:   initializing argument 3 of 'void rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:182:57: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'void ruby::backward::cxxanyargs::rb_define_hooked_variable(const char*, VALUE*, int, void (*)(...))':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:185:43: error: invalid conversion from 'int' to 'VALUE (*)(ID, VALUE*) {aka long long unsigned int (*)(long long unsigned int, long long unsigned int*)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:24:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/variable.h:50:6: error:   initializing argument 3 of 'void rb_define_hooked_variable(const char*, VALUE*, VALUE (*)(ID, VALUE*), void (*)(VALUE, ID, VALUE*))' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:212:42: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'VALUE ruby::backward::cxxanyargs::rb_iterate(VALUE (*)(VALUE), VALUE, int, VALUE)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:214:35: error: invalid conversion from 'int' to 'rb_block_call_func_t {aka long long unsigned int (*)(long long unsigned int, long long unsigned int, int, const long long unsigned int*, long long unsigned int)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/intern/cont.h:25:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:15,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/iterator.h:47:7: error:   initializing argument 3 of 'VALUE rb_iterate(VALUE (*)(VALUE), VALUE, rb_block_call_func_t, VALUE)' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:238:58: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'VALUE ruby::backward::cxxanyargs::rb_block_call(VALUE, ID, int, const VALUE*, int, VALUE)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:240:44: error: invalid conversion from 'int' to 'rb_block_call_func_t {aka long long unsigned int (*)(long long unsigned int, long long unsigned int, int, const long long unsigned int*, long long unsigned int)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/intern/cont.h:25:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:15,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/iterator.h:48:7: error:   initializing argument 5 of 'VALUE rb_block_call(VALUE, ID, int, const VALUE*, rb_block_call_func_t, VALUE)' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: At global scope:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:337:30: error: 'std::nullptr_t' has not been declared
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp: In function 'VALUE ruby::backward::cxxanyargs::rb_catch(const char*, int, VALUE)':
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:339:30: error: invalid conversion from 'int' to 'rb_block_call_func_t {aka long long unsigned int (*)(long long unsigned int, long long unsigned int, int, const long long unsigned int*, long long unsigned int)}' [-fpermissive]
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/intern/cont.h:25:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward/cxxanyargs.hpp:15,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/anyargs.h:83,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:24,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/iterator.h:54:7: error:   initializing argument 2 of 'VALUE rb_catch(const char*, rb_block_call_func_t, VALUE)' [-fpermissive]
conftest.c: In function 'void test()':
conftest.c:21:5: error: 'array' is not a member of 'std'
conftest.c:21:16: error: expected primary-expression before 'int'
conftest.c:21:16: error: expected ';' before 'int'
conftest.c:23:5: error: 'function' is not a member of 'std'
conftest.c:23:32: error: expression list treated as compound expression in functional cast [-fpermissive]
conftest.c:23:19: error: expected primary-expression before 'int'
conftest.c:23:19: error: expected ';' before 'int'
conftest.c:29:41: error: 'var_list' was not declared in this scope
conftest.c: In lambda function:
conftest.c:30:34: error: 'convert' was not declared in this scope
conftest.c:31:5: error: return-statement with a value, in function returning 'void' [-fpermissive]
conftest.c: In function 'void test()':
conftest.c:31:5: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
conftest.c:33:97: warning: lambda expressions only available with -std=c++11 or -std=gnu++11 [enabled by default]
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <functional>
 6: #include <algorithm>
 7: #include <array>
 8: #include <iostream>
 9:
10: #include <ruby.h>
11:
12: // see the test on memset_s below, which is a purely BSD thing
13: #if defined(__APPLE__) || defined(BSD)
14: #include <string.h>
15: #endif
16:
17: void test()
18: {
19:     int array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
20:     const int size = sizeof(array)/sizeof(array[0]);
21:     std::array<int, size> var_list;
22:
23:     std::function<int (int, int)> convert = [&](int arg1, int arg2){
24:         return arg1 * arg2;
25:     };
26:
27:     const int value = 10;
28:
29:     std::transform(array, array + size, var_list.begin(), [&](int arg){
30:         return convert(arg, value);
31:     });
32:
33:     std::for_each(var_list.begin(), var_list.end(), [](int num){ std::cout << num << std::endl; });
34:
35: #if defined(__APPLE__) || defined(BSD)
36:     char str[] = "imareallycoolstringright";
37:     memset_s(str, sizeof str, 'b', 5);
38: #endif
39: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64 -std=gnu++11 -x c++  -c conftest.c"
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:25,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected unqualified-id before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected ')' before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:71:29: error: expected declaration before end of line
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <functional>
 6: #include <algorithm>
 7: #include <array>
 8: #include <iostream>
 9:
10: #include <ruby.h>
11:
12: // see the test on memset_s below, which is a purely BSD thing
13: #if defined(__APPLE__) || defined(BSD)
14: #include <string.h>
15: #endif
16:
17: void test()
18: {
19:     int array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
20:     const int size = sizeof(array)/sizeof(array[0]);
21:     std::array<int, size> var_list;
22:
23:     std::function<int (int, int)> convert = [&](int arg1, int arg2){
24:         return arg1 * arg2;
25:     };
26:
27:     const int value = 10;
28:
29:     std::transform(array, array + size, var_list.begin(), [&](int arg){
30:         return convert(arg, value);
31:     });
32:
33:     std::for_each(var_list.begin(), var_list.end(), [](int num){ std::cout << num << std::endl; });
34:
35: #if defined(__APPLE__) || defined(BSD)
36:     char str[] = "imareallycoolstringright";
37:     memset_s(str, sizeof str, 'b', 5);
38: #endif
39: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64 -std=c++11 -x c++  -c conftest.c"
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:25,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected unqualified-id before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected ')' before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:71:29: error: expected declaration before end of line
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <functional>
 6: #include <algorithm>
 7: #include <array>
 8: #include <iostream>
 9:
10: #include <ruby.h>
11:
12: // see the test on memset_s below, which is a purely BSD thing
13: #if defined(__APPLE__) || defined(BSD)
14: #include <string.h>
15: #endif
16:
17: void test()
18: {
19:     int array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
20:     const int size = sizeof(array)/sizeof(array[0]);
21:     std::array<int, size> var_list;
22:
23:     std::function<int (int, int)> convert = [&](int arg1, int arg2){
24:         return arg1 * arg2;
25:     };
26:
27:     const int value = 10;
28:
29:     std::transform(array, array + size, var_list.begin(), [&](int arg){
30:         return convert(arg, value);
31:     });
32:
33:     std::for_each(var_list.begin(), var_list.end(), [](int num){ std::cout << num << std::endl; });
34:
35: #if defined(__APPLE__) || defined(BSD)
36:     char str[] = "imareallycoolstringright";
37:     memset_s(str, sizeof str, 'b', 5);
38: #endif
39: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64 -std=gnu++0x -x c++  -c conftest.c"
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:25,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected unqualified-id before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected ')' before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:71:29: error: expected declaration before end of line
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <functional>
 6: #include <algorithm>
 7: #include <array>
 8: #include <iostream>
 9:
10: #include <ruby.h>
11:
12: // see the test on memset_s below, which is a purely BSD thing
13: #if defined(__APPLE__) || defined(BSD)
14: #include <string.h>
15: #endif
16:
17: void test()
18: {
19:     int array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
20:     const int size = sizeof(array)/sizeof(array[0]);
21:     std::array<int, size> var_list;
22:
23:     std::function<int (int, int)> convert = [&](int arg1, int arg2){
24:         return arg1 * arg2;
25:     };
26:
27:     const int value = 10;
28:
29:     std::transform(array, array + size, var_list.begin(), [&](int arg){
30:         return convert(arg, value);
31:     });
32:
33:     std::for_each(var_list.begin(), var_list.end(), [](int num){ std::cout << num << std::endl; });
34:
35: #if defined(__APPLE__) || defined(BSD)
36:     char str[] = "imareallycoolstringright";
37:     memset_s(str, sizeof str, 'b', 5);
38: #endif
39: }
/* end */

"gcc -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 -m64 -std=c++0x -x c++  -c conftest.c"
In file included from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rstring.h:28:0,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic/char.h:29,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/arithmetic.h:23,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/ruby.h:25,
                 from C:/opscode/chef/embedded/include/ruby-3.0.0/ruby.h:38,
                 from conftest.c:1:
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected unqualified-id before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:46:14: error: expected ')' before numeric constant
C:/opscode/chef/embedded/include/ruby-3.0.0/ruby/internal/core/rbasic.h:71:29: error: expected declaration before end of line
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5: #include <functional>
 6: #include <algorithm>
 7: #include <array>
 8: #include <iostream>
 9:
10: #include <ruby.h>
11:
12: // see the test on memset_s below, which is a purely BSD thing
13: #if defined(__APPLE__) || defined(BSD)
14: #include <string.h>
15: #endif
16:
17: void test()
18: {
19:     int array[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
20:     const int size = sizeof(array)/sizeof(array[0]);
21:     std::array<int, size> var_list;
22:
23:     std::function<int (int, int)> convert = [&](int arg1, int arg2){
24:         return arg1 * arg2;
25:     };
26:
27:     const int value = 10;
28:
29:     std::transform(array, array + size, var_list.begin(), [&](int arg){
30:         return convert(arg, value);
31:     });
32:
33:     std::for_each(var_list.begin(), var_list.end(), [](int num){ std::cout << num << std::endl; });
34:
35: #if defined(__APPLE__) || defined(BSD)
36:     char str[] = "imareallycoolstringright";
37:     memset_s(str, sizeof str, 'b', 5);
38: #endif
39: }
/* end */

Hi everyone, @am185238 and I spent time today on this. The short story is that the ruby devkit shipping with the windows versions of chef client is broken. We're actively working on a build and will have something soon (weeks, not months).
There are 2 basic problems in play:

Ansidecl.h is in the wrong folder
The chef/chef-workstation ruby devkit files are causing compilation problems.

To get around problem one, run the following in PowerShell
$output = gci -path C:\opscode\ -file ansidecl.h -Recurse
$target_path = $($output.Directory.Parent.FullName + "\x86_64-w64-mingw32\include")
Move-Item -Path $output.FullName -Destination $target_path

To get past the second part of the problem, please follow these steps. This is a really ugly workaround but it'll get everyone working until we get the new build out.

Download a copy of the Ruby installer plus devkit that matches the version of Ruby shipped with chef. - It's probably 3.0.3sp20 or 3.0.4.. Here
Install it but don't let it change your path or associate any ruby files with it. Also, don't run the RIDK installer
Once that is done, go to c:\ruby30\msys64 and copy the mingw64 folder.
Copy that to c:\opscode\chef-workstation\embedded
Rename the existing "mingw" folder to whatever (mingw-hold), then rename the "mingw64" folder to "mingw"
Now go install the gem again and it works.

-OR-

Install the matching RubyDevkit as above
Go to c:\opscode\chef-workstation\embedded\lib\ruby\site_ruby and open up devkit.rb
Change both ENV['PATH'] lines (lines 2 and 10) from c:\opscode\chef-workstation\embedded\mingw\bin to c:\ruby3\mysys64\mingw64\bin
On line 10, don't remove the first part of the path there, only update the second part to match line 2.

Please let me know if you run into anything.

@johnmccrae , I have the run the suggested actions. However I'm still running into issues. See below the steps I have executed to validate the workaround in order to check if this can complete the compilation and installation of tiny_tds.

Removed Chef Infra Client, version 16.18.0
Installed Chef Infra Client, version 17.9.52
Executed the following script to place the ansidecl.h in the correct folder

$output = gci -path C:\opscode\ -file ansidecl.h -Recurse
$target_path = $($output.Directory.Parent.FullName + "\x86_64-w64-mingw32\include")
Move-Item -Path $output.FullName -Destination $target_path

Download a copy of the Ruby installer plus devkit : rubyinstaller-devkit-3.0.3-1-x64.exe

executed rubyinstaller-devkit-3.0.3-1-x64.exe
I accept the License
Only selected Ruby-3.0 base files
Removed checkmark at Run 'ridsk install' to ....

Renamed the folder C:\opscode\chef\embedded\mingw64 to C:\opscode\chef\embedded\mingw64_old
Copied C:\Ruby30-x64\msys64\mingw64 to C:\opscode\chef\embedded\
Renamed folder C:\opscode\chef\embedded\mingw64 to mingw (result : C:\opscode\chef\embedded\mingw)
Perform chef-client run

Output in chef-client run
installer line 19) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org ----
STDOUT: Building native extensions. This could take a while...
STDERR: ERROR:  Error installing tiny_tds:
        ERROR: Failed to build gem native extension.

    current directory: C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5/ext/tiny_tds
C:/opscode/chef/embedded/bin/ruby.exe -I C:/opscode/chef/embedded/lib/ruby/3.0.0 -r ./siteconf20220618-2604-kqf8a2.rb extconf.rb
looking for freetds headers in the following directories:
 - /opt/local/include
 - /opt/local/include/freetds
 - /usr/local/include
 - /usr/local/include/freetds
looking for freetds library in the following directories:
 - /opt/local/lib
 - /opt/local/lib/freetds
 - /usr/local/lib
 - /usr/local/lib/freetds
checking for sybfront.h... no
checking for sybdb.h... no
checking for tdsdbopen() in -lsybdb... no
checking for dbanydatecrack() in -lsybdb... no
Failed! Do you have FreeTDS 0.95.80 or higher installed?
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-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:/opscode/chef/embedded/bin/$(RUBY_BASE_NAME)
        --help
        --with-freetds-dir
        --without-freetds-dir
        --with-freetds-include
        --without-freetds-include=${freetds-dir}/include
        --with-freetds-lib
        --without-freetds-lib=${freetds-dir}/lib
        --with-sybdb-dir
        --without-sybdb-dir
        --with-sybdb-include
        --without-sybdb-include=${sybdb-dir}/include
        --with-sybdb-lib
        --without-sybdb-lib=${sybdb-dir}/lib
        --with-sybdblib
        --without-sybdblib
        --with-sybdblib
        --without-sybdblib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5 for inspection.
Results logged to C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/gem_make.out
---- End output of C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org ----
Ran C:/opscode/chef/embedded/bin/gem install tiny_tds -q --no-document -v "2.1.5" --source=https://rubygems.org returned 1

10. Check : C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log
find_header: checking for sybfront.h... -------------------- no

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return !!argv[argc];
8: }
/* end */

"gcc -E -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3  conftest.c -o conftest.i"
conftest.c:5:10: fatal error: sybfront.h: No such file or directory
    5 | #include <sybfront.h>
      |          ^~~~~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sybfront.h>
/* end */

--------------------

find_header: checking for sybdb.h... -------------------- no

"gcc -E -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3  conftest.c -o conftest.i"
conftest.c:5:10: fatal error: sybdb.h: No such file or directory
    5 | #include <sybdb.h>
      |          ^~~~~~~~~
compilation terminated.
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sybdb.h>
/* end */

--------------------

find_library: checking for tdsdbopen() in -lsybdb... -------------------- no

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300 -lsybdb  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
conftest.c: In function 't':
conftest.c:17:57: error: 'tdsdbopen' undeclared (first use in this function)
   17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))tdsdbopen; return !p; }
      |                                                         ^~~~~~~~~
conftest.c:17:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5:
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14:
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))tdsdbopen; return !p; }
/* end */

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300 -lsybdb  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
C:/opscode/chef/embedded/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsybdb
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5:
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14:
15:   return !!argv[argc];
16: }
17: extern void tdsdbopen();
18: int t(void) { tdsdbopen(); return 0; }
/* end */

--------------------

find_library: checking for dbanydatecrack() in -lsybdb... -------------------- no

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300 -lsybdb  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
conftest.c: In function 't':
conftest.c:17:57: error: 'dbanydatecrack' undeclared (first use in this function)
   17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))dbanydatecrack; return !p; }
      |                                                         ^~~~~~~~~~~~~~
conftest.c:17:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5:
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14:
15:   return !!argv[argc];
16: }
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))dbanydatecrack; return !p; }
/* end */

"gcc -o conftest.exe -IC:/opscode/chef/embedded/include/ruby-3.0.0/x64-mingw32 -IC:/opscode/chef/embedded/include/ruby-3.0.0/ruby/backward -IC:/opscode/chef/embedded/include/ruby-3.0.0 -I. -I/opt/local/include -I/opt/local/include/freetds -I/usr/local/include -I/usr/local/include/freetds -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -m64 -march=x86-64 -O3 -D_WIN32_WINNT=0x0602 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64  -IC:/opscode/chef/embedded/include -DFD_SETSIZE=2048 -march=x86-64 -O3 conftest.c  -L. -LC:/opscode/chef/embedded/lib -L/opt/local/lib -L/opt/local/lib/freetds -L/usr/local/lib -L/usr/local/lib/freetds -L. -LC:/opscode/chef/embedded/lib -fno-lto  -m64   -lx64-msvcrt-ruby300 -lsybdb  -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi  "
C:/opscode/chef/embedded/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsybdb
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <winsock2.h>
 4: #include <windows.h>
 5:
 6: /*top*/
 7: extern int t(void);
 8: int main(int argc, char **argv)
 9: {
10:   if (argc > 1000000) {
11:     int (* volatile tp)(void)=(int (*)(void))&t;
12:     printf("%d", (*tp)());
13:   }
14:
15:   return !!argv[argc];
16: }
17: extern void dbanydatecrack();
18: int t(void) { dbanydatecrack(); return 0; }
/* end */

--------------------

11. Check C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/gem_make.out
current directory: C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/gems/tiny_tds-2.1.5/ext/tiny_tds
C:/opscode/chef/embedded/bin/ruby.exe -I C:/opscode/chef/embedded/lib/ruby/3.0.0 -r ./siteconf20220618-2604-kqf8a2.rb extconf.rb
looking for freetds headers in the following directories:
 - /opt/local/include
 - /opt/local/include/freetds
 - /usr/local/include
 - /usr/local/include/freetds
looking for freetds library in the following directories:
 - /opt/local/lib
 - /opt/local/lib/freetds
 - /usr/local/lib
 - /usr/local/lib/freetds
checking for sybfront.h... no
checking for sybdb.h... no
checking for tdsdbopen() in -lsybdb... no
checking for dbanydatecrack() in -lsybdb... no
Failed! Do you have FreeTDS 0.95.80 or higher installed?
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-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:/opscode/chef/embedded/bin/$(RUBY_BASE_NAME)
	--help
	--with-freetds-dir
	--without-freetds-dir
	--with-freetds-include
	--without-freetds-include=${freetds-dir}/include
	--with-freetds-lib
	--without-freetds-lib=${freetds-dir}/lib
	--with-sybdb-dir
	--without-sybdb-dir
	--with-sybdb-include
	--without-sybdb-include=${sybdb-dir}/include
	--with-sybdb-lib
	--without-sybdb-lib=${sybdb-dir}/lib
	--with-sybdblib
	--without-sybdblib
	--with-sybdblib
	--without-sybdblib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  C:/opscode/chef/embedded/lib/ruby/gems/3.0.0/extensions/x64-mingw32/3.0.0/tiny_tds-2.1.5/mkmf.log

extconf failed, exit code 1

@jmunnik I am getting that  error too. Going to dig in a bit more here.

@johnmccrae , thanks for looking into this, keep us posted !

Sounds like this is fixed now, in which release version can we find the fix? I didn't see it in v17.10.19.

@eelco-de-boer see changelog this is fixed in the 18.0.127 release which is not released yet.

@johnmccrae just out of curiosity with those fixes you were able to install the gem tiny_tds ? and next question do you know when this 18.0.x version will be released ? or will this fix also become available in 17.1x.x ?

If anyone needs to get past this urgently before this is released to Chef17, I created a cookbook to implement the second workaround (ruby devkit install to new directory and point chef-client ruby instance to that directory for mingw). Simply include the default and ansidecl recipes from the cookbook below:
https://supermarket.chef.io/cookbooks/ruby_devkit
https://github.com/amunoz951/ruby_devkit

@jmunnik FYI, I tested a clean install of the latest Ruby stable release (3.1.2-1) as well as the 3.0 versions and the tiny_tds gem still fails to install. Looks like that specific gem is suffering from some other Ruby 3.x issue or perhaps I'm missing some prereqs on my VM.

@johnmccrae Looks like the change was reverted: https://github.com/chef/chef/pull/13063
This is blocking us from upgrading thousands of nodes to Chef 17. When can we expect this to be looked at?


feat: make header clickable to starting webpage

Changes
replace span inner title with a html a element.
Now it´s possible to click on the header to get to the homepage.

@petermuessig
couldn´t think of something better.
I´m replacing the span element by the id, which should be stable
there is a fallback anyway if id was not found that cancels the observation

What else comes to mind would be using a customHeader aggr. for the Page (https://ui5.sap.com/#/api/sap.m.Page%23aggregations) or applying this change at the App Controller level rather than the Component so that you wouldn't have to hardcode the Id but instead get it via byId + getDomRef smth. like this could maybe work.
Not sure how well though, just some things that I thought about. I like the "workaround" via mutation observer, creative. :)

@wridgeu
You were right.
I even looked at that and was somehow of the opinion that in IBar implementation no link control should be included.
I do not know why.
But it definitely gives a better, more standard solution.
Thanks!
You are welcome to review this.


Add Amazon Games support

Since Twitch Prime games can't be use anymore on the twitch desktop app, the plugin is now useless.
All theses games can be downloaded and player on the Amazon Games client.
Could you please add the support for the Amazon Games client?

Hi @Noelierx
The plugin id is already available: https://github.com/gogcom/galaxy-integrations-python-api/blob/master/PLATFORM_IDs.md


Add: AseanK's Card

Hello, I added a card or UI-23.
No JavaScript is used.
Let me know what you think about it!

do star the repo


Support Equirectangular Cubemaps on the Web

Equirectangular Cubemap nodes aren't exported to X3D right now.

Linked to #254


@jit ignores signature for return type

import numpy as np
from numba import jit

@jit("float32(float32)", nopython=True)
def f(x):
    return x

The return value was definitely truncated to 32 bits internally at some point, but it's always a Python float, not np.float32:
In [22]: f(3.2)
Out[22]: 3.200000047683716

In [23]: type(f(3.2))
Out[23]: float

In [24]: type(f(np.float32(3.2)))
Out[24]: float

Indeed, the return type doesn't make the returned object a Numpy scalar. I frankly don't know if it's a good idea to change this behaviour or not; I wonder how many people use Numpy scalars in the real world (as opposed to the corresponding built-in types).

Completely coincidentally, I discovered this behavior last week and it actually turned out to be useful for me.  (I'm using Numba to convert rows of an ndarray with a structured dtype into tuples of Python scalars.)
There is a performance implication to returning numpy scalars:
n [9]: import numpy as np

In [10]: a, b = 1.0, 2.0

In [11]: x, y = np.float32(1), np.float32(2)

In [12]: %timeit a + b
10000000 loops, best of 3: 64.6 ns per loop

In [13]: %timeit x + y
10000000 loops, best of 3: 98.1 ns per loop

That said, I can see how it is confusing to the user if they explicitly ask for np.float32 and get a Python float.
The root problem is that we have no way to handle (or give the user control over) multiple mappings from a Numba type to Python type when boxing the return value.  We assume there is a one-to-one mapping, when the situation is potentially ambiguous in this case for numeric scalar types.
Maybe we need a Numba "float" type (that gets boxed as a Python float) that is distinct from "float32" and "float64" types (that get boxed as Numpy float types)?

My use-case is trying to write fast nan-skipping aggregation functions that are consistent with, but faster than, e.g., np.nanmean. It's useful to be able to preserve boxed types here:
In [3]: x = np.arange(5, dtype='float32')

In [4]: np.nanmean(x)
Out[4]: 2.0

In [5]: np.nanmean(x).dtype
Out[5]: dtype('float32')

In [6]: np.mean(x).dtype
Out[6]: dtype('float32')

@pitrou As for numpy scalars vs built-in types, numpy's almost always return numpy scalars instead of built-in types (e.g. from np.mean) so users already know to expect it. NumPy actually makes its scalars pretty transparent, because they have a matching __repr__ with the built-in types.

FYI numbagg has seen a resurgence in development, and this would still be something we'd been keen to use if it were available.
(I'm not as involved in the ecosystem as others on this thread are, but also matching numpy's return types makes a lot of sense to me)


Enable minining without antecedent and/or consequent

The PMML elements with an antecedent or consequent ID can be empty.

Fixed in the bitbucket version. If some user wants to mine without antecedent and/or consequent he may remove AntecedentSetting and/or ConsequentSetting element/s in an input PMML file.


#DeprecateNamedValueTag Deprecate this class for removal as its use tends to be an anti pattern

The name do the named value tag is not namespaced and acts as a sub optimal replacement for developers creating their own annotations. So deprecate this and remove it

@NamedValueTag is needed for dynamic tag. So not deleting. Instead, its @Target annotation has been set to empty. So it cannot be used to annotate any java element in code.


Implementation: Doc comment order of injection for model is and op is

From design discussion https://github.com/microsoft/typespec/issues/1946
Change: move logic to inject the doc comment as a decorator  to checkDecorators instead of finishType should just solve all those problems.
The following cases (Same for op is) should be the expected resolved doc
/** Doc comment */
@doc("@doc1")
model Foo {} // win: @doc1

/** Doc comment */
model FooWithAugment {} // win: @doc1
@@doc(FooWithAugment, "@doc1");

/** Override */
model IsBase is Foo; // win: Override

Describe the breaking change
Doc comments on model is and operation is statements were previously ignored, now they will override inherited doc comments, new behavior:
/** Doc comment */
@doc("@doc1")
model Foo {} // win: @doc1

/** Doc comment */
model FooWithAugment {} // win: @doc1
@@doc(FooWithAugment, "@doc1");

/** Override */
model IsBase is Foo; // win: Override

Back-compat design to avoid immediate breaking
None: this changes descriptions of models and operations in specs to be inline with author intentions.
Link to detailed breaking design
Impact
This change affecting:

[ ] ARM
[ ] Data-plane
[x] Existing specs: approx. # of service/spec impacted : 0
[ ] New specs
[ ] Emitters
[ ] SDK

Targeted Sprint
Sprint: July 2023
Additional information
Add any other information about the change including fixes for here.


DG for wave propagation

Hello.
Is there any example of solving two-dimensional elastic wave equations using DG method in MFEM? Or a similar example?

I can think of two relevant examples:

Example 10 solves time-dependent nonlinear elasticity problem using continuous (H1) discretization space for the deformation and the velocity.
Example 17 solves steady-state elasticity using a DG formulation.

Thank you for your response. After carefully studying examples 10 and 17, I realized that they are not very helpful for my needs, which I may not have explained clearly. I am interested in simulating the propagation of two-dimensional seismic waves using the Discontinuous Galerkin (DG) method in MFEM. Typically, this involves representing the two-dimensional elastic wave equation as a first-order hyperbolic system of velocity-stress equations, and then solving it using the DG method.

Has anyone used the DG (L2) finite elements in MFEM to study similar problems, such as the propagation of seismic waves? I found that Example 18: DG Euler Equations is similar to the problem I am studying, although it is a nonlinear problem. Could I potentially adapt the code from Example 18 to address my issue? I look forward to your response,Thank you.

If your system can be written in conservative form:
$$\frac{\partial u}{\partial t} + \nabla\cdot F(u,t) = \ldots$$
then, yes, it should be possible to at least try the approach from Example 18. However, I'm not sure how well it will work -- it's probably worth searching the literature for papers that have looked at using this approach for the type of problem you are interested in.


Incorrect "show/hide code cell output" background in dark mode

Describe the bug
context
When dark mode is toggled, the "show/hide code cell output" button's text is updated to a light color, but the background stays light, making the text nearly impossible to see.
expectation
The "show/hide code cell output" text should turn light while the background should turn dark.
bug
But instead the background stays the same color.
problem
The "show/hide code cell output" text is now impossible to see on top of the light background. Furthermore, the light background of the "show/hide code cell output" strip severely contrasts against the overall dark background.
Reproduce the bug
I noticed this issue when building the documentation for my personal project. Here's a rendered version clearly showing the issue: https://bbye98.github.io/minim/guides/qobuz.html
List your environment
❯ conda -V
conda 23.5.0

❯ python3 -V
Python 3.9.16

❯ conda list myst-nb
# packages in environment at /home/bye/miniconda3/envs/minim:
#
# Name                    Version                   Build  Channel
myst-nb                   0.17.2             pyhd8ed1ab_0    conda-forge

Here's a possible workaround. Not sure if it's the best solution, but it seems to work in JupyterBook...
Include the following in a custom CSS file:
div.cell details.hide > summary {
    background-color: var(--pst-color-surface);
}

I also found that the border between the toggle button and the code source was looking odd, so I added this as well:
div.cell details[open].above-input div.cell_input {
    border-top: None;
}


DTG support

Add support of

https://huggingface.co/KBlueLeaf/DanTagGen-alpha
https://huggingface.co/KBlueLeaf/DanTagGen-beta

Is DanTagGen not just a copy paste of this extension?


feat: add link to DataCamp code along

Hi,
I suggest to add a link to the transformers section, to a free code along on DataCamp about navigating and interacting with the HuggingFace ecosystem. Hope you consider this a relevant resource to add!
Happy to provide more context if you'd like.
Regards,
Filip

Hey @SBrandeis apologies for the ping, but any chance you can have a look? Thanks


Could you please add the support for the new game zzz_cb2?

Can you add an unpack of zzzcb2? I really need it

https://mega.nz/folder/o1oHyIIb#kd3EZO2xAgIvPMBCFkB7aQ/folder/M44EHK7K

https://mega.nz/folder/o1oHyIIb#kd3EZO2xAgIvPMBCFkB7aQ/folder/M44EHK7K

Could you give me the source code?
thank you

there wont be any as game is not public yet , can use dnSpy or similar to decompile dll

there wont be any as game is not public yet , can use dnSpy or similar to decompile dll

OK thank you.


feat(kubernetes)!: Major Helm Chart refactor

A major refactor of the Helm Chart, allowing for proper install customization.
~Still WIP, need some additional testing for validation.~

@jannikstdl @tjbck have a look 🙏🏻

Looks good, thanks. But am not able to test this in prod today.
But did you try to install this chart? Works as expected?

Maybe add a value for the two PVCs. They both are hardcoded as data.

@jannikstdl I've tried on a new cluster and worked. You can even create a GitHub E2E action if needed to deploy.
The PVCs are not "named" data .The volume internal name is. PVC name is data-ollama-0 (as per Statefulset name) and open-webui.

Forgot 9ee64d8 , the PVC name is already configurable in template.

Let me know if this PR is ready to me merged!

@tjbck should be. If you want we can wait until next week when I can try this on our cluster.

Thanks for the PR @duhow , nice work.
You forgot to add a port name to open-webui service, this is causing the ingress translation to fail since the ingress can't find the http port.
Adding a port name (http) should fix this.
Apart from the ingress issue everything else looks fine.
Error:
Translation failed: invalid ingress spec: could not find port "&ServiceBackendPort{Name:http,Number:0,}" in service "ollama/open-webui"

Fix:
--- a/kubernetes/helm/templates/webui-service.yaml
+++ b/kubernetes/helm/templates/webui-service.yaml
@@ -11,6 +11,7 @@ spec:
   type: {{ .type }}
   ports:
   - protocol: TCP
+    name: http
     port: {{ .port }}
     targetPort: http
     {{- if .nodePort }}

Thanks for the check! Somehow still it was working for me 😮

Ready to be merged?

Thanks everyone!


[Bug] Support Tickets Only Accessible to Logged-In Users

Describe the bug
I have "Disable Public Tickets" toggled off, but users still need to create an account and log in to ask a question.
How to reproduce
To reproduce the issue:

Go to the settings page of the support ticket system.
Ensure the "Disable Public Tickets" option is toggled off.
Log out of your account.
Attempt to submit a support ticket or ask a question as a guest user.

Result: Users are prompted to create an account and log in to submit a support ticket.
Expected behavior
Expected Result: Users should be able to submit a support ticket without needing to log in.
Screenshots
No response
FOSSBilling version
FOSSBilling 0.6.22
FOSSBilling instance ID
9384f7b9-ea02-4791-9a03-4fc94e8de717
Module version
No response
Device
Desktop
Information
No response
Additional context
No response

Tbh this isn't a bug and rather a great example of how FOSSBilling mostly only has contributors with back-end experience rather than those who are familiar with good UI design.
Public tickets are fully separate from the support tickets and are only found on the contact us page.
The contact us page is in of itself not properly linked to anywhere, but it's URL is yourdomain.com/contact-us.


BULK VALIDATION various fixes

Category

[x] Content fix
[ ] New article

Related issues

fixes #issuenumber
partially #issuenumber
mentioned in #issuenumber

What's in this Pull Request?
Validation issue fixes.

Docs Build status updates of commit 1ed9277:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/attachment-element-deploymentmanifest.md
:warning:Warning
View
Details

docs/schema/attachments-element-deploymentmanifest.md
:warning:Warning
View
Details

docs/schema/authenticationdata-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/authenticationdata-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/authenticationinformation-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/authenticationinformation-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/authenticationtype-element-authenticationinformation-complextypesps15xsdsearchse.md
:warning:Warning
View
Details

docs/schema/authinfo-element-source-complextypesps15xsdsearchset1.md
:warning:Warning
View
Details

docs/schema/autodeployedwebapplication-element-appprincipaldefinition-complextypesharepoint.md
:warning:Warning
View
Details

docs/schema/autodeployedwebapplicationdebuginfoappurldefinition-simpletype-sharepoint-add-in.md
:warning:Warning
View
Details

docs/schema/autodeployedwebapplicationdebuginfodefinition-complextype-sharepoint-add-in-mani.md
:warning:Warning
View
Details

docs/schema/baseinfo-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfo-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofaliasinfotzwwwpjw-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofaliasinfotzwwwpjw-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofcrawledpropertyinfotzwwwpjw-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofcrawledpropertyinfotzwwwpjw-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofmanagedpropertyinfotzwwwpjw-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofmanagedpropertyinfotzwwwpjw-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofmappinginfotzwwwpjw-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofmappinginfotzwwwpjw-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofoverrideinfotzwwwpjw-complextype-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/baseinfocollectionofoverrideinfotzwwwpjw-element-sps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/attachment-element-deploymentmanifest.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/attachments-element-deploymentmanifest.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authenticationdata-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authenticationdata-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authenticationinformation-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authenticationinformation-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authenticationtype-element-authenticationinformation-complextypesps15xsdsearchse.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/authinfo-element-source-complextypesps15xsdsearchset1.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/autodeployedwebapplication-element-appprincipaldefinition-complextypesharepoint.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/autodeployedwebapplicationdebuginfoappurldefinition-simpletype-sharepoint-add-in.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/autodeployedwebapplicationdebuginfodefinition-complextype-sharepoint-add-in-mani.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfo-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfo-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofaliasinfotzwwwpjw-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofaliasinfotzwwwpjw-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofcrawledpropertyinfotzwwwpjw-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofcrawledpropertyinfotzwwwpjw-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofmanagedpropertyinfotzwwwpjw-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofmanagedpropertyinfotzwwwpjw-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofmappinginfotzwwwpjw-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofmappinginfotzwwwpjw-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofoverrideinfotzwwwpjw-complextype-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/baseinfocollectionofoverrideinfotzwwwpjw-element-sps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
@VesaJuvonen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!

@andrewconnell ms.date updated.

Global effort to fix build validation errors
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!