dpkg-buildflags wipes out LFS support in package build
Bug #1280044 reported by
Andreas Fischer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Debian) |
Fix Released
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
High
|
Robie Basak |
Bug Description
On Ubuntu 13.10 x86 PHP is not compiled with Large File Support making it impossible to open files larger than 4 GiB.
The root cause of this seems to be that "getconf LFS_CFLAGS" returns an empty string which is used in debian/rules to determine whether LFS supports should be enabled or not. The same command returns "-D_LARGEFILE_
Changed in php5 (Debian): | |
status: | Unknown → New |
Changed in php5 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in php5 (Debian): | |
status: | New → Fix Released |
Changed in php5 (Debian): | |
status: | Fix Released → New |
Changed in php5 (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Confirmed. Though after further investigation, I disagree with your conclusion. I found that "getconf LFS_CFLAGS" is correct, but a future "include /usr/share/ dpkg/buildflags .mk" wipes out the changes that the previous call made.
I believe that this issue also affects Debian, so have filed a bug there: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 738984