Hello community, here is the log from the commit of package systemtap for openSUSE:Factory checked in at Wed Feb 4 00:39:46 CET 2009. -------- --- systemtap/systemtap.changes 2009-01-29 12:59:40.000000000 +0100 +++ systemtap/systemtap.changes 2009-02-03 14:40:29.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Feb 3 14:39:38 CET 2009 - tiwai@suse.de + +- Fix debugpath.exp with $SYSTEMTAP_DEBUGINFO_PATH (bnc#471811) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- systemtap-debugpath.exp-path-fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemtap.spec ++++++ --- /var/tmp/diff_new_pack.fF7523/_old 2009-02-04 00:37:07.000000000 +0100 +++ /var/tmp/diff_new_pack.fF7523/_new 2009-02-04 00:37:07.000000000 +0100 @@ -25,7 +25,7 @@ %define package_version 20080906 License: GPL v2 or later Version: 0.7.1 -Release: 34 +Release: 36 Summary: Instrumentation System Group: Development/Tools/Debuggers Url: http://sourceware.org/systemtap/ @@ -45,6 +45,7 @@ Patch11: systemtap-tcl-quote-fix.diff Patch12: stap-fix-procfs-dir_entry-count.diff Patch13: stap-pr6905-weaken-lineno-checks.diff +Patch14: systemtap-debugpath.exp-path-fix.diff Requires: libebl1 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -78,6 +79,7 @@ %patch11 -p1 %patch12 -p1 %patch13 -p1 +%patch14 -p1 %build autoreconf -fi @@ -106,6 +108,8 @@ %dir %attr(0755,root,root) /var/cache/systemtap %changelog +* Tue Feb 03 2009 tiwai@suse.de +- Fix debugpath.exp with $SYSTEMTAP_DEBUGINFO_PATH (bnc#471811) * Thu Jan 29 2009 tiwai@suse.de - Fix procfs dir_entry count warning (bnc#470526) - Improve the parsing of lineno checks (bnc#468247) ++++++ systemtap-debugpath.exp-path-fix.diff ++++++ --- testsuite/systemtap.base/debugpath.exp | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) Index: b/testsuite/systemtap.base/debugpath.exp =================================================================== --- a/testsuite/systemtap.base/debugpath.exp +++ b/testsuite/systemtap.base/debugpath.exp @@ -11,11 +11,27 @@ wait set test "debugpath-good" set uname [exec /bin/uname -r] -spawn env SYSTEMTAP_DEBUGINFO_PATH=/lib/modules/$uname/build stap -e "probe kernel.function(\"sys_open\") {}" -p2 -expect { - -re {kernel.function.*pc=} { pass $test } - timeout { fail "$test (timeout2)" } - eof { fail "$test (eof)" } + +# Guess where debuginfo is installed +if [file isdirectory /usr/lib/debug/boot/] { + set debuginfo_path "/usr/lib/debug/boot/" +} elseif [file isdirectory /usr/lib/debug/lib/modules/$uname] { + set debuginfo_path "/usr/lib/debug/lib/modules/$uname" +} elseif [file isdirectory /lib/modules/$uname/build] { + set debuginfo_path "/lib/modules/$uname/build" +} else { + set debuginfo_path "/lib/modules/$uname" } -wait +if { ![file isfile "$debuginfo_path/vmlinux"] && ![file isfile "$debuginfo_path/vmlinux.debug"] } { + untested "$test: kernel debuginfo does not exists\n" +} else { + spawn env SYSTEMTAP_DEBUGINFO_PATH=$debuginfo_path stap -e "probe kernel.function(\"sys_open\") {}" -p2 + expect { + -re {kernel.function.*pc=} { pass $test } + timeout { fail "$test (timeout2)" } + eof { fail "$test (eof)" } + } + + wait +} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org