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

Latest Comments

« First ‹ Previous 1 2

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!

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

Hm, when I compile this locally, and then launch Ladybird (from ladybird-git package, which depends on angle), it fails with

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

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 (0x00007fb115290000)
    libGLESv2.so => /usr/lib/libGLESv2.so (0x00007fb1151fd000)
    libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0x00007fb115184000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007fb114e00000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007fb115292000)

/usr/lib/libGLESv2.so and /usr/lib/libGLdispatch.so.0 are owned by package libglvnd, version 1.7.0-3.

Regards!

dreieck commented on 2025-08-25 09:21 (UTC) (edited on 2025-08-25 09:22 (UTC) by dreieck)

Ahoj,

thanks for this package.

Please go similar to the Arch Linux guidelines on git submodules and download the stuff, which you currently manually download in prepare(), already via the source array, and only reference it in prepare().

Regards!

CxByte commented on 2025-08-21 07:06 (UTC)

@LiamillionSS thanks! I forgot to update makedepends yesterday :P

LiamillionSS commented on 2025-08-21 01:58 (UTC)

Latest update 7258-3 is failing to build with .cache/yay/angle/PKGBUILD: line 49: gn: command not found

CxByte commented on 2025-07-17 21:05 (UTC) (edited on 2025-07-17 21:16 (UTC) by CxByte)

wow, yeah it totally does...somehow... looks like glXQueryExtension() somehow ends up finding this and crashing for some reason? will take a look, doesn't seem to go away with a different libname (I've tried libANGLE-*.so, lib*-ANGLE.so and lib*_ANGLE.so so far to the same effect)

For now I'll move the libs and the sources to /opt, that should avoid messing with whatever GL is trying to do.

tadia commented on 2025-07-17 19:42 (UTC)

This package breaks all firefox-based browsers!