Fuck it, compiling with GCC>=13 is broken
Seems to build fine with GCC 13.2.1 on my system. Building with clang
isn't a bad idea though, given that it's consistent with upstream.
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: | 123 |
Popularity: | 3.09 |
First Submitted: | 2011-11-01 17:40 (UTC) |
Last Updated: | 2025-01-28 21:03 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 29 Next › Last »
Fuck it, compiling with GCC>=13 is broken
Seems to build fine with GCC 13.2.1 on my system. Building with clang
isn't a bad idea though, given that it's consistent with upstream.
Waiting for the stable release of 1.3 to update.
The upstream has 1.3rc versions out already. Is this package going to get updated for that anytime soon?
@moros1138: The problem appears to stem from line 24 in the Gist: CMake can't find pkg-config. Either you don't have it installed (but it's a dependency of base-devel
, so you should have the pkgconf
package), or your cmake
install lacks /usr/share/cmake/Modules/FindPkgConfig.cmake
, or that script is broken.
The dependency is not fixed in the PKGBUILD itself, instead it picks up the version of fmt
that you have when you build the package.
There should be two ways of resolving the upgrade issue:
pacman -R aseprite
), upgrade (pacman -Syu
), then rebuild and reinstall Aseprite (makepkg -i
/ yay -S aseprite
/ ...)pacman -Syu --assume-installed=libfmt.so=9-64
and rebuild and reinstall Aseprite right after (the extra switch forces Pacman to proceed despite the dependency breakage; if you don't update Aseprite, you should get an error about not being able to load libfmt.so.9
)Notice that Aseprite must be built against the newest version of the fmt library but the dependency is still fixed to this exact version. See: https://www.reddit.com/r/archlinux/comments/15d4uks/aur_dependency_issue_with_libfmtso/
Is it because I'm on Manjaro that I'm getting all of these "NOT FOUND" errors?
Everything prior to the provided log appears to be working as expected. Any guidance?
https://gist.github.com/Moros1138/8d8fe7642a348a230a3b7636fe31580c
Please set them or make sure they are set and tested correctly in the CMake files:
/home/moros/Downloads/aseprite/src/aseprite/laf/ft/HARFBUZZ_INCLUDE_DIRS
used as include directory in directory /home/moros/Downloads/aseprite/src/aseprite/laf/ft
HARFBUZZ_INCLUDE_DIRS (ADVANCED)
used as include directory in directory /home/moros/Downloads/aseprite/src/aseprite
... clipped to avoid wall, it's in the linked gist ...
CMake Error in third_party/CMakeLists.txt:
Found relative path while evaluating include directories of "tinyexpr":
"HARFBUZZ_INCLUDE_DIRS-NOTFOUND"
CMake Error in third_party/CMakeLists.txt:
Found relative path while evaluating include directories of "lua":
"HARFBUZZ_INCLUDE_DIRS-NOTFOUND"
... clipped to avoid wall, it's in the linked gist ...
-- Generating done (0.1s)
CMake Generate step failed. Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
Aborting...
edited to minimize the wall and shared a gist containing the complete log.
GCC>=13 broken, switching to clang
for time being
@Rubonnek done!
Could the websocket functionality be enabled? Enabling it would allow plugins such as Pribambase to work as expected.
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