Bug 769415 - F16-Beta PPC64: SystemTap testsuite build failure due to unavailabilty of arch/powerpc/lib/crtsavres.o
Summary: F16-Beta PPC64: SystemTap testsuite build failure due to unavailabilty of arc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 16
Hardware: ppc64
OS: All
unspecified
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-20 18:50 UTC by IBM Bug Proxy
Modified: 2012-04-19 20:10 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-06 16:59:05 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 77442 0 None None None Never

Description IBM Bug Proxy 2011-12-20 18:50:23 UTC
SystemTap testsuite compilation failed with "make installcheck" on F16 Beta PPC64 on P7 Juno system.

Following compilation failure noticed:

# make installcheck
rmmod uprobes 2>/dev/null
make: [installcheck] Error 1 (ignored)
make  check-DEJAGNU RUNTESTFLAGS=" --tool_opts \'install \'"
make[1]: Entering directory `/usr/share/systemtap/testsuite'
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest="env LANG=C SYSTEMTAP_TESTREMOTES= SYSTEMTAP_TESTAPPS= SYSTEMTAP_RUNTIME=/usr/share/systemtap/runtime SYSTEMTAP_TAPSET=/usr/share/systemtap/tapset LD_LIBRARY_PATH=/usr/lib64/systemtap CRASH_LIBDIR=/usr/lib64/systemtap PATH=/usr/bin:$PATH SYSTEMTAP_PATH=/usr/bin SYSTEMTAP_INCLUDES=/usr/include  PKGLIBDIR=/usr/libexec/systemtap ./execrc runtest"; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  exit_status=0; l='systemtap'; for tool in $l; do \
    if $runtest  --tool $tool --tool_opts \'\' --srcdir $srcdir --tool_opts \'install \'; \
    then :; else exit_status=1; fi; \
  done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi; \
exit $exit_status
WARNING: Couldn't find the global config file.
kernel location: /usr/lib/debug/lib/modules/3.1.0-7.fc16.ppc64/vmlinux
kernel version: 3.1.0-7.fc16.ppc64
systemtap location: /usr/bin/stap
systemtap version: version 1.6/0.152 non-git sources
gcc location: /usr/bin/gcc
gcc version: gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1)

**** failed systemtap kernel-devel smoke test:
ld: cannot find arch/powerpc/lib/crtsavres.o: No such file or directory
make[3]: *** [/tmp/stapVmhIbX/stap_d82ce2c0e7b754088e013d4a424dc348_717.ko] Error 1
make[2]: *** [modules] Error 2
Warning: make exited with status: 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

**** aborting testing.

make[1]: Leaving directory `/usr/share/systemtap/testsuite'
if test -n ""; then mail  < systemtap.sum; fi

--- steps to reproduce ---

1) Make sure system is Installed with following kernel packages:
kernel-tools-debuginfo-3.1.0-7.fc16.ppc64
kernel-devel-3.1.0-7.fc16.ppc64
kernel-bootwrapper-3.1.0-7.fc16.ppc64
kernel-headers-3.1.0-7.fc16.ppc64
kernel-3.1.0-7.fc16.ppc64
kernel-debuginfo-3.1.0-7.fc16.ppc64
kernel-debuginfo-common-ppc64-3.1.0-7.fc16.ppc64

2) install expect, dejagnu & make
3) installed systemtap packages:
systemtap-server-1.6-1.fc16.ppc64
systemtap-1.6-1.fc16.ppc64
systemtap-testsuite-1.6-1.fc16.ppc64
systemtap-runtime-1.6-1.fc16.ppc64
systemtap-grapher-1.6-1.fc16.ppc64
systemtap-debuginfo-1.6-1.fc16.ppc64
systemtap-initscript-1.6-1.fc16.ppc64
systemtap-sdt-devel-1.6-1.fc16.ppc64
systemtapguiserver-1.0-10.fc15.ppc64

4) cd /usr/share/systemtap/testsuite
5) now run the following command 
make installcheck

you will noticed the compilation error related to 

--- uname -a ---
Linux elm17f132.xxx.xxx.xxx 3.1.0-7.fc16.ppc64 #1 SMP Wed Nov 2 10:04:55 UTC 2011 ppc64 ppc64 ppc64 GNU/Linux

-------

This looks like it was fixed for FC9, but it's back: https://bugzilla.redhat.com/show_bug.cgi?id=464613

Comment 1 Josh Boyer 2011-12-20 19:36:39 UTC
Should be a relatively easy fix.

Comment 2 Josh Boyer 2011-12-20 21:46:48 UTC
This should be fixed in the next f16 build.

Comment 3 Josh Boyer 2011-12-20 21:47:37 UTC
If you really want to test it, you can find a scratch build containing the fix here:

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=342756

Comment 4 IBM Bug Proxy 2012-03-14 13:40:58 UTC
------- Comment From maknayak.com 2012-03-14 09:35 EDT-------
(In reply to comment #8)
> This should be fixed in the next f16 build.
>
> If you really want to test it, you can find a scratch build containing the fix
> here:
>
> http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=342756

Hello jwboyer,
I have installed F16 PPC64 GA build on one of P7 server. And it has kernel version 3.1.5-6.fc16.ppc64.
Verified on GA build and this issue is getting reproduced.

Above link redirect me to download kernel-3.1.5-10.fc16.src.rpm for ppc64 but I am not able to find the kernel source from the above mentioned link.
Please advice where can I get the latest build containing the fix for this issue.

Thanks..
Manas

Comment 5 Josh Boyer 2012-03-14 14:16:05 UTC
(In reply to comment #4)
> ------- Comment From maknayak.com 2012-03-14 09:35 EDT-------
> (In reply to comment #8)
> > This should be fixed in the next f16 build.
> >
> > If you really want to test it, you can find a scratch build containing the fix
> > here:
> >
> > http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=342756
> 
> Hello jwboyer,
> I have installed F16 PPC64 GA build on one of P7 server. And it has kernel
> version 3.1.5-6.fc16.ppc64.
> Verified on GA build and this issue is getting reproduced.
> 
> Above link redirect me to download kernel-3.1.5-10.fc16.src.rpm for ppc64 but I
> am not able to find the kernel source from the above mentioned link.
> Please advice where can I get the latest build containing the fix for this
> issue.

Just test the latest kernel update for F16 PPC64.  Scratch builds expire after 2 weeks, so the link you quoted was irrelevant long ago.

'yum update kernel' is what you should do.

Comment 6 IBM Bug Proxy 2012-03-15 09:30:38 UTC
------- Comment From maknayak.com 2012-03-15 05:26 EDT-------
(In reply to comment #13)
> (In reply to comment #4)
> > (In reply to comment #8)
> > > This should be fixed in the next f16 build.
> > >
> > > If you really want to test it, you can find a scratch build containing the fix
> > > here:
> > >
> > > http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=342756
> > Hello jwboyer,
> > I have installed F16 PPC64 GA build on one of P7 server. And it has kernel
> > version 3.1.5-6.fc16.ppc64.
> > Verified on GA build and this issue is getting reproduced.
> > Above link redirect me to download kernel-3.1.5-10.fc16.src.rpm for ppc64 but I
> > am not able to find the kernel source from the above mentioned link.
> > Please advice where can I get the latest build containing the fix for this
> > issue.
> Just test the latest kernel update for F16 PPC64.  Scratch builds expire after
> 2 weeks, so the link you quoted was irrelevant long ago.
> 'yum update kernel' is what you should do.

Hello Jwboyer,
Unfortunately yum update did not work for me.
Kernel 3.3.0-0.rc4.git1.4.fc17.ppc64 is latest and going to be in F17 , thought this should have fix.
Manually downloaded latest kernel 3.3.0-0.rc4.git1.4.fc17.ppc64 from the below link http://dl.fedoraproject.org/pub/fedora-secondary/development/17/ppc64/os/Packages.

Upgraded the existing kernel and booted with the 3.3.0-0.rc4.git1.4.fc17.ppc64.
Tested the systemtap with "make installcheck" and could reproduce the issue.

Please advice if this is not the right upstream kernel to be tested.

Thanks...
Manas

Thanks...
Manas

Comment 7 Josh Boyer 2012-03-15 11:47:06 UTC
(In reply to comment #6)
> ------- Comment From maknayak.com 2012-03-15 05:26 EDT-------
> (In reply to comment #13)
> > (In reply to comment #4)
> > > (In reply to comment #8)
> > > > This should be fixed in the next f16 build.
> > > >
> > > > If you really want to test it, you can find a scratch build containing the fix
> > > > here:
> > > >
> > > > http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=342756
> > > Hello jwboyer,
> > > I have installed F16 PPC64 GA build on one of P7 server. And it has kernel
> > > version 3.1.5-6.fc16.ppc64.
> > > Verified on GA build and this issue is getting reproduced.
> > > Above link redirect me to download kernel-3.1.5-10.fc16.src.rpm for ppc64 but I
> > > am not able to find the kernel source from the above mentioned link.
> > > Please advice where can I get the latest build containing the fix for this
> > > issue.
> > Just test the latest kernel update for F16 PPC64.  Scratch builds expire after
> > 2 weeks, so the link you quoted was irrelevant long ago.
> > 'yum update kernel' is what you should do.
> 
> Hello Jwboyer,
> Unfortunately yum update did not work for me.
> Kernel 3.3.0-0.rc4.git1.4.fc17.ppc64 is latest and going to be in F17 , thought
> this should have fix.
> Manually downloaded latest kernel 3.3.0-0.rc4.git1.4.fc17.ppc64 from the below
> link
> http://dl.fedoraproject.org/pub/fedora-secondary/development/17/ppc64/os/Packages.
> 
> Upgraded the existing kernel and booted with the 3.3.0-0.rc4.git1.4.fc17.ppc64.
> Tested the systemtap with "make installcheck" and could reproduce the issue.
> 
> Please advice if this is not the right upstream kernel to be tested.

You need the corresponding kernel-devel package as well.

Since you've now moved on to F17, and this bug is for F16 and closed, you might want to open a new bug if installing kernel-devel doesn't solve your issue.


Note You need to log in before you can comment on or make changes to this bug.