Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libvma for openSUSE:Factory checked in at 2021-09-27 20:08:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libvma (Old) and /work/SRC/openSUSE:Factory/.libvma.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libvma" Mon Sep 27 20:08:57 2021 rev:11 rq:921694 version:9.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libvma/libvma.changes 2021-06-29 22:43:43.550910550 +0200 +++ /work/SRC/openSUSE:Factory/.libvma.new.1899/libvma.changes 2021-09-27 20:09:21.362491700 +0200 @@ -1,0 +2,6 @@ +Sun Sep 26 11:11:24 UTC 2021 - Nicolas Morey-Chaisemartin <nmoreychaisemar...@suse.com> + +- Add issue-2485156-Fix-fc35-issues.patch from upstream to fix + compilation with newer glibc (deprecated pthread_yield) + +------------------------------------------------------------------- New: ---- issue-2485156-Fix-fc35-issues.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libvma.spec ++++++ --- /var/tmp/diff_new_pack.lL8Qzj/_old 2021-09-27 20:09:21.854492242 +0200 +++ /var/tmp/diff_new_pack.lL8Qzj/_new 2021-09-27 20:09:21.858492247 +0200 @@ -28,6 +28,7 @@ Release: 0 Source0: %{name}-%{version}%{git_ver}.tar.gz Source1: vma.service +Patch1: issue-2485156-Fix-fc35-issues.patch URL: https://github.com/Mellanox/libvma BuildRequires: autoconf BuildRequires: automake @@ -70,6 +71,7 @@ %prep %setup -q -n %{name}-%{version}%{git_ver} +%patch1 %build ./autogen.sh ++++++ issue-2485156-Fix-fc35-issues.patch ++++++ commit e4660f93007e41c7dbfdb5e3e166c3a9e84a5ae6 Author: Igor Ivanov <ig...@nvidia.com> Date: Thu Jun 17 16:07:31 2021 +0300 issue: 2485156 Fix fc35 issues - glibc: The function pthread_yield has been deprecated; programs should use the equivalent standard function sched_yield instead. Signed-off-by: Igor Ivanov <ig...@nvidia.com> diff --git src/vma/iomux/epfd_info.cpp src/vma/iomux/epfd_info.cpp index c7670c7b36b4..d7c6c4fcdf9e 100644 --- src/vma/iomux/epfd_info.cpp +++ src/vma/iomux/epfd_info.cpp @@ -624,7 +624,7 @@ int epfd_info::ring_poll_and_process_element(uint64_t *p_poll_sn, void* pv_fd_re m_ring_map_lock.unlock(); - if (m_sysvar_thread_mode == THREAD_MODE_PLENTY && ret_total == 0 && errno == EAGAIN) pthread_yield(); + if (m_sysvar_thread_mode == THREAD_MODE_PLENTY && ret_total == 0 && errno == EAGAIN) sched_yield(); if (ret_total) { __log_func("ret_total=%d", ret_total);