[DRE-maint] Bug#1019607: redmine: FTBFS with ruby3.1: Could not find gem 'rails (~> 6.1.4.6)' in cached gems or installed locally.

Antonio Terceiro terceiro at debian.org
Tue Sep 13 00:20:29 BST 2022


Source: redmine
Version: 5.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

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

Relevant part of the build log (hopefully):
>  debian/rules binary
> dh binary --with ruby
>    dh_update_autotools_config
>    dh_autoreconf
>    debian/rules override_dh_auto_configure
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./debian/check-locales
> bundle --local --quiet
> `/sbuild-nonexistent` is not a directory.
> Bundler will use `/tmp/bundler20220912-3391316-u0d4lg3391316' as your home directory temporarily.
> Could not find gem 'rails (~> 6.1.4.6)' in cached gems or installed locally.
> 
> The source contains the following gems matching 'rails':
>   * rails-6.1.6.1
> make[1]: *** [debian/rules:14: override_dh_auto_configure] Error 7


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/redmine/redmine_5.0.0-1+rebuild1663007309_amd64-2022-09-12T18:28:31Z.build

To reproduce this, you need ruby-all-dev >= 1:3.0+2.  Depending on when you
read this, this might mean installing ruby-all-dev from experimental, or ir the
transition has alraedy started in unstable, a normal build on unstable should
do it.  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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220912/47072597/attachment-0001.sig>


More information about the Pkg-ruby-extras-maintainers mailing list