Bug 1686419

Summary: error: '__kernel_long_t' undeclared
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, dominik, hdegoede, ichavero, itamar, jarodwilson, jcline, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, labbott, linville, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-5.1.0-0.rc0.git3.1.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-08 20:12:42 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:
Bug Depends On:    
Bug Blocks: 1489998    

Description Remi Collet 2019-03-07 12:37:19 UTC
Only in rawhide with 5.1.0-0.rc0.git2.1.fc31, PHP build is broken on 32-

bitUILDSTDERR: /builddir/build/BUILD/php-7.3.3/ext/sockets/sockets.c:776:40: error: '__kernel_long_t' undeclared (first use in this function)
BUILDSTDERR:   776 |  REGISTER_LONG_CONSTANT("SO_SNDTIMEO", SO_SNDTIMEO, CONST_CS | CONST_PERSISTENT);
B

Full log on 
https://koji.fedoraproject.org/koji/taskinfo?taskID=33265749

Comment 1 Laura Abbott 2019-03-07 18:42:18 UTC
I talked to one of the upstream maintainers and he gave a small patch which should fix this (change of headers). This should be in the next kernel snapshot.

Comment 2 Remi Collet 2019-03-08 13:27:33 UTC
I confirm the patch fix the issue.

remi's php-7.3.3-1.fc31 completed
	http://koji.fedoraproject.org/koji/buildinfo?buildID=1223193


Thanks a lot for quick action.