linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: KrishnaMurali Chennuboina <krishchennu414@gmail.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Regarding the configure error while updating the LVM2 package
Date: Mon, 24 Aug 2020 21:46:31 +0530	[thread overview]
Message-ID: <CAJHv+s7cZp4qzEzjK7osikZeYT1F=Hh_-LogqqMwAFfOiuaG7Q@mail.gmail.com> (raw)
In-Reply-To: <CAJHv+s7x_iWxcR5krcyhSqbMTnYFQHjUMej51bCs-jmD-sBe=w@mail.gmail.com>

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

  reply	other threads:[~2020-08-24 16:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-24  9:26 KrishnaMurali Chennuboina
2020-08-24 16:16 ` KrishnaMurali Chennuboina [this message]
2020-08-25 13:08 ` Bastian Blank
2020-08-26  8:17   ` KrishnaMurali Chennuboina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJHv+s7cZp4qzEzjK7osikZeYT1F=Hh_-LogqqMwAFfOiuaG7Q@mail.gmail.com' \
    --to=krishchennu414@gmail.com \
    --cc=linux-lvm@redhat.com \
    --subject='Re: [linux-lvm] Regarding the configure error while updating the LVM2 package' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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