From f2854c1305c7a57c5242478b73ebf0c507c9917e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 29 Jun 2017 11:51:23 +0200 Subject: v0.11.0-RC2 --- a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch | 36 - .../0.11.0-RC1_to_0.11.0-RC2/compat_report.html | 473 +++++++++++ .../0.9.5_to_0.11.0-RC2/compat_report.html | 893 +++++++++++++++++++++ librdkafka.spec | 10 +- 4 files changed, 1371 insertions(+), 41 deletions(-) delete mode 100644 a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch create mode 100644 compat_reports/0.11.0-RC1_to_0.11.0-RC2/compat_report.html create mode 100644 compat_reports/0.9.5_to_0.11.0-RC2/compat_report.html diff --git a/a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch b/a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch deleted file mode 100644 index 4956dba..0000000 --- a/a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch +++ /dev/null @@ -1,36 +0,0 @@ -From a85c798f91bfef796116f3ebf5e5e7e479c8683f Mon Sep 17 00:00:00 2001 -From: Magnus Edenhill -Date: Thu, 29 Jun 2017 10:35:23 +0200 -Subject: [PATCH] configure crc32 for x32: try to avoid dead-code removal - ---- - configure.librdkafka | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/configure.librdkafka b/configure.librdkafka -index 903b0276..923dd48f 100644 ---- a/configure.librdkafka -+++ b/configure.librdkafka -@@ -86,11 +86,13 @@ function checks { - mkl_compile_check crc32chw WITH_CRC32C_HW disable CC "" \ - " - #include -+#include - #define LONGx1 \"8192\" - #define LONGx2 \"16384\" - void foo (void) { - const char *n = \"abcdefghijklmnopqrstuvwxyz0123456789\"; - uint64_t c0 = 0, c1 = 1, c2 = 2; -+ uint64_t s; - uint32_t eax = 1, ecx; - __asm__(\"cpuid\" - : \"=c\"(ecx) -@@ -104,6 +106,8 @@ void foo (void) { - \"crc32q\t\" LONGx2 \"(%3), %2\" - : \"=r\"(c0), \"=r\"(c1), \"=r\"(c2) - : \"r\"(n), \"0\"(c0), \"1\"(c1), \"2\"(c2)); -+ s = c0 + c1 + c2; -+ printf(\"avoiding unused code removal by printing %d, %d, %d\n\", (int)s, (int)eax, (int)ecx); - } - " - diff --git a/compat_reports/0.11.0-RC1_to_0.11.0-RC2/compat_report.html b/compat_reports/0.11.0-RC1_to_0.11.0-RC2/compat_report.html new file mode 100644 index 0000000..f1a4e0d --- /dev/null +++ b/compat_reports/0.11.0-RC1_to_0.11.0-RC2/compat_report.html @@ -0,0 +1,473 @@ + + + + + + + + +librdkafka: 0.11.0-RC1 to 0.11.0-RC2 compatibility report + + + +

API compatibility report for the librdkafka library between 0.11.0-RC1 and 0.11.0-RC2 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Library Namelibrdkafka
Version #10.11.0-RC1
Version #20.11.0-RC2
Archx86_64
GCC Version6.3.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types154 / 69
Compatibility100%
+

Problem Summary


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

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibrdkafka
Version #10.11.0-RC1
Version #20.11.0-RC2
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types155 / 69
Compatibility100%
+

Problem Summary


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

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+



+ +
+ + diff --git a/compat_reports/0.9.5_to_0.11.0-RC2/compat_report.html b/compat_reports/0.9.5_to_0.11.0-RC2/compat_report.html new file mode 100644 index 0000000..0576187 --- /dev/null +++ b/compat_reports/0.9.5_to_0.11.0-RC2/compat_report.html @@ -0,0 +1,893 @@ + + + + + + + + +librdkafka: 0.9.5 to 0.11.0-RC2 compatibility report + + + +

API compatibility report for the librdkafka library between 0.9.5 and 0.11.0-RC2 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Library Namelibrdkafka
Version #10.9.5
Version #20.11.0-RC2
Archx86_64
GCC Version6.3.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types139 / 62
Compatibility100%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Symbols-15
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low1
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
Other Changes
in Data Types
-17
Other Changes
in Constants
-1
+ +

Added Symbols  15 


+rdkafka.h, librdkafka.so.1
+rd_kafka_clusterid ( rd_kafka_t* rk, int timeout_ms )
+rd_kafka_conf_interceptor_add_on_conf_destroy ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_conf_destroy)(void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_conf_dup ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_conf_dup)(rd_kafka_conf_t*, rd_kafka_conf_t const*, void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_conf_set ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_conf_res_t(*on_conf_set)(rd_kafka_conf_t*, char const*, char const*, char*, size_t, void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_new ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_new)(rd_kafka_t*, void*, char*, size_t), void* ic_opaque )
+rd_kafka_event_stats ( rd_kafka_event_t* rkev )
+rd_kafka_interceptor_add_on_acknowledgement ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_acknowledgement)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_commit ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_commit)(rd_kafka_t*, rd_kafka_topic_partition_list_t const*, enum rd_kafka_resp_err_t, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_consume ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_consume)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_destroy ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_destroy)(rd_kafka_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_send ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_send)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_message_latency ( rd_kafka_message_t const* rkmessage )
+rd_kafka_offsets_store ( rd_kafka_t* rk, rd_kafka_topic_partition_list_t* offsets )
+rd_kafka_type ( rd_kafka_t const* rk )
+rd_kafka_unittest ( )
+
+to the top
+ +

Problems with Data Types, Low Severity  1 


+rdkafka.h
+ +[+] enum rd_kafka_resp_err_t  1  +
+ + +
+to the top
+ +

Other Changes in Data Types  17 


+rdkafka.h
+ +[+] enum rd_kafka_resp_err_t  17  +
+ + +
+to the top
+ +

Other Changes in Constants  1 


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

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibrdkafka
Version #10.9.5
Version #20.11.0-RC2
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files1
Total Libraries1
Total Symbols / Types140 / 62
Compatibility100%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Symbols-15
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low1
Other Changes
in Data Types
-18
Other Changes
in Constants
-1
+ +

Added Symbols  15 


+rdkafka.h
+rd_kafka_clusterid ( rd_kafka_t* rk, int timeout_ms )
+rd_kafka_conf_interceptor_add_on_conf_destroy ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_conf_destroy)(void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_conf_dup ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_conf_dup)(rd_kafka_conf_t*, rd_kafka_conf_t const*, void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_conf_set ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_conf_res_t(*on_conf_set)(rd_kafka_conf_t*, char const*, char const*, char*, size_t, void*), void* ic_opaque )
+rd_kafka_conf_interceptor_add_on_new ( rd_kafka_conf_t* conf, char const* ic_name, enum rd_kafka_resp_err_t(*on_new)(rd_kafka_t*, void*, char*, size_t), void* ic_opaque )
+rd_kafka_event_stats ( rd_kafka_event_t* rkev )
+rd_kafka_interceptor_add_on_acknowledgement ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_acknowledgement)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_commit ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_commit)(rd_kafka_t*, rd_kafka_topic_partition_list_t const*, enum rd_kafka_resp_err_t, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_consume ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_consume)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_destroy ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_destroy)(rd_kafka_t*, void*), void* ic_opaque )
+rd_kafka_interceptor_add_on_send ( rd_kafka_t* rk, char const* ic_name, enum rd_kafka_resp_err_t(*on_send)(rd_kafka_t*, rd_kafka_message_t*, void*), void* ic_opaque )
+rd_kafka_message_latency ( rd_kafka_message_t const* rkmessage )
+rd_kafka_offsets_store ( rd_kafka_t* rk, rd_kafka_topic_partition_list_t* offsets )
+rd_kafka_type ( rd_kafka_t const* rk )
+rd_kafka_unittest ( )
+
+to the top
+ +

Problems with Constants, Low Severity  1 


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

Other Changes in Data Types  18 


+rdkafka.h
+ +[+] enum rd_kafka_resp_err_t  18  +
+ + +
+to the top
+ +

Other Changes in Constants  1 


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

Header Files  1 


+
+rdkafka.h
+
+
to the top
+

Libraries  1 


+
+librdkafka.so.1
+
+
to the top
+



+ +
+ + diff --git a/librdkafka.spec b/librdkafka.spec index 687efd6..4682766 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -7,13 +7,13 @@ # Please, preserve the changelog entries # %global libname librdkafka -%global gh_commit e223a193cbc089714110e42ca9051f3f1ebc0695 +%global gh_commit ee261f8b867ae722f31b97e4e62be4b2767e8541 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner edenhill %global gh_project %{libname} %global upstream_version 0.11.0 -%global upstream_prever RC1 +%global upstream_prever RC2 Name: %{libname} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} @@ -26,8 +26,6 @@ License: BSD and MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{upstream_version}%{?upstream_prever}-%{gh_short}.tar.gz -Patch0: a85c798f91bfef796116f3ebf5e5e7e479c8683f.patch - BuildRequires: openssl-devel BuildRequires: cyrus-sasl-devel BuildRequires: zlib-devel @@ -59,7 +57,6 @@ developing applications that use %{name}. %prep %setup -qn %{gh_project}-%{gh_commit} # no backup to avoid old version inclusion -%patch0 -p1 mkdir rpmdocs cp -pr examples rpmdocs/examples @@ -101,6 +98,9 @@ rm %{buildroot}%{_libdir}/*.a %changelog +* Thu Jun 29 2017 Remi Collet - 0.11.0-RC2-1 +- update to 0.11.0-RC2 + * Thu Jun 29 2017 Remi Collet - 0.11.0-RC1-1 - update to 0.11.0-RC1 - open https://github.com/edenhill/librdkafka/issues/1290 -- cgit