Hello community,
here is the log from the commit of package yast2-core for openSUSE:Factory
checked in at Thu Feb 4 08:45:13 CET 2010.
--------
--- yast2-core/yast2-core.changes 2009-12-18 14:14:59.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-core/yast2-core.changes 2010-02-02 13:41:56.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Feb 1 16:01:46 CET 2010 - mvidner@suse.cz
+
+- Fixed a crash in LogTail by adding a mutex to the shared variable
+ (bnc#565918).
+- Re-enabled parts of liby2util-r testsuite.
+- 2.19.1
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-core-2.19.0.tar.bz2
New:
----
yast2-core-2.19.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-core.spec ++++++
--- /var/tmp/diff_new_pack.gTySxl/_old 2010-02-04 08:44:29.000000000 +0100
+++ /var/tmp/diff_new_pack.gTySxl/_new 2010-02-04 08:44:29.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-core (Version 2.19.0)
+# spec file for package yast2-core (Version 2.19.1)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,10 +19,10 @@
Name: yast2-core
-Version: 2.19.0
+Version: 2.19.1
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-core-2.19.0.tar.bz2
+Source0: yast2-core-2.19.1.tar.bz2
Prefix: /usr
Group: System/YaST
License: GPLv2+
@@ -73,7 +73,7 @@
applications using the YaST2 YCP interpreter.
%prep
-%setup -n yast2-core-2.19.0
+%setup -n yast2-core-2.19.1
%build
%ifarch %arm
++++++ yast2-core-2.19.0.tar.bz2 -> yast2-core-2.19.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/aclocal.m4 new/yast2-core-2.19.1/aclocal.m4
--- old/yast2-core-2.19.0/aclocal.m4 2009-12-18 13:06:37.000000000 +0100
+++ new/yast2-core-2.19.1/aclocal.m4 2010-02-02 13:35:15.000000000 +0100
@@ -19,6 +19,162 @@
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.])])
+# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
+#
+# Copyright © 2004 Scott James Remnant .
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# PKG_PROG_PKG_CONFIG([MIN-VERSION])
+# ----------------------------------
+AC_DEFUN([PKG_PROG_PKG_CONFIG],
+[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
+m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
+AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
+if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+fi
+if test -n "$PKG_CONFIG"; then
+ _pkg_min_version=m4_default([$1], [0.9.0])
+ AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
+ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+ PKG_CONFIG=""
+ fi
+
+fi[]dnl
+])# PKG_PROG_PKG_CONFIG
+
+# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+#
+# Check to see whether a particular set of modules exists. Similar
+# to PKG_CHECK_MODULES(), but does not set variables or print errors.
+#
+#
+# Similar to PKG_CHECK_MODULES, make sure that the first instance of
+# this or PKG_CHECK_MODULES is called, or make sure to call
+# PKG_CHECK_EXISTS manually
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_EXISTS],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+if test -n "$PKG_CONFIG" && \
+ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
+ m4_ifval([$2], [$2], [:])
+m4_ifvaln([$3], [else
+ $3])dnl
+fi])
+
+
+# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
+# ---------------------------------------------
+m4_define([_PKG_CONFIG],
+[if test -n "$$1"; then
+ pkg_cv_[]$1="$$1"
+ elif test -n "$PKG_CONFIG"; then
+ PKG_CHECK_EXISTS([$3],
+ [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
+ [pkg_failed=yes])
+ else
+ pkg_failed=untried
+fi[]dnl
+])# _PKG_CONFIG
+
+# _PKG_SHORT_ERRORS_SUPPORTED
+# -----------------------------
+AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
+ _pkg_short_errors_supported=yes
+else
+ _pkg_short_errors_supported=no
+fi[]dnl
+])# _PKG_SHORT_ERRORS_SUPPORTED
+
+
+# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
+# [ACTION-IF-NOT-FOUND])
+#
+#
+# Note that if there is a possibility the first call to
+# PKG_CHECK_MODULES might not happen, you should be sure to include an
+# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
+#
+#
+# --------------------------------------------------------------
+AC_DEFUN([PKG_CHECK_MODULES],
+[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
+AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
+
+pkg_failed=no
+AC_MSG_CHECKING([for $1])
+
+_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
+_PKG_CONFIG([$1][_LIBS], [libs], [$2])
+
+m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
+and $1[]_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.])
+
+if test $pkg_failed = yes; then
+ _PKG_SHORT_ERRORS_SUPPORTED
+ if test $_pkg_short_errors_supported = yes; then
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
+ else
+ $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
+ fi
+ # Put the nasty error message in config.log where it belongs
+ echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
+
+ ifelse([$4], , [AC_MSG_ERROR(dnl
+[Package requirements ($2) were not met:
+
+$$1_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+_PKG_TEXT
+])],
+ [AC_MSG_RESULT([no])
+ $4])
+elif test $pkg_failed = untried; then
+ ifelse([$4], , [AC_MSG_FAILURE(dnl
+[The pkg-config script could not be found or is too old. Make sure it
+is in your PATH or set the PKG_CONFIG environment variable to the full
+path to pkg-config.
+
+_PKG_TEXT
+
+To get pkg-config, see http://pkg-config.freedesktop.org/.])],
+ [$4])
+else
+ $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
+ $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
+ AC_MSG_RESULT([yes])
+ ifelse([$3], , :, [$3])
+fi[]dnl
+])# PKG_CHECK_MODULES
+
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -1014,162 +1170,6 @@
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
-# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
-#
-# Copyright © 2004 Scott James Remnant .
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#
-# As a special exception to the GNU General Public License, if you
-# distribute this file as part of a program that contains a
-# configuration script generated by Autoconf, you may include it under
-# the same distribution terms that you use for the rest of that program.
-
-# PKG_PROG_PKG_CONFIG([MIN-VERSION])
-# ----------------------------------
-AC_DEFUN([PKG_PROG_PKG_CONFIG],
-[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
-m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
-AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
- AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
-fi
-if test -n "$PKG_CONFIG"; then
- _pkg_min_version=m4_default([$1], [0.9.0])
- AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- PKG_CONFIG=""
- fi
-
-fi[]dnl
-])# PKG_PROG_PKG_CONFIG
-
-# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
-#
-# Check to see whether a particular set of modules exists. Similar
-# to PKG_CHECK_MODULES(), but does not set variables or print errors.
-#
-#
-# Similar to PKG_CHECK_MODULES, make sure that the first instance of
-# this or PKG_CHECK_MODULES is called, or make sure to call
-# PKG_CHECK_EXISTS manually
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_EXISTS],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-if test -n "$PKG_CONFIG" && \
- AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
- m4_ifval([$2], [$2], [:])
-m4_ifvaln([$3], [else
- $3])dnl
-fi])
-
-
-# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
-# ---------------------------------------------
-m4_define([_PKG_CONFIG],
-[if test -n "$$1"; then
- pkg_cv_[]$1="$$1"
- elif test -n "$PKG_CONFIG"; then
- PKG_CHECK_EXISTS([$3],
- [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
- [pkg_failed=yes])
- else
- pkg_failed=untried
-fi[]dnl
-])# _PKG_CONFIG
-
-# _PKG_SHORT_ERRORS_SUPPORTED
-# -----------------------------
-AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi[]dnl
-])# _PKG_SHORT_ERRORS_SUPPORTED
-
-
-# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
-# [ACTION-IF-NOT-FOUND])
-#
-#
-# Note that if there is a possibility the first call to
-# PKG_CHECK_MODULES might not happen, you should be sure to include an
-# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
-#
-#
-# --------------------------------------------------------------
-AC_DEFUN([PKG_CHECK_MODULES],
-[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
-AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
-AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
-
-pkg_failed=no
-AC_MSG_CHECKING([for $1])
-
-_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
-_PKG_CONFIG([$1][_LIBS], [libs], [$2])
-
-m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
-and $1[]_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.])
-
-if test $pkg_failed = yes; then
- _PKG_SHORT_ERRORS_SUPPORTED
- if test $_pkg_short_errors_supported = yes; then
- $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
- else
- $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
-
- ifelse([$4], , [AC_MSG_ERROR(dnl
-[Package requirements ($2) were not met:
-
-$$1_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-_PKG_TEXT
-])],
- [AC_MSG_RESULT([no])
- $4])
-elif test $pkg_failed = untried; then
- ifelse([$4], , [AC_MSG_FAILURE(dnl
-[The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-_PKG_TEXT
-
-To get pkg-config, see http://pkg-config.freedesktop.org/.])],
- [$4])
-else
- $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
- $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
- AC_MSG_RESULT([yes])
- ifelse([$3], , :, [$3])
-fi[]dnl
-])# PKG_CHECK_MODULES
-
dnl check for docbook -*- autoconf -*-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/dir.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/dir.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/dir.scr 2009-12-18 13:05:51.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/dir.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/dir.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/missing.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/missing.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/missing.scr 2009-12-18 13:05:51.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/missing.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/missing.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/read1.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/read1.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/read1.scr 2009-12-18 13:05:51.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/read1.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/read1.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/write1.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/write1.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/write1.scr 2009-12-18 13:05:45.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/write1.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write1.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/write2.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/write2.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/write2.scr 2009-12-18 13:05:52.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/write2.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write2.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/agent-modules/testsuite/tests/write3.scr new/yast2-core-2.19.1/agent-modules/testsuite/tests/write3.scr
--- old/yast2-core-2.19.0/agent-modules/testsuite/tests/write3.scr 2009-12-18 13:05:52.000000000 +0100
+++ new/yast2-core-2.19.1/agent-modules/testsuite/tests/write3.scr 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-.
-
-`ag_modules(
- `ModulesConf("tests/write3.in.test")
-)
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/configure new/yast2-core-2.19.1/configure
--- old/yast2-core-2.19.0/configure 2009-12-18 13:06:38.000000000 +0100
+++ new/yast2-core-2.19.1/configure 2010-02-02 13:35:17.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-core 2.19.0.
+# Generated by GNU Autoconf 2.63 for yast2-core 2.19.1.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-core'
PACKAGE_TARNAME='yast2-core'
-PACKAGE_VERSION='2.19.0'
-PACKAGE_STRING='yast2-core 2.19.0'
+PACKAGE_VERSION='2.19.1'
+PACKAGE_STRING='yast2-core 2.19.1'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1549,7 +1549,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 yast2-core 2.19.0 to adapt to many kinds of systems.
+\`configure' configures yast2-core 2.19.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1620,7 +1620,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-core 2.19.0:";;
+ short | recursive ) echo "Configuration of yast2-core 2.19.1:";;
esac
cat <<\_ACEOF
@@ -1733,7 +1733,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-core configure 2.19.0
+yast2-core configure 2.19.1
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1747,7 +1747,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-core $as_me 2.19.0, which was
+It was created by yast2-core $as_me 2.19.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2727,7 +2727,7 @@
# Define the identity of the package.
PACKAGE='yast2-core'
- VERSION='2.19.0'
+ VERSION='2.19.1'
cat >>confdefs.h <<_ACEOF
@@ -2849,7 +2849,7 @@
-VERSION="2.19.0"
+VERSION="2.19.1"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
@@ -19835,7 +19835,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-core $as_me 2.19.0, which was
+This file was extended by yast2-core $as_me 2.19.1, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19898,7 +19898,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-core config.status 2.19.0
+yast2-core config.status 2.19.1
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/configure.in new/yast2-core-2.19.1/configure.in
--- old/yast2-core-2.19.0/configure.in 2009-12-18 13:06:29.000000000 +0100
+++ new/yast2-core-2.19.1/configure.in 2010-02-02 13:35:02.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-core
dnl
-dnl -- This file is generated by y2autoconf 2.18.11 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.18.10 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-core, 2.19.0, http://bugs.opensuse.org/, yast2-core)
+AC_INIT(yast2-core, 2.19.1, http://bugs.opensuse.org/, yast2-core)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.19.0"
+VERSION="2.19.1"
RPMNAME="yast2-core"
MAINTAINER="Martin Vidner "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/src/y2log.cc new/yast2-core-2.19.1/liby2util-r/src/y2log.cc
--- old/yast2-core-2.19.0/liby2util-r/src/y2log.cc 2009-08-03 11:39:57.000000000 +0200
+++ new/yast2-core-2.19.1/liby2util-r/src/y2log.cc 2010-02-02 10:41:55.000000000 +0100
@@ -10,7 +10,7 @@
* Arvin Schnell
* Martin Vidner
*
- * $Id: y2log.cc 57367 2009-06-01 06:54:39Z mvidner $
+ * $Id: y2log.cc 60651 2010-02-02 09:41:53Z mvidner $
*/
#include
@@ -322,7 +322,11 @@
else
tolog = y2_logfmt_prefix (level) + common;
// store the message for worse times
+ // (lock the variable that is shared among threads, bnc#565918)
+ static pthread_mutex_t blanik_mutex = PTHREAD_MUTEX_INITIALIZER;
+ pthread_mutex_lock (&blanik_mutex);
blanik.push_back (tolog);
+ pthread_mutex_unlock (&blanik_mutex);
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/lib/liby2util_init.exp new/yast2-core-2.19.1/liby2util-r/testsuite/lib/liby2util_init.exp
--- old/yast2-core-2.19.0/liby2util-r/testsuite/lib/liby2util_init.exp 2009-08-03 11:39:57.000000000 +0200
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/lib/liby2util_init.exp 2010-02-02 10:36:58.000000000 +0100
@@ -40,13 +40,6 @@
return -1
}
- # check return code from runprg
-
- if {$result != ""} {
- warning "Run of $base_name results in '$result'"
- return -1
- }
-
# ok, all is fine
pass $base_name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/liby2util.test/liby2util.exp new/yast2-core-2.19.1/liby2util-r/testsuite/liby2util.test/liby2util.exp
--- old/yast2-core-2.19.0/liby2util-r/testsuite/liby2util.test/liby2util.exp 2009-08-03 11:39:57.000000000 +0200
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/liby2util.test/liby2util.exp 2010-02-02 10:36:59.000000000 +0100
@@ -10,5 +10,5 @@
# foreach file, call prg-run (from testsuite/lib)
# Disable tests because *.prg programs aren't correctly set up as tests.
-# foreach file $filenames { prg-run $file }
-untested "*.prg aren't tested. Fix the testsuite."
+#untested "*.prg aren't tested. Fix the testsuite."
+foreach file $filenames { prg-run $file }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/Makefile.am new/yast2-core-2.19.1/liby2util-r/testsuite/Makefile.am
--- old/yast2-core-2.19.0/liby2util-r/testsuite/Makefile.am 2009-08-03 11:39:57.000000000 +0200
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/Makefile.am 2010-02-02 10:36:59.000000000 +0100
@@ -15,14 +15,18 @@
-Xlinker --no-whole-archive
noinst_PROGRAMS = \
- test_Y2SLog.prg \
- test_strutil.prg \
+ test_Y2SLog \
+ test_thread_log.prg \
+ test_strutil \
test_mkdir.prg \
test_chroot.prg
-test_Y2SLog_prg_SOURCES = test_Y2SLog.cc
+test_Y2SLog_SOURCES = test_Y2SLog.cc
-test_strutil_prg_SOURCES = test_strutil.cc
+test_thread_log_prg_SOURCES = test_thread_log.cc
+test_thread_log_prg_LDFLAGS = $(AM_LDFLAGS) -pthread
+
+test_strutil_SOURCES = test_strutil.cc
test_mkdir_prg_SOURCES = test_mkdir.cc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/Makefile.in new/yast2-core-2.19.1/liby2util-r/testsuite/Makefile.in
--- old/yast2-core-2.19.0/liby2util-r/testsuite/Makefile.in 2009-12-18 13:06:46.000000000 +0100
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/Makefile.in 2010-02-02 13:35:30.000000000 +0100
@@ -35,8 +35,9 @@
build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
-noinst_PROGRAMS = test_Y2SLog.prg$(EXEEXT) test_strutil.prg$(EXEEXT) \
- test_mkdir.prg$(EXEEXT) test_chroot.prg$(EXEEXT)
+noinst_PROGRAMS = test_Y2SLog$(EXEEXT) test_thread_log.prg$(EXEEXT) \
+ test_strutil$(EXEEXT) test_mkdir.prg$(EXEEXT) \
+ test_chroot.prg$(EXEEXT)
subdir = liby2util-r/testsuite
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -51,9 +52,9 @@
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
PROGRAMS = $(noinst_PROGRAMS)
-am_test_Y2SLog_prg_OBJECTS = test_Y2SLog.$(OBJEXT)
-test_Y2SLog_prg_OBJECTS = $(am_test_Y2SLog_prg_OBJECTS)
-test_Y2SLog_prg_LDADD = $(LDADD)
+am_test_Y2SLog_OBJECTS = test_Y2SLog.$(OBJEXT)
+test_Y2SLog_OBJECTS = $(am_test_Y2SLog_OBJECTS)
+test_Y2SLog_LDADD = $(LDADD)
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
@@ -67,9 +68,16 @@
am_test_mkdir_prg_OBJECTS = test_mkdir.$(OBJEXT)
test_mkdir_prg_OBJECTS = $(am_test_mkdir_prg_OBJECTS)
test_mkdir_prg_LDADD = $(LDADD)
-am_test_strutil_prg_OBJECTS = test_strutil.$(OBJEXT)
-test_strutil_prg_OBJECTS = $(am_test_strutil_prg_OBJECTS)
-test_strutil_prg_LDADD = $(LDADD)
+am_test_strutil_OBJECTS = test_strutil.$(OBJEXT)
+test_strutil_OBJECTS = $(am_test_strutil_OBJECTS)
+test_strutil_LDADD = $(LDADD)
+am_test_thread_log_prg_OBJECTS = test_thread_log.$(OBJEXT)
+test_thread_log_prg_OBJECTS = $(am_test_thread_log_prg_OBJECTS)
+test_thread_log_prg_LDADD = $(LDADD)
+test_thread_log_prg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \
+ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
+ $(AM_CXXFLAGS) $(CXXFLAGS) $(test_thread_log_prg_LDFLAGS) \
+ $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@@ -96,10 +104,12 @@
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
-SOURCES = $(test_Y2SLog_prg_SOURCES) $(test_chroot_prg_SOURCES) \
- $(test_mkdir_prg_SOURCES) $(test_strutil_prg_SOURCES)
-DIST_SOURCES = $(test_Y2SLog_prg_SOURCES) $(test_chroot_prg_SOURCES) \
- $(test_mkdir_prg_SOURCES) $(test_strutil_prg_SOURCES)
+SOURCES = $(test_Y2SLog_SOURCES) $(test_chroot_prg_SOURCES) \
+ $(test_mkdir_prg_SOURCES) $(test_strutil_SOURCES) \
+ $(test_thread_log_prg_SOURCES)
+DIST_SOURCES = $(test_Y2SLog_SOURCES) $(test_chroot_prg_SOURCES) \
+ $(test_mkdir_prg_SOURCES) $(test_strutil_SOURCES) \
+ $(test_thread_log_prg_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
@@ -330,8 +340,10 @@
$(srcdir)/../src/liby2util.la \
-Xlinker --no-whole-archive
-test_Y2SLog_prg_SOURCES = test_Y2SLog.cc
-test_strutil_prg_SOURCES = test_strutil.cc
+test_Y2SLog_SOURCES = test_Y2SLog.cc
+test_thread_log_prg_SOURCES = test_thread_log.cc
+test_thread_log_prg_LDFLAGS = $(AM_LDFLAGS) -pthread
+test_strutil_SOURCES = test_strutil.cc
test_mkdir_prg_SOURCES = test_mkdir.cc
test_chroot_prg_SOURCES = test_chroot.cc
test_chroot_prg_LDFLAGS = $(AM_LDFLAGS) -static
@@ -379,18 +391,21 @@
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
-test_Y2SLog.prg$(EXEEXT): $(test_Y2SLog_prg_OBJECTS) $(test_Y2SLog_prg_DEPENDENCIES)
- @rm -f test_Y2SLog.prg$(EXEEXT)
- $(AM_V_CXXLD)$(CXXLINK) $(test_Y2SLog_prg_OBJECTS) $(test_Y2SLog_prg_LDADD) $(LIBS)
+test_Y2SLog$(EXEEXT): $(test_Y2SLog_OBJECTS) $(test_Y2SLog_DEPENDENCIES)
+ @rm -f test_Y2SLog$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(test_Y2SLog_OBJECTS) $(test_Y2SLog_LDADD) $(LIBS)
test_chroot.prg$(EXEEXT): $(test_chroot_prg_OBJECTS) $(test_chroot_prg_DEPENDENCIES)
@rm -f test_chroot.prg$(EXEEXT)
$(AM_V_CXXLD)$(test_chroot_prg_LINK) $(test_chroot_prg_OBJECTS) $(test_chroot_prg_LDADD) $(LIBS)
test_mkdir.prg$(EXEEXT): $(test_mkdir_prg_OBJECTS) $(test_mkdir_prg_DEPENDENCIES)
@rm -f test_mkdir.prg$(EXEEXT)
$(AM_V_CXXLD)$(CXXLINK) $(test_mkdir_prg_OBJECTS) $(test_mkdir_prg_LDADD) $(LIBS)
-test_strutil.prg$(EXEEXT): $(test_strutil_prg_OBJECTS) $(test_strutil_prg_DEPENDENCIES)
- @rm -f test_strutil.prg$(EXEEXT)
- $(AM_V_CXXLD)$(CXXLINK) $(test_strutil_prg_OBJECTS) $(test_strutil_prg_LDADD) $(LIBS)
+test_strutil$(EXEEXT): $(test_strutil_OBJECTS) $(test_strutil_DEPENDENCIES)
+ @rm -f test_strutil$(EXEEXT)
+ $(AM_V_CXXLD)$(CXXLINK) $(test_strutil_OBJECTS) $(test_strutil_LDADD) $(LIBS)
+test_thread_log.prg$(EXEEXT): $(test_thread_log_prg_OBJECTS) $(test_thread_log_prg_DEPENDENCIES)
+ @rm -f test_thread_log.prg$(EXEEXT)
+ $(AM_V_CXXLD)$(test_thread_log_prg_LINK) $(test_thread_log_prg_OBJECTS) $(test_thread_log_prg_LDADD) $(LIBS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
@@ -402,6 +417,7 @@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_chroot.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_mkdir.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_strutil.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_thread_log.Po@am__quote@
.cc.o:
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/test_chroot.cc new/yast2-core-2.19.1/liby2util-r/testsuite/test_chroot.cc
--- old/yast2-core-2.19.0/liby2util-r/testsuite/test_chroot.cc 2009-08-03 11:39:57.000000000 +0200
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/test_chroot.cc 2010-02-02 10:36:58.000000000 +0100
@@ -6,15 +6,15 @@
int main(int argc, char* argv[])
{
- if(argc<2)
+ const char * chroot = "/";
+ if(argc >= 2)
{
- cout << "must specify directory to chroot to" << endl;
- return 1;
+ chroot = argv[1];
}
const char* aa[] = { "ls" , "-al", NULL };
// string aa = "ls";
ExternalProgram* prog = new ExternalProgram(aa, ExternalProgram::Stderr_To_Stdout,
- false, -1, true, argv[1]);
+ false, -1, true, chroot);
if(!prog) return 1;
string line;
@@ -25,5 +25,5 @@
cout << line;
}
cout << "program exited with " << prog->close() << endl;
- return 0;
+ return prog->close();
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/liby2util-r/testsuite/test_thread_log.cc new/yast2-core-2.19.1/liby2util-r/testsuite/test_thread_log.cc
--- old/yast2-core-2.19.0/liby2util-r/testsuite/test_thread_log.cc 1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-core-2.19.1/liby2util-r/testsuite/test_thread_log.cc 2010-02-02 10:36:59.000000000 +0100
@@ -0,0 +1,52 @@
+// adapted from
+// http://en.wikipedia.org/wiki/POSIX_Threads#Example
+
+// Test case for bnc#565918:
+// The container variable for y2debug messages was not protected from
+// concurrent thread access.
+// Simply invoke y2debug from several threads many times to make it crash.
+#include
+#include
+#include
+#define NUM_THREADS 5
+
+#include
+
+int ticks;
+
+void *PrintHello(void *threadid)
+{
+ long tid;
+
+
+ tid = (long)threadid;
+ printf("Hello World! It's me, thread %p!\n", threadid);
+ for (int i = 0; i < ticks; ++i)
+ y2debug("Thread %p tick %d", threadid, i);
+ pthread_exit(NULL);
+}
+
+int main (int argc, char *argv[])
+{
+ pthread_t threads[NUM_THREADS];
+
+ // enable collecting y2debug messages
+ setenv("Y2DEBUGONCRASH", "1", 1 /*overwrite*/);
+ ticks = argc>1? atoi(argv[1]): 1000;
+ int rc;
+ intptr_t t;
+ for(t=1; t<=NUM_THREADS; t++){
+ printf("In main: creating thread %p\n", (void*)t);
+ rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
+
+
+ if (rc){
+ printf("ERROR; return code from pthread_create() is %d\n", rc);
+ return 1;
+ }
+ }
+ pthread_exit(NULL);
+ // if the bug exists, the program crashes before it can exit succesfully
+ return 0;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/libycp/src/YCPBuiltinString.cc new/yast2-core-2.19.1/libycp/src/YCPBuiltinString.cc
--- old/yast2-core-2.19.0/libycp/src/YCPBuiltinString.cc 2009-08-03 11:39:55.000000000 +0200
+++ new/yast2-core-2.19.1/libycp/src/YCPBuiltinString.cc 2010-02-02 10:34:45.000000000 +0100
@@ -467,7 +467,7 @@
* @param string STRING1 String
* @param string STRING2 Substring
* @return integer OFFSET
- * If substring is not found find returns `nil'.
+ * If substring is not found search returns `nil'.
*
* @description
*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-core-2.19.0/VERSION new/yast2-core-2.19.1/VERSION
--- old/yast2-core-2.19.0/VERSION 2009-12-18 12:43:32.000000000 +0100
+++ new/yast2-core-2.19.1/VERSION 2010-02-02 10:37:22.000000000 +0100
@@ -1 +1 @@
-2.19.0
+2.19.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org