From 46d925ea4e7bd9593db23bda6dfbadb56f055a73 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jul 2020 16:09:05 +0200 Subject: update to 1.5.0 use GCC 6 on EL-6, GCC 7 on EL-7 --- compat_reports/1.4.4_to_1.5.0/compat_report.html | 513 +++++++++++++++++++++++ librdkafka.spec | 29 +- librdkafka.xml | 2 +- 3 files changed, 540 insertions(+), 4 deletions(-) create mode 100644 compat_reports/1.4.4_to_1.5.0/compat_report.html diff --git a/compat_reports/1.4.4_to_1.5.0/compat_report.html b/compat_reports/1.4.4_to_1.5.0/compat_report.html new file mode 100644 index 0000000..0eca6e7 --- /dev/null +++ b/compat_reports/1.4.4_to_1.5.0/compat_report.html @@ -0,0 +1,513 @@ + + + + + + + + + +librdkafka: 1.4.4 to 1.5.0 compatibility report + + + +

API compatibility report for the librdkafka library between 1.4.4 and 1.5.0 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibrdkafka
Version #11.4.4
Version #21.5.0
Archx86_64
GCC Version9
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types267 / 109
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  4 


+rdkafka.h, librdkafka.so.101
+rd_kafka_event_debug_contexts ( rd_kafka_event_t* rkev, char* dst, size_t dstsize )
+rd_kafka_message_broker_id ( rd_kafka_message_t const* rkmessage )
+rd_kafka_message_errstr ( rd_kafka_message_t const* rkmessage )
+rd_kafka_produceva ( rd_kafka_t* rk, rd_kafka_vu_t const* vus, size_t cnt )
+
+to the top
+

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.101
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibrdkafka
Version #11.4.4
Version #21.5.0
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types268 / 109
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-3
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low1
+ +

Added Symbols  3 


+rdkafka.h
+rd_kafka_event_debug_contexts ( rd_kafka_event_t* rkev, char* dst, size_t dstsize )
+rd_kafka_message_broker_id ( rd_kafka_message_t const* rkmessage )
+rd_kafka_produceva ( rd_kafka_t* rk, rd_kafka_vu_t const* vus, size_t cnt )
+
+to the top
+ +

Problems with Constants, Low Severity  1 


+rdkafka.h
+ +[+] RD_KAFKA_VERSION +
+ + +
+to the top
+

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.101
+
+
to the top
+



+ +
+ + diff --git a/librdkafka.spec b/librdkafka.spec index 5ce1d6d..b290c5c 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -7,14 +7,14 @@ # Please, preserve the changelog entries # %global libname librdkafka -%global gh_commit 3bdf2d05fad1ef699910f7f9e7152c58aa24375e +%global gh_commit 39796d359898c07ea422849e6d7cd34cd13ec466 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner edenhill %global gh_project %{libname} %global oldsoname 1 %global newsoname 101 -%global upstream_version 1.4.4 +%global upstream_version 1.5.0 #global upstream_prever RC1 Name: %{libname}%{oldsoname}php @@ -41,8 +41,20 @@ BuildRequires: pkgconfig(libsasl2) BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(libzstd) + +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 +%if 0%{?rhel} == 7 +%global dtsenable source /opt/rh/devtoolset-7/enable +BuildRequires: devtoolset-7-toolchain +%else +%global dtsenable source /opt/rh/devtoolset-6/enable +BuildRequires: devtoolset-6-toolchain +%endif +%else BuildRequires: gcc-c++ -%if 0%{?fedora} >= 28 || 0%{?rhel} >=8 +%endif + +%if 0%{?fedora} >= 28 || 0%{?rhel} >= 7 BuildRequires: python3 %else BuildRequires: python @@ -82,7 +94,12 @@ cp -pr examples rpmdocs/examples %build +%{?dtsenable} +gcc --version + %configure \ + --enable-zlib \ + --enable-zstd \ --enable-lz4 \ --enable-lz4-ext \ --enable-ssl \ @@ -93,6 +110,8 @@ make %{?_smp_mflags} %install +%{?dtsenable} + make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/*.a @@ -124,6 +143,10 @@ rm -r %{buildroot}%{_datadir}/doc/%{libname} %changelog +* Mon Jul 20 2020 Remi Collet - 1.5.0-1 +- update to 1.5.0 +- use GCC 6 on EL-6, GCC 7 on EL-7 + * Sun Jun 21 2020 Remi Collet - 1.4.4-1 - update to 1.4.4 diff --git a/librdkafka.xml b/librdkafka.xml index 04c9618..afbf512 100644 --- a/librdkafka.xml +++ b/librdkafka.xml @@ -9,7 +9,7 @@ -1.4.4 +1.5.0 -- cgit