Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2024 22:45:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281980] www/gitlab: update to 7.4.1_1 fails
Message-ID:  <bug-281980-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281980

            Bug ID: 281980
           Summary: www/gitlab: update to 7.4.1_1 fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: gwright@antiope.com
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

When updating gitlab to 7.4.1_1, the process failed when running the databa=
se
migration:

root@gitlab:~ # cd /usr/local/www/gitlab
root@gitlab:/usr/local/www/gitlab # su -l git -c "cd /usr/local/www/gitlab =
&&
rake db:migrate RAILS_ENV=3Dproduction"
rake aborted!
NameError: uninitialized constant Aws::Plugins::GlobalConfiguration (NameEr=
ror)

Aws::Plugins::GlobalConfiguration.add_identifier(:cloudformation)
            ^^^^^^^^^^^^^^^^^^^^^
/usr/local/www/gitlab/config/application.rb:18:in `<top (required)>'
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:136:in
`require'
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:136:in
`require'
/usr/local/www/gitlab/Rakefile:9:in `<top (required)>'
(See full trace by running task with --trace)
root@gitlab:/usr/local/www/gitlab #

The full trace:

root@gitlab:/usr/local/www/gitlab # su -l git -c "cd /usr/local/www/gitlab =
&&
rake --trace db:migrate RAILS_ENV=3Dproduction"
rake aborted!
NameError: uninitialized constant Aws::Plugins::GlobalConfiguration (NameEr=
ror)

Aws::Plugins::GlobalConfiguration.add_identifier(:cloudformation)
            ^^^^^^^^^^^^^^^^^^^^^
/usr/local/lib/ruby/gems/3.2/gems/aws-sdk-cloudformation-1.120.0/lib/aws-sd=
k-cloudformation.rb:14:in
`<top (required)>'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:60:=
in
`require'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:60:=
in
`block (2 levels) in require'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:55:=
in
`each'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:55:=
in
`block in require'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:44:=
in
`each'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler/runtime.rb:44:=
in
`require'
/usr/local/lib/ruby/gems/3.2/gems/bundler-2.5.20/lib/bundler.rb:212:in
`require'
/usr/local/www/gitlab/config/application.rb:18:in `<top (required)>'
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:136:in
`require'
<internal:/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_requir=
e.rb>:136:in
`require'
/usr/local/www/gitlab/Rakefile:9:in `<top (required)>'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in
`load'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in
`load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:740:in
`raw_load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:126:in
`block in load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:214:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:125:in
`load_rakefile'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:82:in
`block in run'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:214:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/lib/rake/application.rb:80:in
`run'
/usr/local/lib/ruby/gems/3.2/gems/rake-13.2.1/exe/rake:27:in `<top (require=
d)>'
/usr/local/bin/rake:25:in `load'
/usr/local/bin/rake:25:in `<main>'
root@gitlab:/usr/local/www/gitlab #

It looks as if something has gone wrong with rubygem-aws-sdk-core.  The mis=
sing
identifier is part of what looks to be an emulated v2 interface of aws-sdk.=
  I
don't know enough to tell if the problem is in rubygem-aws-sdk-core or
rubygem-aws-sdk-cloudformation.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281980-7788>