for me, yay fails with:
==> Starting prepare()...
env: ‘patch’: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: aseprite
Press any key to continue...
Git Clone URL: | https://aur.archlinux.org/aseprite.git (read-only, click to copy) |
---|---|
Package Base: | aseprite |
Description: | Create animated sprites and pixel art |
Upstream URL: | https://www.aseprite.org/ |
Keywords: | animation art aseprite editor gamedev image pixel sprites |
Licenses: | LicenseRef-Aseprite-EULA |
Submitter: | None |
Maintainer: | ImperatorStorm (ISSOtm) |
Last Packager: | ImperatorStorm |
Votes: | 121 |
Popularity: | 4.06 |
First Submitted: | 2011-11-01 17:40 (UTC) |
Last Updated: | 2025-01-12 00:29 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 29 Next › Last »
for me, yay fails with:
==> Starting prepare()...
env: ‘patch’: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: aseprite
Press any key to continue...
Many thanks @ISSOtm Prior to seeing your comment, I had ended up trying to update aseprite on its own, which didn't work, so I did as per your second recommendation and that worked fine. I've had no issues with updates related to the move to 1.2.40-1.
@nmstoker: Try yay -Syu aseprite
? If that doesn't work, you can uninstall aseprite, run yay -Syu
, and then reinstall aseprite.
(Those using makepkg -s
shouldn't have any problems after updating to the new PKGBUILD.)
Hi @ImperatorStorm - thanks for your quick response to simona's problem, but from what I'm seeing the change for 1.2.39-3 hasn't resolved it (unless I'm doing something silly!)
Having updated to 1.2.39-3 I now see (note the dependency on libfmt.so=8-64):
pacman -Qi aseprite
Name : aseprite
Version : 1.2.39-3
Description : Create animated sprites and pixel art
Architecture : x86_64
URL : https://www.aseprite.org/
Licenses : custom
Groups : None
Provides : None
Depends On : cmark libcurl.so=4-64 libgif.so=7-64 libjpeg.so=8-64 zlib libpng tinyxml libfreetype.so=6-64 libarchive.so=13-64
libfmt.so=8-64 libwebp.so=7-64 libwebpmux.so=3-64 libwebpdemux.so=2-64 hicolor-icon-theme libexpat.so=1-64
libharfbuzz.so=0-64 libgl libfontconfig.so=1-64 libxcursor
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 14.22 MiB
Packager : Unknown Packager
Build Date : Sat 03 Sep 2022 14:08:08 BST
Install Date : Sat 03 Sep 2022 14:25:06 BST
Install Reason : Explicitly installed
Install Script : No
Validated By : None
And when I update via yay, I still get this:
yay -Syu
[sudo] password for xxxxxx:
:: Synchronising package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing fmt (9.1.0-1) breaks dependency 'libfmt.so=8-64' required by aseprite
-> error installing repo packages
@simona fixed!
l'installazione di fmt (9.1.0-1) interrompe la dipendenza 'libfmt.so=8-64' richiesta da aseprite
Works perfectly now, thank you.
A note that, per Aseprite's EULA, binaries created by this PKGBUILD CANNOT BE DISTRIBUTED.
I will comply with any upstream requests to remove this package.
@asday Should be fixed, shared-libwebp.patch
needed to be updated for current Aseprite.
I'm up to date with no updates available and base-devel
is installed. prepare()
fails with:
==> Starting prepare()...
patching file src/desktop/linux/aseprite.desktop
patching file src/desktop/linux/mime/aseprite.xml
patching file CMakeLists.txt
Hunk #1 succeeded at 48 (offset -6 lines).
Hunk #2 succeeded at 158 (offset -8 lines).
Hunk #3 succeeded at 198 (offset -8 lines).
patching file src/app/CMakeLists.txt
Hunk #1 succeeded at 672 with fuzz 1 (offset -26 lines).
patching file src/dio/CMakeLists.txt
Hunk #1 succeeded at 11 (offset 1 line).
patching file third_party/CMakeLists.txt
Hunk #1 succeeded at 113 (offset 7 lines).
patching file CMakeLists.txt
Hunk #1 succeeded at 52 (offset -8 lines).
Hunk #2 succeeded at 222 (offset 21 lines).
patching file src/app/CMakeLists.txt
Hunk #1 succeeded at 670 (offset 19 lines).
patching file third_party/CMakeLists.txt
Hunk #1 succeeded at 129 (offset 19 lines).
Hunk #2 succeeded at 148 (offset 24 lines).
patching file CMakeLists.txt
Hunk #1 succeeded at 58 (offset -8 lines).
Hunk #2 FAILED at 230.
1 out of 2 hunks FAILED -- saving rejects to file CMakeLists.txt.rej
patching file third_party/CMakeLists.txt
Hunk #1 FAILED at 32.
1 out of 1 hunk FAILED -- saving rejects to file third_party/CMakeLists.txt.rej
==> ERROR: A failure occurred in prepare().
Aborting...
The rejects files are as follows:
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -230,9 +231,17 @@ add_definitions(-DPNG_NO_MMX_CODE) # Do not use MMX optimizations in PNG code
# libwebp
if(ENABLE_WEBP)
- set(WEBP_LIBRARIES webp webpdemux libwebpmux)
- set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src)
- include_directories(${WEBP_INCLUDE_DIR})
+ if(USE_SHARED_WEBP)
+ find_library(WEBP_LIBRARY NAMES webp)
+ find_library(WEBPDEMUX_LIBRARY NAMES webpdemux)
+ find_library(WEBPMUX_LIBRARY NAMES webpmux)
+ set(WEBP_LIBRARIES ${WEBP_LIBRARY} ${WEBPDEMUX_LIBRARY} ${WEBPMUX_LIBRARY})
+ find_path(WEBP_INCLUDE_DIRS NAMES decode.h PATH_SUFFIXES webp)
+ else()
+ set(WEBP_LIBRARIES webp webpdemux libwebpmux)
+ set(WEBP_INCLUDE_DIR ${LIBWEBP_DIR}/src)
+ include_directories(${WEBP_INCLUDE_DIR})
+ endif()
endif()
# tinyxml
CMakeLists.txt.rej (END)
--- third_party/CMakeLists.txt
+++ third_party/CMakeLists.txt
@@ -32,7 +32,7 @@ if(NOT USE_SHARED_GIFLIB)
add_subdirectory(giflib)
endif()
-if(ENABLE_WEBP)
+if(ENABLE_WEBP AND NOT USE_SHARED_WEBP)
set(WEBP_BUILD_EXTRAS OFF CACHE BOOL "Build extras.")
add_subdirectory(libwebp)
endif()
third_party/CMakeLists.txt.rej (END)
Pinned Comments
ImperatorStorm commented on 2024-10-02 17:56 (UTC)
Remember: You are expected to have the
base-devel
metapackage installed before using the AUR.ImperatorStorm commented on 2022-08-06 04:31 (UTC)
A note that, per Aseprite's EULA, binaries created by this PKGBUILD CANNOT BE DISTRIBUTED.
I will comply with any upstream requests to remove this package.
ImperatorStorm commented on 2022-01-06 00:07 (UTC)
Big thanks to ISSOtm for rewriting the PKGBUILD!
ImperatorStorm commented on 2021-12-31 21:31 (UTC) (edited on 2022-01-03 04:42 (UTC) by ImperatorStorm)
Hosting this package's PKGBUILD at https://github.com/ImperatorStorm/PKGBUILDs