Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 8381

Summary: php SRPM will not build if kernel-source RPM not installed
Product: [Retired] Red Hat Linux Reporter: bjn
Component: phpAssignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-14 02:40:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description bjn 2000-01-11 19:12:05 UTC
When building from the php SRPM, during the compile of the embedded
imap-4.5 package, mail.c does an #include <linux/limits.h>, which will fail
if the kernel-source RPM isn't installed.  The work-around is to install
the kernel-source RPM.  The permanent fix is probably to include just plain
<limits.h>, but I didn't try this or look at the source.

Incidentally, why does the php SRPM bundle and build its own imap-4.5
package?  It should just require the imap-4.5 RPM that comes with RedHat,
as a build prerequisite.

Comment 1 Preston Brown 2000-01-14 02:40:59 UTC
the next release of php doesn't include imap, instead it accesses the static
c-client library provided from the new imap-devel package.

No library was provided before, so the code was included in the RPM directly.