Bug 749195
Summary: | [PATCH] nfs-utils-1.2.5-2.fc16 fails to build, PAGE_SIZE undefined | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> | ||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 16 | CC: | bfields, jlayton, jskala, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | powerpc | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-11-28 14:18:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 718272 | ||||||
Attachments: |
|
Description
Karsten Hopp
2011-10-26 13:14:18 UTC
It appears glibc-headers was removed from the default build root... Instead the patch that adds the define, wouldn't be simpler and better to add glibc-headers to the BuildRequires list? no, root.log of http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=306011 has this: DEBUG util.py:247: glibc ppc 2.14.90-13 build 4.6 M DEBUG util.py:247: glibc-common ppc 2.14.90-13 build 11 M DEBUG util.py:247: glibc-devel ppc 2.14.90-13 build 989 k DEBUG util.py:247: glibc-headers ppc 2.14.90-13 build 602 k (The root.log is from PPC, but I've reproduced this on PPC64) Why is PAGE_SIZE not defined in the glibc headers on those arches? I'd imagine that that would break a lot of code, not just nfs-utils... searching on ppc64: /usr/include/common.h:#define PAGE_SIZE 4096 re: comment #4: neither nfs-utils nor any of its build requirements pull in librtas-devel (which provides /usr/include/common.h). In addition common.h doesn't get included and has a wrong value on ppc where we have a 64k pagesize. re: comment #3: actually there only a few packages (<5) that use PAGE_SIZE instead of getpagesize(), at least that's my impression after rebuilding > 10000 packages on ppc. This appears to be fixed in nfs-utils-1.2.5-3.fc16 which has been pushed to stable. (In reply to comment #6) > This appears to be fixed in nfs-utils-1.2.5-3.fc16 which has been pushed to > stable. The latest nfs-utils version does indeed build: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=320376 |