Source: ruby-gitlab Version: 4.17.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-gitlab was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> Failure/Error: expect(@help_output).to eq("Gitlab.create_branch(4,
> 'new-branch', 'master')")
>
> expected: "Gitlab.create_branch(4, 'new-branch', 'master')"
> got: "Gitlab.create_branch \u0001"
>
> (compared using ==)
> # ./spec/gitlab/help_spec.rb:31:in `block (3 levels) in <top (required)>'
>
> Finished in 8.36 seconds (files took 2.39 seconds to load)
> 1177 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/gitlab/help_spec.rb:29 # Gitlab::Help.change_help_output!
> returns a String of modified output
>
> /usr/bin/ruby3.0
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-gitlab/ruby-gitlab_4.17.0-2+rebuild1633381106_amd64.build.txt
signature.asc
Description: PGP signature

