Re: git: af60e439bb93 - main - devel/rubygem-sprockets3: Update to 3.7.3
- In reply to: Po-Chuan Hsieh : "git: af60e439bb93 - main - devel/rubygem-sprockets3: Update to 3.7.3"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 22:11:05 UTC
31.03.2024 21:57, Po-Chuan Hsieh пишет:
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=af60e439bb936b93a597c3bb122600eadf96400e
>
> commit af60e439bb936b93a597c3bb122600eadf96400e
> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2024-03-31 18:52:17 +0000
> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2024-03-31 18:52:17 +0000
>
> devel/rubygem-sprockets3: Update to 3.7.3
>
> Changes: https://github.com/rails/sprockets/releases
> https://github.com/rails/sprockets/blob/3.x/CHANGELOG.md
> ---
> devel/rubygem-sprockets3/Makefile | 6 +++---
> devel/rubygem-sprockets3/distinfo | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/devel/rubygem-sprockets3/Makefile b/devel/rubygem-sprockets3/Makefile
> index 8b14f450d949..e5f207ac732d 100644
> --- a/devel/rubygem-sprockets3/Makefile
> +++ b/devel/rubygem-sprockets3/Makefile
> @@ -1,6 +1,5 @@
> PORTNAME= sprockets
> -PORTVERSION= 3.7.2
> -PORTREVISION= 1
> +PORTVERSION= 3.7.3
> CATEGORIES= devel rubygems
> MASTER_SITES= RG
> PKGNAMESUFFIX= 3
> @@ -12,7 +11,8 @@ WWW= https://github.com/rails/sprockets
> LICENSE= MIT
> LICENSE_FILE= ${WRKSRC}/LICENSE
>
> -RUN_DEPENDS= rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
> +RUN_DEPENDS= rubygem-base64>=0:converters/rubygem-base64 \
> + rubygem-concurrent-ruby>=1.0<2:devel/rubygem-concurrent-ruby \
> rubygem-rack22>=1,3<3,3:www/rubygem-rack22
>
> USES= cpe gem
> diff --git a/devel/rubygem-sprockets3/distinfo b/devel/rubygem-sprockets3/distinfo
> index ec8682351c7c..bbde173ddc07 100644
> --- a/devel/rubygem-sprockets3/distinfo
> +++ b/devel/rubygem-sprockets3/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1530450802
> -SHA256 (rubygem/sprockets-3.7.2.gem) = 5ea1d7facd09203c1aa196afd6178208cd25abdbcc2a9978810a2f0754e152a0
> -SIZE (rubygem/sprockets-3.7.2.gem) = 72704
> +TIMESTAMP = 1711860605
> +SHA256 (rubygem/sprockets-3.7.3.gem) = dcda152805b432eb2827c394b938b7e15ba2722f8a5c9f58b79a2a4f7a35cc53
> +SIZE (rubygem/sprockets-3.7.3.gem) = 72704
Hello!
This update broke gitlab:
{"timestamp":"2024-03-31T21:47:21.971Z","pid":27742,"message":"*
Preloading application"}
.................................{"timestamp":"2024-03-31T21:47:55.321Z","pid":27742,"message":"!
Unable to load application: RuntimeError: New version of Sprockets
detected. This patch can likely be removed."}
bundler: failed to load command: puma (/usr/local/bin/puma)
/usr/local/www/gitlab-ce/config/initializers/sprockets_patch.rb:12:in
`<top (required)>': New version of Sprockets detected. This patch can
likely be removed. (RuntimeError)
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:667:in
`load'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:667:in
`block in load_config_initializer'
from
/usr/local/lib/ruby/gems/3.2/gems/activesupport-7.0.8.1/lib/active_support/notifications.rb:208:in
`instrument'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:666:in
`load_config_initializer'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:620:in
`block (2 levels) in <class:Engine>'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:619:in
`each'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/engine.rb:619:in
`block in <class:Engine>'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:32:in
`instance_exec'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:32:in
`run'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:61:in
`block in run_initializers'
from /usr/local/lib/ruby/3.2/tsort.rb:228:in `block in tsort_each'
from /usr/local/lib/ruby/3.2/tsort.rb:350:in `block (2 levels)
in each_strongly_connected_component'
from /usr/local/lib/ruby/3.2/tsort.rb:422:in `block (2 levels)
in each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2/tsort.rb:431:in
`each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2/tsort.rb:421:in `block in
each_strongly_connected_component_from'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:50:in
`each'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:50:in
`tsort_each_child'
from /usr/local/lib/ruby/3.2/tsort.rb:415:in `call'
from /usr/local/lib/ruby/3.2/tsort.rb:415:in
`each_strongly_connected_component_from'
from /usr/local/lib/ruby/3.2/tsort.rb:349:in `block in
each_strongly_connected_component'
from /usr/local/lib/ruby/3.2/tsort.rb:347:in `each'
from /usr/local/lib/ruby/3.2/tsort.rb:347:in `call'
from /usr/local/lib/ruby/3.2/tsort.rb:347:in
`each_strongly_connected_component'
from /usr/local/lib/ruby/3.2/tsort.rb:226:in `tsort_each'
from /usr/local/lib/ruby/3.2/tsort.rb:205:in `tsort_each'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/initializable.rb:60:in
`run_initializers'
from
/usr/local/lib/ruby/gems/3.2/gems/railties-7.0.8.1/lib/rails/application.rb:372:in
`initialize!'
from /usr/local/www/gitlab-ce/config/environment.rb:7:in `<top
(required)>'
from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_require.rb>:37:in
`require'
from
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_require.rb>:37:in
`require'
from config.ru:5:in `block in <main>'
from
/usr/local/lib/ruby/gems/3.2/gems/rack-2.2.9/lib/rack/builder.rb:116:in
`eval'
from
/usr/local/lib/ruby/gems/3.2/gems/rack-2.2.9/lib/rack/builder.rb:116:in
`new_from_string'
from
/usr/local/lib/ruby/gems/3.2/gems/rack-2.2.9/lib/rack/builder.rb:105:in
`load_file'
from
/usr/local/lib/ruby/gems/3.2/gems/rack-2.2.9/lib/rack/builder.rb:66:in
`parse_file'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/configuration.rb:368:in
`load_rackup'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/configuration.rb:290:in
`app'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/runner.rb:162:in
`load_and_bind'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/cluster.rb:371:in
`run'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/launcher.rb:194:in
`run'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/lib/puma/cli.rb:75:in `run'
from
/usr/local/lib/ruby/gems/3.2/gems/puma-6.4.2/bin/puma:10:in `<top
(required)>'
from /usr/local/bin/puma:25:in `load'
from /usr/local/bin/puma:25:in `<top (required)>'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:58:in
`load'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:58:in
`kernel_load'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli/exec.rb:23:in
`run'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli.rb:451:in
`exec'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/command.rb:28:in
`run'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in
`invoke_command'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor.rb:527:in
`dispatch'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli.rb:34:in
`dispatch'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/vendor/thor/lib/thor/base.rb:584:in
`start'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/cli.rb:28:in
`start'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/exe/bundle:28:in `block
in <top (required)>'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/lib/bundler/friendly_errors.rb:117:in
`with_friendly_errors'
from
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.7/exe/bundle:20:in `<top
(required)>'
from /usr/local/bin/bundle:25:in `load'
from /usr/local/bin/bundle:25:in `<main>'
Look at /usr/local/www/gitlab-ce/config/initializers/sprockets_patch.rb:
unless Gem::Version.new(Sprockets::VERSION) == Gem::Version.new('3.7.2')
raise 'New version of Sprockets detected. This patch can likely be
removed.'
end
Version 3.7.2 is hardcoded.
--
Best regards,
Vladimir Druzenko