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

Bug 891337

Summary: app-emulation/qemu-7.2.0-r3 fails to compile: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: RESOLVED FIXED    
Severity: normal CC: ajak, dilfridge, nvinson234, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/mesonbuild/meson/pull/11325
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
meson_introspect.patch

Description Agostino Sarubbo gentoo-dev 2023-01-18 20:41:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/qemu-7.2.0-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-18 20:41:21 UTC
Created attachment 848785 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-01-18 20:41:22 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Program cgcc found: NO
Program iasl found: NO
Program /usr/bin/gdbus-codegen found: NO
Run-time dependency appleframeworks found: NO (tried framework)
Run-time dependency blkio found: NO (tried pkgconfig)
Run-time dependency canokey-qemu found: NO (tried pkgconfig)
Run-time dependency gvnc-1.0 found: NO (tried pkgconfig and cmake)
Run-time dependency libdaxctl found: NO (tried pkgconfig)
Run-time dependency libkeyutils found: NO (tried pkgconfig)
Run-time dependency libpmem found: NO (tried pkgconfig)
Run-time dependency sndio found: NO (tried pkgconfig)
Run-time dependency spice-protocol found: NO (tried pkgconfig)
Run-time dependency u2f-emu found: NO (tried pkgconfig)
Comment 3 Agostino Sarubbo gentoo-dev 2023-01-18 20:41:57 UTC
this is a -native-symlinks build
Comment 4 nvinson234 2023-01-20 07:48:46 UTC
Created attachment 848873 [details, diff]
meson_introspect.patch

This patch fixes the reported issue and allows qemu to compile.
Comment 5 Eli Schwartz 2023-01-22 21:53:30 UTC
The patch effectively makes qemu not attempt to do what the authors intend for it to do there, but I debugged the problem (thank you for your excellent minimal reproducer!) and submitted a Meson PR to fix it: https://github.com/mesonbuild/meson/pull/11325
Comment 6 Agostino Sarubbo gentoo-dev 2023-02-18 06:40:14 UTC
ci has reproduced this issue with version 7.2.0-r2 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2023-02-22 13:48:09 UTC
ci has reproduced this issue with version 7.2.0-r3 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2023-03-06 04:39:40 UTC
The bug has been closed via the following commit(s):

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

commit d1ab501c38a13aeea6d2b4a61e408b523b620d46
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-03-06 04:39:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-06 04:39:19 +0000

    dev-util/meson: add 1.0.1
    
    Closes: https://bugs.gentoo.org/891337
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/meson/Manifest           |   1 +
 dev-util/meson/meson-1.0.1.ebuild | 121 ++++++++++++++++++++++++++++++++++++++
 dev-util/meson/meson-9999.ebuild  |   3 +-
 3 files changed, 124 insertions(+), 1 deletion(-)