All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1786343] [NEW] QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5
@ 2018-08-09 20:08 Murilo Opsfelder Araújo
  2018-08-09 20:53 ` [Qemu-devel] [Bug 1786343] " Murilo Opsfelder Araújo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Murilo Opsfelder Araújo @ 2018-08-09 20:08 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5.

After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
libmultipath API", QEMU started using new libmultipath API, which is not
available on CentOS 7.5.  Reverting this commit, configure passes.

Steps to reproduce (fails on x86_64 and ppc64le architectures):

  $ git clone git://git.qemu.org/qemu.git
  $ mkdir -p qemu/build && cd qemu/build
  $ ../configure --enable-mpath
  ERROR: Multipath requires libmpathpersist devel

  $ rpm -qa | grep device-mapper | sort
  device-mapper-1.02.146-4.el7.ppc64le
  device-mapper-devel-1.02.146-4.el7.ppc64le
  device-mapper-libs-1.02.146-4.el7.ppc64le
  device-mapper-multipath-0.4.9-119.el7.ppc64le
  device-mapper-multipath-devel-0.4.9-119.el7.ppc64le
  device-mapper-multipath-libs-0.4.9-119.el7.ppc64le

Snippet from config.log:

  funcs: do_compiler do_cc compile_prog main
  lines: 92 125 3580 0
  cc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Wno-missing-braces -I/usr/include/p11-kit-1 -I/usr/include/libpng15 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -ludev -lmultipath -lmpathpersist
  config-temp/qemu-conf.c: In function ‘main’:
  config-temp/qemu-conf.c:15:5: error: too few arguments to function ‘mpath_lib_init’
       multipath_conf = mpath_lib_init();
       ^
  In file included from config-temp/qemu-conf.c:2:0:
  /usr/include/mpath_persist.h:179:12: note: declared here
   extern int mpath_lib_init (struct udev *udev);
              ^

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1786343

Title:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5

Status in QEMU:
  New

Bug description:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5.

  After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
  libmultipath API", QEMU started using new libmultipath API, which is not
  available on CentOS 7.5.  Reverting this commit, configure passes.

  Steps to reproduce (fails on x86_64 and ppc64le architectures):

    $ git clone git://git.qemu.org/qemu.git
    $ mkdir -p qemu/build && cd qemu/build
    $ ../configure --enable-mpath
    ERROR: Multipath requires libmpathpersist devel

    $ rpm -qa | grep device-mapper | sort
    device-mapper-1.02.146-4.el7.ppc64le
    device-mapper-devel-1.02.146-4.el7.ppc64le
    device-mapper-libs-1.02.146-4.el7.ppc64le
    device-mapper-multipath-0.4.9-119.el7.ppc64le
    device-mapper-multipath-devel-0.4.9-119.el7.ppc64le
    device-mapper-multipath-libs-0.4.9-119.el7.ppc64le

  Snippet from config.log:

    funcs: do_compiler do_cc compile_prog main
    lines: 92 125 3580 0
    cc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Wno-missing-braces -I/usr/include/p11-kit-1 -I/usr/include/libpng15 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -ludev -lmultipath -lmpathpersist
    config-temp/qemu-conf.c: In function ‘main’:
    config-temp/qemu-conf.c:15:5: error: too few arguments to function ‘mpath_lib_init’
         multipath_conf = mpath_lib_init();
         ^
    In file included from config-temp/qemu-conf.c:2:0:
    /usr/include/mpath_persist.h:179:12: note: declared here
     extern int mpath_lib_init (struct udev *udev);
                ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1786343/+subscriptions

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

* [Qemu-devel] [Bug 1786343] Re: QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5
  2018-08-09 20:08 [Qemu-devel] [Bug 1786343] [NEW] QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5 Murilo Opsfelder Araújo
@ 2018-08-09 20:53 ` Murilo Opsfelder Araújo
  2018-10-04 12:35 ` Thomas Huth
  2018-12-12  9:20 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Murilo Opsfelder Araújo @ 2018-08-09 20:53 UTC (permalink / raw)
  To: qemu-devel

I'll work on a fix for configure.

** Changed in: qemu
       Status: New => Confirmed

** Changed in: qemu
     Assignee: (unassigned) => Murilo Opsfelder Araújo (mopsfelder)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1786343

Title:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5

Status in QEMU:
  Confirmed

Bug description:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5.

  After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
  libmultipath API", QEMU started using new libmultipath API, which is not
  available on CentOS 7.5.  Reverting this commit, configure passes.

  Steps to reproduce (fails on x86_64 and ppc64le architectures):

    $ git clone git://git.qemu.org/qemu.git
    $ mkdir -p qemu/build && cd qemu/build
    $ ../configure --enable-mpath
    ERROR: Multipath requires libmpathpersist devel

    $ rpm -qa | grep device-mapper | sort
    device-mapper-1.02.146-4.el7.ppc64le
    device-mapper-devel-1.02.146-4.el7.ppc64le
    device-mapper-libs-1.02.146-4.el7.ppc64le
    device-mapper-multipath-0.4.9-119.el7.ppc64le
    device-mapper-multipath-devel-0.4.9-119.el7.ppc64le
    device-mapper-multipath-libs-0.4.9-119.el7.ppc64le

  Snippet from config.log:

    funcs: do_compiler do_cc compile_prog main
    lines: 92 125 3580 0
    cc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Wno-missing-braces -I/usr/include/p11-kit-1 -I/usr/include/libpng15 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -ludev -lmultipath -lmpathpersist
    config-temp/qemu-conf.c: In function ‘main’:
    config-temp/qemu-conf.c:15:5: error: too few arguments to function ‘mpath_lib_init’
         multipath_conf = mpath_lib_init();
         ^
    In file included from config-temp/qemu-conf.c:2:0:
    /usr/include/mpath_persist.h:179:12: note: declared here
     extern int mpath_lib_init (struct udev *udev);
                ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1786343/+subscriptions

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

* [Qemu-devel] [Bug 1786343] Re: QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5
  2018-08-09 20:08 [Qemu-devel] [Bug 1786343] [NEW] QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5 Murilo Opsfelder Araújo
  2018-08-09 20:53 ` [Qemu-devel] [Bug 1786343] " Murilo Opsfelder Araújo
@ 2018-10-04 12:35 ` Thomas Huth
  2018-12-12  9:20 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2018-10-04 12:35 UTC (permalink / raw)
  To: qemu-devel

Fixed here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=1b0578f5c455d5a95384

** Changed in: qemu
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1786343

Title:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5

Status in QEMU:
  Fix Committed

Bug description:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5.

  After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
  libmultipath API", QEMU started using new libmultipath API, which is not
  available on CentOS 7.5.  Reverting this commit, configure passes.

  Steps to reproduce (fails on x86_64 and ppc64le architectures):

    $ git clone git://git.qemu.org/qemu.git
    $ mkdir -p qemu/build && cd qemu/build
    $ ../configure --enable-mpath
    ERROR: Multipath requires libmpathpersist devel

    $ rpm -qa | grep device-mapper | sort
    device-mapper-1.02.146-4.el7.ppc64le
    device-mapper-devel-1.02.146-4.el7.ppc64le
    device-mapper-libs-1.02.146-4.el7.ppc64le
    device-mapper-multipath-0.4.9-119.el7.ppc64le
    device-mapper-multipath-devel-0.4.9-119.el7.ppc64le
    device-mapper-multipath-libs-0.4.9-119.el7.ppc64le

  Snippet from config.log:

    funcs: do_compiler do_cc compile_prog main
    lines: 92 125 3580 0
    cc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Wno-missing-braces -I/usr/include/p11-kit-1 -I/usr/include/libpng15 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -ludev -lmultipath -lmpathpersist
    config-temp/qemu-conf.c: In function ‘main’:
    config-temp/qemu-conf.c:15:5: error: too few arguments to function ‘mpath_lib_init’
         multipath_conf = mpath_lib_init();
         ^
    In file included from config-temp/qemu-conf.c:2:0:
    /usr/include/mpath_persist.h:179:12: note: declared here
     extern int mpath_lib_init (struct udev *udev);
                ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1786343/+subscriptions

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

* [Qemu-devel] [Bug 1786343] Re: QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5
  2018-08-09 20:08 [Qemu-devel] [Bug 1786343] [NEW] QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5 Murilo Opsfelder Araújo
  2018-08-09 20:53 ` [Qemu-devel] [Bug 1786343] " Murilo Opsfelder Araújo
  2018-10-04 12:35 ` Thomas Huth
@ 2018-12-12  9:20 ` Thomas Huth
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2018-12-12  9:20 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1786343

Title:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5

Status in QEMU:
  Fix Released

Bug description:
  QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5.

  After commit b3f1c8c413bc83e4a2cc7a63e4eddf9fe6449052 "qemu-pr-helper: use new
  libmultipath API", QEMU started using new libmultipath API, which is not
  available on CentOS 7.5.  Reverting this commit, configure passes.

  Steps to reproduce (fails on x86_64 and ppc64le architectures):

    $ git clone git://git.qemu.org/qemu.git
    $ mkdir -p qemu/build && cd qemu/build
    $ ../configure --enable-mpath
    ERROR: Multipath requires libmpathpersist devel

    $ rpm -qa | grep device-mapper | sort
    device-mapper-1.02.146-4.el7.ppc64le
    device-mapper-devel-1.02.146-4.el7.ppc64le
    device-mapper-libs-1.02.146-4.el7.ppc64le
    device-mapper-multipath-0.4.9-119.el7.ppc64le
    device-mapper-multipath-devel-0.4.9-119.el7.ppc64le
    device-mapper-multipath-libs-0.4.9-119.el7.ppc64le

  Snippet from config.log:

    funcs: do_compiler do_cc compile_prog main
    lines: 92 125 3580 0
    cc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wendif-labels -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -Wno-missing-braces -I/usr/include/p11-kit-1 -I/usr/include/libpng15 -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -m64 -g -ludev -lmultipath -lmpathpersist
    config-temp/qemu-conf.c: In function ‘main’:
    config-temp/qemu-conf.c:15:5: error: too few arguments to function ‘mpath_lib_init’
         multipath_conf = mpath_lib_init();
         ^
    In file included from config-temp/qemu-conf.c:2:0:
    /usr/include/mpath_persist.h:179:12: note: declared here
     extern int mpath_lib_init (struct udev *udev);
                ^

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1786343/+subscriptions

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

end of thread, other threads:[~2018-12-12  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-09 20:08 [Qemu-devel] [Bug 1786343] [NEW] QEMU v3.0.0-rc4 configure fails with --enable-mpath on CentOS 7.5 Murilo Opsfelder Araújo
2018-08-09 20:53 ` [Qemu-devel] [Bug 1786343] " Murilo Opsfelder Araújo
2018-10-04 12:35 ` Thomas Huth
2018-12-12  9:20 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.