meson installation fails

Bug report <! -- delete this block if you want to request a feature --->

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of GreenWIthEnvy (GWE)

Step 2: Describe your environment

  • GWE version: 0.12.3
  • Installed from source/Flatpak/AUR/other (specify): source
  • Distribution name and version (e.g. Ubuntu 18.10): openSUSE Tumbleweed/meson 0.50.1
  • Desktop Environment (e.g. Gnome 3.30): console
  • NVIDIA driver version (e.g. 415.27): not installed
  • CoolBits value (4, 8, 12, ..., don't know): don't know
  • GPU (e.g. Asus Strix OC 1080 Ti): not present

Step 3: Describe the problem:

Steps to reproduce:

  1. run meson
  2. run ninja
  3. run ninja install

Observed Results:

+ /usr/bin/ninja install -v -j1 -C build
ninja: Entering directory `build'
[0/1] /usr/bin/meson install --no-rebuild
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 122, in run
    return options.run_func(options)
  File "/usr/lib/python3.7/site-packages/mesonbuild/minstall.py", line 514, in run
    installer.do_install(datafilename)
  File "/usr/lib/python3.7/site-packages/mesonbuild/minstall.py", line 342, in do_install
    self.install_subdirs(d) # Must be first, because it needs to delete the old subtree.
  File "/usr/lib/python3.7/site-packages/mesonbuild/minstall.py", line 365, in install_subdirs
    d.dirmaker.makedirs(full_dst_dir, exist_ok=True)
  File "/usr/lib/python3.7/site-packages/mesonbuild/minstall.py", line 55, in makedirs
    os.makedirs(path, exist_ok=exist_ok)
  File "/usr/lib64/python3.7/os.py", line 221, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/Xlib'
Installing subdir /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/app.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/Xlib to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/__main__.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/di.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/model.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/interactor.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/conf.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/repository.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/view.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/desktop_entry.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/path.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/udev.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/log.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/concurrency.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/__init__.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/deployment.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/desktop/desktop_parser.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util/desktop
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/util/desktop/__init__.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/util/desktop
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/historical_data.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/graph_stacked_renderer.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/edit_fan_profile.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/preferences.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/main.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/edit_overclock_profile.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/view/__init__.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/view
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/historical_data.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/edit_fan_profile.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/preferences.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/main.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/edit_overclock_profile.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing /home/abuild/rpmbuild/BUILD/gwe-0.12.3/gwe/presenter/__init__.py to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/presenter
Installing subdir /home/abuild/rpmbuild/BUILD/gwe-0.12.3/python-xlib/Xlib to /home/abuild/rpmbuild/BUILDROOT/gwe-0.12.3-0.x86_64/usr/lib/python3.7/site-packages/gwe/Xlib
FAILED: meson-install 
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.

Expected Results:

  • ninja installation success

Console logs:

Not applicable

Screenshot of the issue

As above