Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sudo for openSUSE:Factory checked in 
at 2026-09-12 21:15:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sudo (Old)
 and      /work/SRC/openSUSE:Factory/.sudo.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sudo"

Sat Sep 12 21:15:12 2026 rev:158 rq:1377030 version:1.9.17p2

Changes:
--------
--- /work/SRC/openSUSE:Factory/sudo/sudo.changes        2026-06-12 
19:25:35.317324236 +0200
+++ /work/SRC/openSUSE:Factory/.sudo.new.1265/sudo.changes      2026-09-12 
21:15:24.262609723 +0200
@@ -1,0 +2,17 @@
+Tue Sep  8 03:55:28 UTC 2026 - Zoltan Balogh <[email protected]>
+
+- Drop make -B workaround for parallel build race condition.
+  The underlying issue (sudo Bug #842, libtool .o/.lo race) was
+  fixed upstream in sudo 1.8.24 (July 2018). The -B flag was added
+  in SR#622342 with the note that it could be reverted after the
+  upstream fix landed. Also drop the sle_version < 150000 build
+  conditional that was only needed for the non-B code path.
+- Add --with-devel to build the full upstream test suite including
+  the testsudoers regression binary. Pre-generated parser files are
+  removed before make to prevent a parallel build race where yacc
+  overwrites gram.h while other sources are compiling against it.
+  Add bison and flex as BuildRequires for the regeneration.
+- Add %check section to run the upstream test suite during build.
+  Fedora, Debian and Arch Linux all run make check.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sudo.spec ++++++
--- /var/tmp/diff_new_pack.ZrLKMO/_old  2026-09-12 21:15:25.021641290 +0200
+++ /var/tmp/diff_new_pack.ZrLKMO/_new  2026-09-12 21:15:25.022641332 +0200
@@ -48,7 +48,9 @@
 Patch0:         sudo-sudoers.patch
 Patch1:         fix-CVE-2026-35535.patch
 BuildRequires:  audit-devel
+BuildRequires:  bison
 BuildRequires:  cyrus-sasl-devel
+BuildRequires:  flex
 BuildRequires:  groff
 BuildRequires:  libopenssl-devel
 BuildRequires:  libselinux-devel
@@ -174,14 +176,16 @@
     --without-secure-path \
     --with-passprompt="[sudo] password for %%p: " \
     --with-rundir=%{_localstatedir}/lib/sudo \
-    --with-sssd
-%if 0%{?sle_version} < 150000
-# the SLES12 way
+    --with-sssd \
+    --with-devel
+# Remove pre-generated parser files so make regenerates them in the
+# correct dependency order. Without this, parallel make can compile
+# sources that include gram.h while yacc is overwriting it.
+rm -f plugins/sudoers/gram.[ch] plugins/sudoers/toke.c 
plugins/sudoers/getdate.c
 %make_build
-%else
-# -B required to make every build give the same result - maybe from bad build 
deps in Makefiles?
-%make_build -B
-%endif
+
+%check
+%make_build check
 
 %install
 %make_install install_uid=`id -u` install_gid=`id -g`

Reply via email to