Package Details: kmonad-git 0.4.2.r1.g8440eaf-1

Git Clone URL: https://aur.archlinux.org/kmonad-git.git (read-only, click to copy)
Package Base: kmonad-git
Description: An advanced keyboard manager
Upstream URL: https://github.com/kmonad/kmonad
Licenses: MIT
Conflicts: kmonad
Provides: kmonad
Submitter: Bonnee
Maintainer: Bonnee
Last Packager: Bonnee
Votes: 4
Popularity: 0.037736
First Submitted: 2020-09-29 13:59 (UTC)
Last Updated: 2023-10-15 13:52 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2024-04-08 16:06 (UTC)

Ahoj,

thanks for the update.

  • You still download a big file in build(). Please move to source array or prepare(), if you really cannot handle it via a proper package specified in depends array.
  • build() for me shows the error ar: conftest.a: No such file or directory, but continues sucesfully afterwards:
==> Starting build()...
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-9.4.8.                                      
ar: conftest.a: No such file or directory                                              
Installed GHC.     
[1 of 3] Compiling Main [...]
[...]

Regards!

Bonnee commented on 2023-10-15 13:54 (UTC)

Sorry for the delay. I totally missed notifications about this issue. I have fixed the problem by referencing the new kmonad@.service file

dreieck commented on 2023-07-13 16:58 (UTC)

package() fails for me, too, with

install: cannot stat 'startup/kmonad.service': No such file or directory

Thanks for maintaining,
regards!

taogqt commented on 2023-05-20 00:16 (UTC)

install: cannot stat 'startup/kmonad.service': No such file or directory

https://github.com/kmonad/kmonad/pull/694/commits/16a1065e2ecb10f31d2617749e5a5227d3846769#diff-9b11cecb40ca3ffe765b4f876b15700834ee3b4de65a53de3c850ba237113c58

install -Dm644 "startup/${pkgname%-git}@.service" -t "$pkgdir/usr/lib/systemd/system" does get rid of the error

dreieck commented on 2022-08-03 10:19 (UTC)

Somehow ghc exits with segmentation fault during the build process.

In the terminal where I run makepkg, I get

[...]
colour              > copy/register
colour              > Installing library in /home/felics/.stack/snapshots/x86_64-linux-tinfo6/a1e00cbd0f528d8c078f41cfab8e3e5583f4240e74b1683ecbcecf1e14aab0e7/8.10.7/lib/x86_64-linux-ghc-8.10.7/colour-2.3.6-2cl6zeh1tuv4LM4jVThjAx
colour              > Registering library for colour-2.3.6..
Progress 4/43        

--  While building package base-orphans-0.8.6 (scroll up to its section to see the error) using:
      /home/felics/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure (-11)
[...]

and in dmesg, I find

[98951.664717] ghc[19127]: segfault at 7f87cdc21c6f ip 00007f87f7b48f21 sp 00007ffec1a366d8 error 6 in libHSghc-8.10.7-ghc8.10.7.so[7f87f456d000+49fc000]
[98951.664748] Code: 03 00 00 20 00 00 00 41 ff 65 f8 66 0f 1f 44 00 00 03 00 00 00 00 00 00 00 0f 00 00 00 f0 3c 7c 01 48 8d 45 c0 4c 39 f8 72 3f <48> 8b 05 88 3c 42 01 48 89 45 f0 48 89 5d f8 48 8d 05 41 00 00 00

dreieck commented on 2022-08-03 10:12 (UTC)

Ahoj,

thank you for the package!

Can you move any download and preparations out from build() into prepare()? So that build() does not need internet connectivity?

I am referring to the big download

Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
ghc-tinfo6-8.10.7:   82.07 MiB / 207.64 MiB ( 39.53%) downloaded...

(And, even better, could the file be downloaded via the source array?, this way custom download managers can be honoured, makepkgs checksumming, etc.?)

And, by the way, a minor comment: you could add =${pkgver} to the provides entry.

Thanks for maintaining!

Bonnee commented on 2022-01-20 19:36 (UTC)

Why does it need lld as a dependency? It builds just fine without it for me

fenuks commented on 2022-01-20 17:18 (UTC)

Please add lld to makedepends.

aulonsal commented on 2021-05-25 10:35 (UTC)

Please add install -Dm644 "startup/${pkgname%-git}.service" -t "$pkgdir/usr/lib/systemd/system" to the end of the package function as upstream now provides a systemd service.