Source: ruby-fast-xs
Version: 0.8.0-3+rebuild1658134093
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-fast-xs with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/fast_xs_extra'
> /bin/mkdir -p . ./.gem.20220718-1591005-vefjff
> exit > .sitearchdir.time
> /usr/bin/install -c -m 0755 fast_xs_extra.so ./.gem.20220718-1591005-vefjff
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/ext/fast_xs_extra'
> current directory: /<<PKGBUILDDIR>>/ext/fast_xs_extra
> /usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r 
> ./siteconf20220718-1591005-v1odae.rb extconf.rb
> current directory: /<<PKGBUILDDIR>>/ext/fast_xs_extra
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\ 
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= clean
> current directory: /<<PKGBUILDDIR>>/ext/fast_xs_extra
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\ 
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\=
> current directory: /<<PKGBUILDDIR>>/ext/fast_xs_extra
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\ 
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= install
> rm -f 
> /<<PKGBUILDDIR>>/debian/ruby-fast-xs/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/mkmf.log
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Build native extensions for ruby3.1                                         
>  │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> /usr/bin/ruby3.1 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb 
> /<<PKGBUILDDIR>> debian/ruby-fast-xs
> /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find': Tried to load 
> unspecified class: Gem::Specification (Psych::DisallowedClass)
>       from /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:424:in 
> `resolve_class'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:213:in 
> `visit_Psych_Nodes_Mapping'
>       from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>       from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in 
> `visit_Psych_Nodes_Document'
>       from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
>       from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
>       from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
>       from /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
>       from /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
>       from /usr/lib/ruby/3.1.0/psych.rb:671:in `block in load_file'
>       from /usr/lib/ruby/3.1.0/psych.rb:670:in `open'
>       from /usr/lib/ruby/3.1.0/psych.rb:670:in `load_file'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:123:in `load_gemspec'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `block in 
> initialize'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `chdir'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `initialize'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:120:in `new'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:120:in 
> `all_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in 
> `build_all_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:128:in 
> `<main>'
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:54:in `run': /usr/bin/ruby3.1 
> /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> 
> debian/ruby-fast-xs (Gem2Deb::CommandFailed)
>       from /usr/lib/ruby/vendor_ruby/gem2deb.rb:65:in `run_ruby'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in `block in 
> install_files_and_build_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in `each'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in 
> `install_files_and_build_extensions'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:86:in `block in 
> install'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `each'
>       from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `install'
>       from /usr/bin/dh_ruby:89:in `<main>'
> dh_auto_install: error: dh_ruby --install 
> /<<PKGBUILDDIR>>/debian/ruby-fast-xs returned exit code 1
> make: *** [debian/rules:15: binary] Error 25


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-fast-xs_0.8.0-3+rebuild1658134093_amd64.log

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in 
experimental).
If you fail to reproduce, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

Attachment: signature.asc
Description: PGP signature

Reply via email to