Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870703

Summary: app-emulation/qemu-guest-agent-6.0.0 - ../.../fdmon-io_uring.c: error: incompatible pointer to integer conversion passing AioHandl
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: John Helmert III <ajak>
Status: RESOLVED FIXED    
Severity: normal CC: sam, tamiko, virtualization, zlogene
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/27721
https://github.com/gentoo/gentoo/pull/27739
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
app-emulation:qemu-guest-agent-6.0.0:20220917-114335.log
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-17 13:53:10 UTC
too long lines were shrinked:

[180/1262] Compiling C object libqemuutil.a.p/meson-generated_.._qapi_qapi-visit-qom.c.o
[181/1262] Compiling C object libqemuutil.a.p/util_fdmon-io_uring.c.o
FAILED: libqemuutil.a.p/util_fdmon-io_uring.c.o 
clang -Ilibqemuutil.a.p -I. -I.. -Isubprojects/libvhost-user -I../subprojects/libvhost-user -Iqapi -Itrace -Iui -Iui/shader -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Xclang -fcolor-diagnostics -pipe -Wall -Winvalid-pch -std=gnu99 -O2 -g -isystem /var/tmp/portage/app-emulation/qemu-guest
../util/fdmon-io_uring.c:182:36: error: incompatible pointer to integer conversion passing 'AioHandler *' (aka 'struct AioHandler *') to parameter of type '__u64' (aka 'unsigned long long') [-Wint-conversion]
    io_uring_prep_poll_remove(sqe, node);
                                   ^~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220915-203738

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 2be4f11d1103e9d0fe6cdcf770492a7d6c7ab1e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 11:01:50 2022 +0000

    2022-09-17 11:01:49 UTC

emerge -qpvO app-emulation/qemu-guest-agent
[ebuild  N    ] app-emulation/qemu-guest-agent-6.0.0
Comment 1 Toralf Förster gentoo-dev 2022-09-17 13:53:11 UTC
Created attachment 807220 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 13:53:13 UTC
Created attachment 807223 [details]
app-emulation:qemu-guest-agent-6.0.0:20220917-114335.log
Comment 3 Toralf Förster gentoo-dev 2022-09-17 13:53:14 UTC
Created attachment 807226 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-17 13:53:15 UTC
Created attachment 807229 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-17 13:53:17 UTC
Created attachment 807232 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-17 13:53:18 UTC
Created attachment 807235 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-17 13:53:19 UTC
Created attachment 807238 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-09-17 13:53:20 UTC
Created attachment 807241 [details]
temp.tar.bz2
Comment 9 Michal Prívozník 2022-10-10 07:07:00 UTC
This is fixed upstream by the following commit:

https://gitlab.com/qemu-project/qemu/-/commit/8a947c7a586

This commit was merged in the 7.0.0 release.
Comment 10 Larry the Git Cow gentoo-dev 2022-10-12 22:56:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47ee1bcc5b697a9c404d0e1c9356d9eb2ed44aa

commit a47ee1bcc5b697a9c404d0e1c9356d9eb2ed44aa
Author:     Michal Privoznik <michal.privoznik@gmail.com>
AuthorDate: 2022-10-11 14:18:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-12 22:55:36 +0000

    app-emulation/qemu-guest-agent: Bump version to 7.1.0
    
    Closes: https://bugs.gentoo.org/870703
    Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/27739
    Signed-off-by: Sam James <sam@gentoo.org>

 app-emulation/qemu-guest-agent/Manifest            |  1 +
 .../qemu-guest-agent/qemu-guest-agent-7.1.0.ebuild | 74 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)