Hello community,

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

Package is "babeltrace"

Mon Dec 10 12:25:53 2018 rev:5 rq:653714 version:1.5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/babeltrace/babeltrace.changes    2018-07-04 
23:48:15.304348008 +0200
+++ /work/SRC/openSUSE:Factory/.babeltrace.new.19453/babeltrace.changes 
2018-12-10 12:26:04.794662312 +0100
@@ -1,0 +2,10 @@
+Wed Nov 14 12:28:56 UTC 2018 - [email protected]
+
+- Update to version 1.5.6:
+  * Fix: remove left-over debug logging statement.
+  * Use trace->trace_id in check to remove trace from bt_ctx.
+  * Fix: missing initializer braces warning.
+  * Fix: zero out URL parsing array before use and ensure proper
+    error reporting.
+
+-------------------------------------------------------------------

Old:
----
  babeltrace-1.5.5.tar.bz2
  babeltrace-1.5.5.tar.bz2.asc

New:
----
  babeltrace-1.5.6.tar.bz2
  babeltrace-1.5.6.tar.bz2.asc

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

Other differences:
------------------
++++++ babeltrace.spec ++++++
--- /var/tmp/diff_new_pack.dLlvr5/_old  2018-12-10 12:26:05.270661836 +0100
+++ /var/tmp/diff_new_pack.dLlvr5/_new  2018-12-10 12:26:05.274661832 +0100
@@ -12,19 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define soname  libbabeltrace
 %define sover   1
 Name:           babeltrace
-Version:        1.5.5
+Version:        1.5.6
 Release:        0
 Summary:        Common Trace Format Babel Tower
 License:        MIT AND GPL-2.0-only
 Group:          Development/Languages/C and C++
-Url:            https://diamon.org/babeltrace
+URL:            https://diamon.org/babeltrace
 Source:         
https://efficios.com/files/babeltrace/%{name}-%{version}.tar.bz2
 Source1:        
https://efficios.com/files/babeltrace/%{name}-%{version}.tar.bz2.asc
 Source2:        %{name}.keyring
@@ -87,16 +87,16 @@
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
-# remove licenses from doc
-rm -f %{buildroot}%{_docdir}/%{name}/{LICENSE,mit-license.txt,gpl-2.0.txt}
+# Remove licences from doc.
+rm %{buildroot}%{_docdir}/%{name}/{LICENSE,mit-license.txt,gpl-2.0.txt}
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%license LICENSE mit-license.txt gpl-2.0.txt
 %doc %{_docdir}/%{name}/
+%license LICENSE mit-license.txt gpl-2.0.txt
 %{_bindir}/%{name}*
 %{_libdir}/%{soname}*.so.%{sover}*
 %{_mandir}/man1/*.1%{?ext_man}

++++++ babeltrace-1.5.5.tar.bz2 -> babeltrace-1.5.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/babeltrace-1.5.5/ChangeLog 
new/babeltrace-1.5.6/ChangeLog
--- old/babeltrace-1.5.5/ChangeLog      2018-03-26 21:34:10.000000000 +0200
+++ new/babeltrace-1.5.6/ChangeLog      2018-07-03 21:41:31.000000000 +0200
@@ -1,3 +1,9 @@
+2018-07-03 babeltrace 1.5.6 (National Fried Clam Day)
+       * Fix: remove left-over debug logging statement
+       * Use trace->trace_id in check to remove trace from bt_ctx
+       * Fix: missing initializer braces warning
+       * Fix: zero out URL parsing array before use and ensure proper error 
reporting
+
 2018-03-26 babeltrace 1.5.5 (Purple Day)
        * Propagate error from packet_seek in case of truncated packet
        * Fix: report truncated files while reading
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/babeltrace-1.5.5/bindings/python/Makefile.in 
new/babeltrace-1.5.6/bindings/python/Makefile.in
--- old/babeltrace-1.5.5/bindings/python/Makefile.in    2018-03-26 
21:34:20.000000000 +0200
+++ new/babeltrace-1.5.6/bindings/python/Makefile.in    2018-07-03 
21:41:58.000000000 +0200
@@ -620,9 +620,9 @@
 maintainer-clean-generic:
        @echo "This command is intended for maintainers to use"
        @echo "it deletes files that may require special tools to rebuild."
+@USE_PYTHON_FALSE@uninstall-local:
 @USE_PYTHON_FALSE@clean-local:
 @USE_PYTHON_FALSE@install-exec-local:
-@USE_PYTHON_FALSE@uninstall-local:
 clean: clean-recursive
 
 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/babeltrace-1.5.5/configure 
new/babeltrace-1.5.6/configure
--- old/babeltrace-1.5.5/configure      2018-03-26 21:34:18.000000000 +0200
+++ new/babeltrace-1.5.6/configure      2018-07-03 21:41:54.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for babeltrace 1.5.5.
+# Generated by GNU Autoconf 2.69 for babeltrace 1.5.6.
 #
 # Report bugs to <[email protected]>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='babeltrace'
 PACKAGE_TARNAME='babeltrace'
-PACKAGE_VERSION='1.5.5'
-PACKAGE_STRING='babeltrace 1.5.5'
+PACKAGE_VERSION='1.5.6'
+PACKAGE_STRING='babeltrace 1.5.6'
 PACKAGE_BUGREPORT='[email protected]'
 PACKAGE_URL='https://diamon.org/babeltrace'
 
@@ -1410,7 +1410,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures babeltrace 1.5.5 to adapt to many kinds of systems.
+\`configure' configures babeltrace 1.5.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1482,7 +1482,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of babeltrace 1.5.5:";;
+     short | recursive ) echo "Configuration of babeltrace 1.5.6:";;
    esac
   cat <<\_ACEOF
 
@@ -1625,7 +1625,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-babeltrace configure 1.5.5
+babeltrace configure 1.5.6
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2048,7 +2048,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by babeltrace $as_me 1.5.5, which was
+It was created by babeltrace $as_me 1.5.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3035,7 +3035,7 @@
 
 # Define the identity of the package.
  PACKAGE='babeltrace'
- VERSION='1.5.5'
+ VERSION='1.5.6'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -18592,7 +18592,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by babeltrace $as_me 1.5.5, which was
+This file was extended by babeltrace $as_me 1.5.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -18663,7 +18663,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-babeltrace config.status 1.5.5
+babeltrace config.status 1.5.6
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/babeltrace-1.5.5/configure.ac 
new/babeltrace-1.5.6/configure.ac
--- old/babeltrace-1.5.5/configure.ac   2018-03-26 21:34:10.000000000 +0200
+++ new/babeltrace-1.5.6/configure.ac   2018-07-03 21:41:31.000000000 +0200
@@ -1,5 +1,5 @@
 AC_PREREQ([2.50])
-AC_INIT([babeltrace],[1.5.5],[[email protected]],[],[https://diamon.org/babeltrace])
+AC_INIT([babeltrace],[1.5.6],[[email protected]],[],[https://diamon.org/babeltrace])
 AC_SUBST([BABELTRACE_LIBRARY_VERSION], [1:0:0])
 
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/babeltrace-1.5.5/formats/lttng-live/lttng-live-comm.c 
new/babeltrace-1.5.6/formats/lttng-live/lttng-live-comm.c
--- old/babeltrace-1.5.5/formats/lttng-live/lttng-live-comm.c   2018-03-26 
21:34:10.000000000 +0200
+++ new/babeltrace-1.5.6/formats/lttng-live/lttng-live-comm.c   2018-07-03 
21:41:31.000000000 +0200
@@ -390,6 +390,7 @@
        if (!trace) {
                trace = g_new0(struct lttng_live_ctf_trace, 1);
                trace->ctf_trace_id = ctf_trace_id;
+               trace->trace_id = -1;
                printf_verbose("Create trace ctf_trace_id %" PRIu64 "\n", 
ctf_trace_id);
                BT_INIT_LIST_HEAD(&trace->stream_list);
                g_hash_table_insert(stream->session->ctf_traces,
@@ -1466,7 +1467,7 @@
                lvstream->in_trace = 0;
                bt_list_del(&lvstream->trace_stream_node);
        }
-       if (trace->in_use) {
+       if (trace->in_use && trace->trace_id >= 0) {
                ret = bt_context_remove_trace(bt_ctx, trace->trace_id);
                if (ret < 0)
                        fprintf(stderr, "[error] removing trace from 
context\n");
@@ -1666,7 +1667,6 @@
                 */
                if (g_hash_table_size(ctx->session->ctf_traces) != nr_traces) {
                        printf_verbose("New trace(s) added during 
add_one_trace()\n");
-                       printf_verbose("JORAJ: GREP HERE\n");
                        goto retry;
                }
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/babeltrace-1.5.5/formats/lttng-live/lttng-live-plugin.c 
new/babeltrace-1.5.6/formats/lttng-live/lttng-live-plugin.c
--- old/babeltrace-1.5.5/formats/lttng-live/lttng-live-plugin.c 2018-03-26 
21:34:10.000000000 +0200
+++ new/babeltrace-1.5.6/formats/lttng-live/lttng-live-plugin.c 2018-07-03 
21:41:31.000000000 +0200
@@ -103,7 +103,7 @@
 static
 int parse_url(const char *path, struct lttng_live_ctx *ctx)
 {
-       char remain[3][MAXNAMLEN];
+       char remain[3][MAXNAMLEN] = { { 0 } };
        int ret = -1, proto, proto_offset = 0;
        size_t path_len = strlen(path); /* not accounting \0 */
 
@@ -185,6 +185,7 @@
        if (ret != 2) {
                fprintf(stderr, "[error] Format : "
                        
"net://<hostname>/host/<traced_hostname>/<session_name>\n");
+               ret = -1;
                goto end;
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/babeltrace-1.5.5/formats/lttng-live/lttng-live.h 
new/babeltrace-1.5.6/formats/lttng-live/lttng-live.h
--- old/babeltrace-1.5.5/formats/lttng-live/lttng-live.h        2018-03-26 
21:34:10.000000000 +0200
+++ new/babeltrace-1.5.6/formats/lttng-live/lttng-live.h        2018-07-03 
21:41:31.000000000 +0200
@@ -88,6 +88,7 @@
        struct bt_list_head stream_list;
        FILE *metadata_fp;
        struct bt_trace_handle *handle;
+       /* Set to -1 when not initialized. */
        int trace_id;
        int in_use;
 };


Reply via email to