[DRE-maint] Bug#953415: gitlab: Top-level selectors may not contain the parent selector "&"

Pirate Praveen praveen at onenetbeyond.org
Sat Mar 14 16:23:11 GMT 2020


Control: forwarded -1 
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/27267

On Mon, 9 Mar 2020 11:37:07 +0200 Dragos Jarca <
dragos.jarca at dynamicpuzzle.ro> wrote:
> Package: gitlab
> Version: 12.6.8-1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> When updating to 12.6.8.1 I have two problems:
> 
> 1. Could not find gem 'deckar01-task_list (= 2.2.1)' in any of the
gem 
> sources listed in your Gemfile.
> solved by editing Gemfile:
> gem 'deckar01-task_list', '2.3.1'
> 
> 
> 2. Top-level selectors may not contain the parent selector "&"

I think this was introduced by libsass/ruby-sassc updates.

> [5/5] Building fresh packages...
> $ node ./scripts/frontend/postinstall.js
> success Dependency postinstall check passed.
> Done in 33.53s.
> I, [2020-03-09T10:22:03.456949 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/emoji_sprites-
6971486a811b8e0f3f4d35a546ad581196c3e9763237883df27970853d4adeb5.css
> I, [2020-03-09T10:22:03.467003 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/emoji_sprites-
6971486a811b8e0f3f4d35a546ad581196c3e9763237883df27970853d4adeb5.css.gz
> I, [2020-03-09T10:22:04.360900 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/errors-
5d74e774f61c743fb068f7aa706b4b34656aa68c0cd5818948f01d81b716b072.css
> I, [2020-03-09T10:22:04.362359 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/errors-
5d74e774f61c743fb068f7aa706b4b34656aa68c0cd5818948f01d81b716b072.css.gz
> I, [2020-03-09T10:22:17.199709 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/auth_buttons/salesforce_64-
3eb1feb32f86b99e2650dcf3bf280a4c74fc07aaad97c88d4435b697b31613ed.png
> I, [2020-03-09T10:22:17.728510 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/cluster_app_logos/crossplane-
9ceca67b2b9a8740daeacc45d783c2ba73b23b307a04688fcbafca5452b6795d.png
> I, [2020-03-09T10:22:38.859234 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/favicon-blue-
d8d16ee4d0d7e663e28aab8a282483671bfc0d00dffe4244944dd960620e2629.png
> I, [2020-03-09T10:22:38.900424 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/favicon-
f34ef73e6504fe12db99198e77bc12fb1b4b616b2b186f0e5b5bf3265c327fce.png
> I, [2020-03-09T10:22:39.272530 #2195262]  INFO -- : Writing 
> /usr/share/gitlab/public/assets/none-scheme-preview-
dbdbc404f98ec1239cd8f4861ab537a3675832adad096d9cfa67fd274987c602.png
> I, [2020-03-09T10:22:41.478022 #2195262]  INFO -- : Writing 
>
/usr/share/gitlab/public/assets/error_tracking/components/error_details
-5e51d4ecbf7371053e0f23db7f16e27022bdc211d558ef2eb218fa47ffde477a.vue
> I, [2020-03-09T10:29:57.745243 #2195262]  INFO -- : Writing 
>
/usr/share/gitlab/public/assets/vue_merge_request_widget/components/sta
tes/mr_widget_rebase-
ee896f4e5e1025eb3af5ec10abe30b4276ee024c2e1fff8e316cf2fb46768b12.vue
> rake aborted!
> SassC::SyntaxError: Error: Top-level selectors may not contain the 
> parent selector "&".
>          on line 6:9 of node_modules/@gitlab/ui/src/scss/components.s
css
>          from line 13:9 of node_modules/@gitlab/ui/src/scss/gitlab_ui
.scss
>          from line 5:9 of app/assets/stylesheets/framework.scss
>          from line 19:9 of app/assets/stylesheets/application.scss
>  >>   &.gl-avatar-identicon-bg#{$i} {
> 
>     --^
> /usr/share/gitlab/node_modules/@gitlab/ui/src/scss/../components/base
/avatar/avatar.scss:82
> /usr/share/rubygems-integration/all/gems/sassc-
2.0.1/lib/sassc/engine.rb:49:in 
> `render'
> 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 



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