| Summary: | Trivial tap script won't compile | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | David Gibson <dgibson> |
| Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | brolley, dsmith, fche, jistone, lberk, mjw, scox, wcohen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemtap-3.0-4.fc24 systemtap-3.0-4.fc23 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-13 22:23:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Yeah, kernel 4.7 mandates a newer snapshot of git stap, or else https://sourceware.org/bugzilla/show_bug.cgi?id=20132 . Would you be able to test the builds for the backport option on your box? https://koji.fedoraproject.org/koji/buildinfo?buildID=798612 Thanks for the link. I've tried the koji build and so far it's looking good. systemtap-3.0-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-32ee377ff2 systemtap-3.0-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0ab60daf6d systemtap-3.0-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0ab60daf6d systemtap-3.0-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-32ee377ff2 systemtap-3.0-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. systemtap-3.0-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Running an systemtap script - even a trivial one - seems to just generate compile errors building the prove module. Version-Release number of selected component (if applicable): systemtap-3.0-3.fc24.x86_64 kernel-debuginfo-4.7.2-201.fc24.x86_64 How reproducible: 100% Steps to Reproduce: 1. Create trivial.stp with this contents: probe begin { printf("Trace begin...\n"); } 2. Run stap trivial.stp Actual results: $ stap trivial.stp In file included from /usr/share/systemtap/runtime/linux/print.c:17:0, from /usr/share/systemtap/runtime/print.c:17, from /usr/share/systemtap/runtime/runtime_context.h:22, from /tmp/stapMWkzhS/stap_4b9ee4e0e9a367524bd62b81d8ea8a46_823_src.c:50: /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_lock_inode’: /usr/share/systemtap/runtime/transport/transport.c:494:19: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’? mutex_lock(&inode->i_mutex); ^~ /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_unlock_inode’: /usr/share/systemtap/runtime/transport/transport.c:503:21: error: ‘struct inode’ has no member named ‘i_mutex’; did you mean ‘i_mode’? mutex_unlock(&inode->i_mutex); ^~ scripts/Makefile.build:289: recipe for target '/tmp/stapMWkzhS/stap_4b9ee4e0e9a367524bd62b81d8ea8a46_823_src.o' failed make[1]: *** [/tmp/stapMWkzhS/stap_4b9ee4e0e9a367524bd62b81d8ea8a46_823_src.o] Error 1 Makefile:1461: recipe for target '_module_/tmp/stapMWkzhS' failed make: *** [_module_/tmp/stapMWkzhS] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] Expected results: Script runs and prints the begin message. Additional info: