Package Details: looking-glass 2:B4-1

Git Clone URL: https://aur.archlinux.org/looking-glass.git (read-only, click to copy)
Package Base: looking-glass
Description: A client application for accessing the LookingGlass IVSHMEM device of a VM
Upstream URL: https://looking-glass.io/
Licenses: GPL2
Submitter: Omar007
Maintainer: Omar007
Last Packager: Omar007
Votes: 17
Popularity: 0.77
First Submitted: 2017-12-22 16:49
Last Updated: 2021-07-19 09:09

Latest Comments

1 2 3 4 Next › Last »

Omar007 commented on 2021-07-05 09:57

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

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

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

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

@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.

Svenstaro commented on 2021-07-04 20:09

Do you mind me eventually smacking this into [community]? Won't be immediately, probably going to wait on the next release.

Omar007 commented on 2021-03-09 23:29

@dreieck: There is no newer release at the moment. B3 is still the latest. If the -git version works on newer kernels then it's already fixed upstream, just not bundled in a release yet. And if that version works for you, just use that.
Just make sure you're using the appropriate host application as well as you should've been notified about when you installed that version ;)

dreieck commented on 2021-03-09 20:39

`looking-glass-module-dkms-git' seems to work, though. Maybe this package here needs an update to a more recent fixed version/ commit?

Omar007 commented on 2021-03-09 18:50

@dreieck: Not much I can do about that, that is an upstream problem. Kernels past 5.9 no longer have the 'res' field afaik so it'd need to be made compatible.

dreieck commented on 2021-03-09 18:25

Somehow dkms fails on me:

DKMS make.log for looking-glass-B2 for kernel 5.11.0-pf3-custom (x86_64)
Tue Mar  9 19:21:18 CET 2021
make -C /usr/lib/modules/5.11.0-pf3-custom/build M=/var/lib/dkms/looking-glass/B2/build modules
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/usr/lib/modules/5.11.0-pf3-custom/build'
  CC [M]  /var/lib/dkms/looking-glass/B2/build/kvmfr.o
/var/lib/dkms/looking-glass/B2/build/kvmfr.c: In function ‘kvmfr_pci_probe’:
/var/lib/dkms/looking-glass/B2/build/kvmfr.c:305:15: error: ‘struct dev_pagemap’ has no member named ‘res’; did you mean ‘ref’?
  305 |   kdev->pgmap.res.start = pci_resource_start(dev, 2);
      |               ^~~
      |               ref
/var/lib/dkms/looking-glass/B2/build/kvmfr.c:306:15: error: ‘struct dev_pagemap’ has no member named ‘res’; did you mean ‘ref’?
  306 |   kdev->pgmap.res.end   = pci_resource_end  (dev, 2);
      |               ^~~
      |               ref
/var/lib/dkms/looking-glass/B2/build/kvmfr.c:307:15: error: ‘struct dev_pagemap’ has no member named ‘res’; did you mean ‘ref’?
  307 |   kdev->pgmap.res.flags = pci_resource_flags(dev, 2);
      |               ^~~
      |               ref
/var/lib/dkms/looking-glass/B2/build/kvmfr.c:308:27: error: ‘MEMORY_DEVICE_DEVDAX’ undeclared (first use in this function); did you mean ‘MEMORY_DEVICE_FS_DAX’?
  308 |   kdev->pgmap.type      = MEMORY_DEVICE_DEVDAX;
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           MEMORY_DEVICE_FS_DAX
/var/lib/dkms/looking-glass/B2/build/kvmfr.c:308:27: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:279: /var/lib/dkms/looking-glass/B2/build/kvmfr.o] Error 1
make[1]: *** [Makefile:1803: /var/lib/dkms/looking-glass/B2/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.11.0-pf3-custom/build'
make: *** [Makefile:7: all] Error 2