https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286875

--- Comment #7 from Siva Mahadevan <[email protected]> ---
Created attachment 268231
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268231&action=edit
[PATCH] emulators/qemu-user-static-devel: sync to upstream blitz branch

Attaching a patch that tracks the blitz branch.

@Alastair, thanks for the great starting point on the patch. I'm just splitting
out the functional changes (updating the version, refreshing patches, etc) from
the style changes (portlint housekeeping, spaces, sorting, etc). It makes the
diff quite minimal and helps with code review. We can definitely add back the
style changes afterwards. I'll keep your attachment as non-obsolete to ensure
that we integrate the style fixes later.

@imp I'm trying to test the changes with poudriere-devel right now using a
riscv64 jail, and I'm getting the following error:

stk setup: Bad address
[00:00:00] Error: /usr/local/share/poudriere/testport.sh:jail_start:318:Unable
to regenerate runtime linker cache in jail. Emulation or ABI wrong.

I'm not too familiar with how this is tied into poudriere. Any idea on why this
is happening? I have not modified the rc service file, which seems to add some
magic string.

Full poudriere testport run log:

$ doas poudriere testport -j rv64c16 -p siva -NNi www/w3m
[00:00:00] Using QEMU for cross-buildiing riscv64 on amd64
[00:00:00] Creating the reference jail... done
[00:00:00] Mounting system devices for rv64c16-siva
[00:00:00] Warning: Using packages from previously failed, or uncommitted,
build: /usr/local/poudriere/data/packages/rv64c16-siva/.building
[00:00:00] Mounting ports from: /home/siva/f/p
[00:00:00] Mounting packages from:
/usr/local/poudriere/data/packages/rv64c16-siva
[00:00:00] Mounting distfiles from: /var/cache/distfiles
[00:00:00] Copying /var/db/ports from:
/usr/local/etc/poudriere.d/rv64c16-options
[00:00:00] Raising MAX_EXECUTION_TIME and NOHANG_TIME for QEMU from QEMU_
values
[00:00:00] Copying latest version of the emulator from:
/usr/local/bin/qemu-riscv64-static
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/siva-make.conf
[00:00:00] Appending to make.conf: /usr/local/etc/poudriere.d/rv64c16-make.conf
[00:00:00] Warning: DEVELOPER=yes ignored from make.conf. Use 'bulk -t' or
'testport' for testing instead.
/etc/resolv.conf ->
/usr/local/poudriere/data/.m/rv64c16-siva/ref/etc/resolv.conf
[00:00:00] Starting jail rv64c16-siva
stk setup: Bad address
[00:00:00] Error: /usr/local/share/poudriere/testport.sh:jail_start:318:Unable
to regenerate runtime linker cache in jail. Emulation or ABI wrong.
[00:00:00] Cleaning up
[00:00:00] Stopping up to 4 builders
rv64c16-siva: removed
rv64c16-siva-n: removed
[00:00:00] Unmounting file systems

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to