#3976 closed defect (fixed)

Released RSB qemu4 source download fails.

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: tool/rsb Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The RSB attempts to download:

https://ftp.rtems.org/pub/rtems/releases/5/5.0.0/5.0.0-m2005-2/sources/qemu-git-42d58e7.tar.xz

and the release process has captured:

qemu-4.1.0-leon3.patch
qemu-couverture-03a7fbcce52e0bca7f033ccba79e7856e82bb437.tar.gz
qemu-git-v4.1.0.tar.xz

Change History (2)

comment:1 Changed on Jun 10, 2020 at 12:32:21 AM by Chris Johns

I have fixed the RSB scripts so the release source is referenced and I am now getting this message from QEMU:

+ PKG_CONFIG_DEFAULT_PATH='' PKG_CONFIG_PATH=/build/rtems/releases/build/5.0.0-m2006-1/rtems-source-builder-5.0.0-m2006-1/bare/build/tmp/sb-500/devel/qemu4/build/rtems/releases/install/5.0.0-m2006-1/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=/build/rtems/releases/build/5.0.0-m2006-1/rtems-source-builder-5.0.0-m2006-1/bare/build/tmp/sb-500/devel/qemu4 LD_LIBRARY_PATH=/build/rtems/releases/build/5.0.0-m2006-1/rtems-source-builder-5.0.0-m2006-1/bare/build/tmp/sb-500/devel/qemu4/build/rtems/releases/install/5.0.0-m2006-1/lib LDFLAGS='-Wl,-rpath -Wl,/build/rtems/releases/install/5.0.0-m2006-1/lib -L/build/rtems/releases/build/5.0.0-m2006-1/rtems-source-builder-5.0.0-m2006-1/bare/build/tmp/sb-500/devel/qemu4/build/rtems/releases/install/5.0.0-m2006-1/lib ' CFLAGS=' ' ../qemu-git-v4.1.0/configure '--prefix=/build/rtems/releases/install/5.0.0-m2006-1' '--make=gmake' --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-nettle

ERROR: missing file /build/rtems/releases/build/5.0.0-m2006-1/rtems-source-builder-5.0.0-m2006-1/bare/build/qemu-v4.1.0-x86_64-freebsd12.1-1/qemu-git-v4.1.0/ui/keycodemapdb/README

This is not a GIT checkout but module 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.

This means any build of qemu taken from git will fail as a release. The qemu4 build is qemu-4.1.0 so it may be simpler to move to using the release source than git. I do not think modeling the QEMU source release process in our release process is a good idea.

NOTE: Making the change will require some testing on Linux by Zynq and RISCV core developers before I branch.

comment:2 Changed on Jun 10, 2020 at 5:00:09 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In 42b7e8a/rtems-source-builder:

devel/qemu4: Use release source tarball

Git cannot be used for a release as our release process does not
package the source in a manner qemu expects.

Closes #3976

Note: See TracTickets for help on using tickets.