pop-os / gtk-theme

System76 Pop GTK+ Theme
GNU General Public License v3.0
780 stars 80 forks source link

Error during the build process #589

Closed wags-1314 closed 1 year ago

wags-1314 commented 1 year ago

Describe the problem: I am trying to install pop on a non popOS system, and I was running the build instructions. When I ran the ninja command I had few errors show up:

bhargav@bhargav-kk:.../gtk-theme/build$ ninja
[50/59] Generating light-gtk-3.20-gtk-dark-generated.css with a custom command.
FAILED: gtk/src/light/gtk-3.0/gtk-dark-generated.css
/usr/bin/sassc -a ../gtk/src/light/gtk-3.0/gtk-dark.scss gtk/src/light/gtk-3.0/gtk-dark-generated.css
Error: It's not clear which file to import for '@import "hdy/pop-dark"'.
       Candidates:
         hdy/_pop-dark.scss
         hdy/pop-dark.scss
         hdy/pop-dark.css
       Please delete or rename all but one of these files.
        on line 12:1 of ../gtk/src/light/gtk-3.0/gtk-dark.scss
>> @import 'hdy/pop-dark';

   ^
[51/59] Generating light-gtk-3.20-gtk-generated.css with a custom command.
FAILED: gtk/src/light/gtk-3.0/gtk-generated.css
/usr/bin/sassc -a ../gtk/src/light/gtk-3.0/gtk.scss gtk/src/light/gtk-3.0/gtk-generated.css
Error: It's not clear which file to import for '@import "hdy/pop-dark"'.
       Candidates:
         hdy/_pop-dark.scss
         hdy/pop-dark.scss
         hdy/pop-dark.css
       Please delete or rename all but one of these files.
        on line 18:1 of ../gtk/src/light/gtk-3.0/gtk.scss
>> @import 'hdy/pop-dark';

   ^
[56/59] Generating gtk_gresource with a custom command.
ninja: build stopped: subcommand failed.

Steps to reproduce:

  1. Following the steps given in "Installation from Git Source:".

Distribution:

Ubuntu 20.04 - WSL2