Skip to content

poudriere can't cross build with riscv64 on FreeBSD15 #1268

@mengzhuo

Description

@mengzhuo

Prerequisites

  • Have you checked for an existing issue describing your problem?
  • Are you running the latest version?
  • Is your ports tree recent?
  • Is your FreeBSD Host on a supported release?

Describe the bug

root@FreeBSD15:~ # poudriere jail -c -a riscv.riscv64 -x -j 15riscv64-beta -m ftp -v 15.0-BETA1 -x
[00:00:00] Cross-building ports for riscv.riscv64 on amd64 requires QEMU
[00:00:00] Creating 15riscv64-beta fs at /poudriere/jails/15riscv64-beta... done
[00:00:00] Fetching MANIFEST for FreeBSD 15.0-BETA1 riscv.riscv64
MANIFEST                                               781  B 8886 kBps    00s
[00:00:01] Fetching base for FreeBSD 15.0-BETA1 riscv.riscv64
base.txz                                               149 MB 4136 kBps    37s
[00:00:39] Extracting base... done
[00:00:47] Fetching src for FreeBSD 15.0-BETA1 riscv.riscv64
src.txz                                                238 MB 3736 kBps 01m05s
[00:01:55] Extracting src... done
[00:02:08] Cleaning up... done
awk: can't open file /usr/include/sys/param.h
 source line number 1
[: -gt: unexpected operator
/usr/local/share/poudriere/jail.sh: make: not found
[00:02:09] Error: /usr/src must be a working src tree to build native-xtools. Perhaps you meant to specif
y -X?
[00:02:09] Error while creating jail, cleaning up.
[00:02:09] Removing 15riscv64-beta jail... done
root@FreeBSD15:~ # poudriere jail -c -a riscv.riscv64 -x -j 15riscv64-beta -m git+https -v 15.0-BETA1 -x
[00:00:00] Cross-building ports for riscv.riscv64 on amd64 requires QEMU
[00:00:00] Creating 15riscv64-beta fs at /poudriere/jails/15riscv64-beta... done
[00:00:00] Checking out the sources with git+https...fatal: Remote branch 15.0-BETA1 not found in upstrea
m origin
[00:00:02] Error:  fail
[00:00:02] Error while creating jail, cleaning up.
[00:00:02] Removing 15riscv64-beta jail... done

Environment

  • Host OS [15 amd64]:
  • Jail OS [15 riscv64]:
  • Ports branch and revision [2025Q3]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions