libexplain FTBFS on sparc: O_FSYNC undeclared
Bug #511971 reported by
Kamal Mostafa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libexplain (Debian) |
Fix Released
|
Unknown
|
|||
libexplain (Ubuntu) |
Won't Fix
|
Undecided
|
Kamal Mostafa |
Bug Description
libtool: compile: gcc -Wall -g -fno-strict-
libexplain/
Related branches
Changed in libexplain (Debian): | |
status: | Unknown → New |
Changed in libexplain (Ubuntu): | |
assignee: | nobody → Kamal Mostafa (kamalmostafa) |
status: | New → Incomplete |
Changed in libexplain (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
The attached branch fixes some (maybe all) of the sparc-specific build failure issues in libexplain's own source:
- open_flags.c: #ifdef guard more flags (O_FSYNC, FFSYNC, O_ASYNC, FFASYNC)
- readv.c/writev.c: fix misuse of size_t to avoid fatal compiler warnings
However, a problem in the libc6 <bits/fcntl.h> header (LP: #517212) still prevents libexplain from compiling. That header file problem also (coincidentally) results in the error 'O_FSYNC' undeclared -- but a few lines later. Note that this new failure is actually the result of an improper definition of FFSYNC to O_FSYNC in the fcntl.h header which tricks libexplain despite the correct #ifdef guards in the patched libexplain.
Therefore, this package cannot compile on sparc until LP: #517212 gets resolved.