Hello community,

here is the log from the commit of package bcc for openSUSE:Factory checked in 
at 2017-12-03 10:12:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bcc (Old)
 and      /work/SRC/openSUSE:Factory/.bcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bcc"

Sun Dec  3 10:12:53 2017 rev:11 rq:547041 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bcc/bcc.changes  2017-11-27 22:18:12.751067222 
+0100
+++ /work/SRC/openSUSE:Factory/.bcc.new/bcc.changes     2017-12-03 
10:12:56.496035423 +0100
@@ -1,0 +2,41 @@
+Fri Dec  1 07:07:57 UTC 2017 - [email protected]
+
+- Update to 0.5.0 (bsc#1070563)
+  + Explain possible reason of an error in scripts that rely on
+    /proc/kallsyms
+  + bpf: fix a couple of issues related to arm64
+  + bpf: Add support for prog_name and map_name
+  + Add a few introspection helpers
+  + Introduce BPF Program Snapshot helper (bps)
+  + Trace external pointers through maps
+  + Merge BType, Map, and Probe Consumers
+  + Fix exception handling in python3
+  + Add usdt support for ARM64
+  + bpf: make test py_test_tools_smoke pass on arm64
+  + Add soname to libbpf.so
+  + Fix Module display for unreadable Modules
+  + Use bpf_prog_load_flag in APIs
+  + Add flag to enable verifier log_level 2
+  + bpf: use MCJIT explicitly for ExecutionEngine
+  + change frontend rewriter to better handle anonymous struct/union
+  + Move BCC debug options to an installed header file
+  + use user-provided log_level in bpf_prog_load
+  + Add utility for cc tests to read command outputs
+  + Fix 'test_libbcc' from failing due to symbol name mismatch
+  + Update perf event type and config checks
+  + libbpf: Support unbound raw socket creation
+  + force linking the whole api-static library into shared library
+  + man/bps: Add a man page for introspection/bps.c
+  + Do not keep Loader instances around
+  + python: make _decode_table_types aware of __int128
+  + python: Avoid unnecessary pointer object creations
+- Only exclude ppc and s390 build (FATE#322227, bsc#1070362)
+- Add _constraints to reserve 2GB memory for linking with
+  clang4-devel-static
+- Rename armv7.patch as bcc-check_int128.patch to check if the
+  compiler support int128 or not
+- Drop upstreamed patches:
+  + bcc-bsc1065593-switch-to-mcjit.patch
+  + bcc-add-soname-to-libbpf.patch
+
+-------------------------------------------------------------------

Old:
----
  armv7.patch
  bcc-add-soname-to-libbpf.patch
  bcc-bsc1065593-switch-to-mcjit.patch
  v0.4.0.tar.gz

New:
----
  _constraints
  bcc-check_int128.patch
  v0.5.0.tar.gz

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

Other differences:
------------------
++++++ bcc.spec ++++++
--- /var/tmp/diff_new_pack.EYPDj3/_old  2017-12-03 10:12:57.220009101 +0100
+++ /var/tmp/diff_new_pack.EYPDj3/_new  2017-12-03 10:12:57.220009101 +0100
@@ -16,27 +16,25 @@
 #
 
 
-%define libversion 0.4.0
-%ifarch ppc64 aarch64 ppc64le
+%define libversion 0.5.0
+%ifarch ppc64 aarch64 ppc64le s390x
 %{!?with_lua: %global with_lua 0}
 %else
 %{!?with_lua: %global with_lua 1}
 %endif
 
 Name:           bcc
-Version:        0.4.0
+Version:        0.5.0
 Release:        0
 Summary:        BPF Compiler Collection (BCC)
 License:        Apache-2.0
 Group:          Development/Tools/Other
 Url:            https://github.com/iovisor/bcc
 Source:         https://github.com/iovisor/bcc/archive/v%{version}.tar.gz
-Patch1:         armv7.patch
+Patch1:         %{name}-check_int128.patch
 Patch2:         %{name}-bsc1065593-llvm4-hack.patch
-Patch3:         %{name}-bsc1065593-switch-to-mcjit.patch
-Patch4:         %{name}-add-soname-to-libbpf.patch
-Patch5:         %{name}-python3.patch
-ExclusiveArch:  armv7hl aarch64 x86_64 ppc64 ppc64le
+Patch3:         %{name}-python3.patch
+ExcludeArch:    ppc s390
 BuildRequires:  bison
 BuildRequires:  cmake >= 2.8.7
 BuildRequires:  flex
@@ -161,8 +159,6 @@
 %patch2 -p1
 %endif
 %patch3 -p1
-%patch4 -p1
-%patch5 -p1
 
 %build
 # Prevent the cpp examples from compilation and installation
@@ -183,7 +179,7 @@
        -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \
        -DLUAJIT_LIBRARY=%{_libdir}/lib`pkg-config --variable=libname 
luajit`.so \
 %endif
-%ifarch aarch64 || %arm
+%ifarch %arm || %ix86 || s390x
        -DENABLE_USDT=OFF \
 %endif
        ..
@@ -195,6 +191,8 @@
 %install
 pushd build
 make install DESTDIR=%{buildroot}
+install -m 755 %{buildroot}/%{_datadir}/bcc/introspection/bps 
%{buildroot}/%{_bindir}/bps
+rm %{buildroot}/%{_datadir}/bcc/introspection/bps
 
 # For python2-bcc (should be removed in the future)
 cmake -DPYTHON_CMD=python2 ..
@@ -250,6 +248,7 @@
 %{_datadir}/bcc/tools/*
 %dir %{_datadir}/bcc/man/
 %{_datadir}/bcc/man/*
+%{_bindir}/bps
 
 %files docs
 %doc README.md FAQ.txt

++++++ _constraints ++++++
<?xml version="1.0"?>
<constraints>
  <hardware>
    <memory>
      <size unit="M">2048</size>
    </memory>
  </hardware>
</constraints>
++++++ bcc-bsc1065593-llvm4-hack.patch ++++++
--- /var/tmp/diff_new_pack.EYPDj3/_old  2017-12-03 10:12:57.264007502 +0100
+++ /var/tmp/diff_new_pack.EYPDj3/_new  2017-12-03 10:12:57.264007502 +0100
@@ -1,9 +1,9 @@
-diff --git a/cmake/clang_libs.cmake b/cmake/clang_libs.cmake
-index fcccf2b..a699a48 100644
---- a/cmake/clang_libs.cmake
-+++ b/cmake/clang_libs.cmake
-@@ -11,8 +11,9 @@ endif()
- if (${LLVM_PACKAGE_VERSION} VERSION_GREATER "5")
+Index: bcc-0.5.0/cmake/clang_libs.cmake
+===================================================================
+--- bcc-0.5.0.orig/cmake/clang_libs.cmake
++++ bcc-0.5.0/cmake/clang_libs.cmake
+@@ -12,8 +12,9 @@ if (${LLVM_PACKAGE_VERSION} VERSION_GREA
+   list(APPEND llvm_raw_libs bpfasmparser)
    list(APPEND llvm_raw_libs bpfdisassembler)
  endif()
 -llvm_map_components_to_libnames(_llvm_libs ${llvm_raw_libs})

++++++ bcc-check_int128.patch ++++++
Index: bcc-0.4.0/src/cc/frontends/b/type_helper.h
===================================================================
--- bcc-0.4.0.orig/src/cc/frontends/b/type_helper.h
+++ bcc-0.4.0/src/cc/frontends/b/type_helper.h
@@ -36,7 +36,9 @@ static inline size_t enum_to_size(const
     case UINT16_T: return sizeof(uint16_t);
     case UINT32_T: return sizeof(uint32_t);
     case UINT64_T: return sizeof(uint64_t);
+#ifdef __SIZEOF_INT128__
     case UINT128_T: return sizeof(__uint128_t);
+#endif
     default:
       return 0;
   }
++++++ v0.4.0.tar.gz -> v0.5.0.tar.gz ++++++
++++ 4774 lines of diff (skipped)


Reply via email to