[DRE-maint] Bug#1103306: this looks like a problem with a feature introduced in ruby 3.2
Pirate Praveen
praveen at debian.org
Wed Apr 16 21:56:02 BST 2025
On 4/17/25 1:54 AM, Pirate Praveen wrote:
>
>
> On 4/16/25 5:35 PM, Pirate Praveen wrote:
>>
>>
>> On 4/16/25 5:21 PM, Pirate Praveen wrote:
>>> These lines should be removed from gitlab-apt-pin-preferences to
>>> allow newer versions from trixie
>>>
>>> Package: ruby-murmurhash3
>>> Pin: release n=bookworm
>>> Pin-Priority: 1000
>>>
>>> Package: ruby-grape ruby-bootsnap ruby-prometheus-client-mmap ruby-
>>> thrift
>>> Pin: release n=bookworm-backports*
>>> Pin-Priority: 1000
>>>
>>> Package: ruby-google-protobuf ruby-grpc ruby-gettext-i18n-rails ruby-
>>> aliyun-sdk
>>> Pin: release n=bookworm-backports*
>>> Pin-Priority: 1000
>>>
>>
>> ruby-google-protobuf/trixie should get a pin priority of 1000 or it
>> should be removed as a dependency. Dropping ruby-google-protobuf as it
>> is usually lagging behind in unstable anyway.
>
> Rebuilt gitlab for trixie-fasttrack, and upgraded bookworm to trixie for
> ruby 3.3
>
> But it looks like bundler is not rebuilding native extensions for the
> new ruby version.
>
> root at gitlab-bookworm:/usr/share/gitlab# runuser -u ${gitlab_user} -- sh
> -c "bundle install --prefer-local"
> Source locally installed gems is ignoring #<Bundler::StubSpecification
> name=openssl version=3.0.2 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification
> name=json version=2.7.6 platform=ruby> because it is missing extensions
> Source locally installed gems is ignoring #<Bundler::StubSpecification
> name=ffi version=1.17.1 platform=ruby> because it is missing extensions
> Bundle complete! 290 Gemfile dependencies, 512 gems now installed.
> Gems in the groups 'development' and 'test' were not installed.
> Use `bundle info [gemname]` to see where a bundled gem is installed.
> 1 installed gem you directly depend on is looking for funding.
> Run `bundle fund` for details
>
> This results in bundle command not finding rails command.
Resolved by removing /var/lib/gitlab/.gem
https://github.com/rubygems/rubygems/issues/8639
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8F53E0193B294B75.asc
Type: application/pgp-keys
Size: 4938 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250417/c7d9905f/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250417/c7d9905f/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list