Bug 398429

Summary: newburn needs asm/page.ph which perl 5.10 does not have
Product: [openSUSE] openSUSE 11.0 Reporter: Patrick Kirsch <pkirsch>
Component: DevelopmentAssignee: Tim Arnold <tarnold>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Blocker    
Priority: P1 - Urgent CC: pth, yxu
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: remove asm/page.h include in newburn-generator which is obsolate in 2.6.27(-rcX)

Description Patrick Kirsch 2008-06-09 09:21:27 UTC
host: colfax
product: OpenSUSE 11.0

problem: newburn does not run due its requirement to asm/page.ph which perl 5.10 does not provide anymore.

colfax:/usr/lib/ctcs2 # ./tools/newburn-run 
Can't locate asm/page.ph in @INC (@INC contains: lib/perl /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/ctcs2/bin/newburn/newburn-generator line 25.
Initializing test run for control file newburn.tcf...
Current time: Mo 9. Jun 11:11:32 CEST 2008

and

find /usr/ | grep -i "asm/page.ph"

(in former days:
pkirsch@fresnel:/usr > rpm -qf /usr//lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/asm/page.ph
perl-5.8.8-75)
Comment 2 Yi Xu 2008-09-25 13:03:46 UTC
Same situation with SLES11 Beta1.
Comment 4 Yi Xu 2008-10-09 15:10:28 UTC
is there any substitution for asm/page.ph provided by perl?
Comment 5 Michael Schröder 2008-10-11 15:29:55 UTC
Don't ask me, ask the glibc people. Perl just provides what's in /usr/include.
Why does it need page.ph anyway?

(And don't ressign the bug, use NEEDINFO if you want info)
Comment 6 Yi Xu 2008-10-15 08:42:21 UTC
Mark as blocker as it blocks from testing.
Comment 7 Daniel Gollub 2008-10-15 11:37:26 UTC
JFYI, asm/page.h got removed with 2.6.27(-rcX) from the kernel headers installation - this got discussed upstream on the ltp list:

http://thread.gmane.org/gmane.linux.ltp/5548/focus=352

I don't know the code of newburn - but i bet it's looking there for PAGE_SIZE or something like that. If so get the proper PAGE_SIZE value via sysconf(_SC_PAGE_SIZE) or something like that.
Comment 8 Daniel Gollub 2008-10-15 11:54:02 UTC
Created attachment 245647 [details]
remove asm/page.h include in newburn-generator which is obsolate in 2.6.27(-rcX)

attached potential fix - requires testing.
queued mbuild job: marvin-dgollub-1

Please test.
Comment 9 Tim Arnold 2008-10-15 12:02:34 UTC
Yes, it seems to work. Thanks a lot... :)
Comment 10 Tim Arnold 2008-10-15 12:04:24 UTC
Fixed
Comment 11 Daniel Gollub 2008-10-15 12:07:39 UTC
Submitted to head.