jnsh / arc-theme

A flat theme with transparent elements (actively maintained fork)
GNU General Public License v3.0
906 stars 78 forks source link

meson install error #198

Closed yaamisv closed 2 years ago

yaamisv commented 2 years ago

Details

When I try to install manually with the guide in INSTALL.md, i face build error. you can see the logs bellow

$ meson setup --prefix=$HOME/.local -Dthemes=gtk4,plank,gnome-shell build/
The Meson build system
Version: 0.62.2
Source dir: /projects/github/jnsh/arc-theme
Build dir: /projects/github/jnsh/arc-theme/build
Build type: native build
Project name: arc-theme
Project version: 20220405
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program sassc found: YES (/usr/bin/sassc)
Program inkscape found: YES (/usr/bin/inkscape)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Configuring index.theme.light using configuration
Configuring index.theme.darker using configuration
Configuring index.theme.dark using configuration
Configuring index.theme.lighter using configuration
Configuring gtk-dark.scss using configuration
Configuring gtk-light.scss using configuration
Configuring gtk-light.gresource.xml with command
Configuring gtk-light.css with command
Configuring gtk-dark.css with command
Configuring gtk-darker.scss using configuration
Configuring gtk-darker.gresource.xml with command
Configuring gtk-darker.css with command
WARNING: Output file "common/gtk-4.0/gtk-dark.css" for configure_file() at common/gtk-4.0/meson.build:140 overwrites configure_file() output at common/gtk-4.0/meson.build:140
Configuring gtk-dark.css with command
Configuring gtk-dark.gresource.xml with command
WARNING: Output file "common/gtk-4.0/gtk-dark.css" for configure_file() at common/gtk-4.0/meson.build:127 overwrites configure_file() output at common/gtk-4.0/meson.build:140
Configuring gtk-dark.css with command
WARNING: Output file "common/gtk-4.0/gtk-dark.css" for configure_file() at common/gtk-4.0/meson.build:140 overwrites configure_file() output at common/gtk-4.0/meson.build:140
Configuring gtk-dark.css with command
Configuring gtk-lighter.scss using configuration
Configuring gtk-lighter.gresource.xml with command
Configuring gtk-lighter.css with command
WARNING: Output file "common/gtk-4.0/gtk-dark.css" for configure_file() at common/gtk-4.0/meson.build:140 overwrites configure_file() output at common/gtk-4.0/meson.build:140
Configuring gtk-dark.css with command
Program gnome-shell found: YES (/usr/bin/gnome-shell)
Configuring gnome-shell-light.scss using configuration
Configuring gnome-shell-dark.scss using configuration
Build targets in project: 178
NOTICE: Future-deprecated features used:
 * 0.56.0: {'meson.source_root'}

arc-theme 20220405

  User defined options
    prefix: /home/myuser/.local
    themes: gtk4,plank,gnome-shell

Found ninja-1.11.0 at /usr/bin/ninja

$ meson install -C build/

ninja: Entering directory `/projects/github/jnsh/arc-theme/build'
[1/178] Generating common/gtk-4.0/assets/gtk4-checkbox-mixed-hidpi with a custom command
FAILED: common/gtk-4.0/assets/checkbox-mixed@2.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-mixed@2.png --export-id=checkbox-mixed --export-dpi=192 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-mixed"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.616: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[2/178] Generating common/gtk-4.0/assets/gtk4-checkbox-checked-insensitive-hidpi with a custom command
FAILED: common/gtk-4.0/assets/checkbox-checked-insensitive@2.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-checked-insensitive@2.png --export-id=checkbox-checked-insensitive --export-dpi=192 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-checked-insensitive"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.619: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[3/178] Generating common/gtk-4.0/assets/gtk4-checkbox-unchecked with a custom command
FAILED: common/gtk-4.0/assets/checkbox-unchecked.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-unchecked.png --export-id=checkbox-unchecked --export-dpi=96 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-unchecked"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.621: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[4/178] Generating common/gtk-4.0/assets/gtk4-checkbox-unchecked-insensitive-hidpi with a custom command
FAILED: common/gtk-4.0/assets/checkbox-unchecked-insensitive@2.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-unchecked-insensitive@2.png --export-id=checkbox-unchecked-insensitive --export-dpi=192 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-unchecked-insensitive"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.638: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[5/178] Generating common/gtk-4.0/assets/gtk4-checkbox-mixed with a custom command
FAILED: common/gtk-4.0/assets/checkbox-mixed.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-mixed.png --export-id=checkbox-mixed --export-dpi=96 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-mixed"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.635: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[6/178] Generating common/gtk-4.0/assets/gtk4-checkbox-checked-hidpi with a custom command
FAILED: common/gtk-4.0/assets/checkbox-checked@2.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-checked@2.png --export-id=checkbox-checked --export-dpi=192 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-checked"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.641: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[7/178] Generating common/gtk-4.0/assets/gtk4-checkbox-unchecked-insensitive with a custom command
FAILED: common/gtk-4.0/assets/checkbox-unchecked-insensitive.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-unchecked-insensitive.png --export-id=checkbox-unchecked-insensitive --export-dpi=96 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-unchecked-insensitive"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.666: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[8/178] Generating common/gtk-4.0/assets/gtk4-checkbox-checked with a custom command
FAILED: common/gtk-4.0/assets/checkbox-checked.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-checked.png --export-id=checkbox-checked --export-dpi=96 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-checked"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.679: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[9/178] Generating common/gtk-4.0/assets/gtk4-checkbox-unchecked-hidpi with a custom command
FAILED: common/gtk-4.0/assets/checkbox-unchecked@2.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-unchecked@2.png --export-id=checkbox-unchecked --export-dpi=192 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-unchecked"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.683: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

[10/178] Generating common/gtk-4.0/assets/gtk4-checkbox-checked-insensitive with a custom command
FAILED: common/gtk-4.0/assets/checkbox-checked-insensitive.png 
/usr/bin/inkscape --export-id-only --export-filename=common/gtk-4.0/assets/checkbox-checked-insensitive.png --export-id=checkbox-checked-insensitive --export-dpi=96 ../common/gtk-4.0/assets/assets.svg
Exporting only object with id="checkbox-checked-insensitive"; all other objects hidden.

Emergency save activated!

Emergency save document locations:
  /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at https://inkscape.org/report
with a detailed description of the steps leading to the crash, so we can fix it.
** Message: 16:45:34.692: Error: Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:
        /projects/github/jnsh/arc-theme/common/gtk-4.0/assets/assets.svg.2022_08_19_16_45_34.0.svg

ninja: build stopped: subcommand failed.
Could not rebuild /projects/github/jnsh/arc-theme/build
jnsh commented 2 years ago

The error is from inkscape crashing while rendering image assets, most likely something is broken with the inkscape package on tumbleweed.

Starting from version 20220102, tarballs from releases page contain pre-rendered image assets, and inkscape is not required when building from those.

yaamisv commented 2 years ago

thanks, I built it from the latest tarball in releases page.