From 7afc3a6b8baf9f97a9baa768b57dd974e2c1614cae8e0c0af55a3464c6993086 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 24 Apr 2007 20:38:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemtap?expand=0&rev=11 --- elfutils-0.125-no-osl.tar.bz2 | 3 -- ...-fix.diff => elfutils-0.127-build-fix.diff | 0 elfutils-0.127-no-osl.tar.bz2 | 3 ++ elfutils-portability.patch | 51 ++++++++++--------- systap-elf-install.patch | 14 ++--- systemtap-20070317.tar.bz2 | 3 -- systemtap-20070421.tar.bz2 | 3 ++ systemtap-compile-warning-fixes.diff | 13 +++++ systemtap.changes | 10 ++++ systemtap.spec | 21 +++++--- 10 files changed, 77 insertions(+), 44 deletions(-) delete mode 100644 elfutils-0.125-no-osl.tar.bz2 rename elfutils-0.125-build-fix.diff => elfutils-0.127-build-fix.diff (100%) create mode 100644 elfutils-0.127-no-osl.tar.bz2 delete mode 100644 systemtap-20070317.tar.bz2 create mode 100644 systemtap-20070421.tar.bz2 create mode 100644 systemtap-compile-warning-fixes.diff diff --git a/elfutils-0.125-no-osl.tar.bz2 b/elfutils-0.125-no-osl.tar.bz2 deleted file mode 100644 index 3546a2c..0000000 --- a/elfutils-0.125-no-osl.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:926b7ab070fa45dd258d421ad44667e114705b8aa2a6e05cea63b087e7f5c834 -size 946465 diff --git a/elfutils-0.125-build-fix.diff b/elfutils-0.127-build-fix.diff similarity index 100% rename from elfutils-0.125-build-fix.diff rename to elfutils-0.127-build-fix.diff diff --git a/elfutils-0.127-no-osl.tar.bz2 b/elfutils-0.127-no-osl.tar.bz2 new file mode 100644 index 0000000..40ffdb7 --- /dev/null +++ b/elfutils-0.127-no-osl.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e3951234848adf21b340d02675c07439c527d39555ccce499af932bc1bbf92d +size 1010635 diff --git a/elfutils-portability.patch b/elfutils-portability.patch index 1c1c8b9..67359dc 100644 --- a/elfutils-portability.patch +++ b/elfutils-portability.patch @@ -1,6 +1,6 @@ --- elfutils/backends/ChangeLog +++ elfutils/backends/ChangeLog -@@ -123,6 +123,11 @@ +@@ -135,6 +135,11 @@ * sparc_init.c: Likewise. * x86_64_init.c: Likewise. @@ -12,7 +12,7 @@ 2005-11-19 Roland McGrath * ppc64_reloc.def: REL30 -> ADDR30. -@@ -145,6 +150,9 @@ +@@ -157,6 +162,9 @@ * Makefile.am (uninstall): Don't try to remove $(pkgincludedir). (CLEANFILES): Add libebl_$(m).so. @@ -121,7 +121,7 @@ * configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros. --- elfutils/config/Makefile.in +++ elfutils/config/Makefile.in -@@ -84,6 +84,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -83,6 +83,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -129,7 +129,7 @@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -124,6 +125,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ +@@ -123,6 +124,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ TESTS_RPATH_TRUE = @TESTS_RPATH_TRUE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ @@ -139,7 +139,7 @@ ac_ct_CC = @ac_ct_CC@ --- elfutils/configure +++ elfutils/configure -@@ -276,7 +276,7 @@ PACKAGE_STRING='Red Hat elfutils 0.125' +@@ -276,7 +276,7 @@ PACKAGE_STRING='Red Hat elfutils 0.127' PACKAGE_BUGREPORT='http://bugzilla.redhat.com/bugzilla/' ac_unique_file="libelf/libelf.h" @@ -461,7 +461,7 @@ libcpu_i386_a_SOURCES = i386_dis.c --- elfutils/libdw/ChangeLog +++ elfutils/libdw/ChangeLog -@@ -322,6 +322,11 @@ +@@ -370,6 +370,11 @@ 2005-05-31 Roland McGrath @@ -525,7 +525,7 @@ $(COMPILE))) --- elfutils/libdwfl/ChangeLog +++ elfutils/libdwfl/ChangeLog -@@ -371,6 +371,11 @@ +@@ -474,6 +474,11 @@ 2005-07-21 Roland McGrath @@ -586,7 +586,7 @@ --- elfutils/libebl/ChangeLog +++ elfutils/libebl/ChangeLog -@@ -451,6 +451,11 @@ +@@ -465,6 +465,11 @@ * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency tracking works right. @@ -617,7 +617,7 @@ INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \ --- elfutils/libebl/Makefile.in +++ elfutils/libebl/Makefile.in -@@ -131,6 +131,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -132,6 +132,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -625,7 +625,7 @@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -171,6 +172,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ +@@ -172,6 +173,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ TESTS_RPATH_TRUE = @TESTS_RPATH_TRUE@ USE_NLS = @USE_NLS@ VERSION = 1 @@ -633,7 +633,7 @@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ ac_ct_CC = @ac_ct_CC@ -@@ -213,9 +215,9 @@ sharedstatedir = @sharedstatedir@ +@@ -214,9 +216,9 @@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \ @@ -647,7 +647,7 @@ --- elfutils/libelf/ChangeLog +++ elfutils/libelf/ChangeLog -@@ -183,6 +183,11 @@ +@@ -221,6 +221,11 @@ If section content hasn't been read yet, do it before looking for the block size. If no section data present, infer size of section header. @@ -779,7 +779,7 @@ ac_ct_CC = @ac_ct_CC@ --- elfutils/src/ChangeLog +++ elfutils/src/ChangeLog -@@ -42,6 +42,10 @@ +@@ -87,6 +87,10 @@ * elflint.c (valid_e_machine): Add EM_ALPHA. Reported by Christian Aichinger . @@ -790,7 +790,7 @@ 2006-08-08 Ulrich Drepper * elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB. -@@ -118,6 +122,10 @@ +@@ -163,6 +167,10 @@ * Makefile.am: Add hacks to create dependency files for non-generic linker. @@ -801,7 +801,7 @@ 2006-06-12 Ulrich Drepper * ldgeneric.c (ld_generic_generate_sections): Don't create .interp -@@ -466,6 +474,11 @@ +@@ -511,6 +519,11 @@ * readelf.c (print_debug_loc_section): Fix indentation for larger address size. @@ -844,12 +844,12 @@ $(if $($(*F)_no_Werror),,-Werror) \ - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \ + $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \ - $(if $($(*F)_no_Wformat),,-Wformat=2) + $(if $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F)) INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \ --- elfutils/src/Makefile.in +++ elfutils/src/Makefile.in -@@ -202,6 +202,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -212,6 +212,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -857,7 +857,7 @@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -242,6 +243,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ +@@ -252,6 +253,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ TESTS_RPATH_TRUE = @TESTS_RPATH_TRUE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ @@ -865,19 +865,20 @@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ -d ac_ct_CC = @ac_ct_CC@ -@@ -286,12 +288,12 @@ target_alias = @target_alias@ +@@ -296,13 +298,13 @@ target_alias = @target_alias@ @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -std=gnu99 \ @MUDFLAP_FALSE@ $(native_ld_cflags) $(if \ @MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror) $(if \ -@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \ +@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \ - @MUDFLAP_FALSE@ $($(*F)_no_Wformat),,-Wformat=2) + @MUDFLAP_FALSE@ $($(*F)_no_Wformat),,-Wformat=2) \ + @MUDFLAP_FALSE@ $(CFLAGS_$(*F)) @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -std=gnu99 \ @MUDFLAP_TRUE@ $(native_ld_cflags) $(if \ @MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror) $(if \ -@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \ +@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \ - @MUDFLAP_TRUE@ $($(*F)_no_Wformat),,-Wformat=2) + @MUDFLAP_TRUE@ $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F)) INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \ -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \ --- elfutils/src/strings.c @@ -961,7 +962,7 @@ cannot set access and modification date of '%s'"), fname); --- elfutils/tests/ChangeLog +++ elfutils/tests/ChangeLog -@@ -419,6 +419,11 @@ +@@ -473,6 +473,11 @@ * Makefile.am (TESTS): Add run-elflint-test.sh. (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2. @@ -993,7 +994,7 @@ endif --- elfutils/tests/Makefile.in +++ elfutils/tests/Makefile.in -@@ -294,6 +294,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -310,6 +310,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ @@ -1001,7 +1002,7 @@ LEX = @LEX@ LEXLIB = @LEXLIB@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ -@@ -334,6 +335,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ +@@ -350,6 +351,7 @@ TESTS_RPATH_FALSE = @TESTS_RPATH_FALSE@ TESTS_RPATH_TRUE = @TESTS_RPATH_TRUE@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ @@ -1009,7 +1010,7 @@ XGETTEXT = @XGETTEXT@ YACC = @YACC@ ac_ct_CC = @ac_ct_CC@ -@@ -375,10 +377,10 @@ sbindir = @sbindir@ +@@ -391,10 +393,10 @@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ diff --git a/systap-elf-install.patch b/systap-elf-install.patch index 86324de..924ee8e 100644 --- a/systap-elf-install.patch +++ b/systap-elf-install.patch @@ -1,14 +1,14 @@ ---- Makefile.am-dist 2006-08-09 15:12:54.000000000 +0200 -+++ Makefile.am 2006-08-09 15:13:04.000000000 +0200 -@@ -41,9 +41,9 @@ +--- Makefile.am-dist 2007-04-24 18:19:42.000000000 +0200 ++++ Makefile.am 2007-04-24 18:20:19.000000000 +0200 +@@ -44,9 +44,9 @@ .PHONY: install-elfutils install-elfutils: - mkdir -p $(pkglibdir) + mkdir -p $(DESTDIR)$(pkglibdir) - cp -df lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so* \ -- $(pkglibdir) -+ $(DESTDIR)$(pkglibdir) + for file in lib-elfutils/*.so* lib-elfutils/${PACKAGE_NAME}/*.so*; do \ +- $(INSTALL_PROGRAM) $$file $(pkglibdir); \ ++ $(INSTALL_PROGRAM) $$file $(DESTDIR)$(pkglibdir); \ + done install-exec-local: install-elfutils endif - diff --git a/systemtap-20070317.tar.bz2 b/systemtap-20070317.tar.bz2 deleted file mode 100644 index 4e7f0b4..0000000 --- a/systemtap-20070317.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c759fd962427f123aa7c16e139c965d25c69c2ebf440fdb157af17717c55be81 -size 667580 diff --git a/systemtap-20070421.tar.bz2 b/systemtap-20070421.tar.bz2 new file mode 100644 index 0000000..1c8e91e --- /dev/null +++ b/systemtap-20070421.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d6c24d9951dcf49f451372f0a09ec66259dce60fc548de196cfc8f4cbeb829f +size 686764 diff --git a/systemtap-compile-warning-fixes.diff b/systemtap-compile-warning-fixes.diff new file mode 100644 index 0000000..2f324dc --- /dev/null +++ b/systemtap-compile-warning-fixes.diff @@ -0,0 +1,13 @@ +--- runtime/staprun/mainloop.c-dist 2007-04-24 18:38:24.000000000 +0200 ++++ runtime/staprun/mainloop.c 2007-04-24 18:39:20.000000000 +0200 +@@ -300,7 +300,9 @@ int stp_main_loop(void) + switch (type) { + #ifdef STP_OLD_TRANSPORT + case STP_REALTIME_DATA: +- write(out_fd[0], data, nb - sizeof(int)); ++ if (write(out_fd[0], data, nb - sizeof(int)) != ++ (ssize_t)(nb - sizeof(int))) ++ fprintf(stderr, "WARNING: short STP_REALTIME_DATA written\n"); + break; + #endif + case STP_OOB_DATA: diff --git a/systemtap.changes b/systemtap.changes index 5c91960..7876ec1 100644 --- a/systemtap.changes +++ b/systemtap.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Apr 24 18:15:56 CEST 2007 - tiwai@suse.de + +- updated to snapshot 20070421 and elfutils-0.127: + * minor compile warning fixes + * add interruptible parameter + * improvement on documents + * fix for debugfs and relayfs mounts + * see ChangeLog for other changes + ------------------------------------------------------------------- Mon Mar 19 17:25:52 CET 2007 - tiwai@suse.de diff --git a/systemtap.spec b/systemtap.spec index 1258001..a047704 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -1,5 +1,5 @@ # -# spec file for package systemtap (Version 0.5.8) +# spec file for package systemtap (Version 0.5.14) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,11 +12,11 @@ Name: systemtap BuildRequires: gcc-c++ -%define package_version 20070317 -%define elfutils_version 0.125 +%define package_version 20070421 +%define elfutils_version 0.127 License: GNU General Public License (GPL) -Version: 0.5.8 -Release: 38 +Version: 0.5.14 +Release: 1 Summary: Instrumentation System Group: Development/Tools/Debuggers URL: http://sourceware.org/systemtap/ @@ -26,7 +26,8 @@ Source: systemtap-%{package_version}.tar.bz2 Source1: elfutils-%{elfutils_version}-no-osl.tar.bz2 Patch: systap-elf-install.patch Patch1: elfutils-portability.patch -Patch2: elfutils-0.125-build-fix.diff +Patch2: elfutils-0.127-build-fix.diff +Patch3: systemtap-compile-warning-fixes.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,6 +48,7 @@ Authors: # %setup -n %{name}-%{package_version} -q -a1 %setup -n src -q -a1 %patch +%patch3 autoreconf -fi cd elfutils-%{elfutils_version} %patch1 -p1 @@ -75,6 +77,13 @@ rm -rf ${RPM_BUILD_ROOT} %dir %attr(0755,root,root) /var/cache/systemtap %changelog +* Tue Apr 24 2007 - tiwai@suse.de +- updated to snapshot 20070421 and elfutils-0.127: + * minor compile warning fixes + * add interruptible parameter + * improvement on documents + * fix for debugfs and relayfs mounts + * see ChangeLog for other changes * Mon Mar 19 2007 - tiwai@suse.de - updated to snapshot 20070317: including all fix patches