Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package oprofile for openSUSE:Factory 
checked in at 2026-11-13 18:32:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/oprofile (Old)
 and      /work/SRC/openSUSE:Factory/.oprofile.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "oprofile"

Fri Nov 13 18:32:52 2026 rev:60 rq:1397096 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes        2026-07-17 
01:45:24.553150356 +0200
+++ /work/SRC/openSUSE:Factory/.oprofile.new.1251/oprofile.changes      
2026-11-13 18:37:07.461854550 +0100
@@ -1,0 +2,6 @@
+Thu Nov 12 12:18:52 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Fix build with binutils >= 2.44 (oprofile-bfd-boolean.patch):
+  bfd_boolean/FALSE removed, libopagent/opjitconv use bool/false
+
+-------------------------------------------------------------------

New:
----
  oprofile-bfd-boolean.patch

----------(New B)----------
  New:
- Fix build with binutils >= 2.44 (oprofile-bfd-boolean.patch):
  bfd_boolean/FALSE removed, libopagent/opjitconv use bool/false
----------(New E)----------

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

Other differences:
------------------
++++++ oprofile.spec ++++++
--- /var/tmp/diff_new_pack.peETC7/_old  2026-11-13 18:37:08.776910226 +0100
+++ /var/tmp/diff_new_pack.peETC7/_new  2026-11-13 18:37:08.781910438 +0100
@@ -21,7 +21,6 @@
 Release:        0
 Summary:        System-Wide Profiler for Linux Systems
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later
-Group:          Development/Tools/Other
 URL:            http://oprofile.sourceforge.net/
 Source0:        
http://prdownloads.sourceforge.net/oprofile/oprofile-%{version}.tar.gz
 Source2:        %{name}.rpmlintrc
@@ -31,6 +30,8 @@
 Patch2:         %{name}-pfm-ppc.patch
 Patch3:         %{name}-binutils.patch
 Patch4:         %{name}-autoconf-fix-perf_events-detection.patch
+# PATCH-FIX-OPENSUSE oprofile-bfd-boolean.patch -- bfd_boolean/FALSE removed 
from binutils, use bool/false
+Patch5:         oprofile-bfd-boolean.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  binutils-devel
@@ -39,14 +40,14 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  java-devel
-BuildRequires:  libICE-devel
 BuildRequires:  libtool
 BuildRequires:  libxslt
-BuildRequires:  libzstd-devel
 BuildRequires:  pkgconfig
-BuildRequires:  popt-devel
-BuildRequires:  zlib-devel
-Requires(pre):  pwdutils
+BuildRequires:  pkgconfig(ice)
+BuildRequires:  pkgconfig(libzstd)
+BuildRequires:  pkgconfig(popt)
+BuildRequires:  pkgconfig(zlib)
+Requires(pre):  shadow
 %ifarch ppc ppc64 ppc64le
 BuildRequires:  libpfm-devel >= 4.3.0
 %endif
@@ -74,7 +75,6 @@
 
 %package devel
 Summary:        Development files for oprofile, a system-wide profiler for 
Linux
-Group:          Development/Libraries/C and C++
 Requires:       binutils-devel
 Requires:       libopagent1 = %{version}-%{release}
 
@@ -88,7 +88,6 @@
 
 %package -n libopagent1
 Summary:        System-Wide Profiler for Linux Systems
-Group:          System/Libraries
 
 %description -n libopagent1
 OProfile is a system-wide profiler for Linux systems, capable of
@@ -121,8 +120,7 @@
        -s /bin/false -c "Special user account to be used by OProfile" \
        oprofile 2> /dev/null
 
-%post -n libopagent1 -p /sbin/ldconfig
-%postun -n libopagent1 -p /sbin/ldconfig
+%ldconfig_scriptlets -n libopagent1
 
 %files
 %{_bindir}/ocount

++++++ oprofile-bfd-boolean.patch ++++++
From: Martin Pluskal <[email protected]>
Date: Thu, 12 Nov 2026 08:20:00 +0000
Subject: [PATCH] use bool instead of removed bfd_boolean/FALSE

binutils removed the deprecated bfd_boolean typedef and the FALSE/TRUE
macros (bfd_check_format and friends now return bool), so the build fails:
opagent.c:81:9: error: unknown type name bfd_boolean
create_bfd.c:68:18: error: FALSE undeclared

--- oprofile-1.4.0/libopagent/opagent.c 2015-07-07 16:04:37.000000000 +0200
+++ oprofile-1.4.0/libopagent/opagent.c 2026-11-12 13:21:46.241166112 +0100
@@ -56,6 +56,7 @@
 #include <string.h>
 #include <stdint.h>
 #include <limits.h>
+#include <stdbool.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/stat.h>
@@ -78,7 +79,7 @@
 static int define_bfd_vars(void)
 {
        bfd * bfd;
-       bfd_boolean r;
+       bool r;
        int len;
 #define MAX_PATHLENGTH 2048
        char mypath[MAX_PATHLENGTH];
--- oprofile-1.4.0/opjitconv/create_bfd.c       2020-03-23 17:14:14.000000000 
+0100
+++ oprofile-1.4.0/opjitconv/create_bfd.c       2026-11-12 13:21:46.249167011 
+0100
@@ -20,6 +20,7 @@
 
 #include <bfd.h>
 #include <assert.h>
+#include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
 
@@ -65,7 +66,7 @@
                syms[i] = s;
        }
        r = bfd_set_symtab(cur_bfd, syms, entry_count);
-       if (r == FALSE) {
+       if (r == false) {
                bfd_perror("bfd_set_symtab");
                rc = OP_JIT_CONV_FAIL;
        }
@@ -88,11 +89,11 @@
                goto error;
        }
        op_bfd_set_section_vma(abfd, section, vma);
-       if (op_bfd_set_section_size(abfd, section, size) == FALSE) {
+       if (op_bfd_set_section_size(abfd, section, size) == false) {
                bfd_perror("bfd_set_section_size");
                goto error;
        }
-       if (op_bfd_set_section_flags(abfd, section, flags) == FALSE) {
+       if (op_bfd_set_section_flags(abfd, section, flags) == false) {
                bfd_perror("bfd_set_section_flags");
                goto error;
        }
@@ -134,7 +135,7 @@
 int fill_section_content(bfd * abfd, asection * section,
                         void const * b, file_ptr offset, size_t sz)
 {
-       if (bfd_set_section_contents(abfd, section, b, offset, sz) == FALSE) {
+       if (bfd_set_section_contents(abfd, section, b, offset, sz) == false) {
                bfd_perror("bfd_set_section_contents");
                return OP_JIT_CONV_FAIL;
        }
@@ -257,11 +258,11 @@
                bfd_perror("bfd_openw");
                goto error1;
        }
-       if (bfd_set_format(abfd, bfd_object) == FALSE) {
+       if (bfd_set_format(abfd, bfd_object) == false) {
                bfd_perror("bfd_set_format");
                goto error;
        }
-       if (bfd_set_arch_mach(abfd, dump_bfd_arch, dump_bfd_mach) == FALSE) {
+       if (bfd_set_arch_mach(abfd, dump_bfd_arch, dump_bfd_mach) == false) {
                bfd_perror("bfd_set_arch_mach");
                goto error;
        }

Reply via email to