Skip to content

Needs rebuild for icu 78

Same as #13 (closed), gitlab was not included in the icu 78 rebuild (cc @andyrtr)

And now rebuilding gitlab fails due to some Ruby gem:

---------- IMPORTANT NOTICE ----------
Building Nokogiri with a packaged version of libgumbo-1.0.0-nokogiri.
Configuration options: --disable-shared --enable-static CFLAGS\=-fPIC
Copying gumbo-parser files into tmp/x86_64-pc-linux/ports/libgumbo/1.0.0-nokogiri/gumbo-parser...
Running 'compile' for libgumbo 1.0.0-nokogiri... OK
Activating libgumbo 1.0.0-nokogiri (from ports/x86_64-linux/libgumbo/1.0.0-nokogiri)...
checking for whether -I/build/gitlab/src/gitlab-foss/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.10/ext/nokogiri/ports/x86_64-linux/libgumbo/1.0.0-nokogiri/include is accepted as CPPFLAGS... no
checking for gumbo_parse_with_options() in nokogiri_gumbo.h... yes
checking for xmlCtxtSetOptions()... yes
checking for xmlCtxtGetOptions()... no
checking for xmlSwitchEncodingName()... yes
checking for rb_category_warning()... yes
checking for whether -DNOKOGIRI_OTHER_LIBRARY_VERSIONS="\"libgumbo:1.0.0-nokogiri\"" is accepted as CPPFLAGS... no
creating Makefile

current directory: /build/gitlab/src/gitlab-foss/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.10/ext/nokogiri
make DESTDIR\= sitearchdir\=./.gem.20251111-1688-ijcqtt sitelibdir\=./.gem.20251111-1688-ijcqtt clean

current directory: /build/gitlab/src/gitlab-foss/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.10/ext/nokogiri
make DESTDIR\= sitearchdir\=./.gem.20251111-1688-ijcqtt sitelibdir\=./.gem.20251111-1688-ijcqtt
compiling gumbo.c
In file included from gumbo.c:30:
In file included from ./nokogiri.h:81:
In file included from /usr/include/ruby-3.4.0/ruby.h:38:
In file included from /usr/include/ruby-3.4.0/ruby/ruby.h:28:
In file included from /usr/include/ruby-3.4.0/ruby/internal/arithmetic.h:24:
In file included from /usr/include/ruby-3.4.0/ruby/internal/arithmetic/char.h:29:
/usr/include/ruby-3.4.0/ruby/internal/core/rstring.h:398:24: warning: default initialization of an object of type 'struct RString' with const member leaves the object uninitialized [-Wdefault-const-init-field-unsafe]
  398 |         struct RString retval;
      |                        ^
/usr/include/ruby-3.4.0/ruby/internal/core/rbasic.h:86:17: note: member 'klass' declared 'const' here
   86 |     const VALUE klass;
      |                 ^
gumbo.c:32:10: fatal error: 'nokogiri_gumbo.h' file not found
   32 | #include "nokogiri_gumbo.h"
      |          ^~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [Makefile:475: gumbo.o] Error 1

make failed, exit code 2

Gem files will remain installed in /build/gitlab/src/gitlab-foss/vendor/bundle/ruby/3.4.0/gems/nokogiri-1.18.10 for inspection.
Results logged to /build/gitlab/src/gitlab-foss/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/nokogiri-1.18.10/gem_make.out

  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:125:in 'Gem::Ext::Builder.run'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:51:in 'block in Gem::Ext::Builder.make'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:43:in 'Array#each'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:43:in 'Gem::Ext::Builder.make'
  /usr/lib/ruby/3.4.0/rubygems/ext/ext_conf_builder.rb:44:in 'Gem::Ext::ExtConfBuilder.build'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:206:in 'Gem::Ext::Builder#build_extension'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:240:in 'block in Gem::Ext::Builder#build_extensions'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in 'Array#each'
  /usr/lib/ruby/3.4.0/rubygems/ext/builder.rb:237:in 'Gem::Ext::Builder#build_extensions'
  /usr/lib/ruby/3.4.0/rubygems/installer.rb:844:in 'Gem::Installer#build_extensions'
  /usr/lib/ruby/3.4.0/bundler/rubygems_gem_installer.rb:111:in 'Bundler::RubyGemsGemInstaller#build_extensions'
  /usr/lib/ruby/3.4.0/bundler/rubygems_gem_installer.rb:30:in 'Bundler::RubyGemsGemInstaller#install'
  /usr/lib/ruby/3.4.0/bundler/source/rubygems.rb:220:in 'Bundler::Source::Rubygems#install'
  /usr/lib/ruby/3.4.0/bundler/installer/gem_installer.rb:55:in 'Bundler::GemInstaller#install'
  /usr/lib/ruby/3.4.0/bundler/installer/gem_installer.rb:17:in 'Bundler::GemInstaller#install_from_spec'
  /usr/lib/ruby/3.4.0/bundler/installer/parallel_installer.rb:133:in 'Bundler::ParallelInstaller#do_install'
  /usr/lib/ruby/3.4.0/bundler/installer/parallel_installer.rb:124:in 'block in Bundler::ParallelInstaller#worker_pool'
  /usr/lib/ruby/3.4.0/bundler/worker.rb:62:in 'Bundler::Worker#apply_func'
  /usr/lib/ruby/3.4.0/bundler/worker.rb:57:in 'block in Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
  /usr/lib/ruby/3.4.0/bundler/worker.rb:54:in 'Bundler::Worker#process_queue'
  /usr/lib/ruby/3.4.0/bundler/worker.rb:90:in 'block (2 levels) in Bundler::Worker#create_threads'

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

In Gemfile:
  invisible_captcha was resolved to 2.3.0, which depends on
    rails was resolved to 7.1.5.2, which depends on
      actioncable was resolved to 7.1.5.2, which depends on
        actionpack was resolved to 7.1.5.2, which depends on
          actionview was resolved to 7.1.5.2, which depends on
            rails-dom-testing was resolved to 2.2.0, which depends on
              nokogiri
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information