[DRE-maint] Bug#894138: gitlab: 10.5.6 Problem compiling assets on post-install

Pirate Praveen praveen at debian.org
Tue Mar 27 13:28:05 UTC 2018


Control: severity -1 important

Reducing severity because it appears a local setup issue.

On ചൊവ്വ 27 മാർച്ച് 2018 06:33 വൈകു, David López Zajara (Er_Maqui) wrote:
> @praveen
>
> I leave you here the "mostly" complete debug of a uninstall - purge -
> reinstall of 10.5.6 version.
>
> If you need any test, please tell me.
>
The problem is, I'm not able to reproduce it here locally :( Can you try
to create a clean sid lxc/docker container or virtual machine and
install it there?

Or just make sure apt-get update && apt-get dist-upgrade, just to avoid
any other packages causing issues.
> Precompiling locales...
> /usr/lib/ruby/vendor_ruby/builder/xchar.rb:111: warning: constant
> ::Fixnum is deprecated
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/ru
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/fr
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/es
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/ja
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/zh_TW
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/ko
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/it
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/bg
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/nl_NL
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/zh_CN
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/pl_PL
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/de
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/pt_BR
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/eo
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/zh_HK
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/en
> Created app.js in /usr/share/gitlab/app/assets/javascripts/locale/uk
>
> All files created, make sure they are being added to your assets.
> If they are not, you can add them with this line (configurable):
>
> //= require_tree ./locale
> //= require gettext/all
>
> Precompiling assets...
> /usr/lib/ruby/vendor_ruby/builder/xchar.rb:111: warning: constant
> ::Fixnum is deprecated
> rake aborted!
> Sprockets::Error: manifest requires environment for compilation
> /var/lib/gems/2.5.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:178:in
> `compile'
> /var/lib/gems/2.5.0/gems/rake-12.3.1/exe/rake:27:in `'

sprockets should not be coming from this path. It looks like you have
locally installed these gems.

root at gitlab:~# ls /var/lib/gems/2.5.0/
root at gitlab:~#

I have an empty directory here. The PATH for sprockets should be
/usr/lib/ruby/vendor_ruby/sprockets/manifest.rb

Share output of these two commands

gem list rake
gem list sprockets
gem which rake
gem which sprockets

root at gitlab:~# gem list rake

*** LOCAL GEMS ***

rake (12.3.1)
root at gitlab:~# gem which rake
/usr/lib/ruby/vendor_ruby/rake.rb
root at gitlab:~# gem list sprockets

*** LOCAL GEMS ***

sprockets (3.7.0)
sprockets-rails (2.3.2)
root at gitlab:~# gem which sprockets
/usr/lib/ruby/vendor_ruby/sprockets.rb

> Tasks: TOP => assets:precompile
> (See full trace by running task with --trace)
> dpkg: error processing package gitlab (--configure):
>  installed gitlab package post-installation script subprocess returned
> error exit status 1
> Processing triggers for systemd (238-3) ...
> Errors were encountered while processing:
>  gitlab
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> rin:~#
>
>
>
> https://maqui.darkbolt.net/
> Linux registered user ~#363219
> PGP keys avaiables at KeyServ. ID: 0x4233E9F2
> Los hombres somos esclavos de la historia
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180327/4ac4a780/attachment.sig>


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