@lazerbeak Cannot reproduce, have you tried https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot ?
Search Criteria
Package Details: aseprite 1.3.17.2-2
Package Actions
| 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: | 143 |
| Popularity: | 1.85 |
| First Submitted: | 2011-11-01 17:40 (UTC) |
| Last Updated: | 2026-06-27 18:38 (UTC) |
Dependencies (38)
- cmark (cmark-gitAUR)
- curl (curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- fmt (fmt-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoled-gen3AUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR)
- giflib (giflib-gitAUR)
- harfbuzz (harfbuzz-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libarchive (libarchive-gitAUR)
- libarchive.so (libarchive-gitAUR, lib32-libarchive, libarchive)
- libcurl.so (curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libexpat.so (expat-gitAUR, expat, lib32-expat)
- libfmt.so (fmt10AUR, fmt9AUR, fmt11AUR, fmt-gitAUR, fmt)
- libfontconfig.so (fontconfig-gitAUR, fontconfig-ubuntuAUR, fontconfig, lib32-fontconfig)
- libfreetype.so (freetype2-qdoled-aw3225qfAUR, freetype2-qdoled-gen3AUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR, freetype2, lib32-freetype2)
- libgif.so (giflib-gitAUR, giflib)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd)
- libharfbuzz.so (lib32-harfbuzz-gitAUR, harfbuzz-gitAUR, harfbuzz, lib32-harfbuzz)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- Show 18 more dependencies...
Required by (1)
Sources (16)
- aseprite-strings
- change_use_of_removed_intrinsic.patch
- desktop.patch
- fix-shared-tinyxml2.patch
- fmt-12.2.0-include-format.patch
- https://github.com/aseprite/aseprite/releases/download/v1.3.17.2/Aseprite-v1.3.17.2-Source.zip
- include_cstdint.patch
- optional-pixman.patch
- shared-fmt.patch
- shared-libarchive.patch
- shared-libwebp-found.patch
- shared-libwebp.patch
- shared-skia-deps.patch
- shared_libjpeg-turbo.patch
- skia-m124-icu
- skia-m124.tar.gz
ImperatorStorm commented on 2026-07-15 02:02 (UTC)
lazerbeak12345 commented on 2026-07-15 01:38 (UTC)
Having issues building this.
The full error message was mostly comprised of multiple screen-heights of "undefined reference to"s which are almost certainly cascaded from whatever the actual issue is.
Here's the first little bit, I hope its helpful.
[1196/1196] Linking CXX executable bin/aseprite
FAILED: [code=1] bin/aseprite
: && /usr/bin/clang++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -std=c++11 -stdlib=libstdc++ -Wall -Wno-switch -Wimplicit-fallthrough -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,--start-group -Xlinker --dependency-file=src/CMakeFiles/aseprite.dir/link.d src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/liblauxlib.a lib/liblualib.a lib/liblua.a lib/libixwebsocket.a lib/libcfg-lib.a lib/libview-lib.a lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libcityhash.a lib/liblaf-dlgs.a lib/libui-lib.a lib/liblaf-text.a lib/liblaf-os.a lib/libclip.a -lxcb lib/liblaf-gfx.a /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libX11.so /usr/lib/libXext.so /usr/lib/libXcursor.so /usr/lib/libXrandr.so /usr/lib/libskia.a /usr/lib/libGL.so /usr/lib/libfontconfig.so -Wl,--end-group lib/liblaf-ft.a /home/nate/.cache/yay/aseprite/src/skia/obj/libskshaper.a /home/nate/.cache/yay/aseprite/src/skia/obj/libskunicode.a lib/libobs.a -lfmt lib/libupdater-lib.a lib/libver-lib.a lib/libundo.a /usr/lib/libcmark.so /usr/lib/libtinyxml2.so lib/libTinyEXIF.a /usr/lib/libtinyxml2.so.11.0.0 /usr/lib/libgif.so /usr/lib/libpng.so /usr/lib/libz.so -ljpeg /usr/lib/libarchive.so lib/libjson11.a /usr/lib/libfmt.so.12.2.0 lib/libtinyexpr.a /usr/lib/libwebp.so /usr/lib/libwebpdemux.so /usr/lib/libwebpmux.so /usr/lib/libfreetype.so /usr/lib/libharfbuzz.so lib/libnet-lib.a lib/liblaf-base.a -lpthread /usr/lib/libdl.a /usr/lib/libcurl.so && :
/usr/bin/ld: /tmp/lto-llvm-3e87b2.o: in function `app::Doc::Doc(doc::Sprite*)':
ld-temp.o:(.text._ZN3app3DocC2EPN3doc6SpriteE+0x16f): undefined reference to `SkPath::SkPath()'
/usr/bin/ld: /tmp/lto-llvm-3e87b2.o: in function `app::Doc::destroyMaskBoundaries()':
ld-temp.o:(.text._ZN3app3Doc21destroyMaskBoundariesEv+0x4d): undefined reference to `SkPath::rewind()'
/usr/bin/ld: /tmp/lto-llvm-3e87b2.o: in function `app::Doc::generateMaskBoundaries(doc::Mask const*)':
ld-temp.o:(.text._ZN3app3Doc22generateMaskBoundariesEPKN3doc4MaskE+0x52): undefined reference to `SkPath::rewind()'
it continues for several hundred rows, with a wide variety of unresolved symbols.
These are the last few rows (with username redacted)
/usr/bin/ld: /home/████/.cache/yay/aseprite/src/skia/obj/libskshaper.a(libskshaper.SkShaper_primitive.o): in function `SkShaperPrimitive::shape(char const*, unsigned long, SkShaper::FontRunIterator&, SkShaper::BiDiRunIterator&, SkShaper::ScriptRunIterator&, SkShaper::LanguageRunIterator&, SkShaper::Feature const*, unsigned long, float, SkShaper::RunHandler*) const':
SkShaper_primitive.cpp:(.text._ZNK17SkShaperPrimitive5shapeEPKcmRN8SkShaper15FontRunIteratorERNS2_15BiDiRunIteratorERNS2_17ScriptRunIteratorERNS2_19LanguageRunIteratorEPKNS2_7FeatureEmfPNS2_10RunHandlerE+0xca): undefined reference to `SkFont::textToGlyphs(void const*, unsigned long, SkTextEncoding, unsigned short*, int) const'
/usr/bin/ld: SkShaper_primitive.cpp:(.text._ZNK17SkShaperPrimitive5shapeEPKcmRN8SkShaper15FontRunIteratorERNS2_15BiDiRunIteratorERNS2_17ScriptRunIteratorERNS2_19LanguageRunIteratorEPKNS2_7FeatureEmfPNS2_10RunHandlerE+0x103): undefined reference to `SkFont::textToGlyphs(void const*, unsigned long, SkTextEncoding, unsigned short*, int) const'
/usr/bin/ld: SkShaper_primitive.cpp:(.text._ZNK17SkShaperPrimitive5shapeEPKcmRN8SkShaper15FontRunIteratorERNS2_15BiDiRunIteratorERNS2_17ScriptRunIteratorERNS2_19LanguageRunIteratorEPKNS2_7FeatureEmfPNS2_10RunHandlerE+0x12e): undefined reference to `SkFont::getWidthsBounds(unsigned short const*, int, float*, SkRect*, SkPaint const*) const'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: aseprite-exit status 4
-> Failed to install the following packages. Manual intervention is required:
aseprite - exit status 4
gwuensch commented on 2026-07-01 22:44 (UTC)
My bad, I didn't expect CMake to prefer the LLVM tools over Binutils and for this to be cached. I see you're already pinning ar to the non-llvm version elsewhere in the PKGBUILD, but this doesn't seem to take effect here.
May I ask you to specify ar and ranlib specifically for CMake like this?
-DCMAKE_AR=$(command -v ar) -DCMAKE_RANLIB=$(command -v ranlib)
It wouldn't change anything about building in a clean chroot, but could help users who are building in an environment with LLVM.
ImperatorStorm commented on 2026-07-01 17:11 (UTC)
@gwuensch Cannot reproduce, have you tried https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot ?
gwuensch commented on 2026-07-01 16:45 (UTC)
Missing llvm as make dependency:
[43/1005] Linking CXX static library lib/liblaf-base.a
FAILED: [code=127] lib/liblaf-base.a
: && /usr/bin/cmake -E rm -f lib/liblaf-base.a && /usr/bin/llvm-ar qc lib/liblaf-base.a ...
/bin/sh: line 1: /usr/bin/llvm-ar: No such file or directory
ImperatorStorm commented on 2026-03-20 18:19 (UTC)
@ZeekRClark fixed in 1.3.17-3
ZeekRClark commented on 2026-03-20 18:16 (UTC)
Getting the following error:
ln: failed to create symbolic link 'skia/third_party/externals/icu/skia-m124-icu': File exists ==> ERROR: A failure occurred in prepare().
ImperatorStorm commented on 2026-03-18 01:11 (UTC)
@starwort fixed with 1.3.17-2, thanks!
starwort commented on 2026-03-18 00:08 (UTC)
This package fails to build skia for me:
FAILED: [code=1] obj/modules/skcms/src/skcms_TransformHsw.skcms_TransformHsw.o
clang++ -MD -MF obj/modules/skcms/src/skcms_TransformHsw.skcms_TransformHsw.o.d -DNDEBUG -mavx2 -mf16c -std=c11 -Wno-attributes -ffp-contract=off -fstrict-aliasing -fPIC -fvisibility=hidden -O3 -fdata-sections -ffunction-sections -std=c++17 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -c ../modules/skcms/src/skcms_TransformHsw.cc -o obj/modules/skcms/src/skcms_TransformHsw.skcms_TransformHsw.o
In file included from ../modules/skcms/src/skcms_TransformHsw.cc:56:
../modules/skcms/src/Transform_inl.h:179:12: error: use of undeclared identifier '__builtin_ia32_vcvtph2ps256'; did you mean '__builtin_ia32_cvtpd2ps256'?
179 | return __builtin_ia32_vcvtph2ps256((I16)half);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| __builtin_ia32_cvtpd2ps256
/usr/lib/clang/22/include/avxintrin.h:2187:18: note: '__builtin_ia32_cvtpd2ps256' declared here
2187 | return (__m128)__builtin_ia32_cvtpd2ps256((__v4df) __a);
| ^
In file included from ../modules/skcms/src/skcms_TransformHsw.cc:56:
../modules/skcms/src/Transform_inl.h:179:40: error: cannot initialize a parameter of type '__attribute__((__vector_size__(4 * sizeof(double)))) double' (vector of 4 'double' values) with an rvalue of type 'I16' (vector of 8 'int16_t' values)
179 | return __builtin_ia32_vcvtph2ps256((I16)half);
| ^~~~~~~~~
2 errors generated.
I would debug it further but it's just gone midnight so I'd rather go to bed :)
ctrleon commented on 2026-02-15 12:27 (UTC)
Upgrade to cmark 0.31.2 breaks aseprite 1.3.16.1. Downgrading cmark to 0.31.1 seems to solve the issue.
❮ aseprite
aseprite: error while loading shared libraries: libcmark.so.0.31.1: cannot open shared object file: No such file or directory
❯ pacman -Qs 'aseprite|cmark'
local/aseprite 1.3.16.1-1
Create animated sprites and pixel art
local/aseprite-debug 1.3.16.1-1
Detached debugging symbols for aseprite
local/cmark 0.31.2-1
CommonMark parsing and rendering library and program in C
Pinned Comments
ImperatorStorm commented on 2024-10-02 17:56 (UTC)
Remember: You are expected to have the
base-develmetapackage 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