Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package umockdev for openSUSE:Factory 
checked in at 2023-04-27 19:59:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/umockdev (Old)
 and      /work/SRC/openSUSE:Factory/.umockdev.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "umockdev"

Thu Apr 27 19:59:03 2023 rev:16 rq:1082888 version:0.17.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/umockdev/umockdev.changes        2023-02-21 
15:35:36.980140209 +0100
+++ /work/SRC/openSUSE:Factory/.umockdev.new.1533/umockdev.changes      
2023-04-27 19:59:03.977266579 +0200
@@ -1,0 +2,7 @@
+Fri Apr 21 06:05:43 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Update to version 0.17.17:
+  * Fix uevent race condition in
+    umockdev_testbed_add_from_string().
+
+-------------------------------------------------------------------

Old:
----
  umockdev-0.17.16.tar.xz

New:
----
  umockdev-0.17.17.tar.xz

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

Other differences:
------------------
++++++ umockdev.spec ++++++
--- /var/tmp/diff_new_pack.fgyqFo/_old  2023-04-27 19:59:04.445269329 +0200
+++ /var/tmp/diff_new_pack.fgyqFo/_new  2023-04-27 19:59:04.457269400 +0200
@@ -19,7 +19,7 @@
 %define shlib libumockdev0
 %define shlibpre libumockdev-preload0
 Name:           umockdev
-Version:        0.17.16
+Version:        0.17.17
 Release:        0
 Summary:        Mock hardware devices for creating unit tests and bug reporting
 License:        LGPL-2.1-or-later

++++++ umockdev-0.17.16.tar.xz -> umockdev-0.17.17.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/.github/workflows/release.yml 
new/umockdev-0.17.17/.github/workflows/release.yml
--- old/umockdev-0.17.16/.github/workflows/release.yml  2023-01-29 
16:56:44.000000000 +0100
+++ new/umockdev-0.17.17/.github/workflows/release.yml  2023-04-16 
10:07:08.000000000 +0200
@@ -14,6 +14,10 @@
           # need this to also fetch tags
           fetch-depth: 0
 
+      # https://github.blog/2022-04-12-git-security-vulnerability-announced/
+      - name: Pacify git's permission check
+        run: git config --global --add safe.directory /__w
+
       - name: Workaround for https://github.com/actions/checkout/pull/697
         run: git fetch --force origin $(git describe --tags):refs/tags/$(git 
describe --tags)
 
@@ -22,6 +26,6 @@
         run: sudo PUBLISH_TAR=1 tests/run-apt
 
       - name: Create GitHub release
-        uses: eloquent/github-release-action@v2
+        uses: 
cockpit-project/action-release@88d994da62d1451c7073e26748c18413fcdf46e9
         with:
-          prerelease: "false"
+          filename: "umockdev-${{ github.ref_name }}.tar.xz"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/.version 
new/umockdev-0.17.17/.version
--- old/umockdev-0.17.16/.version       2023-01-29 19:43:25.111976400 +0100
+++ new/umockdev-0.17.17/.version       2023-04-16 10:10:31.431640000 +0200
@@ -1 +1 @@
-0.17.16
+0.17.17
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/meson.build 
new/umockdev-0.17.17/meson.build
--- old/umockdev-0.17.16/meson.build    2023-01-29 16:56:44.000000000 +0100
+++ new/umockdev-0.17.17/meson.build    2023-04-16 10:07:08.000000000 +0200
@@ -42,6 +42,11 @@
 valac = meson.get_compiler('vala')
 g_ir_compiler = find_program('g-ir-compiler', required: false)
 
+# HACK: vala doesn't support declaring const arguments, so we get a lot of 
errors
+if cc.get_id() == 'clang'
+  add_project_arguments('-Wno-incompatible-function-pointer-types', language: 
'c')
+endif
+
 conf.set('PACKAGE_NAME', meson.project_name())
 conf.set_quoted('VERSION', meson.project_version())
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/src/umockdev.vala 
new/umockdev-0.17.17/src/umockdev.vala
--- old/umockdev-0.17.16/src/umockdev.vala      2023-01-29 16:56:44.000000000 
+0100
+++ new/umockdev-0.17.17/src/umockdev.vala      2023-04-16 10:07:08.000000000 
+0200
@@ -109,6 +109,8 @@
         this.dev_script_runner = new HashTable<string, ScriptRunner> 
(str_hash, str_equal);
         this.custom_handlers = new HashTable<string, IoctlBase> (str_hash, 
str_equal);
 
+        checked_setenv ("UMOCKDEV_DIR", this.root_dir);
+
         this.worker_ctx = new MainContext();
         this.worker_loop = new MainLoop(this.worker_ctx);
         this.worker_thread = create_worker_thread(this.worker_loop);
@@ -118,7 +120,6 @@
         string sockpath = Path.build_filename(this.root_dir, "ioctl", 
"_default");
         handler.register_path(this.worker_ctx, "_default", sockpath);
 
-        checked_setenv ("UMOCKDEV_DIR", this.root_dir);
         debug("Created udev test bed %s", this.root_dir);
     }
 
@@ -148,9 +149,8 @@
 
         debug ("Removing test bed %s", this.root_dir);
         remove_dir (this.root_dir);
-        Environment.unset_variable("UMOCKDEV_DIR");
-
         this.worker_loop.quit();
+        Environment.unset_variable("UMOCKDEV_DIR");
     }
 
     /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/tests/run-apt 
new/umockdev-0.17.17/tests/run-apt
--- old/umockdev-0.17.16/tests/run-apt  2023-01-29 16:56:44.000000000 +0100
+++ new/umockdev-0.17.17/tests/run-apt  2023-04-16 10:07:08.000000000 +0200
@@ -28,7 +28,14 @@
 eatmydata apt-get -y --purge dist-upgrade
 
 # install build and test dependencies
-eatmydata apt-get install -y --no-install-recommends meson git pkg-config 
valac libglib2.0-dev libudev-dev libgudev-1.0-dev libpcap-dev python3-gi 
gobject-introspection libgirepository1.0-dev gir1.2-glib-2.0 gir1.2-gudev-1.0 
gtk-doc-tools udev xserver-xorg-video-dummy xserver-xorg-input-evdev 
xserver-xorg-input-synaptics xinput procps usbutils evtest gphoto2 valgrind
+eatmydata apt-get install -y --no-install-recommends meson git pkg-config 
valac libglib2.0-dev libudev-dev libgudev-1.0-dev libpcap-dev python3-gi 
gobject-introspection libgirepository1.0-dev gir1.2-glib-2.0 gir1.2-gudev-1.0 
gtk-doc-tools udev xserver-xorg-video-dummy xserver-xorg-input-evdev 
xserver-xorg-input-synaptics xinput procps usbutils evtest gphoto2 valgrind 
gcovr
+
+# run coverage on a stable release, as it's prone to break
+if grep -q jammy /etc/os-release; then
+    coverage=true
+else
+    coverage=false
+fi
 
 # run build as user
 useradd --create-home build
@@ -37,7 +44,7 @@
 git config --global safe.directory /source
 export BRITTLE_TESTS="${BRITTLE_TESTS:-}"
 cd /source
-meson setup /tmp/dbg --buildtype debug --prefix /usr -Dgtk_doc=true --werror
+meson setup /tmp/dbg --buildtype debug --prefix /usr -Dgtk_doc=true 
-Db_coverage=\$coverage --werror
 cd /tmp/dbg
 if meson dist --help | grep -q no-tests; then
     if { meson --version; echo 0.62.0; } | sort -V | head -n1 | grep -q 
"^0.62.0"; then
@@ -52,6 +59,12 @@
 fi
 meson test -v --num-processes=1
 meson test -v --num-processes=1 --setup valgrind --no-suite fails-valgrind
+
+if [ "\$coverage" = true ]; then
+    ninja coverage-text
+    meson test -v --num-processes=1 --setup valgrind --no-suite fails-valgrind
+    cat meson-logs/coverage.txt
+fi
 EOG
 
 # install and run check-installed; make sure there is nothing on stderr (for 
Debian/Ubuntu autopkgtests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/umockdev-0.17.16/tests/run-dnf 
new/umockdev-0.17.17/tests/run-dnf
--- old/umockdev-0.17.16/tests/run-dnf  2023-01-29 16:56:44.000000000 +0100
+++ new/umockdev-0.17.17/tests/run-dnf  2023-04-16 10:07:08.000000000 +0200
@@ -30,8 +30,11 @@
     coverage=false
     gtk_doc=true
 else
-    packages="gcovr"
-    coverage=true
+    # gcovr 5.2+ is broken: https://bugzilla.redhat.com/show_bug.cgi?id=2166960
+    # packages="gcovr"
+    # coverage=true
+    packages=""
+    coverage=false
     gtk_doc=true
 fi
 

Reply via email to