@150Kirill150
In PKGBUILD before cmake line add
export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -D_FORTIFY_SOURCE=2 \ -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection"
It work
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: | 127 |
Popularity: | 4.22 |
First Submitted: | 2011-11-01 17:40 (UTC) |
Last Updated: | 2025-03-30 15:09 (UTC) |
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 30 Next › Last »
@150Kirill150
In PKGBUILD before cmake line add
export CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -D_FORTIFY_SOURCE=2 \ -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection"
It work
➜ ~ aseprite /usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; std::vector<_Tp, _Alloc>::reference = long unsigned int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. [1] 360108 abort sudo aseprite WHAT???
I figured out the issue and submitted a PR to the devs to fix the issue; see https://github.com/aseprite/aseprite/issues/2755 for details.
In the meantime, the flag that is causing the issue is -Wp,-D_GLIBCXX_ASSERTIONS
in CXXFLAGS
. If you want to temporarily override this flag, you can add export CXXFLAGS="$CFLAGS"
before the cmake
line in the PKGBUILD
until a new fix comes out.
Overriding all the build flags doesn't seem like a great solution; which flag(s) cause the crash?
Still having the same issues as @IZ5K, @Typology, and @aseoane. Is this an issue upstream with aseprite or is it how this project is compiled?
I have it working on one of my machines and don't know how, but on my other dev machine it won't compile. I fear a larger update will cause my main workstation to no longer work.
@IZ5K, @Typology I'm having the same issue
@IZ5K Same issue here
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