Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923587 - dev-ruby/multi_json-1.15.0 fails tests
Summary: dev-ruby/multi_json-1.15.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-02 08:06 UTC by Agostino Sarubbo
Modified: 2024-07-11 09:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,48.31 KB, text/plain)
2024-02-02 08:06 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-02 08:06:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/multi_json-1.15.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-02 08:06:48 UTC
Created attachment 883995 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-02 08:06:49 UTC
Error(s) that match a know pattern:


     Failure/Error: object.to_json(options)
     NoMethodError:
Comment 3 Jonathan Lovelace 2024-07-02 02:44:56 UTC
A more helpful snippet of the failure (from my own build log):

Failures:

  1) MultiJson::Adapters::JsonPure behaves like an adapter .dump dumps time in correct format
     Failure/Error: object.to_json(options)

     NoMethodError:
       undefined method `strict?' for {}:Hash

                   if generator_state.strict?
                                     ^^^^^^^^
     Shared Example Group: "an adapter" called from ./spec/json_pure_adapter_spec.rb:7
     # ./lib/multi_json/adapters/json_common.rb:19:in `dump'
     # ./lib/multi_json/adapter.rb:25:in `dump'
     # ./lib/multi_json.rb:139:in `dump'
     # ./spec/shared/adapter.rb:61:in `block (3 levels) in <top (required)>'
Comment 4 Larry the Git Cow gentoo-dev 2024-07-11 09:50:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18aa7508521c59baa3077119b3903e0d2b129e39

commit 18aa7508521c59baa3077119b3903e0d2b129e39
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2024-07-11 09:49:36 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2024-07-11 09:50:26 +0000

    dev-ruby/multi_json: update EAPI 7 -> 8, add ruby33
    
    Also avoid a test broken by dev-ruby/json changes.
    
    Closes: https://bugs.gentoo.org/923587
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/multi_json/multi_json-1.15.0-r1.ebuild | 75 +++++++++++++++++++++++++
 1 file changed, 75 insertions(+)