The xorgproto
package is missing from makedepends
array. This is what currently happens when trying to install aseprite
without xorgproto
installed:
==> Starting build()...
Done. Made 60 targets from 43 files in 307ms
ninja: Entering directory `out/Release-x64'
[258/1593] compile ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp
FAILED: obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o
c++ -MD -MF obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o.d -DNDEBUG -DSK_R32_SHIFT=16 -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../.. -fstrict-aliasing -fPIC -O3 -fdata-sections -ffunction-sections -Wno-unused-parameter -std=c++17 -fno-exceptions -fno-rtti -c ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp -o obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o
In file included from /usr/include/GL/glx.h:30,
from ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp:15:
/usr/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory
44 | #include <X11/X.h>
| ^~~~~~~~~
compilation terminated.
[267/1593] compile ../../src/sksl/SkSLSPIRVCodeGenerator.cpp
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Error making: aseprite
Pinned Comments
rouhannb commented on 2020-04-01 04:31
I decided to try it out for myself, and the same thing is happening to me. I’m not really sure why it’s happening, but my guess is that it has something to do with makepkg. I’ve tried building the AUR package depot-tools-git and I ran into the same problem, but cloning the repository by hand works fine.
I’ll just leave this pinned until the problem goes away: if the package is hanging when downloading depot_tools, run
git clone --bare https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
and rerun makepkg.