Package Details: looking-glass-git 2:B7.r238.gc8edf1ea-1

Git Clone URL: https://aur.archlinux.org/looking-glass-git.git (read-only, click to copy)
Package Base: looking-glass-git
Description: A client application for accessing the LookingGlass IVSHMEM device of a VM
Upstream URL: https://looking-glass.io/
Licenses: GPL-2.0-or-later
Conflicts: looking-glass
Provides: looking-glass
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 16
Popularity: 0.51
First Submitted: 2017-12-14 09:38 (UTC)
Last Updated: 2026-06-06 19:56 (UTC)

Dependencies (37)

Required by (1)

Sources (7)

Pinned Comments

Omar007 commented on 2025-08-08 12:31 (UTC) (edited on 2025-08-08 12:34 (UTC) by Omar007)

If you encounter any issues building a package from this PKGBUILD and/or running the resulting binaries:

DO NOT CONTACT UPSTREAM!!!

This PKGBUILD is not supported nor provided by upstream!

Only leave messages here on the AUR!

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

Omar007 commented on 2026-05-28 20:43 (UTC)

@hasardeur; no worries, I would prefer hearing about a potential issue and see if we can reproduce or pinpoint it rather than not hearing anything at all and finding out later it was reproducibly broken.

hasardeur commented on 2026-05-28 18:58 (UTC)

@Omar007 It fails even in chroot (using: extra-x86_64-build) - BUT only on one machine. All, meaning three others, of its identical twins build correctly. It must be something on that machine. When posting the error, it did not occur to me to test by replicating on a twin.

Obviously, there is no error connected to this package. Sorry to bother you - mea culpa.

Omar007 commented on 2026-05-26 18:44 (UTC) (edited on 2026-05-26 18:45 (UTC) by Omar007)

@hasardeur; I recently updated the patches being applied and removed those that can't be reproduced on any Arch system (any chroot, container or even bare-metal system build I have tried does not have this problem).

What system/distro are you on? Are you using any custom (makepkg/paru/...) flags? Can you reproduce it with/in a clean chroot?

hasardeur commented on 2026-05-26 16:00 (UTC) (edited on 2026-05-26 16:11 (UTC) by hasardeur)

GCC 16.1.1 appears to diagnose maybe-uninitialized warnings more aggressively than previous versions. My build fails like this:

-- The C compiler identification is GNU 16.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_MARCH_X86_64_V2
-- Performing Test COMPILER_SUPPORTS_MARCH_X86_64_V2 - Success
-- BFD libs: /usr/lib/libbfd.so
-- Found BFD: /usr/lib/libbfd.so
-- BFD libs: /usr/lib/libbfd.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for modules 'gio-2.0;gio-unix-2.0;libpipewire-0.3;libspa-0.2'
--   Found gio-2.0, version 2.88.1
--   Found gio-unix-2.0, version 2.88.1
--   Found libpipewire-0.3, version 1.6.5
--   Found libspa-0.2, version 0.2
-- The following features have been enabled:

 * ENABLE_BACKTRACE, Backtrace support.
 * USE_XCB, XCB/XSHM capture backend.
 * USE_PIPEWIRE, Pipewire Screencast capture backend.

-- The following features have been disabled:

 * OPTIMIZE_FOR_NATIVE, Optimized for x86-64-v2
 * ENABLE_ASAN, AddressSanitizer support.
 * ENABLE_UBSAN, UndefinedBehaviorSanitizer support.

-- Configuring done (0.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/hasardeur/.cache/paru/clone/looking-glass-git/src/looking-glass/host/build

**----- output omitted for brevity ------**

[ 75%] Building C object platform/Linux/capture/pipewire/CMakeFiles/capture_pipewire.dir/src/pipewire.c.o
[ 77%] Linking C static library libcapture_XCB.a
[ 77%] Built target capture_XCB
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:34,
                 from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /home/hasardeur/.cache/paru/clone/looking-glass-git/src/looking-glass/host/platform/Linux/capture/pipewire/src/portal.c:27:
In function ‘glib_autoptr_clear_GVariant’,
    inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1,
    inlined from ‘portal_createScreenCastSession’ at /home/hasardeur/.cache/paru/clone/looking-glass-git/src/looking-glass/host/platform/Linux/capture/pipewire/src/portal.c:201:23:
/usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: error: ‘response’ may be used uninitialized [-Werror=maybe-uninitialized]
   96 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GVariant, g_variant_unref)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
make[2]: *** [platform/Linux/capture/pipewire/CMakeFiles/capture_pipewire.dir/build.make:93: platform/Linux/capture/pipewire/CMakeFiles/capture_pipewire.dir/src/portal.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:549: platform/Linux/capture/pipewire/CMakeFiles/capture_pipewire.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'looking-glass-git-2:B7.r190.g7f31ecf5-1'

A possible fix would be to alter the PKGBUILD like this:

build() {
    cd "${srcdir}/${_pkgname}"
    for b in {client,host,obs}/build; do
        mkdir "${b}"
        pushd "${b}"
        cmake \
            -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_C_FLAGS="-Wno-error=maybe-uninitialized" \
            -DCMAKE_CXX_FLAGS="-Wno-error=maybe-uninitialized" \
            ..
        make
        popd
    done
}

Brian2026 commented on 2026-05-10 21:12 (UTC)

Will not build on CachyOS with the following error:

30%] Linking C static library libwayland_protocol.a [ 30%] Linking C static library liblg_common_platform_code.a [ 30%] Built target wayland_protocol [ 30%] Built target lg_common_platform_code [ 31%] Linking CXX static library cimgui.a [ 31%] Built target cimgui make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

12%] Generating ../../../wayland/wayland-presentation-time-client-protocol.c /home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c: In function ‘sha1’: /home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c:48:23: error: passing argument 2 of ‘nettle_sha1_digest’ makes pointer from integer without a cast [-Wint-conversion] 48 | #define SHA1_HASH_LEN 20 | ^~ | | | int /home/bdw/looking-glass-git/src/looking-glass/repos/PureSpice/src/rsa.c:65:21: note: in expansion of macro ‘SHA1_HASH_LEN’ 65 | sha1_digest(&ctx, SHA1_HASH_LEN, hash); | ^ compilation terminated due to -Wfatal-errors. make[2]: *** [PureSpice/CMakeFiles/purespice.dir/build.make:107: PureSpice/CMakeFiles/purespice.dir/src/rsa.c.o] Error 1

Omar007 commented on 2025-08-20 12:11 (UTC)

@WaiRo; if you're installing the client package only, OBS is not installed. OBS is only installed if you install the OBS plugin through pacman (which, if your OBS is not installed through pacman, you probably shouldn't be doing with any plugin).

What I'm guessing is that this isn't installation related but that you're not building in a clean chroot and thus are poluting your main system with the build process and the dependencies of anything you've been grabbing from the AUR.
If you don't want to build in a clean chroot to prevent all that, you can also edit the PKGBUILD and strip the components you don't want build and packaged so they do not get there in the first place. If you're using makepkg with -s, you can also have it clean them afterwards with the -r flag iirc (check the man/help before blindly using). Otherwise check the output of pacman -Qtdq afterwards and do some manual system cleaning.

WaiRo commented on 2025-08-20 10:28 (UTC) (edited on 2025-08-20 10:28 (UTC) by WaiRo)

Is there a way you could make the main package not depend on obs-studio, when I install looking-glass-git it pulls obs-studio, I use the flatpak version of obs and it overrides the .desktop file and opens the non-flatpak version.

Omar007 commented on 2025-08-08 12:31 (UTC) (edited on 2025-08-08 12:34 (UTC) by Omar007)

If you encounter any issues building a package from this PKGBUILD and/or running the resulting binaries:

DO NOT CONTACT UPSTREAM!!!

This PKGBUILD is not supported nor provided by upstream!

Only leave messages here on the AUR!

Netboy3 commented on 2025-08-02 21:55 (UTC)

@rogaro, did you read the 1st comment on the "similar issue" you've listed out? Just re-install the package so it will rebuild with properly linked libsframe version.

rogaro commented on 2025-08-02 20:17 (UTC) (edited on 2025-08-02 20:29 (UTC) by rogaro)

Ever since 31/07/2025, with binutils update 2.45, this program does not work and throws out the error:

"looking-glass-client: error while loading shared libraries: libsframe.so.1: cannot open shared object file: No such file or directory"

as libsframe.so.1 was replaced with libsframe.so.2 .

Similar to this issue I found: https://bugs.archlinux.org/task/79278