FS#61635 - pt layout fails to load after xkeyboard-config update to 2.26-1

Attached to Project: Arch Linux
Opened by João O. Santos (Joao-O-Santos) - Tuesday, 05 February 2019, 05:28 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 05 February 2019, 16:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After doing a complete system upgrade and rebooting my pc, running "setxkbmap pt" (and similar commands) failed to load the Portuguese (PT not BR) keyboard layout, producing the following error message "Error loading new keyboard description".
Reverting to the previous version of the package fixed the problem.

I did some digging and it seems upstream added a pt version for the colemak keyboard at the end of the file: usr/share/X11/xkb/symbols/pt
As it turns out the lines pertaining to the colemak keyboard add some `` and an unrelated line before the colemak configuration also had an weird value. One or both of those things were causing the layout to load. Changing them fixed the problem.
Applying the attached patch to that file should fix the problem.

I am not sure if this is an upstream bug or was somehow introduced by the build, as I'm not skilled enough to fully understand the program or the build process.
I humbly ask for your help with this issue.

Additional info:
* package version(s) 2.26-1
* config and/or log files etc. Attached is a patch that fixed the bug.

Steps to reproduce:
On a system with xkeyboard-config 2.26-1 run:
setxkbmap pt
   pt.patch (5.3 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 05 February 2019, 16:21 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#61634 

Loading...