Your message dated Sat, 22 Oct 2022 16:39:14 +0000
with message-id <e1omhwk-00gtwe...@fasolo.debian.org>
and subject line Bug#1019622: fixed in ruby-factory-bot 6.2.1-1
has caused the Debian Bug report #1019622,
regarding ruby-factory-bot: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed:   
     expected NoMethodError with "undefined method 'static_attributes_are_gone' 
in 'broken' factory\nDid you mean? 'static_attributes_are_gone { \"true\" 
}'\n", got #<NoMethodError: undefined method 'static_attributes_are_gone' in 
'broken' factory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1019622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019622
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-factory-bot
Version: 6.2.0-2
Severity: serious
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-factory-bot with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>        expected NoMethodError with "undefined method 
> 'static_attributes_are_gone' in 'broken' factory\nDid you mean? 
> 'static_attributes_are_gone { \"true\" }'\n", got #<NoMethodError: undefined 
> method 'static_attributes_are_gone' in 'broken' factory
>        Did you mean? 'static_attributes_are_gone { "true" }'
> 
> 
>                raise NoMethodError.new(<<~MSG)
>                ^^^^^> with backtrace:
>          # ./lib/factory_bot/definition_proxy.rb:99:in `method_missing'
>          # ./spec/factory_bot/definition_proxy_spec.rb:69:in `block (3 
> levels) in <top (required)>'
>          # ./spec/factory_bot/definition_proxy_spec.rb:71:in `block (2 
> levels) in <top (required)>'
>      # ./spec/factory_bot/definition_proxy_spec.rb:71:in `block (2 levels) in 
> <top (required)>'
> 
> Finished in 0.429 seconds (files took 0.32709 seconds to load)
> 290 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/factory_bot/definition_proxy_spec.rb:66 # 
> FactoryBot::DefinitionProxy#method_missing raises a NoMethodError when called 
> with a static-attribute-like argument
> 
> Randomized with seed 11142
> 
> /usr/bin/ruby3.1 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec 
> --pattern spec/\{\*_spec.rb,factory_bot/\*\*/\*_spec.rb\} --format 
> documentation failed
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-factory-bot/ruby-factory-bot_6.2.0-2+rebuild1663007590_amd64-2022-09-12T18:33:11Z.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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-factory-bot
Source-Version: 6.2.1-1
Done: Georg Faerber <ge...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-factory-bot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1019...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georg Faerber <ge...@debian.org> (supplier of updated ruby-factory-bot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 22 Oct 2022 15:46:36 +0000
Source: ruby-factory-bot
Architecture: source
Version: 6.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Georg Faerber <ge...@debian.org>
Closes: 1019622
Changes:
 ruby-factory-bot (6.2.1-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/control:
     - Bump Standards-Version to 4.6.1, no changes required.
   * debian/patches:
     - Add patch to skip failing test. (Closes: #1019622)
Checksums-Sha1:
 3f99a9d87356838556058491b1601fc72f591dd7 1556 ruby-factory-bot_6.2.1-1.dsc
 32a77c06a46deaf5212c7f246eb5bcbe448e11df 80531 
ruby-factory-bot_6.2.1.orig.tar.gz
 e006951ae7a09aa5a18c64887b4e5e93913e18be 4024 
ruby-factory-bot_6.2.1-1.debian.tar.xz
 7cd6df717cb8fe2933756a902990a2aed96a97d5 9274 
ruby-factory-bot_6.2.1-1_amd64.buildinfo
Checksums-Sha256:
 94643c54371b873aac062b2e38e7e8b25ed27cfb459adfef980a94c33a14e9ea 1556 
ruby-factory-bot_6.2.1-1.dsc
 e5117760e6f4517cb9c140df96f123caecd5522cc0c267067525dcb12a29b81c 80531 
ruby-factory-bot_6.2.1.orig.tar.gz
 fc8d5ec8175e38874fd09c07566595edc82956764b9cae59145d1542a228dc71 4024 
ruby-factory-bot_6.2.1-1.debian.tar.xz
 c8d418453a83d9e4cca94e29cea73d5de5fcdb8f67419b35ac4691559c24a73b 9274 
ruby-factory-bot_6.2.1-1_amd64.buildinfo
Files:
 16021c13b89071a00ab116145c2b36e2 1556 ruby optional 
ruby-factory-bot_6.2.1-1.dsc
 4d73dffa8f468044380579b4b35740cb 80531 ruby optional 
ruby-factory-bot_6.2.1.orig.tar.gz
 769350983b16e59dcf14bd72eeec23de 4024 ruby optional 
ruby-factory-bot_6.2.1-1.debian.tar.xz
 e712977138337e6c725abd7530b80a72 9274 ruby optional 
ruby-factory-bot_6.2.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQTEfr/MTlfp/DLKNABGG+5dJAqekQUCY1QW/QAKCRBGG+5dJAqe
kaP1AQDT0RUmJ4I11X3br+GNA3mcvToJEUx7+r7YiTiVxDtolQD/Vb4+V7SYNriC
qPstM0mCbL9b0gDBu5x2Px2Bj3HL2gs=
=p1Sf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to