[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-08-08 Thread bugproxy
--- Comment From naveen.n@in.ibm.com 2016-08-08 02:35 EDT---
This is a duplicate of:
https://bugs.launchpad.net/ubuntu/+bug/1568689

Canonical is yet to pick up the required patches for systemtap.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest"  --tool $tool 
--tool_opts \'\' --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find '"env 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-04-07 Thread bugproxy
--- Comment From naveen.n@in.ibm.com 2016-04-07 06:41 EDT---
This bug affects Ubuntu 14.04.4, 15.10 and 16.04. Ravi has posted 
fixes/backports for all the three releases. I think Canonical has fixed up the 
patches only for 16.04 at this point and is yet to pick up the fixes for the 
other releases.

Can you confirm that systemtap works properly on 16.04?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest"  --tool 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-04-07 Thread bugproxy
--- Comment From poojabsu...@in.ibm.com 2016-04-07 02:36 EDT---
Hi,

Ubuntu14.04.4, debuginfo issue is still not fixed.

root@ubuntu:~/systemtap-2.3-14721/bin# uname -a
Linux ubuntu 4.2.0-35-generic #40~14.04.1-Ubuntu SMP Wed Mar 16 17:53:38 UTC 
2016 ppc64le ppc64le ppc64le GNU/Linux

root@ubuntu:~/systemtap-2.3-14721/bin# stap --version
Systemtap translator/driver (version 2.3/0.158, Debian version 2.3-1ubuntu1.4 
(trusty))
Copyright (C) 2005-2013 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBSQLITE3 NSS TR1_UNORDERED_MAP NLS

root@ubuntu:~/systemtap-2.3-14721/bin#./stap -ve 'probe 
kernel.function("do_fork") { printf("hit\n"); }'
Pass 1: parsed user script and 95 library script(s) using 
42752virt/32768res/5952shr/26048data kb, in 160usr/0sys/160real ms.
WARNING: cannot find module kernel debuginfo: No DWARF information found [man 
warning::debuginfo]
semantic error: while resolving probe point: identifier 'kernel' at :1:7
source: probe kernel.function("do_fork") { printf("hit\n"); }
^

semantic error: no match
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) 
using 65664virt/35072res/7168shr/27072data kb, in 20usr/80sys/97real ms.
Pass 2: analysis failed.  [man error::pass2]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-04-05 Thread bugproxy
--- Comment From poojabsu...@in.ibm.com 2016-04-05 03:19 EDT---
Hi,
I tested systemtap on latest ubuntu16.04 ,make check error and other failures 
are not yet fixed.

Any update on this? I see in bug 1557673 ,that this bug was fixed in the
package systemtap - 2.9-2ubuntu2.

root@ubuntu:~/systemtap-2.9# dpkg-query -l systemtap
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  systemtap  2.9-2ubuntu2 ppc64el  instrumentation system for Linux

root@ubuntu:~/systemtap-2.9# uname -a
Linux ubuntu 4.4.0-16-generic #32-Ubuntu SMP Thu Mar 24 22:31:14 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux

root@ubuntu:~/systemtap-2.9# dpkg-query -l systemtap
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   Version  Architecture Description
+++-==---=
ii  systemtap  2.9-2ubuntu2 ppc64el  instrumentation system for Linux
root@ubuntu:~/systemtap-2.9# uname -a
Linux ubuntu 4.4.0-16-generic #32-Ubuntu SMP Thu Mar 24 22:31:14 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux
tack(backtrace()); exit()}'# stap --all-modules -e 'probe timer.profile 
{print_st
In file included from /usr/share/systemtap/runtime/transport/control.c:14:0,
from /usr/share/systemtap/runtime/transport/transport.c:76,
from /usr/share/systemtap/runtime/linux/print.c:17,
from /usr/share/systemtap/runtime/print.c:17,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from /tmp/stapFn1X26/stap_2fb5bd44bc9e9b5ee5e03bdf4b545935_3605_src.c:170:
/usr/share/systemtap/runtime/transport/symbols.c: In function 
?_stp_module_update_self?:
/usr/share/systemtap/runtime/transport/symbols.c:243:44: error: ?struct module? 
has no member named ?symtab?
if (attr->address == (unsigned long) mod->symtab)
^
/usr/share/systemtap/runtime/transport/symbols.c:245:9: error: ?struct module? 
has no member named ?num_symtab?
mod->num_symtab * sizeof(mod->symtab[0]);
^
/usr/share/systemtap/runtime/transport/symbols.c:245:34: error: ?struct module? 
has no member named ?symtab?
mod->num_symtab * sizeof(mod->symtab[0]);
^
scripts/Makefile.build:258: recipe for target 
'/tmp/stapFn1X26/stap_2fb5bd44bc9e9b5ee5e03bdf4b545935_3605_src.o' failed
make[1]: *** [/tmp/stapFn1X26/stap_2fb5bd44bc9e9b5ee5e03bdf4b545935_3605_src.o] 
Error 1
Makefile:1396: recipe for target '_module_/tmp/stapFn1X26' failed
make: *** [_module_/tmp/stapFn1X26] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed.  [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-03-28 Thread bugproxy
--- Comment From poojabsu...@in.ibm.com 2016-03-29 01:12 EDT---
Hi,
I tested systemtap with latest Ubuntu.
Systemtap was not able to find kernel debuginfo ,only this is fixed and the 
make check error and other failures needs to be fixed yet.

systemtap-2.9# stap -ve 'probe kernel.function("_do_fork") { printf("hit\n"); }'
Pass 1: parsed user script and 110 library script(s) using 
60224virt/48320res/7552shr/37504data kb, in 170usr/0sys/170real ms.
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) 
using 100352virt/89408res/8448shr/77632data kb, in 740usr/90sys/852real ms.
Pass 3: translated to C into 
"/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.c" using 
100352virt/89920res/8960shr/77632data kb, in 20usr/90sys/105real ms.
In file included from /usr/share/systemtap/runtime/print.c:17:0,
from /usr/share/systemtap/runtime/runtime_context.h:22,
from /tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.c:50:
/usr/share/systemtap/runtime/linux/print.c: In function 
?_stp_print_kernel_info?:
/usr/share/systemtap/runtime/linux/print.c:242:20: error: ?struct module? has 
no member named ?module_core?
THIS_MODULE->module_core,
^
/usr/share/systemtap/runtime/linux/print.c:243:37: error: ?struct module? has 
no member named ?core_size?
(unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/
^
/usr/share/systemtap/runtime/linux/print.c:243:62: error: ?struct module? has 
no member named ?core_text_size?
(unsigned long) (THIS_MODULE->core_size - THIS_MODULE->core_text_size)/
^
/usr/share/systemtap/runtime/linux/print.c:244:44: error: ?struct module? has 
no member named ?core_text_size?
(unsigned long) (THIS_MODULE->core_text_size)/1024,
^
scripts/Makefile.build:258: recipe for target 
'/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.o' failed
make[1]: *** [/tmp/stapCuLav9/stap_b1fb74cd193f3b5cfd54555602532397_1032_src.o] 
Error 1
Makefile:1396: recipe for target '_module_/tmp/stapCuLav9' failed
make: *** [_module_/tmp/stapCuLav9] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_b1fb74cd193f3b5cfd54555602532397_1032.ko" in 
6380usr/230sys/7666real ms.
Pass 4: compilation failed.  [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.

--- Comment From poojabsu...@in.ibm.com 2016-03-29 01:14 EDT---
- - - -kernel version- - -

root@ubuntu:~/systemtap-2.9# uname -a
Linux ubuntu 4.4.0-15-generic #31-Ubuntu SMP Fri Mar 18 19:06:23 UTC 2016 
ppc64le ppc64le ppc64le GNU/Linux

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-03-21 Thread bugproxy
--- Comment From ravi.bango...@in.ibm.com 2016-03-21 03:51 EDT---
Canonical,

I can see backported patch is picked up for 16.04. Can you please pick
up patches for ubuntu 14.04 and 15.10 as well.

Regards,
Ravi

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest"  --tool $tool 
--tool_opts \'\' --srcdir $srcdir ; \
then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find 

Re: [Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-03-01 Thread Mark J. Wielaard
On Tue, Mar 01, 2016 at 08:09:59AM -, bugproxy wrote:
> --- Comment From ravi.bango...@in.ibm.com 2016-03-01 03:09 EDT---
> Hi Mark,
> 
> > >   * Fix finding the debug info for Ubuntu kernels (Mark Wielaard). LP:
> > > #1537125.
> >
> > Just a note that the patch that went upstream is slightly different.
> > It is a bit more efficient by removing duplicate searches.
> >
> 
> This "slightly different" means change find_debuginfo_path such that it will 
> look for both kind of files - without and with .debug suffix instead of 
> calling find_debuginfo_path twice. Right?

Yes. Specifically, this is the patch that got committed
upstream: 
https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=7802e6e57d48189e339b4ab40189eb44d8123559

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-03-01 Thread bugproxy
--- Comment From ravi.bango...@in.ibm.com 2016-03-01 03:09 EDT---
Hi Mark,

> >   * Fix finding the debug info for Ubuntu kernels (Mark Wielaard). LP:
> > #1537125.
>
> Just a note that the patch that went upstream is slightly different.
> It is a bit more efficient by removing duplicate searches.
>

This "slightly different" means change find_debuginfo_path such that it will 
look for both kind of files - without and with .debug suffix instead of calling 
find_debuginfo_path twice. Right?
Please let me know if you are pointing to something else.

- Ravi

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 

[Touch-packages] [Bug 1537125] Comment bridged from LTC Bugzilla

2016-02-24 Thread bugproxy
--- Comment From ravi.bango...@in.ibm.com 2016-02-23 01:13 EDT---
Systemtap (which uses Elfutils internally) was not able to find kernel 
debuginfo file in Ubuntu ppc even if it's installed properly. I sent a patch 
that solves this issue. This patch has been accepted and pushed in elfutils 
master.

Here is the link for the same:
https://git.fedorahosted.org/cgit/elfutils.git/patch/?id=7802e6e57d48189e339b4ab40189eb44d8123559

I'm backporting this patch to Ubuntu 14.04, 15.04 and 16.04.

(Note that, this patch does not solve make check error. This needs to be
addressed separately.)

--- Comment From ravi.bango...@in.ibm.com 2016-02-23 05:48 EDT---
(In reply to comment #22)

>
> I'm backporting this patch to Ubuntu 14.04, 15.04 and 16.04.
>

Sorry, my bad. I meant Ubuntu 14.04.4, 15.10 and 16.04

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to elfutils in Ubuntu.
https://bugs.launchpad.net/bugs/1537125

Title:
  ubuntu-14.04.04: fail to run systemtap test suites

Status in elfutils package in Ubuntu:
  Fix Released
Status in systemtap package in Ubuntu:
  New

Bug description:
  ---Problem Description---
  ubuntu-14.04.04: fail to run systemtap test suites
   
  ---uname output---
  Linux u140404 4.2.0-21-generic #25~14.04.1-Ubuntu SMP Thu Dec 3 13:55:42 UTC 
2015 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = power8 

  As per launchpad feature systemtap now supported and enabled on 14.04.04
  - https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1511347

  Here are the steps followed to test systemtap -
  1.  Get 14.04.04 guest VM

  2.  apt-get update; apt-get install dpkg-dev; apt-get build-dep
  systemtap

  3. setup repo
  codename=$(lsb_release -c | awk  '{print $2}')
  sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
  deb http://ddebs.ubuntu.com/ ${codename}  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-updates  main restricted universe 
multiverse
  deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe 
multiverse
  EOF

  4. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01
  5E0577F2

  5. apt-get update

  6.  devel packages
  apt-get install linux-image-`uname -r`-dbgsym 
  apt-get install linux-headers-4.2.0-24-generic

  7.  Install required dependencies 
- dejagnu, elfutils-*

  8. apt-get source systemtap

  9.  appy systemtap fixes 
  see BZ - https://bugzilla.linux.ibm.com/show_bug.cgi?id=131220

  root@u140404:~/patch# ll
  total 32
  drwxr-xr-x 2 root root 4096 Jan  7 03:36 ./
  drwx-- 8 root root 4096 Jan  7 03:55 ../
  -rw-r--r-- 1 root root 6763 Jan  7 03:36 systemtap-1
  -rw-r--r-- 1 root root 3094 Jan  7 03:35 systemtap-1511347.diff
  -rw-r--r-- 1 root root 3472 Jan  7 03:36 systemtap-2
  -rw-r--r-- 1 root root 5864 Jan  7 03:36 systemtap-3

  cd /root/systemtap-2.3
  apply above patch in below order
  patch -p1 < /root/patch/systemtap-1511347.diff
  patch -p1 < /root/patch/systemtap-1
  patch -p1 < /root/patch/systemtap-2
  patch -p1 < /root/patch/systemtap-3

  10. ./configure; make -j10; make install

  11.  make check  ---> failed
  root@u140404:~/systemtap-2.3# make check
  /bin/bash ./git_version.sh -k -s . -o git_version.h
  make  check-recursive
  make[1]: Entering directory `/root/systemtap-2.3'
  Making check in .
  make[2]: Entering directory `/root/systemtap-2.3'
CXX  stap-session.o
CXXLDstap
  make  check-local
  make[3]: Entering directory `/root/systemtap-2.3'
  SRCDIR=`cd .; pwd`; \
  PWD=`pwd`; \
make -C testsuite check SYSTEMTAP_RUNTIME=$SRCDIR/runtime 
SYSTEMTAP_TAPSET=$SRCDIR/tapset 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$PWD/lib-elfutils:$PWD/lib-elfutils/systemtap
 SYSTEMTAP_PATH=$PWD SYSTEMTAP_INCLUDES=$PWD/includes RUNTESTFLAGS="" 
PKGLIBDIR="/usr/local/libexec/systemtap";
  make[4]: Entering directory `/root/systemtap-2.3/testsuite'
  Run "make check" or "make installcheck".
  make  check-DEJAGNU check-local
  make[5]: Entering directory `/root/systemtap-2.3/testsuite'
  srcdir='.'; export srcdir; \
EXPECT=expect; export EXPECT; \
if /bin/bash -c ""env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C 
SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= 
SYSTEMTAP_RUNTIME=/root/systemtap-2.3/runtime 
SYSTEMTAP_TAPSET=/root/systemtap-2.3/tapset 
LD_LIBRARY_PATH=/root/systemtap-2.3/lib-elfutils:/root/systemtap-2.3/lib-elfutils/systemtap
 CRASH_LIBDIR=/usr/local/lib/systemtap PATH=/root/systemtap-2.3:$PATH 
SYSTEMTAP_PATH=/root/systemtap-2.3 
SYSTEMTAP_INCLUDES=/root/systemtap-2.3/includes  
PKGLIBDIR=/usr/local/libexec/systemtap ./execrc runtest" --version" > /dev/null 
2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
if "env XDG_DATA_DIRS= SYSTEMTAP_SYNC=1 LANG=C