luisbocanegra / kde-material-you-colors

Automatic color scheme generator from your wallpaper for KDE Plasma powered by Material You
https://store.kde.org/p/2136963
GNU General Public License v3.0
378 stars 6 forks source link

AUR install don't work #184

Closed hrqmonteiro closed 7 months ago

hrqmonteiro commented 7 months ago
[ 16%] Built target kde-material-you-colors-screenshot-helper_autogen
[ 33%] Building CXX object src/screenshot_helper/CMakeFiles/kde-material-you-colors-screenshot-helper.dir/kde-material-you-colors-screenshot-helper_autogen/mocs_compilation.cpp.o
[ 50%] Building CXX object src/screenshot_helper/CMakeFiles/kde-material-you-colors-screenshot-helper.dir/main.cpp.o
[ 66%] Linking CXX executable ../../bin/kde-material-you-colors-screenshot-helper
[ 83%] Built target kde-material-you-colors-screenshot-helper
[100%] Generating /home/hrq/.cache/yay/kde-material-you-colors/src/kde-material-you-colors-1.7.1/build/plasmoid-kde-material-you-v0.2.1.plasmoid
No such file or directory
make[2]: *** [src/plasmoid/CMakeFiles/plasmoid.dir/build.make:72: src/plasmoid/CMakeFiles/plasmoid] Error 1
make[1]: *** [CMakeFiles/Makefile2:430: src/plasmoid/CMakeFiles/plasmoid.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: kde-material-you-colors-exit status 4
checking dependencies...
:: python optionally requires python-setuptools: for building Python packages using tooling that is usually bundled with Python
:: python-coverage optionally requires python-tomli: for pyproject.toml support
:: python-future optionally requires python-setuptools: futurize and pasteurize scripts

Package (21)               Old Version  Net Change

python-annotated-types     0.6.0-1       -0.11 MiB
python-autocommand         2.2.2-4       -0.08 MiB
python-fastjsonschema      2.19.1-1      -0.30 MiB
python-inflect             7.0.0-2       -0.39 MiB
python-jaraco.context      4.3.0-3       -0.04 MiB
python-jaraco.functools    4.0.0-1       -0.07 MiB
python-jaraco.text         3.12.0-1      -0.09 MiB
python-more-itertools      10.1.0-1      -0.63 MiB
python-ordered-set         4.1.0-4       -0.07 MiB
python-platformdirs        4.1.0-1       -0.23 MiB
python-pydantic            2.6.0-1       -4.88 MiB
python-pydantic-core       1:2.16.1-1    -5.58 MiB
python-pyproject-hooks     1.0.0-5       -0.09 MiB
python-tomli               2.0.1-3       -0.11 MiB
python-trove-classifiers   2024.1.31-1   -0.11 MiB
python-typing_extensions   4.9.0-1       -0.37 MiB
python-validate-pyproject  0.13-1        -0.29 MiB
python-build               1.0.3-1       -0.68 MiB
python-installer           0.7.0-3       -0.82 MiB
python-setuptools          1:69.0.3-1    -4.68 MiB
python-wheel               0.42.0-1      -0.28 MiB

Total Removed Size:  19.89 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
( 1/21) removing python-setuptools                 [------------------] 100%
( 2/21) removing python-validate-pyproject         [------------------] 100%
( 3/21) removing python-trove-classifiers          [------------------] 100%
( 4/21) removing python-fastjsonschema             [------------------] 100%
( 5/21) removing python-tomli                      [------------------] 100%
( 6/21) removing python-platformdirs               [------------------] 100%
( 7/21) removing python-ordered-set                [------------------] 100%
( 8/21) removing python-jaraco.text                [------------------] 100%
( 9/21) removing python-jaraco.functools           [------------------] 100%
(10/21) removing python-jaraco.context             [------------------] 100%
(11/21) removing python-inflect                    [------------------] 100%
(12/21) removing python-pydantic                   [------------------] 100%
(13/21) removing python-pydantic-core              [------------------] 100%
(14/21) removing python-annotated-types            [------------------] 100%
(15/21) removing python-typing_extensions          [------------------] 100%
(16/21) removing python-autocommand                [------------------] 100%
(17/21) removing python-more-itertools             [------------------] 100%
(18/21) removing python-wheel                      [------------------] 100%
(19/21) removing python-installer                  [------------------] 100%
(20/21) removing python-build                      [------------------] 100%
(21/21) removing python-pyproject-hooks            [------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
 -> Failed to install the following packages. Manual intervention is required:
kde-material-you-colors - exit status 4

I already have the plasmoid installed

luisbocanegra commented 7 months ago

Please try installing manually, I think there is a missing dependency in the PKGBUILD

git clone https://github.com/luisbocanegra/kde-material-you-colors
cd kde-material-you-colors
cmake -B build -S . -DCMAKE_INSTALL_PREFIX=~/.local -DINSTALL_PLASMOID=ON -DPACKAGE_PLASMOID=ON && cmake --build build && cmake --install build

After you run that share the output.

luisbocanegra commented 7 months ago

Okay, looking at the error generated make file looks like zip package is what you are missing? I uninstalled it and got the same error, can you try installing it manually?

paru -S zip kde-material-you-colors

Let me know if that works.

luisbocanegra commented 7 months ago

Actually, creating the .plasmoid file isn't needed at all (wrongly copy-pasted), thus not extra dependency should be required, I'll remove that flag from the PKGBUILD

luisbocanegra commented 7 months ago

AUR package was updated some hours ago, I believe this should be fixed now, bu if still fails to install let me know.

hrqmonteiro commented 7 months ago

AUR package was updated some hours ago, I believe this should be fixed now, bu if still fails to install let me know.

Everything fine here, just installed it. Thanks!