Project

General

Profile

Actions

Bug #54414

open

quincy compilation failure for alpine linux

Added by Duncan Bellamy about 2 years ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
build
Target version:
% Done:

0%

Source:
Tags:
d3n backport_processed
Backport:
quincy
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I am trying to build the RC tarball and get this error:

https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/645519#L2721

2721/builds/a16bitsysop/aports/community/ceph/src/ceph-17.1.0/src/rgw/rgw_d3n_datacache.cc:102:18: error: variable 'D3nDataCache::init(ceph::common::CephContext*)::aioinit ainit' has initializer but incomplete type
2722  102 |   struct aioinit ainit{0};
2723      |                  ^~~~~
2724/builds/a16bitsysop/aports/community/ceph/src/ceph-17.1.0/src/rgw/rgw_d3n_datacache.cc:106:3: error: 'aio_init' was not declared in this scope; did you mean 'aioinit'?
2725  106 |   aio_init(&ainit);
2726      |   ^~~~~~~~
2727      |   aioinit

doing a grep I cannot find aio_init in any header files

it is not in libaio.h either: https://pagure.io/libaio/blob/master/f/src/libaio.h


Related issues 1 (1 open0 closed)

Copied to Ceph - Backport #57408: quincy: quincy compilation failure for alpine linuxNewActions
Actions #1

Updated by Duncan Bellamy over 1 year ago

aio_init is glibc specific

https://linux.die.net/man/3/aio_init

Actions #2

Updated by Casey Bodley over 1 year ago

  • Status changed from New to Fix Under Review
  • Tags set to d3n
  • Backport set to quincy
  • Pull request ID set to 47831
Actions #3

Updated by Casey Bodley over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot over 1 year ago

  • Copied to Backport #57408: quincy: quincy compilation failure for alpine linux added
Actions #5

Updated by Backport Bot over 1 year ago

  • Tags changed from d3n to d3n backport_processed
Actions

Also available in: Atom PDF