Package Details: angle 7258-6

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: 1
Popularity: 0.49
First Submitted: 2025-07-09 13:38 (UTC)
Last Updated: 2025-09-05 19:14 (UTC)

Latest Comments

1 2 Next › Last »

CxByte commented on 2025-09-05 19:15 (UTC)

I've added pciutils to makedepends, hopefully that fixes it :)

aorth commented on 2025-09-05 18:54 (UTC)

Failing in a clean chroot here too. base is not installed. See: https://wiki.archlinux.org/title/Arch_User_Repository#Prerequisites

sweatiest commented on 2025-09-05 08:21 (UTC)

base is not assumed to be installed at build time. Please add pciutils to depends or makedepends.

dbb commented on 2025-09-04 11:48 (UTC)

pci/pci.h comes from pciutils which is part of the base metapackage and thus assumed to be installed.

CxByte commented on 2025-08-27 05:04 (UTC)

@sweatiest looks like it also needs linux-headers as makedepends...

sweatiest commented on 2025-08-26 22:44 (UTC)

==> 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

dreieck commented on 2025-08-25 13:09 (UTC)

/usr/lib/libGLESv2.so is present on my system, too.

CxByte commented on 2025-08-25 12:57 (UTC) (edited on 2025-08-25 13:01 (UTC) by CxByte)

Noted, I'll switch to sources with manual symlinks then, probably easier for everyone involved.

Not sure about the symbol lookup issue, ldd seems to resolve it correctly (this is after installing libglvnd, so /usr/lib/libGLESv2.so should be present in the fs):

❯ ldd /opt/angle/usr/lib/libGLESv1_CM.so
ldd: warning: you do not have execution permission for `/opt/angle/usr/lib/libGLESv1_CM.so'
    linux-vdso.so.1 (0x00007f6a79cdc000)
    libGLESv2.so => /opt/angle/usr/lib/libGLESv2.so (0x00007f6a79600000)
    libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007f6a795be000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f6a79200000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f6a794b0000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f6a791d3000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f6a78e00000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007f6a79cde000)
    libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f6a794a4000)

dreieck commented on 2025-08-25 12:06 (UTC) (edited on 2025-08-25 12:07 (UTC) by dreieck)

  • Regarding manual download:

Can you then at least download into (a subdirectory of) ${SRCDEST}? So, that when this is set in e.g. /etc/makepkg.conf, the stuff gets downloaded to central source directory (and kept during reboots), and not to "scratch" build directory (which is frequently cleaned) (depending on system configuration)?

  • Regarding your changes to this PKGBUILD relating to the undefined symbol: GL_IsBuffer error:

Please add patchelf to the makedepends array:

==> Starting package()...
/var/cache/yay/angle/PKGBUILD: line 98: patchelf: command not found
==> ERROR: A failure occurred in package().

After installing it, your updated package still throws the undefined symbol error for me:

Ladybird: symbol lookup error: /opt/angle/usr/lib/libGLESv1_CM.so: undefined symbol: GL_IsBuffer

Regards!

CxByte commented on 2025-08-25 10:16 (UTC)

@dreieck I originally had them in sources, but placing the checkouts in the required locations somehow broke things into a million pieces, e.g.

==> Extracting sources...
  -> Creating working copy of angle git repo...
Reset branch 'makepkg'
  -> Creating working copy of angle/third_party/EGL-Registry/src git repo...
Reset branch 'makepkg'
  -> Creating working copy of angle/third_party/astc-encoder/src git repo...
fatal: unable to read tree (2319d9c4d4af53a7fc7c52985e264ce6e8a02a9b)
==> ERROR: Failure while creating working copy of angle/third_party/astc-encoder/src git repo
    Aborting...

re the symbol issue, interesting, I don't have libglvnd but I can see ldd failing to find libGLESv2.so; will fix - thanks!