Hello all, again:
Mamoru TASAKA wrote on 2023/09/17 22:42:
Okay, so with my initial builds for rubygem-XXXX packages, among 456 packages,
50 packages failed to build (1 just fixed one of them, so currently 49).
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/packages/
Some types of errors (I noticed) which is affecting several packages are:
* Regexp.new now rejects 3rd argument:
example:
wrong number of arguments (given 3, expected 1..2)
https://github.com/ruby/ruby/pull/7039
rubygem-cookiejar hits this issue:
------------------------------------------------
Failure/Error: PARAM2 = Regexp.new
"(#{PATTERN::TOKEN})(?:=(#{PATTERN::VALUE2}))?(?:\\Z|;)", '', 'n'
ArgumentError:
wrong number of arguments (given 3, expected 1..2)
------------------------------------------------
It looks like the following packages need rubygem-cookiejar when rebuilding,
and when rebuilding the same error when (in cookiejar internal):
* rubygem-em-http-request
* rubygem-em-websocket
* rubygem-faraday
* rubygem-webmock
Now rubygem-cookiejar upstream got archived:
https://github.com/dwaite/cookiejar
while there is the fork named "cookiejar2":
https://github.com/dorianmariefr/cookiejar2
It seems cookiejar upstream is very responsive, actually the PR I've submitted
about the above Regexp issue was merged very quickly:
https://github.com/dorianmariefr/cookiejar2/pull/2
Now I've applied the above PR to Fedora rubygem-cookiejar, but in the future
perhaps we should switch to use cookiejar2 instead of cookiejar.
( CCing pvalena )
Regards,
Mamoru
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue