public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gettext] rawhide: Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests
@ 2026-07-30 12:09 matiwari
  0 siblings, 0 replies; only message in thread
From: matiwari @ 2026-07-30 12:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gettext
Branch : rawhide
Commit : 5c2653c7ae50d94b19939ddb7f6251b93a191f28
Author : matiwari <matiwari@redhat.com>
Date   : 2026-07-29T22:08:31+05:30
Stats  : +31/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gettext/c/5c2653c7ae50d94b19939ddb7f6251b93a191f28?branch=rawhide

Log:
Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests

---
diff --git a/gettext-1.0-gnulib-posix_addchdr.patch b/gettext-1.0-gnulib-posix_addchdr.patch
new file mode 100644
index 0000000..385d624
--- /dev/null
+++ b/gettext-1.0-gnulib-posix_addchdr.patch
@@ -0,0 +1,24 @@
+diff -ur gettext-1.0.orig/gettext-tools/gnulib-m4/posix_spawn_faction_addchdir.m4 gettext-1.0/gettext-tools/gnulib-m4/posix_spawn_faction_addchdir.m4
+--- gettext-1.0.orig/gettext-tools/gnulib-m4/posix_spawn_faction_addchdir.m4	2026-01-02 15:46:16.000000000 +0530
++++ gettext-1.0/gettext-tools/gnulib-m4/posix_spawn_faction_addchdir.m4	2026-07-27 23:50:21.890528572 +0530
+@@ -1,5 +1,5 @@
+ # posix_spawn_faction_addchdir.m4
+-# serial 2
++# serial 3
+ dnl Copyright (C) 2018-2026 Free Software Foundation, Inc.
+ dnl This file is free software; the Free Software Foundation
+ dnl gives unlimited permission to copy and/or distribute it,
+@@ -11,10 +11,11 @@
+   AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
+   AC_REQUIRE([AC_PROG_CC])
+   gl_POSIX_SPAWN
+-  AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addchdir])
++  AC_CHECK_DECLS([posix_spawn_file_actions_addchdir],,,
++    [[#include <spawn.h>]])
+   gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np],
+     [[#include <spawn.h>]])
+-  if test $ac_cv_func_posix_spawn_file_actions_addchdir = yes; then
++  if test $ac_cv_have_decl_posix_spawn_file_actions_addchdir = yes; then
+     dnl This function is not yet standardized. Therefore override the
+     dnl system's implementation always.
+     REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR=1

diff --git a/gettext.spec b/gettext.spec
index 0945941..1da174f 100644
--- a/gettext.spec
+++ b/gettext.spec
@@ -8,7 +8,7 @@
 Summary: GNU tools and libraries for localized translated messages
 Name: gettext
 Version: 1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 # The following are licensed under LGPLv2+:
 # - libintl and its headers
@@ -28,6 +28,7 @@ URL: https://www.gnu.org/software/gettext/
 Source: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
 Source2: msghack.py
 Source3: msghack.1
+Patch1: gettext-1.0-gnulib-posix_addchdr.patch
 
 # for bootstrapping
 # BuildRequires: autoconf >= 2.62
@@ -194,6 +195,7 @@ Substitutes the values of environment variables.
 
 %prep
 %setup -q
+%patch 1 -p1 -b .orig~
 autoreconf
 
 # Defeat libtextstyle attempt to bundle libxml2.  The comments
@@ -459,6 +461,10 @@ make check LIBUNISTRING=-lunistring
 %{_mandir}/man1/msghack.1*
 
 %changelog
+* Wed Jul 29 2026 Manish Tiwari <matiwari@redhat.com> - 1.0-3
+- https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00165.html
+- Upstream patch to fix gnulib posix_spawn_file_actions_addchdir detection on glibc 2.44
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-30 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 12:09 [rpms/gettext] rawhide: Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests matiwari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox