Package Details: looking-glass-module-dkms 2:B6-10

Git Clone URL: https://aur.archlinux.org/looking-glass.git (read-only, click to copy)
Package Base: looking-glass
Description: A kernel module that implements a basic interface to the IVSHMEM device for when using LookingGlass in VM->VM mode
Upstream URL: https://looking-glass.io/
Licenses: GPL2
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 41
Popularity: 2.60
First Submitted: 2017-12-22 16:49 (UTC)
Last Updated: 2025-02-03 17:19 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Omar007 commented on 2022-01-25 12:49 (UTC)

@Torxed: It looks like you're for some reason building with a custom build environment instead of making a clean build. In this case, it's seems you're building with a 10.1 version of GDB living in your home directory? Please build in an up-to-date Arch environment (and preferably a clean one, e.g. use a chroot or something), otherwise you're on your own.

Torxed commented on 2022-01-25 09:05 (UTC)

Used yay, but I doubt that's the issue.


/usr/bin/ld: /usr/local/lib/libbfd.a(plugin.o): in function `try_load_plugin':
/home/anton/builds/gdb-10.1/bfd/plugin.c:274: undefined reference to `dlopen'
/usr/bin/ld: /home/anton/builds/gdb-10.1/bfd/plugin.c:354: undefined reference to `dlclose'
/usr/bin/ld: /home/anton/builds/gdb-10.1/bfd/plugin.c:312: undefined reference to `dlsym'
/usr/bin/ld: /home/anton/builds/gdb-10.1/bfd/plugin.c:274: undefined reference to `dlopen'
/usr/bin/ld: /home/anton/builds/gdb-10.1/bfd/plugin.c:281: undefined reference to `dlerror'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/looking-glass-host.dir/build.make:135: looking-glass-host] Error 1
make[1]: *** [CMakeFiles/Makefile2:248: CMakeFiles/looking-glass-host.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

lemmarathon commented on 2021-12-31 17:29 (UTC)

I get this error when running makepkg:

==> Starting build()...
mkdir: cannot create directory ‘client/build’: File exists
==> ERROR: A failure occurred in build().
    Aborting...

Fix:

From 2157d0bc3a3a0ee454ebb81983dd7eda8e460b85 Mon Sep 17 00:00:00 2001
From: lemmarathon <37196124+lemmarathon@users.noreply.github.com>
Date: Fri, 31 Dec 2021 09:27:29 -0800
Subject: [PATCH] Fix "cannot create directory" build error.

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index 3e2ee84..92f276b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,7 @@ _lgdir="${pkgbase}-${pkgver}"
 build() {
        cd "${srcdir}/${_lgdir}"
        for b in {client,host,obs}/build; do
-               mkdir "${b}"
+               mkdir -p "${b}"
                pushd "${b}"
                cmake -DCMAKE_INSTALL_PREFIX=/usr ..
                make
-- 
2.34.1

Ghosthree3 commented on 2021-12-15 09:49 (UTC)

Change source URL to https://looking-glass.io/artifact/stable/source

OzzyHelix commented on 2021-12-14 00:58 (UTC) (edited on 2021-12-14 01:00 (UTC) by OzzyHelix)

I get this when running attempting to run this

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://looking-glass.io/ci/host/source?id=715 Aborting... -> error downloading sources: looking-glass context: exit status 1

==> Making package: looking-glass 2:B4-1 (Mon 13 Dec 2021 07:51:38 PM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading looking-glass-B4.tar.gz... curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://looking-glass.io/ci/host/source?id=715 Aborting... -> error making: looking-glass

Omar007 commented on 2021-07-05 09:57 (UTC) (edited on 2021-07-05 10:56 (UTC) by Omar007)

Yea for a full repo distributed package it should probably be v1.0 or something. That is sort-of what I expected with the 'wait on the next release'. Though that can also still be a beta I suppose, but time will tell.

If you're just using the PKGBUILD without cloning the AUR repo it should be OK. I'll update this later today to add the build version fix and cover that issue though.

EDIT: Done

svenstaro commented on 2021-07-05 00:15 (UTC)

The reason is that the logic in version.cmake checks for the existence of a git repo and will then assume it's the LG git repo but it's actually the AUR git repo itself and that will then lead to a wrong version being reported. I told upstream about this and they produced this patch: https://github.com/gnif/LookingGlass/commit/6c545806abc5441be994a1f9315cfd75d4b89682

You should try applying that patch to make sure that upstream error reports carry the right version information.

svenstaro commented on 2021-07-04 23:40 (UTC)

I just talked to the developer and we'll keep it in AUR for the time being as per upstream wishes. One thing he mentioned is that the current version reported by this very package is wrong. I was able to reproduce the problem.

It should say:

186391981783 [I] main.c:2282 | main | Looking Glass (B3-0-g2973319bff)

what it does say is:

187133868380 [I] main.c:2282 | main | Looking Glass (a5194b94ac)

anthr76 commented on 2021-07-04 22:55 (UTC)

From what I understand gnif does not wish the community to package looking-glass yet

https://github.com/gnif/LookingGlass/issues/168

Considering the GPL license shall we have this double checked?

Omar007 commented on 2021-07-04 20:15 (UTC) (edited on 2021-07-04 20:16 (UTC) by Omar007)

@Svenstaro: I have no problem with that. Would appreciate it if you could let me know if you end up ever dropping it (back to the AUR) though, I have no problem resuming work on it if/when that happens.