* [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0
@ 2025-09-11 10:10 Waldemar Brodkorb
2025-09-13 21:28 ` Julien Olivain via buildroot
2025-09-19 12:58 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2025-09-11 10:10 UTC (permalink / raw)
To: buildroot
There is following compile error with gcc 15.1.0:
auth.c: In function 'GenerateRandomData': auth.c:320:5: warning:
ignoring return value of 'read' declared with attribute
'warn_unused_result' [-Wunused-result] 320 | read(fd, buf, len);
| ^~~~~~~~~~~~~~~~~~ In file included from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:548,
from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xos.h:62,
from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtrans.h:54,
from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransint.h:79,
from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/transport.c:55,
from xstrans.c:17: In function 'strncpy', inlined from
'_XSERVTransGetHostname' at
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtrans.c:1351:5,
inlined from '_XSERVTransConvertAddress' at
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransutil.c:188:12:
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:100:10:
error: '__builtin_strncpy' offset [130, 319] from the object at 'name'
is out of the bounds of referenced subobject 'nodename' with type
'char[65]' at offset 65 [-Werror=array-bounds=] 100 | return
__builtin___strncpy_chk (__dest, __src, __len, |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 |
__glibc_objsize (__dest)); |
~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransint.h:105:
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/utsname.h:
In function '_XSERVTransConvertAddress':
/home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/utsname.h:54:10:
note: subobject 'nodename' declared here 54 | char
nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ cc1: some
warnings being treated as errors make[2]: *** [Makefile:696: xstrans.lo]
Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving
directory
'/home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18/os'
make[1]: *** [Makefile:796: all-recursive] Error 1 make[1]: Leaving
directory '/home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18'
make: *** [package/pkg-generic.mk:273:
/home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18/.stamp_built]
Error 2
The update fixes the compile error.
See here for changes:
https://lists.x.org/archives/xorg/2025-March/061900.html
The COPYRIGHT was updated from 2005 to 2025.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/x11r7/xlib_xtrans/xlib_xtrans.hash | 8 ++++----
package/x11r7/xlib_xtrans/xlib_xtrans.mk | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.hash b/package/x11r7/xlib_xtrans/xlib_xtrans.hash
index 9595a73d0e..530f2e858a 100644
--- a/package/x11r7/xlib_xtrans/xlib_xtrans.hash
+++ b/package/x11r7/xlib_xtrans/xlib_xtrans.hash
@@ -1,5 +1,5 @@
-# From https://lists.x.org/archives/xorg-announce/2023-June/003399.html
-sha256 1ba4b703696bfddbf40bacf25bce4e3efb2a0088878f017a50e9884b0c8fb1bd xtrans-1.5.0.tar.xz
-sha512 e8091f11d4ad2b14e01de3eac56bdf2267ea26687ce66e3056374d0d02e049480c0b27c482f8828a0efd086f1e4c485108ca4dce3f83d66c1896effa3b38b228 xtrans-1.5.0.tar.xz
+# From https://www.mail-archive.com/xorg-announce@lists.x.org/msg01797.html
+sha256 faafea166bf2451a173d9d593352940ec6404145c5d1da5c213423ce4d359e92 xtrans-1.6.0.tar.xz
+sha512 e0ac4a2df0eeacdf23cedd74fee063a8eea81d05c4c4c9a9a113b9b4238db7cacb3c831973ac647fe1a5b06426dcdf0b2f8be5ac27862700333269880e25725b xtrans-1.6.0.tar.xz
# Locally computed
-sha256 22616bf00b6db85ee3164775a95206894af987b85ff1a7703de55644bc722a39 COPYING
+sha256 3fe68a84ab89e82947e560316ab70cf2d02a8b978ae5cf4fbdfd53fc5b917308 COPYING
diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.mk b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
index 001705bb2e..152c080a87 100644
--- a/package/x11r7/xlib_xtrans/xlib_xtrans.mk
+++ b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
@@ -4,7 +4,7 @@
#
################################################################################
-XLIB_XTRANS_VERSION = 1.5.0
+XLIB_XTRANS_VERSION = 1.6.0
XLIB_XTRANS_SOURCE = xtrans-$(XLIB_XTRANS_VERSION).tar.xz
XLIB_XTRANS_SITE = https://xorg.freedesktop.org/archive/individual/lib
XLIB_XTRANS_LICENSE = MIT
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0
2025-09-11 10:10 [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0 Waldemar Brodkorb
@ 2025-09-13 21:28 ` Julien Olivain via buildroot
2025-09-19 12:58 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2025-09-13 21:28 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
On 11/09/2025 12:10, Waldemar Brodkorb wrote:
> There is following compile error with gcc 15.1.0:
[...]
> The update fixes the compile error.
>
> See here for changes:
> https://lists.x.org/archives/xorg/2025-March/061900.html
>
> The COPYRIGHT was updated from 2005 to 2025.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0
2025-09-11 10:10 [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0 Waldemar Brodkorb
2025-09-13 21:28 ` Julien Olivain via buildroot
@ 2025-09-19 12:58 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2025-09-19 12:58 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: Thomas Perale, buildroot
In reply of:
> There is following compile error with gcc 15.1.0:
>
> auth.c: In function 'GenerateRandomData': auth.c:320:5: warning:
> ignoring return value of 'read' declared with attribute
> 'warn_unused_result' [-Wunused-result] 320 | read(fd, buf, len);
> | ^~~~~~~~~~~~~~~~~~ In file included from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:548,
> from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xos.h:62,
> from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtrans.h:54,
> from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransint.h:79,
> from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/transport.c:55,
> from xstrans.c:17: In function 'strncpy', inlined from
> '_XSERVTransGetHostname' at
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtrans.c:1351:5,
> inlined from '_XSERVTransConvertAddress' at
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransutil.c:188:12:
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:100:10:
> error: '__builtin_strncpy' offset [130, 319] from the object at 'name'
> is out of the bounds of referenced subobject 'nodename' with type
> 'char[65]' at offset 65 [-Werror=array-bounds=] 100 | return
> __builtin___strncpy_chk (__dest, __src, __len, |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 101 |
> __glibc_objsize (__dest)); |
> ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/X11/Xtrans/Xtransint.h:105:
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/utsname.h:
> In function '_XSERVTransConvertAddress':
> /home/wbx/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/utsname.h:54:10:
> note: subobject 'nodename' declared here 54 | char
> nodename[_UTSNAME_NODENAME_LENGTH]; | ^~~~~~~~ cc1: some
> warnings being treated as errors make[2]: *** [Makefile:696: xstrans.lo]
> Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving
> directory
> '/home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18/os'
> make[1]: *** [Makefile:796: all-recursive] Error 1 make[1]: Leaving
> directory '/home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18'
> make: *** [package/pkg-generic.mk:273:
> /home/wbx/buildroot/output/build/xserver_xorg-server-21.1.18/.stamp_built]
> Error 2
>
> The update fixes the compile error.
>
> See here for changes:
> https://lists.x.org/archives/xorg/2025-March/061900.html
>
> The COPYRIGHT was updated from 2005 to 2025.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Applied to 2025.08.x. Thanks
> ---
> package/x11r7/xlib_xtrans/xlib_xtrans.hash | 8 ++++----
> package/x11r7/xlib_xtrans/xlib_xtrans.mk | 2 +-
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.hash b/package/x11r7/xlib_xtrans/xlib_xtrans.hash
> index 9595a73d0e..530f2e858a 100644
> --- a/package/x11r7/xlib_xtrans/xlib_xtrans.hash
> +++ b/package/x11r7/xlib_xtrans/xlib_xtrans.hash
> @@ -1,5 +1,5 @@
> -# From https://lists.x.org/archives/xorg-announce/2023-June/003399.html
> -sha256 1ba4b703696bfddbf40bacf25bce4e3efb2a0088878f017a50e9884b0c8fb1bd xtrans-1.5.0.tar.xz
> -sha512 e8091f11d4ad2b14e01de3eac56bdf2267ea26687ce66e3056374d0d02e049480c0b27c482f8828a0efd086f1e4c485108ca4dce3f83d66c1896effa3b38b228 xtrans-1.5.0.tar.xz
> +# From https://www.mail-archive.com/xorg-announce@lists.x.org/msg01797.html
> +sha256 faafea166bf2451a173d9d593352940ec6404145c5d1da5c213423ce4d359e92 xtrans-1.6.0.tar.xz
> +sha512 e0ac4a2df0eeacdf23cedd74fee063a8eea81d05c4c4c9a9a113b9b4238db7cacb3c831973ac647fe1a5b06426dcdf0b2f8be5ac27862700333269880e25725b xtrans-1.6.0.tar.xz
> # Locally computed
> -sha256 22616bf00b6db85ee3164775a95206894af987b85ff1a7703de55644bc722a39 COPYING
> +sha256 3fe68a84ab89e82947e560316ab70cf2d02a8b978ae5cf4fbdfd53fc5b917308 COPYING
> diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.mk b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
> index 001705bb2e..152c080a87 100644
> --- a/package/x11r7/xlib_xtrans/xlib_xtrans.mk
> +++ b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -XLIB_XTRANS_VERSION = 1.5.0
> +XLIB_XTRANS_VERSION = 1.6.0
> XLIB_XTRANS_SOURCE = xtrans-$(XLIB_XTRANS_VERSION).tar.xz
> XLIB_XTRANS_SITE = https://xorg.freedesktop.org/archive/individual/lib
> XLIB_XTRANS_LICENSE = MIT
> --
> 2.47.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-19 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 10:10 [Buildroot] [PATCH] package/xlib_xtrans: bump to 1.6.0 Waldemar Brodkorb
2025-09-13 21:28 ` Julien Olivain via buildroot
2025-09-19 12:58 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox