Bug 1084692

Summary: systemtap broken in rawhide
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: brolley, dsmith, fche, jistone, lberk, mjw, mjw, nathans, scox, wcohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-08 15:36:39 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:
Embargoed:

Description Matthias Clasen 2014-04-05 15:10:06 UTC
trying to use stap in rawhide today, I get:

stap sources.stap 
In file included from /tmp/stap4uwu0m/stap_6e4652511e4bf5b8d6b1e86ca80ab452_6721_src.c:402:0:
/usr/share/systemtap/runtime/time.c: In function ‘__stp_time_cpufreq_callback’:
/usr/share/systemtap/runtime/time.c:224:14: error: ‘CPUFREQ_RESUMECHANGE’ undeclared (first use in this function)
         case CPUFREQ_RESUMECHANGE:
              ^
/usr/share/systemtap/runtime/time.c:224:14: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [/tmp/stap4uwu0m/stap_6e4652511e4bf5b8d6b1e86ca80ab452_6721_src.o] Error 1
make: *** [_module_/tmp/stap4uwu0m] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed.  [man error::pass4]


A quick search seems to show that this define was removed in the kernel:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/diff/include/linux/cpufreq.h?id=4dedde7c7a18f55180574f934dbc1be84ca0400b

Comment 1 Mark Wielaard 2014-04-05 16:26:29 UTC
Seems to have been resolved already upstream:

commit a404e997732d88a148d822bab9ea413b01e5da41
Author: Frank Ch. Eigler <fche>
Date:   Sat Apr 5 12:19:19 2014 -0400

    BZ1084692: adapt to kernel droppage of CPUFREQ_RESUMECHANGE
    
    Just #ifdef the bad boy.

Comment 2 Lukas Berk 2014-04-05 19:32:19 UTC
Considering last week's systemtap rawhide spin failed to build due to a dependency issue, I re-spun systemtap a couple days early to include the fix.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6710920

It should be available in the rawhide repo once the nightly update occurs.

Comment 3 Matthias Clasen 2014-04-07 12:24:14 UTC
thanks !