linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Regarding the configure error while updating the LVM2 package
@ 2020-08-24  9:26 KrishnaMurali Chennuboina
  2020-08-24 16:16 ` KrishnaMurali Chennuboina
  2020-08-25 13:08 ` Bastian Blank
  0 siblings, 2 replies; 4+ messages in thread
From: KrishnaMurali Chennuboina @ 2020-08-24  9:26 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1206 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Regarding the configure error while updating the LVM2 package
  2020-08-24  9:26 [linux-lvm] Regarding the configure error while updating the LVM2 package KrishnaMurali Chennuboina
@ 2020-08-24 16:16 ` KrishnaMurali Chennuboina
  2020-08-25 13:08 ` Bastian Blank
  1 sibling, 0 replies; 4+ messages in thread
From: KrishnaMurali Chennuboina @ 2020-08-24 16:16 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

Hi,

After further investigating the error message, i found that the below line
in configure file is causing the issue.

for ac_header in assert.h ctype.h dirent.h errno.h fcntl.h float.h \
  getopt.h inttypes.h langinfo.h libaio.h libgen.h limits.h locale.h
paths.h \
  signal.h stdarg.h stddef.h stdio.h stdlib.h string.h sys/file.h \
  sys/ioctl.h syslog.h sys/mman.h sys/param.h sys/resource.h sys/stat.h \
  sys/time.h sys/types.h sys/utsname.h sys/wait.h time.h \
  unistd.h

While processing the above for loop the error message is getting observed
for libaio.h file.

BR,
KCH

On Mon, 24 Aug 2020 at 14:56, KrishnaMurali Chennuboina <
krishchennu414@gmail.com> wrote:

> 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
>

[-- Attachment #2: Type: text/html, Size: 3249 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Regarding the configure error while updating the LVM2 package
  2020-08-24  9:26 [linux-lvm] Regarding the configure error while updating the LVM2 package KrishnaMurali Chennuboina
  2020-08-24 16:16 ` KrishnaMurali Chennuboina
@ 2020-08-25 13:08 ` Bastian Blank
  2020-08-26  8:17   ` KrishnaMurali Chennuboina
  1 sibling, 1 reply; 4+ messages in thread
From: Bastian Blank @ 2020-08-25 13:08 UTC (permalink / raw)
  To: linux-lvm

On Mon, Aug 24, 2020 at 02:56:33PM +0530, KrishnaMurali Chennuboina wrote:
> 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

I would call that pretty obvious.  You need libaio.h, which according to
https://packages.debian.org/file:libaio.h is in package libaio-dev and
comes from https://pagure.io/libaio.

You can disable the usage of libaio, but please read the configure
help yourself for that.

Regards,
Bastian

-- 
Violence in reality is quite different from theory.
		-- Spock, "The Cloud Minders", stardate 5818.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Regarding the configure error while updating the LVM2 package
  2020-08-25 13:08 ` Bastian Blank
@ 2020-08-26  8:17   ` KrishnaMurali Chennuboina
  0 siblings, 0 replies; 4+ messages in thread
From: KrishnaMurali Chennuboina @ 2020-08-26  8:17 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

Thanks Bastian.

I will check further by making libaio as a dependent for LVM package.

BRS,
KCH

On Wed, 26 Aug 2020 at 12:34, Bastian Blank <bblank@thinkmo.de> wrote:

> On Mon, Aug 24, 2020 at 02:56:33PM +0530, KrishnaMurali Chennuboina wrote:
> > 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
>
> I would call that pretty obvious.  You need libaio.h, which according to
> https://packages.debian.org/file:libaio.h is in package libaio-dev and
> comes from https://pagure.io/libaio.
>
> You can disable the usage of libaio, but please read the configure
> help yourself for that.
>
> Regards,
> Bastian
>
> --
> Violence in reality is quite different from theory.
>                 -- Spock, "The Cloud Minders", stardate 5818.4
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>

[-- Attachment #2: Type: text/html, Size: 2031 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-26  8:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  9:26 [linux-lvm] Regarding the configure error while updating the LVM2 package KrishnaMurali Chennuboina
2020-08-24 16:16 ` KrishnaMurali Chennuboina
2020-08-25 13:08 ` Bastian Blank
2020-08-26  8:17   ` KrishnaMurali Chennuboina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).