Bug 1084692 - systemtap broken in rawhide
Summary: systemtap broken in rawhide
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemtap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-05 15:10 UTC by Matthias Clasen
Modified: 2014-09-08 15:36 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-08 15:36:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 !


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