From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C4D662028E91 for ; Mon, 24 Aug 2020 09:26:50 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AAB4E8EB54A for ; Mon, 24 Aug 2020 09:26:50 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id b2so7413682edw.5 for ; Mon, 24 Aug 2020 02:26:45 -0700 (PDT) MIME-Version: 1.0 From: KrishnaMurali Chennuboina Date: Mon, 24 Aug 2020 14:56:33 +0530 Message-ID: Content-Type: multipart/alternative; boundary="00000000000059fc0e05ad9c2f12" Subject: [linux-lvm] Regarding the configure error while updating the LVM2 package Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com --00000000000059fc0e05ad9c2f12 Content-Type: text/plain; charset="UTF-8" Hi, While updating the LVM2 package to lvm2-2_02_180, configure is failing with biling out error. Error Message Observed: checking for langinfo.h... yes checking libaio.h usability... no checking libaio.h presence... no checking for libaio.h... no configure: error: bailing out Snippet of the build script where configure is used: pkg_unpack ## # HACK: sbindir needs to be defined to ensure the systemd unit files don't get a # ${exec_prefix} prefix in executables' paths. ## CFLAGS="-g" ./configure --build=none --host=$TOOL_TRIPLET --prefix=/usr \ --libdir="/usr/$LIB_NAME" --enable-udev_rules --with-lvm1=none \ --enable-lvmetad --sbindir=/usr/bin \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes Tried without passing any arguments to configure but still getting the same error message. Could you please suggest if the mentioned version is having dependency with any package?? BR, KCH --00000000000059fc0e05ad9c2f12 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

While updating the LVM2 package to= =C2=A0lvm2-2_02_180, configure is failing with biling out error.
= Error Message Observed:
checking for langinfo.h... yes
checkin= g libaio.h usability... no
checking libaio.h presence... no
checking = for libaio.h... no
configure: error: bailing out


Snippet of the build script where configure is used:
pkg_unpack
##
# HACK: sbindir needs to be defined to ensure = the systemd unit files don't get a
# ${exec_prefix} prefix in execut= ables' paths.
##
CFLAGS=3D"-g" ./configure --build=3Dno= ne --host=3D$TOOL_TRIPLET --prefix=3D/usr \
=C2=A0 =C2=A0 =C2=A0 =C2=A0-= -libdir=3D"/usr/$LIB_NAME" --enable-udev_rules --with-lvm1=3Dnone= \
=C2=A0 =C2=A0 =C2=A0 =C2=A0--enable-lvmetad --sbindir=3D/usr/bin \=C2=A0 =C2=A0 =C2=A0 =C2=A0ac_cv_func_malloc_0_nonnull=3Dyes \
=C2=A0 = =C2=A0 =C2=A0 =C2=A0ac_cv_func_realloc_0_nonnull=3Dyes

Tried without passing any arguments to configure but still getting= the same error message. Could you please suggest if the mentioned version = is having dependency with any package??

BR,
<= div>KCH
--00000000000059fc0e05ad9c2f12--