how to build qemu 8.1 - keycodemapdb?
Hi!
I tried to build qemu-8.1-rc1 on debian, and immediately faced an issue with missing ui/keycodemapdb in the release tarball which was there in 8.0.
Should we include that one into the tarball as before?
Thanks,
/mjt
26.07.2023 09:20, Michael Tokarev пишет:
Quoted 7 lines
Hi!
I tried to build qemu-8.1-rc1 on debian, and immediately faced an issue with missing ui/keycodemapdb in the release tarball which was there in 8.0.
Should we include that one into the tarball as before?
This also applies to berkeley-softfloat-3 and berkeley-testfloat-3 submodules too, obviously.
Looks like scripts/make-release.sh needs some updating.
/mjt
Quoted 1 line · Michael Tokarev
Looks like
scripts/make-release.shneeds some updating.
make-release.sh apparently does the right thing. But the published tarball does not include the 3 required sub-projects anyway.
Is it about how the release is made? What is used to make the actual release tarball, is it not make-release.sh?
/mjt
Quoted 3 lines · Michael Tokarev
Quoted 1 line · Michael Tokarev
Looks like
scripts/make-release.shneeds some updating.
FWIW, i see the same problem as you:
$ ./configure --target-list=x86_64-softmmu --disable-download Using './build' as the directory for build output
ERROR: missing subprojects
This is not a GIT checkout but subproject content appears to be missing. Do not use 'git archive' or GitHub download links to acquire QEMU source archives. Non-GIT builds are only supported with source archives linked from:
https://www.qemu.org/download/#source
Developers working with GIT can use scripts/archive-source.sh if they need to create valid source archives.
Quoted 5 lines
make-release.shapparently does the right thing. But the published tarball does not include the 3 required sub-projects anyway.Is it about how the release is made? What is used to make the actual release tarball, is it not
make-release.sh?
make-release is what I expect to be used for making release tarballs.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
26.07.2023 11:50, Daniel P. Berrangé wrote:
..
Quoted 8 lines
Quoted 5 lines
make-release.shapparently does the right thing. But the published tarball does not include the 3 required sub-projects anyway.Is it about how the release is made? What is used to make the actual release tarball, is it not
make-release.sh?make-release is what I expect to be used for making release tarballs.
When I run ./scripts/make-release 8.1.0-rc1 , the resulting tarball includes the necessary submodules in subprojects/.
It is more: it includes 2 copies of berkeley-softfloat & berkeley-testfloat, one in subprojects/ and one in roms/edk2/ArmPkg/Library/ArmSoftFloatLib/ .
But the tarballs published on qemu.org does not include these.
So I conclude the tarballs were not created using make-release.sh.
/mjt
Quoted 14 lines · Michael Tokarev
26.07.2023 11:50, Daniel P. Berrangé wrote:
..Quoted 8 lines
Quoted 5 lines
make-release.shapparently does the right thing. But the published tarball does not include the 3 required sub-projects anyway.Is it about how the release is made? What is used to make the actual release tarball, is it not
make-release.sh?make-release is what I expect to be used for making release tarballs.
When I run
./scripts/make-release8.1.0-rc1 , the resulting tarball includes the necessary submodules in subprojects/.
Quoted 6 lines
It is more: it includes 2 copies of berkeley-softfloat & berkeley-testfloat, one in subprojects/ and one in roms/edk2/ArmPkg/Library/ArmSoftFloatLib/ .
But the tarballs published on qemu.org does not include these.
So I conclude the tarballs were not created using
make-release.sh.
I filed an issue for this and marked it as a release blocker.
https://gitlab.com/qemu-project/qemu/-/issues/1791
rc0 was broken in the same way too.
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoting Daniel P. Berrangé (2023-07-26 04:18:37)
Quoted 20 lines · Michael Tokarev
Quoted 19 lines
26.07.2023 11:50, Daniel P. Berrangé wrote:
..Quoted 8 lines
Quoted 5 lines
make-release.shapparently does the right thing. But the published tarball does not include the 3 required sub-projects anyway.Is it about how the release is made? What is used to make the actual release tarball, is it not
make-release.sh?make-release is what I expect to be used for making release tarballs.
When I run
./scripts/make-release8.1.0-rc1 , the resulting tarball includes the necessary submodules in subprojects/.It is more: it includes 2 copies of berkeley-softfloat & berkeley-testfloat, one in subprojects/ and one in roms/edk2/ArmPkg/Library/ArmSoftFloatLib/ .
But the tarballs published on qemu.org does not include these.
Quoted 7 lines
Quoted 1 line
So I conclude the tarballs were not created using
make-release.sh.I filed an issue for this and marked it as a release blocker.
https://gitlab.com/qemu-project/qemu/-/issues/1791
rc0 was broken in the same way too.
Sorry for the breakage. I've updated the issue with the resolution and re-uploaded fixed QEMU 8.1.0-rc1 tarballs to qemu.org.
I also hit a secondary issue where the new meson-wrapped subprojects now require meson >= 0.55 when generating tarballs (since make-release doesn't make use of the newer one provided locally by QEMU). Upgrading from Ubuntu 20.04 to 22.04 fixed this for me.
Hopefully things are good now.
-Mike
Quoted 8 lines
With regards,
DanielSignature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|