#3212 closed defect (worksforme)

Qemu Fails to Build, RSB Gives Odd Traceback

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


After applying the attached patch to update the md5's to sha512's, something goes wrong in the RSB build of Qemu. There is nothing obvious from the qemu build directory. But it appears that the cd into the qemu git directory didn't work and it is acting on my RSB git clone. The RSB trace is:

script: 78: cd "/data/home/joel/rtems-work/rtems-source-builder/bare/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1"
script: 79: echo "=> qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1:"
script: 80: echo "==> %prep:"
script: 81: build_top=$(pwd)
script: 82: source_dir_qemu="qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144"
source setup: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1: source qemu -q -n qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144
making dir: /data/home/joel/rtems-work/rtems-source-builder/bare/sources/git
_url: git://git.qemu-project.org/qemu.git?pull?checkout=42d58e7c6760cb9c55627c28ae538e27dcf2f144?submodule=dtc -> /data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git
cmd: (/data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git) /usr/bin/git status
exe: ['/usr/bin/git', 'status']
# On branch am
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#	../../../../am/
#	../../../j_qemu
#	../../../nohup.out
#	../../../../gcc7/
#	../../../../rtems/4.10-targets
#	../../../../rtems/all
#	../../../../rtems/chris
#	../../../../rtems/do_a
#	../../../../rtems/do_all
#	../../../../rtems/nohup.out
#	../../../../rtems/p_rm
#	../../../../rtems/sh-gdb.diff
nothing added to commit but untracked files present (use "git add" to track)
cmd: (/data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git) /usr/bin/git clean -f -d
exe: ['/usr/bin/git', 'clean', '-f', '-d']
cmd: (/data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git) /usr/bin/git reset --hard
exe: ['/usr/bin/git', 'reset', '--hard']
HEAD is now at 96485e3 Add SHA512 checksums for qemu sources
cmd: (/data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git) /usr/bin/git checkout master
exe: ['/usr/bin/git', 'checkout', 'master']
Switched to branch 'master'
git: pull: git://git.qemu-project.org/qemu.git
cmd: (/data/home/joel/rtems-work/rtems-source-builder/bare/sources/git/qemu.git) /usr/bin/git pull
exe: ['/usr/bin/git', 'pull']
Build Set: Time 0:05:24.810871
abort: user terminated

Attachments (1)

0001-Add-SHA512-checksums-for-qemu-sources.patch (6.6 KB) - added by Joel Sherrill on Oct 27, 2017 at 6:17:23 PM.

Download all attachments as: .zip

Change History (7)

comment:1 Changed on Oct 27, 2017 at 6:18:09 PM by Joel Sherrill

Owner: set to Chris Johns
Status: newassigned

comment:2 Changed on Nov 9, 2017 at 6:27:14 AM by Sebastian Huber


Milestone renamed

comment:3 Changed on Apr 11, 2018 at 2:09:16 AM by Chris Johns

I see a patch for the checksums has already gone into the repo. See 18e1ba6a/rtems-source-builder. The attachment will not be merged.

comment:4 Changed on Apr 11, 2018 at 2:14:22 AM by Chris Johns

This looks like git is walking up above the qemu.git top. I am not sure how to recreate the problem.

Can this please be moved to another milestone and if it comes up in GSoC 2018 we can look into it and get a fix?

comment:5 in reply to:  4 Changed on Nov 21, 2018 at 2:14:45 AM by Chris Johns

Replying to Chris Johns:

Can this please be moved to another milestone and if it comes up in GSoC 2018 we can look into it and get a fix?


comment:6 Changed on Dec 12, 2019 at 11:24:47 PM by Joel Sherrill

Resolution: worksforme
Status: assignedclosed

This has aged out. Closing as "works for me" since qemu has been built many times since this ticket was filed. Open new ticket for new problems.

Note: See TracTickets for help on using tickets.