alerque: I fail to see how that would help, this error is from before prepare runs (in fact, prepare does clean up and relink the submodules).
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/angle.git (read-only, click to copy) |
|---|---|
| Package Base: | angle |
| Description: | A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android. |
| Upstream URL: | https://chromium.googlesource.com/angle/angle |
| Licenses: | BSD-3-Clause |
| Conflicts: | angle |
| Provides: | angle |
| Submitter: | CxByte |
| Maintainer: | CxByte |
| Last Packager: | CxByte |
| Votes: | 4 |
| Popularity: | 0.81 |
| First Submitted: | 2025-07-09 13:38 (UTC) |
| Last Updated: | 2025-09-05 19:14 (UTC) |
alerque: I fail to see how that would help, this error is from before prepare runs (in fact, prepare does clean up and relink the submodules).
You should fix that at the top of prepare() not the end of package(). Also the reset should not be 'origin/main', it should just be to 'HEAD' so that makepkg is actually in charge of getting you in the right (ephemeral) branch relative to the source array.
alerque: I'd love to do that, but leaving the submodules in-tree makes makepkg very sad.
==> Extracting sources...
-> Creating working copy of angle git repo...
error: expected submodule path 'build' not to be a symbolic link
==> ERROR: Failure while updating working copy of angle git repo
Aborting...
The package() function has no business doing a hard reset on the Git source repo after it is done, please remove that completely.
I've added pciutils to makedepends, hopefully that fixes it :)
Failing in a clean chroot here too. base is not installed. See: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites
base is not assumed to be installed at build time. Please add pciutils to depends or makedepends.
@sweatiest looks like it also needs linux-headers as makedepends...
==> Making package: angle 7258-5 (Tue Aug 26 22:33:40 2025)
[...]
[234/1056] CXX obj/angle_gpu_info_util/SystemInfo_libpci.o
FAILED: obj/angle_gpu_info_util/SystemInfo_libpci.o
g++ -MD -MF obj/angle_gpu_info_util/SystemInfo_libpci.o.d -DGPU_INFO_USE_LIBPCI -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DANGLE_IS_LINUX -DANGLE_ENABLE_SHARE_CONTEXT_LOCK=1 -DANGLE_ENABLE_CONTEXT_MUTEX=1 -DANGLE_USE_VULKAN_DISPLAY -DEGL_NO_X11 -DANGLE_USE_WAYLAND -DANGLE_VULKAN_DISPLAY_MODE_HEADLESS -DANGLE_HAS_ASTCENC -DANGLE_OUTSIDE_WEBKIT -DANGLE_EXPOSE_NON_CONFORMANT_EXTENSIONS_AND_VERSIONS -DANGLE_ENABLE_OPENGL -DANGLE_ENABLE_GL_DESKTOP_BACKEND -DANGLE_ENABLE_OPENGL_NULL -DANGLE_HAS_LIBDRM -DANGLE_ENABLE_VULKAN -DANGLE_ENABLE_CRC_FOR_PIPELINE_CACHE -DANGLE_USE_ABSEIL -DABSL_ALLOCATOR_NOTHROW=1 -DVK_USE_PLATFORM_WAYLAND_KHR -DANGLE_USE_CUSTOM_LIBVULKAN -DANGLE_SHARED_LIBVULKAN=1 -I../../include -I../../src -I../../src/third_party/khronos -I../../src/common/base -I../../src/common/third_party/xxhash -I../../third_party/abseil-cpp -I../../third_party/wayland/egl -I../../third_party/wayland/src -I../../third_party/vulkan-headers/src/include -I../../src/third_party/volk -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-strict-overflow -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -fno-omit-frame-pointer -gdwarf-4 -g2 -fvisibility=hidden -O2 -fdata-sections -ffunction-sections -fno-math-errno -Wno-narrowing -Wno-class-memaccess -Wno-invalid-offsetof -std=gnu++2a -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wdeprecated-copy -c ../../src/gpu_info_util/SystemInfo_libpci.cpp -o obj/angle_gpu_info_util/SystemInfo_libpci.o
../../src/gpu_info_util/SystemInfo_libpci.cpp:12:10: fatal error: pci/pci.h: No such file or directory
12 | #include <pci/pci.h>
| ^~~~~~~~~~~
compilation terminated.
[235/1056] CC obj/third_party/zlib/zlib_data_chunk_simd/inffast_chunk.o
[236/1056] CC obj/third_party/zlib/zlib/infback.o
[237/1056] CC obj/third_party/zlib/zlib/deflate.o
[238/1056] CC obj/third_party/zlib/zlib/trees.o
[239/1056] CC obj/third_party/zlib/zlib_crc32_simd/crc_folding.o
[240/1056] CC obj/third_party/zlib/zlib_data_chunk_simd/inflate.o
[241/1056] CXX obj/angle_gpu_info_util/SystemInfo_linux.o
[242/1056] CXX obj/third_party/spirv-tools/src/spvtools_val/validate_extensions.o
[243/1056] CXX obj/third_party/spirv-tools/src/spvtools_val/validate_type.o
[244/1056] CXX obj/angle_gpu_info_util/SystemInfo.o
[245/1056] CXX obj/third_party/spirv-tools/src/spvtools_val/validate_builtins.o
[246/1056] CXX obj/angle_gpu_info_util/SystemInfo_vulkan.o
[247/1056] CXX obj/third_party/spirv-tools/src/spvtools_val/validation_state.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/makepkg/build