Actions
Bug #42602
closedclient: missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
0%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The non-posix conform constants SEEK_DATA and SEEK_HOLE are missin on alpine linux / musllib. So you cant compile src/client/Client.cc there. Maybe one can add some #ifndef blocks. not sure wheater this would break functionality.
Files
Updated by Greg Farnum over 4 years ago
- Project changed from Ceph to CephFS
- Category changed from build to Correctness/Safety
- Component(FS) Client added
Updated by Patrick Donnelly over 4 years ago
- Related to Bug #42107: client: no method to handle SEEK_HOLE and SEEK_DATA in lseek added
Updated by Patrick Donnelly over 4 years ago
- Subject changed from Missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX to client: missing const SEEK_DATA and SEEK_HOLE on ALPINE LINUX
Better would be to wrap the usage of SEEK_DATA/SEEK_HOLE in #ifdefs. Would you like to submit a PR?
Updated by Stefan Bischoff over 4 years ago
Patrick Donnelly wrote:
Better would be to wrap the usage of SEEK_DATA/SEEK_HOLE in #ifdefs. Would you like to submit a PR?
Here you go: https://github.com/ceph/ceph/pull/31568
Updated by Patrick Donnelly over 4 years ago
- Status changed from New to Fix Under Review
- Assignee set to Stefan Bischoff
- Start date deleted (
11/03/2019) - Pull request ID set to 31568
- Affected Versions deleted (
v15.0.0)
Updated by Patrick Donnelly about 4 years ago
- Status changed from Fix Under Review to Resolved
Actions