buillding error xorg-server 21.1.4

2024-10-30 Thread Fungal-net
I get the following error trying to build version 21.1.4
same build dependencies used for 21.1.3  (4/13/24) but different versions
gcc 14.2.1+r134
glibc  2.40+r16
binutils 2.43+r4
libtool 2.5.3

arch linux like system without systemd 

../xorg-server/os/access.c: In function ‘siHostnameAddrMatch’:
../xorg-server/os/access.c:1873:27: error: assignment to ‘const char **’ from 
incompatible pointer type ‘char **’ [-Wincompatible-pointer-types]
 1873 | for (addrlist = hp->h_addr_list; *addrlist; addrlist++)
  |   ^


https://termbin.com/fagc (more output before after error)





Re: buillding error xorg-server 21.1.4

2024-10-30 Thread Alan Coopersmith

On 10/30/24 05:38, Fungal-net wrote:

I get the following error trying to build version 21.1.4
same build dependencies used for 21.1.3  (4/13/24) but different versions
gcc 14.2.1+r134
glibc  2.40+r16
binutils 2.43+r4
libtool 2.5.3

arch linux like system without systemd

../xorg-server/os/access.c: In function ‘siHostnameAddrMatch’:
../xorg-server/os/access.c:1873:27: error: assignment to ‘const char **’ from 
incompatible pointer type ‘char **’ [-Wincompatible-pointer-types]
  1873 | for (addrlist = hp->h_addr_list; *addrlist; addrlist++)
   |   ^


The easy fix is to stop disabling IPv6 support when building Xorg.

But yes, it appears we also should have backported the fix for this issue that
gcc 14 has made an error:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1572

--
-Alan Coopersmith- alan.coopersm...@oracle.com
 Oracle Solaris Engineering - https://blogs.oracle.com/solaris


Re: Keyboard config proper documentation?

2024-10-30 Thread Alan Coopersmith

On 10/29/24 22:17, Alan Grimes wrote:
Is there anything that could be described as clear and consise documentation of 
how keyboards should be configured in 2024?


I don't know of anything that is all three of clear, concise, and up-to-date.

What we do have is at:
https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Config.html
https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Enhancing.html
https://www.x.org/wiki/XKB/
https://www.freedesktop.org/wiki/Software/XKeyboardConfig/ (under Links)

--
-Alan Coopersmith- alan.coopersm...@oracle.com
 Oracle Solaris Engineering - https://blogs.oracle.com/solaris