Skip to content

Re-enable windows-11-arm runner for tool validation #2

@ronaldtse

Description

@ronaldtse

The last run it was included was at:

The error was:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/bin/ruby.exe extconf.rb
checking for whether -std=c99 is accepted as CFLAGS... yes
checking for whether -Wno-declaration-after-statement is accepted as CFLAGS...
yes
checking for whether -O2 is accepted as CFLAGS... yes
checking for whether -g is accepted as CFLAGS... yes
checking for whether -Winline is accepted as CFLAGS... yes
checking for whether -Wmissing-noreturn is accepted as CFLAGS... yes
checking for whether -Wconversion is accepted as CFLAGS... yes
checking for whether  "-Idummypath" is accepted as CPPFLAGS... yes
Building nokogiri using packaged libraries.
Static linking is enabled.
Cross build is disabled.
Using mini_portile version 2.8.9
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of zlib-1.3.1.
Configuration options: --host\=aarch64-w64-mingw32 --enable-static
--disable-shared
--libdir\=C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/zlib/1.3.1/lib
--disable-shared --enable-static CFLAGS\=-fPIC

The Nokogiri maintainers intend to provide timely security updates, but if
this is a concern for you and want to use your OS/distro system library
instead, then abort this installation process and install nokogiri as
instructed at:

https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries


Downloading zlib-1.3.1.tar.gz (  1%) 
Downloading zlib-1.3.1.tar.gz (  2%) 
Downloading zlib-1.3.1.tar.gz (  3%) 
Downloading zlib-1.3.1.tar.gz (  4%) 
Downloading zlib-1.3.1.tar.gz (  5%) 
Downloading zlib-1.3.1.tar.gz (  6%) 
Downloading zlib-1.3.1.tar.gz (  7%) 
Downloading zlib-1.3.1.tar.gz (  8%) 
Downloading zlib-1.3.1.tar.gz (  9%) 
Downloading zlib-1.3.1.tar.gz ( 10%) 
Downloading zlib-1.3.1.tar.gz ( 11%) 
Downloading zlib-1.3.1.tar.gz ( 12%) 
Downloading zlib-1.3.1.tar.gz ( 14%) 
Downloading zlib-1.3.1.tar.gz ( 15%) 
Downloading zlib-1.3.1.tar.gz ( 16%) 
Downloading zlib-1.3.1.tar.gz ( 17%) 
Downloading zlib-1.3.1.tar.gz ( 18%) 
Downloading zlib-1.3.1.tar.gz ( 19%) 
Downloading zlib-1.3.1.tar.gz ( 20%) 
Downloading zlib-1.3.1.tar.gz ( 21%) 
Downloading zlib-1.3.1.tar.gz ( 22%) 
Downloading zlib-1.3.1.tar.gz ( 23%) 
Downloading zlib-1.3.1.tar.gz ( 24%) 
Downloading zlib-1.3.1.tar.gz ( 25%) 
Downloading zlib-1.3.1.tar.gz ( 27%) 
Downloading zlib-1.3.1.tar.gz ( 28%) 
Downloading zlib-1.3.1.tar.gz ( 29%) 
Downloading zlib-1.3.1.tar.gz ( 30%) 
Downloading zlib-1.3.1.tar.gz ( 83%) 
Downloading zlib-1.3.1.tar.gz ( 84%) 
Downloading zlib-1.3.1.tar.gz ( 85%) 
Downloading zlib-1.3.1.tar.gz ( 86%) 
Downloading zlib-1.3.1.tar.gz ( 87%) 
Downloading zlib-1.3.1.tar.gz ( 88%) 
Downloading zlib-1.3.1.tar.gz ( 90%) 
Downloading zlib-1.3.1.tar.gz ( 91%) 
Downloading zlib-1.3.1.tar.gz ( 91%) 
Downloading zlib-1.3.1.tar.gz ( 92%) 
Downloading zlib-1.3.1.tar.gz ( 93%) 
Downloading zlib-1.3.1.tar.gz ( 95%) 
Downloading zlib-1.3.1.tar.gz ( 96%) 
Downloading zlib-1.3.1.tar.gz ( 97%) 
Downloading zlib-1.3.1.tar.gz ( 98%) 
Downloading zlib-1.3.1.tar.gz ( 99%) 
Downloading zlib-1.3.1.tar.gz (100%) 
Extracting zlib-1.3.1.tar.gz into tmp/aarch64-w64-mingw32/ports/zlib/1.3.1... OK
Running 'compile' for zlib 1.3.1... OK
Running 'install' for zlib 1.3.1... OK
Activating zlib 1.3.1 (from
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/zlib/1.3.1)...
Using mini_portile version 2.8.9
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libiconv-1.18.
Configuration options: --host\=aarch64-w64-mingw32 --enable-static
--disable-shared
--libdir\=C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/libiconv/1.18/lib
--disable-dependency-tracking --disable-shared --enable-static CPPFLAGS\=-Wall
CFLAGS\=-O2\ -g\ -fPIC CXXFLAGS\=-O2\ -g LDFLAGS\=

The Nokogiri maintainers intend to provide timely security updates, but if
this is a concern for you and want to use your OS/distro system library
instead, then abort this installation process and install nokogiri as
instructed at:

https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries

...

Downloading libiconv-1.18.tar.gz (100%) 
Extracting libiconv-1.18.tar.gz into
tmp/aarch64-w64-mingw32/ports/libiconv/1.18... OK
Running 'configure' for libiconv 1.18... OK
Running 'compile' for libiconv 1.18... OK
Running 'install' for libiconv 1.18... OK
Activating libiconv 1.18 (from
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/libiconv/1.18)...
checking for whether
-IC:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/zlib/1.3.1/include
is accepted as CPPFLAGS... yes
checking for gzdopen() in -lz... yes
checking for whether
-IC:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/libiconv/1.18/include
is accepted as CPPFLAGS... yes
checking for iconv_open() in -liconv... yes
Using mini_portile version 2.8.9
---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libxml2-2.13.9.
Configuration options: --host\=aarch64-w64-mingw32 --enable-static
--disable-shared
--libdir\=C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/libxml2/2.13.9/lib
--with-legacy
--with-zlib\=C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/zlib/1.3.1
--with-iconv\=C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ports/aarch64-mingw-ucrt/libiconv/1.18
--disable-dependency-tracking --without-python --without-readline --with-c14n
--with-debug --with-threads --disable-shared --enable-static CPPFLAGS\=
CFLAGS\=-O2\ -g\ -ULIBXML_STATIC\ -DIN_LIBXML\ -fPIC
The following patches are being applied:
  - 0001-Remove-script-macro-support.patch
  - 0002-Update-entities-to-remove-handling-of-ssi.patch
  - 0009-allow-wildcard-namespaces.patch
  - 0010-update-config.guess-and-config.sub-for-libxml2.patch
  - 0011-rip-out-libxml2-s-libc_single_threaded-support.patch
  - 0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch

The Nokogiri maintainers intend to provide timely security updates, but if
this is a concern for you and want to use your OS/distro system library
instead, then abort this installation process and install nokogiri as
instructed at:

https://nokogiri.org/tutorials/installing_nokogiri.html#installing-using-standard-system-libraries

Note, however, that nokogiri cannot guarantee compatibility with every
version of libxml2 that may be provided by OS/package vendors.

Extracting libxml2-2.13.9.tar.xz into
tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9... OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0001-Remove-script-macro-support.patch...
OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch...
OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0009-allow-wildcard-namespaces.patch...
OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0010-update-config.guess-and-config.sub-for-libxml2.patch...
OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0011-rip-out-libxml2-s-libc_single_threaded-support.patch...
OK
Running git apply with
C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/patches/libxml2/0019-xpath-Use-separate-static-hash-table-for-standard-fu.patch...
OK
Running 'configure' for libxml2 2.13.9... OK
Running 'compile' for libxml2 2.13.9... ERROR. Please review logs to see what
happened:
----- contents of
'C:/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/compile.log'
-----
make  all-recursive
make[1]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9'
Making all in include
make[2]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include'
Making all in libxml
make[3]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include/libxml'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include/libxml'
Making all in private
make[3]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include/private'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include/private'
make[3]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include'
make[2]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9/include'
Making all in .
make[2]: Entering directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9'
  CC       xmllint-xmllint.o
  CC       libxml2_la-buf.lo
buf.c:15:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   15 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-chvalid.lo
chvalid.c:13:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   13 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-dict.lo
dict.c:19:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   19 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-entities.lo
entities.c:14:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   14 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
entities.c:542:68: warning: unused parameter 'attr' [-Wunused-parameter]
542 | xmlEncodeEntitiesInternal(xmlDocPtr doc, const xmlChar *input, int attr)
{
      |                                                                    ^
2 warnings generated.
  CC       libxml2_la-encoding.lo
encoding.c:23:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   23 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-error.lo
error.c:9:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
    9 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-globals.lo
globals.c:11:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   11 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-hash.lo
hash.c:10:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   10 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-list.lo
list.c:18:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   18 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-parser.lo
parser.c:38:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   38 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-parserInternals.lo
parserInternals.c:10:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   10 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-SAX2.lo
SAX2.c:10:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   10 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-threads.lo
threads.c:10:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   10 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-tree.lo
tree.c:18:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
   18 | #define IN_LIBXML
      |         ^
<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CC       libxml2_la-uri.lo
uri.c:11:9: warning: 'IN_LIBXML' macro redefined [-Wmacro-redefined]
...

<command line>:5:9: note: previous definition is here
    5 | #define IN_LIBXML 1
      |         ^
1 warning generated.
  CCLD     libxml2.la
./libtool: line 7746: cd:
C:aregisterregistervendorbundleruby3.4.0gemsnokogiri-1.19.0portsaarch64-mingw-ucrtlibiconv1.18lib:
No such file or directory
libtool:   error: cannot determine absolute directory name of
'C:aregisterregistervendorbundleruby3.4.0gemsnokogiri-1.19.0portsaarch64-mingw-ucrtlibiconv1.18lib'
make[2]: *** [Makefile:936: libxml2.la] Error 1
make[2]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9'
make[1]: *** [Makefile:1535: all-recursive] Error 1
make[1]: Leaving directory
'/c/a/register/register/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.19.0/ext/nokogiri/tmp/aarch64-w64-mingw32/ports/libxml2/2.13.9/libxml2-2.13.9'
make: *** [Makefile:770: all] Error 2
----- end of file -----
*** extconf.rb failed ***
'Gem::Ext::Builder#build_extension'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:240:in
'block in Gem::Ext::Builder#build_extensions'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in
'Array#each'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in
'Gem::Ext::Builder#build_extensions'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/3.4.0/rubygems/installer.rb:844:in
'Gem::Installer#build_extensions'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/rubygems_gem_installer.rb:115:in
'Bundler::RubyGemsGemInstaller#build_extensions'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/rubygems_gem_installer.rb:30:in
'Bundler::RubyGemsGemInstaller#install'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/source/rubygems.rb:217:in
'block in Bundler::Source::Rubygems#install'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/3.4.0/rubygems.rb:1002:in
'Gem.time'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/source/rubygems.rb:216:in
'Bundler::Source::Rubygems#install'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/installer/gem_installer.rb:54:in
'Bundler::GemInstaller#install'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/installer/gem_installer.rb:17:in
'Bundler::GemInstaller#install_from_spec'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/installer/parallel_installer.rb:133:in
'Bundler::ParallelInstaller#do_install'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/installer/parallel_installer.rb:124:in
'block in Bundler::ParallelInstaller#worker_pool'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/worker.rb:62:in
'Bundler::Worker#apply_func'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/worker.rb:57:in
'block in Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/worker.rb:54:in
'Bundler::Worker#process_queue'
C:/hostedtoolcache/windows/Ruby/3.4.8/arm64/lib/ruby/gems/3.4.0/gems/bundler-4.0.6/lib/bundler/worker.rb:90:in
'block (2 levels) in Bundler::Worker#create_threads'

An error occurred while installing nokogiri (1.19.0), and Bundler cannot
continue.

In Gemfile:
  nokogiri
Error: The process 'C:\hostedtoolcache\windows\Ruby\3.4.8\arm64\bin\bundle.bat' failed with exit code 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions