[DRE-maint] Bug#955555: gitlab: uninitialized constant APIGuard

Dragos Jarca dragos.jarca at dynamicpuzzle.ro
Fri Apr 3 06:28:47 BST 2020


Hi

I told you that in amd64

The problem is that I cannot upgrade to experimental(12.8.8-3) because
there are missing ruby packages on amd64

You solved https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955202 but 
not https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955197.

root at a:~# apt install gitlab/experimental
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '12.8.8-4' (Debian:experimental [all]) for 'gitlab'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  gitlab : Depends: ruby-unicode-plot but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root at a:~# apt-show-versions -a ruby-unicode-plot
No oldstable version
No stable version
No testing version
No testing-updates version
ruby-unicode-plot:all 0.0.4-1 unstable ftp.debian.org
No experimental version
ruby-unicode-plot:all not installed
root at a:~# apt install ruby-unicode-plot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  ruby-unicode-plot : Depends: ruby-enumerable-statistics (>= 2.0.1) but 
it is not installable
E: Unable to correct problems, you have held broken packages.
root at a:~# apt-show-versions -a ruby-enumerable-statistics
ruby-enumerable-statistics not installed (not available)

More, now redmine is uninstalled because of ruby-actionpack-xml-parser.

Thx,

Dragos Jarca


On 02.04.2020 19:35, Pirate Praveen wrote:
>
> Control: fixed -1 12.8.6-1
>
> On 2020, ഏപ്രിൽ 2 8:05:53 PM IST, Dragos Jarca <dragos.jarca at dynamicpuzzle.ro> wrote:
>> Package: gitlab
>> Version: 12.6.8-3
>> Severity: grave
>> Tags: a11y
>> Justification: renders package unusable
>>
>> Dear Maintainer,
>>
>> I upgraded packages:
>>
>> Start-Date: 2020-04-02  10:00:27
>> Commandline: apt-get dist-upgrade
>> Install: libllvm10:amd64 (1:10.0.0-1, automatic), ruby-sync:amd64
>> (0.5.0-2, automatic)
>> Upgrade: libpython3.7-minimal:amd64 (3.7.7-1, 3.7.7-1+b1),
>> python3-werkzeug:amd64 (0.16.1+dfsg1-1, 0.16.1+dfsg1-2),
>> glib-networking-services:amd64 (2.64.0-1, 2.64.1-1),
>> libpython3.8-dbg:amd64 (3.8.2-1, 3.8.2-1+b1), libpython3.8-dev:amd64
>> (3.8.2-1, 3.8.2-1+b1), php-phpseclib:amd64 (2.0.25-1, 2.0.26-1),
>> libgirepository-1.0-1:amd64 (1.62.0-5+b1, 1.64.0-2),
>> libpython3.8-minimal:amd64 (3.8.2-1, 3.8.2-1+b1), glib-networking:amd64
>>
>> (2.64.0-1, 2.64.1-1), dash:amd64 (0.5.10.2-6, 0.5.10.2-7),
>> ruby-memoist:amd64 (0.16.2-1, 0.16.2-2), ruby-tins:amd64 (1.1.0-1,
>> 1.1.0-2), libhiredis0.14:amd64 (0.14.0-6, 0.14.1-1), libffi-dev:amd64
>> (3.3-3, 3.3-4), libdbd-pg-perl:amd64 (3.10.4-1, 3.10.5-1),
>> yarnpkg:amd64
>> (1.19.1-1, 1.21.1-2), nodejs:amd64 (10.17.0~dfsg-2, 10.19.0~dfsg-3),
>> libpython3.8:amd64 (3.8.2-1, 3.8.2-1+b1), python3.7:amd64 (3.7.7-1,
>> 3.7.7-1+b1), python3.8:amd64 (3.8.2-1, 3.8.2-1+b1),
>> ruby-mini-magick:amd64 (4.9.2-1.1, 4.9.5-2), bubblewrap:amd64 (0.4.0-1,
>>
>> 0.4.1-1), node-d3-quadtree:amd64 (1.0.6-2, 1.0.7-1), libpq5:amd64
>> (12.2-1+b1, 12.2-4), libpython3.7-stdlib:amd64 (3.7.7-1, 3.7.7-1+b1),
>> glib-networking-common:amd64 (2.64.0-1, 2.64.1-1),
>> python3.7-minimal:amd64 (3.7.7-1, 3.7.7-1+b1),
>> ruby-state-machines-activemodel:amd64 (0.5.1-3, 0.7.1-2),
>> libpq-dev:amd64 (12.2-1+b1, 12.2-4), npm:amd64 (6.14.2+ds-2,
>> 6.14.3+ds-1), python3-future:amd64 (0.18.2-1, 0.18.2-2),
>> postgresql-12:amd64 (12.2-1+b1, 12.2-4), gir1.2-glib-2.0:amd64
>> (1.62.0-5+b1, 1.64.0-2), python3.8-minimal:amd64 (3.8.2-1, 3.8.2-1+b1),
>>
>> python3-acme:amd64 (1.1.0-1, 1.3.0-2), libconfuse-common:amd64
>> (3.2.2+dfsg-1, 3.2.2+dfsg-2), ruby-omniauth:amd64 (1.9.0-1, 1.9.1-1),
>> shared-mime-info:amd64 (1.10-1, 1.15-1), libnode-dev:amd64
>> (10.17.0~dfsg-2, 10.19.0~dfsg-3), libwnck-3-0:amd64 (3.32.0-1,
>> 3.36.0-1), ruby-warden:amd64 (1.2.3-2, 1.2.8-1),
>> libpython3.8-stdlib:amd64 (3.8.2-1, 3.8.2-1+b1), libnode64:amd64
>> (10.17.0~dfsg-2, 10.19.0~dfsg-3), libwnck-3-common:amd64 (3.32.0-1,
>> 3.36.0-1), libpcap0.8:amd64 (1.9.1-2, 1.9.1-3), libffi7:amd64 (3.3-3,
>> 3.3-4), python3.8-dbg:amd64 (3.8.2-1, 3.8.2-1+b1), python3.8-dev:amd64
>> (3.8.2-1, 3.8.2-1+b1), libconfuse2:amd64 (3.2.2+dfsg-1, 3.2.2+dfsg-2),
>> postgresql-client-12:amd64 (12.2-1+b1, 12.2-4)
>> End-Date: 2020-04-02  10:05:57
>>
>> Start-Date: 2020-04-02  10:14:16
>> Commandline: apt-get -t unstable install gitlab-shell
>> Upgrade: gitlab-shell:amd64 (10.3.0+debian-3.1, 11.0.0+debian-2)
>> End-Date: 2020-04-02  10:14:37
>>
>> After that gitlab stop starting.
>>
>> The error is:
>>
>> rake aborted!
>> NameError: uninitialized constant APIGuard
> Please use gitlab from experimental. Its a lot of work to backport patches to get grape 1.3 working with 12.6.x.
>
> Also please always check wiki.debian.org/gitlab for any work arounds.
>
>> /usr/share/gitlab/lib/gitlab/patch/draw_route.rb:32:in `instance_eval'
>> /usr/share/gitlab/lib/api/api.rb:5:in `<class:API>'
>> /usr/share/gitlab/lib/api/api.rb:4:in `<module:API>'
>> /usr/share/gitlab/lib/api/api.rb:3:in `<top (required)>'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/dependencies/interlock.rb:14:in
>>
>> `block in loading'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/concurrency/share_lock.rb:151:in
>>
>> `exclusive'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/dependencies/interlock.rb:13:in
>>
>> `loading'
>> (eval):4:in `draw_route'
>> /usr/share/gitlab/lib/gitlab/patch/draw_route.rb:32:in `instance_eval'
>> /usr/share/gitlab/lib/gitlab/patch/draw_route.rb:32:in `draw_route'
>> /usr/share/gitlab/lib/gitlab/patch/draw_route.rb:19:in `draw_ce'
>> /usr/share/gitlab/lib/gitlab/patch/draw_route.rb:13:in `draw'
>> /usr/share/gitlab/config/routes.rb:171:in `block in <top (required)>'
>> /usr/share/rubygems-integration/all/gems/actionpack-5.2.4.1/lib/action_dispatch/routing/route_set.rb:432:in
>>
>> `instance_exec'
>> /usr/share/rubygems-integration/all/gems/actionpack-5.2.4.1/lib/action_dispatch/routing/route_set.rb:432:in
>>
>> `eval_block'
>> /usr/share/rubygems-integration/all/gems/actionpack-5.2.4.1/lib/action_dispatch/routing/route_set.rb:414:in
>>
>> `draw'
>> /usr/share/gitlab/config/routes.rb:4:in `<top (required)>'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application/routes_reloader.rb:41:in
>>
>> `block in load_paths'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application/routes_reloader.rb:41:in
>>
>> `each'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application/routes_reloader.rb:41:in
>>
>> `load_paths'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application/routes_reloader.rb:20:in
>>
>> `reload!'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application.rb:168:in
>>
>> `reload_routes!'
>> /usr/share/gitlab/config/application.rb:283:in `block in
>> <class:Application>'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:69:in
>>
>> `block in execute_hook'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:62:in
>>
>> `with_execution_control'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:67:in
>>
>> `execute_hook'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:52:in
>>
>> `block in run_load_hooks'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:51:in
>>
>> `each'
>> /usr/share/rubygems-integration/all/gems/activesupport-5.2.4.1/lib/active_support/lazy_load_hooks.rb:51:in
>>
>> `run_load_hooks'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application/finisher.rb:75:in
>>
>> `block in <module:Finisher>'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in
>>
>> `instance_exec'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in
>>
>> `run'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in
>>
>> `block in run_initializers'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in
>>
>> `run_initializers'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application.rb:361:in
>>
>> `initialize!'
>> /usr/share/gitlab/config/environment.rb:6:in `<top (required)>'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application.rb:337:in
>>
>> `require_environment!'
>> /usr/share/rubygems-integration/all/gems/railties-5.2.4.1/lib/rails/application.rb:520:in
>>
>> `block in run_tasks_blocks'
>> Tasks: TOP => db:migrate => db:load_config => environment
>> (See full trace by running task with --trace)
>>
>> The problem is that I cannot upgrade to experimental(12.8.8-3) because
>> there are missing ruby packages on amd64, but I cannot use
>> unstable(12.6.8-3).
>>
>> I sow that on salsa.debian.org just upgraded to 12.9. I will upgrade to
>>
>> that version if I publish on experimental.
>>
>> Pls help to start gitlab 12.6, 12.8 or 12.9! I'm blocked now :(
>>
>> Thx!
>> Dragos
>>
>> -- System Information:
>> Debian Release: bullseye/sid
>>    APT prefers testing
>>    APT policy: (900, 'testing'), (800, 'unstable'), (700,
>> 'experimental'), (500, 'oldstable')
>> Architecture: amd64 (x86_64)
>>
>> Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
>> Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
>>
>> set to C.UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set
>> to C.UTF-8)
>> Shell: /bin/sh linked to /bin/dash
>> Init: systemd (via /run/systemd/system)
>> LSM: AppArmor: enabled
>>
>> Versions of packages gitlab depends on:
>> ii  asciidoctor                                     2.0.10-2
>> ii  bc                                              1.07.1-2+b2
>> ii  bundler                                         2.1.4-1
>> ii  bzip2                                           1.0.8-2
>> ii  dbconfig-pgsql                                  2.0.13
>> ii  debconf [debconf-2.0]                           1.5.73
>> ii  gitlab-common                                   12.6.8-3
>> ii  gitlab-workhorse                                8.18.0+debian-1
>> ii  libjs-bootstrap4 [node-bootstrap]               4.4.1+dfsg1-2
>> ii  libjs-pdf                                       1.5.188+dfsg-1
>> ii  libjs-popper.js [node-popper.js]                1.16.0+ds2-1
>> ii  libjs-uglify                                    2.8.29-6
>> ii  lsb-base                                        11.1.0
>> ii  nginx                                           1.16.1-3
>> ii  nginx-extras [nginx]                            1.16.1-3
>> ii  node-autosize                                   4.0.2~dfsg1-3
>> ii  node-axios                                      0.19.0+dfsg-2
>> ii  node-brace-expansion                            1.1.11-1
>> ii  node-cache-loader                               2.0.1-2
>> ii  node-chart.js                                   2.9.3+dfsg-2
>> ii  node-clipboard                                  2.0.6+ds-1
>> ii  node-core-js                                    3.6.1-3
>> ii  node-css-loader                                 1.0.1+repack-1
>> ii  node-d3                                         5.12.0-2
>> ii  node-d3-array                                   1.2.4-2
>> ii  node-d3-axis                                    1.0.12-2
>> ii  node-d3-brush                                   1.1.5-1
>> ii  node-d3-ease                                    1.0.5-2
>> ii  node-d3-scale                                   2.2.2-2
>> ii  node-d3-selection                               1.4.0-5
>> ii  node-d3-shape                                   1.3.7-1
>> ii  node-d3-time                                    1.0.11-3
>> ii  node-d3-time-format                             2.1.3-2
>> ii  node-d3-transition                              1.2.0-4
>> ii  node-dateformat                                 3.0.0-1
>> ii  node-exports-loader                             0.7.0-2
>> ii  node-file-loader                                3.0.1-1
>> ii  node-fuzzaldrin-plus                            0.5.0+dfsg-3
>> ii  node-glob                                       7.1.6-1
>> ii  node-imports-loader                             0.8.0-2
>> ii  node-jed                                        1.1.1-1
>> ii  node-jquery                                     3.4.0+dfsg-1
>> ii  node-jquery-ujs                                 1.2.2-2
>> ii  node-jquery.waitforimages                       2.4.0+ds-5
>> ii  node-js-cookie                                  2.2.1-1
>> ii  node-jszip                                      3.2.2+dfsg-1
>> ii  node-jszip-utils                                0.0.2+dfsg-1
>> ii  node-lodash                                     4.17.15+dfsg-2
>> ii  node-marked                                     0.8.0+ds-1
>> ii  node-mousetrap                                  1.6.1+ds-1
>> ii  node-prismjs                                    1.11.0+dfsg-3
>> ii  node-prosemirror-model                          1.9.0-3
>> ii  node-raven-js                                   3.22.1+dfsg-2
>> ii  node-raw-loader                                 1.0.0-2
>> ii  node-three-orbit-controls                       82.1.0-2
>> ii  node-three-stl-loader                           1.0.6-2
>> ii  node-timeago.js                                 4.0.2-2
>> ii  node-underscore                                 1.9.1~dfsg-1
>> ii  node-url-loader                                 3.0.0-1
>> ii  node-vue-resource                               1.5.1+dfsg-5
>> ii  node-webpack-stats-plugin                       0.2.1-1
>> ii  node-worker-loader                              2.0.0-2
>> ii  node-xterm                                      3.8.1-4
>> ii  nodejs                                          10.19.0~dfsg-3
>> ii  openssh-client                                  1:8.2p1-4
>> ii  postfix [mail-transport-agent]                  3.5.0-1
>> ii  postgresql-client                               12+214
>> ii  postgresql-client-12 [postgresql-client]        12.2-4
>> ii  postgresql-contrib                              12+214
>> ii  puma                                            3.12.4-1
>> ii  rake                                            13.0.1-2
>> ii  redis-server                                    5:5.0.7-2
>> ii  ruby                                            1:2.5.7.1
>> ii  ruby-ace-rails-ap                               4.1.1-1
>> ii  ruby-acme-client                                2.0.5-1
>> ii  ruby-activerecord-explain-analyze               0.1.0-2
>> ii  ruby-acts-as-taggable-on                        6.0.0-3
>> ii  ruby-addressable                                2.7.0-1
>> ii  ruby-akismet                                    3.0.0-1
>> ii  ruby-apollo-upload-server                       2.0.0~beta3-2
>> ii  ruby-asana                                      0.9.3-3
>> ii  ruby-asciidoctor-include-ext                    0.3.1-2
>> ii  ruby-asciidoctor-plantuml                       0.0.10-1
>> ii  ruby-attr-encrypted                             3.1.0-2
>> ii  ruby-aws-sdk                                    2.9.32-2
>> ii  ruby-babosa                                     1.0.2-3
>> ii  ruby-base32                                     0.3.2-4
>> ii  ruby-batch-loader                               1.4.1+dfsg.1-3
>> ii  ruby-bcrypt-pbkdf                               1.0.1-1+b1
>> ii  ruby-benchmark-ips                              2.7.2-2
>> ii  ruby-benchmark-memory                           0.1.2-2
>> ii  ruby-bootsnap                                   1.3.0-1+b2
>> ii  ruby-bootstrap-form                             4.2.0-2
>> ii  ruby-browser                                    2.5.3-1
>> ii  ruby-carrierwave                                1.3.1-2
>> ii  ruby-charlock-holmes                            0.7.6-1+b1
>> ii  ruby-chronic [ruby-gitlab-chronic]              0.10.5-2
>> ii  ruby-chronic-duration [ruby-gitlab-chronic-dur  0.10.6.2-2
>> ii  ruby-commonmarker                               0.20.2-1+b1
>> ii  ruby-connection-pool                            2.2.2-1
>> ii  ruby-countries                                  3.0.0-2
>> ii  ruby-creole                                     0.5.0-2
>> ii  ruby-default-value-for                          3.3.0-1
>> ii  ruby-device-detector                            1.0.1-2
>> ii  ruby-devise                                     4.7.1-2
>> ii  ruby-devise-two-factor                          3.1.0-2
>> ii  ruby-diff-match-patch                           0.1.0-2
>> ii  ruby-diffy                       =C



More information about the Pkg-ruby-extras-maintainers mailing list