You are not logged in.

#1 2025-12-31 02:05:08

neoire
Member
Registered: 2015-08-07
Posts: 8

[SOLVED]Keyd cannot resolve include file after upgrade to 2.6

Hey all,

I posed this on the upstream repo, but thought might alert the community here as well:

https://github.com/rvaiya/keyd/issues/1189

tl;dr is that keyd can no longer resolve included layout file after upgrading to 2.6. The removal of the prefix param here looks suspicious, but I'm not versed in Makefile enough to pinpoint the exact root cause...

https://gitlab.archlinux.org/archlinux/ … fd6c_25_25

cheers,
Geoff

Last edited by neoire (2026-01-06 02:09:07)

Offline

#2 2025-12-31 11:07:48

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,471
Website

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

If it broke due to a packaging change you should open a new issue in gitlab: https://gitlab.archlinux.org/archlinux/ … d/-/issues

Offline

#3 2026-01-03 03:44:42

neoire
Member
Registered: 2015-08-07
Posts: 8

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

Ah OK. I don't have an account there, sent an email to request one. Thank you for the redirection

Offline

#4 2026-01-03 06:30:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,068

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

https://gitlab.archlinux.org/archlinux/ … fd6c_25_25 seems to only change the way the systemd service is installed.
Apparently the problem is that keyd doesn't resolve a relative path.

pacman -Qo /etc/keyd/keyd.conf

Looking at the upstream commit history, the most likely cause is actually https://github.com/rvaiya/keyd/commit/1 … 5c0c5032ed

Offline

#5 2026-01-04 04:59:34

neoire
Member
Registered: 2015-08-07
Posts: 8

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

Thank you for pointing me in that direction. Looking at the code, I think the core issues is that it doesn't resolve ABSOLUTE paths. It's either relative to the config path, or relative to the DATA_DIR defined here:

https://github.com/rvaiya/keyd/blob/7c0 … kefile#L20

And that depends on the prefix?

Offline

#6 2026-01-04 08:46:39

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,068

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

Ah. I missed that the building make depends on the $PREFIX (w/ no defaulting value), assuming it would only be relevant for the resolved upstream bug 801 (the systemd service)
Do you meantime have a gitlab account?

Offline

#7 2026-01-05 02:05:26

neoire
Member
Registered: 2015-08-07
Posts: 8

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

I haven't heard back for the account request... maybe you could file the bug in the meantime?

Offline

#8 2026-01-05 08:36:36

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,068

Offline

#9 2026-01-05 09:22:24

Antiz
Member
From: France
Registered: 2022-06-04
Posts: 12
Website

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

This should be fixed in keyd 2.6.0-2 (which I just pushed to [extra]): https://gitlab.archlinux.org/archlinux/ … ote_386928

Thanks for the report smile


Arch Linux Package Maintainer

Offline

#10 2026-01-05 13:58:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,068

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

\o/

@neoire, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#11 2026-01-06 02:07:59

neoire
Member
Registered: 2015-08-07
Posts: 8

Re: [SOLVED]Keyd cannot resolve include file after upgrade to 2.6

Thanks all! Will update the subject

Offline

Board footer

Powered by FluxBB