[2024-11-18 17:58:17.302319 sunset] INFO: xbbs.worker: running job JobMessage(project='managarm_riscv', job='package:lewis', repository='https://github.com/managarm/bootstrap-managarm.git', revision='9bbda4051535b4c96978e30812fb145c9b9291ba', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4108_2'}, 'frigg': {'architecture': 'riscv64', 'version': '0.0pl346_7'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.9.3_1'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4108_2'}}, needed_tools={'system-gcc': {'architecture': 'riscv64', 'version': '13.2.3_2'}, 'cross-binutils': {'architecture': 'riscv64', 'version': '2.40_3'}}, prod_pkgs={'lewis': {'architecture': 'riscv64', 'version': '0.0pl109_9'}}, prod_tools={}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2024-11-18 17:58:17.302975 sunset] INFO: xbbs.worker: running command ['git', 'init'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/.git/ [2024-11-18 17:58:17.345615 sunset] INFO: xbbs.worker: running command ['git', 'remote', 'add', 'origin', 'https://github.com/managarm/bootstrap-managarm.git'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) [2024-11-18 17:58:17.355491 sunset] INFO: xbbs.worker: running command ['git', 'fetch', 'origin'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) From https://github.com/managarm/bootstrap-managarm * [new branch] master -> origin/master [2024-11-18 17:58:18.340298 sunset] INFO: xbbs.worker: running command ['git', 'checkout', '--detach', '9bbda4051535b4c96978e30812fb145c9b9291ba'] (params {'cwd': '/var/lib/xbbs/tmp/worker.src'}) HEAD is now at 9bbda40 Merge pull request #414 from avdgrinten/managarm-system-riscv [2024-11-18 17:58:18.388383 sunset] INFO: xbbs.worker: running command ['xbstrap', 'init', '/var/lib/xbbs/tmp/worker.src'] (params {'cwd': '/var/lib/xbbs/tmp/worker'}) Creating cargo-home/config.toml [2024-11-18 17:58:23.759264 sunset] INFO: xbbs.worker: running command ['xbps-install', '-Uy', '-R', 'https://mirrors.managarm.org/currents/managarm_riscv/package_repo', '-r', '/var/lib/xbbs/tmp/worker/system-root', '-SM', '--', 'mlibc-headers', 'frigg', 'libdrm-headers', 'linux-headers', 'mlibc'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}}) [*] Updating repository `https://mirrors.managarm.org/currents/managarm_riscv/package_repo/riscv64-repodata' ... riscv64-repodata: [3595B 100%] 98MB/s ETA: 00m00s riscv64-repodata: 3595B [avg rate: 98MB/s] 5 packages will be downloaded: 5 packages will be installed: mlibc-headers-0.0pl4108_2 frigg-0.0pl346_7 libdrm-headers-2.4.115_1 linux-headers-6.9.3_1 mlibc-0.0pl4108_2 Size to download: 7178KB Size required on disk: 30MB Space available on disk: 757GB [*] Downloading packages mlibc-headers-0.0pl4108_2.riscv64.xbps.sig: [512B 100%] 12MB/s ETA: 00m00s mlibc-headers-0.0pl4108_2.riscv64.xbps.sig: 512B [avg rate: 12MB/s] mlibc-headers-0.0pl4108_2.riscv64.xbps: [96KB 4%] 67MB/s ETA: 00m00s mlibc-headers-0.0pl4108_2.riscv64.xbps: 96KB [avg rate: 1612MB/s] mlibc-headers-0.0pl4108_2: verifying RSA signature... frigg-0.0pl346_7.riscv64.xbps.sig: [512B 100%] 13MB/s ETA: 00m00s frigg-0.0pl346_7.riscv64.xbps.sig: 512B [avg rate: 13MB/s] frigg-0.0pl346_7.riscv64.xbps: [41KB 9%] 70MB/s ETA: 00m00s frigg-0.0pl346_7.riscv64.xbps: 41KB [avg rate: 723MB/s] frigg-0.0pl346_7: verifying RSA signature... libdrm-headers-2.4.115_1.riscv64.xbps.sig: [512B 100%] 13MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps.sig: 512B [avg rate: 13MB/s] libdrm-headers-2.4.115_1.riscv64.xbps: [114KB 3%] 50MB/s ETA: 00m00s libdrm-headers-2.4.115_1.riscv64.xbps: 114KB [avg rate: 1429MB/s] libdrm-headers-2.4.115_1: verifying RSA signature... linux-headers-6.9.3_1.riscv64.xbps.sig: [512B 100%] 15MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps.sig: 512B [avg rate: 15MB/s] linux-headers-6.9.3_1.riscv64.xbps: [2994KB 0%] 49MB/s ETA: 00m00s linux-headers-6.9.3_1.riscv64.xbps: [2994KB 19%] 12MB/s ETA: 00m04s linux-headers-6.9.3_1.riscv64.xbps: 2994KB [avg rate: 62MB/s] linux-headers-6.9.3_1: verifying RSA signature... mlibc-0.0pl4108_2.riscv64.xbps.sig: [512B 100%] 14MB/s ETA: 00m00s mlibc-0.0pl4108_2.riscv64.xbps.sig: 512B [avg rate: 14MB/s] mlibc-0.0pl4108_2.riscv64.xbps: [3931KB 0%] 66MB/s ETA: 00m00s mlibc-0.0pl4108_2.riscv64.xbps: 3931KB [avg rate: 64GB/s] mlibc-0.0pl4108_2: verifying RSA signature... [*] Collecting package files mlibc-headers-0.0pl4108_2: collecting files... frigg-0.0pl346_7: collecting files... libdrm-headers-2.4.115_1: collecting files... linux-headers-6.9.3_1: collecting files... mlibc-0.0pl4108_2: collecting files... [*] Unpacking packages mlibc-headers-0.0pl4108_2: unpacking ... frigg-0.0pl346_7: unpacking ... libdrm-headers-2.4.115_1: unpacking ... linux-headers-6.9.3_1: unpacking ... mlibc-0.0pl4108_2: unpacking ... 5 downloaded, 5 installed, 0 updated, 5 configured, 0 removed. [2024-11-18 17:58:24.727593 sunset] DEBUG: xbbs.worker: creating repository with existing packages... [2024-11-18 17:58:24.728127 sunset] DEBUG: xbbs.worker: ... found mlibc-headers-0.0pl4108_2.riscv64.xbps [2024-11-18 17:58:24.728689 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-headers-0.0pl4108_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-headers-0.0pl4108_2' (riscv64). index: 1 packages registered. [2024-11-18 17:58:24.760755 sunset] DEBUG: xbbs.worker: ... found libdrm-headers-2.4.115_1.riscv64.xbps [2024-11-18 17:58:24.761782 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'libdrm-headers-2.4.115_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `libdrm-headers-2.4.115_1' (riscv64). index: 2 packages registered. [2024-11-18 17:58:24.776248 sunset] DEBUG: xbbs.worker: ... found frigg-0.0pl346_7.riscv64.xbps [2024-11-18 17:58:24.776936 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'frigg-0.0pl346_7.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `frigg-0.0pl346_7' (riscv64). index: 3 packages registered. [2024-11-18 17:58:24.793175 sunset] DEBUG: xbbs.worker: ... found linux-headers-6.9.3_1.riscv64.xbps [2024-11-18 17:58:24.796809 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'linux-headers-6.9.3_1.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `linux-headers-6.9.3_1' (riscv64). index: 4 packages registered. [2024-11-18 17:58:24.825220 sunset] DEBUG: xbbs.worker: ... found mlibc-0.0pl4108_2.riscv64.xbps [2024-11-18 17:58:24.829255 sunset] INFO: xbbs.worker: running command ['xbps-rindex', '-fa', '--', 'mlibc-0.0pl4108_2.riscv64.xbps'] (params {'extra_env': {'XBPS_ARCH': 'riscv64'}, 'cwd': '/var/lib/xbbs/tmp/worker/xbps-repo'}) index: added `mlibc-0.0pl4108_2' (riscv64). index: 5 packages registered. [2024-11-18 17:58:30.163587 sunset] INFO: xbbs.worker: running command ['xbstrap-pipeline', 'run-job', '--keep-going', '--progress-file', 'fd:17', 'package:lewis'] (params {'cwd': '/var/lib/xbbs/tmp/worker', 'pass_fds': (17,)}) xbstrap: Running the following plan: fetch lewis checkout lewis patch lewis regenerate lewis install frigg (inside sysroot.opu_fms0) install libdrm-headers (inside sysroot.opu_fms0) install linux-headers (inside sysroot.opu_fms0) install mlibc-headers (inside sysroot.opu_fms0) install mlibc (inside sysroot.opu_fms0) configure lewis (inside sysroot.opu_fms0) build lewis (inside sysroot.opu_fms0) pack lewis xbstrap: fetch lewis [1/12] Initialized empty Git repository in /var/lib/xbbs/tmp/worker.src/ports/lewis/.git/ From https://mirrors.managarm.org/mirror/git/lewis * [new branch] master -> origin/master xbstrap: checkout lewis [2/12] [2024-11-18 17:58:30.652274 sunset] DEBUG: xbbs.worker: got notify {'action': 'fetch', 'artifact_files': [], 'n_all': 12, 'n_this': 1, 'status': 'success', 'subject': 'lewis'} Reset branch 'master' branch 'master' set up to track 'origin/master'. xbstrap: patch lewis [3/12] xbstrap: regenerate lewis [4/12] xbstrap: install frigg [5/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.opu_fms0', 'frigg'] [2024-11-18 17:58:30.664163 sunset] DEBUG: xbbs.worker: got notify {'action': 'checkout', 'artifact_files': [], 'n_all': 12, 'n_this': 2, 'status': 'success', 'subject': 'lewis'} [2024-11-18 17:58:30.665024 sunset] DEBUG: xbbs.worker: got notify {'action': 'patch', 'artifact_files': [], 'n_all': 12, 'n_this': 3, 'status': 'success', 'subject': 'lewis'} [2024-11-18 17:58:30.665707 sunset] DEBUG: xbbs.worker: got notify {'action': 'regenerate', 'artifact_files': [], 'n_all': 12, 'n_this': 4, 'status': 'success', 'subject': 'lewis'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.opu_fms0', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'frigg'] xbstrap: install libdrm-headers [6/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.opu_fms0', 'libdrm-headers'] [2024-11-18 17:58:30.699022 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 5, 'status': 'success', 'subject': 'frigg'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.opu_fms0', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'libdrm-headers'] xbstrap: install linux-headers [7/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.opu_fms0', 'linux-headers'] [2024-11-18 17:58:30.713557 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 6, 'status': 'success', 'subject': 'libdrm-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.opu_fms0', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'linux-headers'] xbstrap: install mlibc-headers [8/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.opu_fms0', 'mlibc-headers'] xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.opu_fms0', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc-headers'] [2024-11-18 17:58:30.874762 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 7, 'status': 'success', 'subject': 'linux-headers'} xbstrap: install mlibc [9/12] xbstrap: Running ['xbps-remove', '-Fy', '-r', '/tmp/sysroot.opu_fms0', 'mlibc'] [2024-11-18 17:58:30.900081 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 8, 'status': 'success', 'subject': 'mlibc-headers'} xbstrap: Running ['xbps-install', '-fyU', '-r', '/tmp/sysroot.opu_fms0', '--repository', '/var/lib/xbbs/tmp/worker/xbps-repo', 'mlibc'] xbstrap: configure lewis [10/12] [2024-11-18 17:58:30.971152 sunset] DEBUG: xbbs.worker: got notify {'action': 'install', 'artifact_files': [], 'n_all': 12, 'n_this': 9, 'status': 'success', 'subject': 'mlibc'} xbstrap: Running ['meson', '--cross-file', '@SOURCE_ROOT@/scripts/meson-@OPTION:arch-triple@.cross-file', '--prefix=/usr', '--libdir=lib', '--buildtype=debugoptimized', '@THIS_SOURCE_DIR@'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 4028297 (outside the namespace) Cloning into 'frigg'... Already on 'master' Your branch is up to date with 'origin/master'. The Meson build system Version: 1.6.0 Source dir: /var/lib/managarm-buildenv/src/ports/lewis Build dir: /var/lib/managarm-buildenv/build/pkg-builds/lewis Build type: cross build Project name: lewis Project version: undefined C++ compiler for the host machine: riscv64-managarm-g++ (gcc 13.2.0 "riscv64-managarm-g++ (managarm) 13.2.0") C++ linker for the host machine: riscv64-managarm-g++ ld.bfd 2.40 C++ compiler for the build machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0") C++ linker for the build machine: c++ ld.bfd 2.40 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: riscv64 Host machine cpu: riscv64 Target machine cpu family: riscv64 Target machine cpu: riscv64 Executing subproject frigg frigg| Project name: frigg frigg| Project version: undefined frigg| Build targets in project: 0 frigg| Subproject frigg finished. Build targets in project: 2 lewis undefined Subprojects frigg : YES User defined options Cross files: /var/lib/managarm-buildenv/src/scripts/meson-riscv64-managarm.cross-file buildtype : debugoptimized libdir : lib prefix : /usr Found ninja-1.11.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. xbstrap: build lewis [11/12] [2024-11-18 17:58:32.752933 sunset] DEBUG: xbbs.worker: got notify {'action': 'configure', 'artifact_files': [], 'n_all': 12, 'n_this': 10, 'status': 'success', 'subject': 'lewis'} xbstrap: Running ['ninja'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 4028360 (outside the namespace) [1/13] Compiling C++ object liblewis.so.p/lib_elf_internal-link-pass.cpp.o [2/13] Compiling C++ object liblewis.so.p/lib_elf_create-headers-pass.cpp.o [3/13] Compiling C++ object liblewis.so.p/lib_elf_layout-pass.cpp.o ../../../src/ports/lewis/lib/elf/layout-pass.cpp: In member function ‘virtual void lewis::elf::LayoutPassImpl::run()’: ../../../src/ports/lewis/lib/elf/layout-pass.cpp:144:16: warning: ‘size’ may be used uninitialized [-Wmaybe-uninitialized] 144 | offset += size; | ~~~~~~~^~~~~~~ ../../../src/ports/lewis/lib/elf/layout-pass.cpp:56:16: note: ‘size’ was declared here 56 | size_t size; | ^~~~ [4/13] Compiling C++ object liblewis.so.p/lib_ir.cpp.o [5/13] Compiling C++ object liblewis.so.p/lib_elf_object.cpp.o [6/13] Compiling C++ object liblewis.so.p/lib_elf_file-emitter.cpp.o [7/13] Compiling C++ object liblewis.so.p/lib_target-x86_64_lower-code.cpp.o [8/13] Compiling C++ object liblewis.so.p/lib_target-x86_64_mc-emitter.cpp.o [9/13] Compiling C++ object test-elf.p/tools_test-elf.cpp.o [10/13] Compiling C++ object liblewis.so.p/lib_target-x86_64_alloc-regs.cpp.o ../../../src/ports/lewis/lib/target-x86_64/alloc-regs.cpp: In member function ‘void lewis::targets::x86_64::AllocateRegistersImpl::_collectBlockIntervals(lewis::BasicBlock*)’: ../../../src/ports/lewis/lib/target-x86_64/alloc-regs.cpp:585:32: warning: unused variable ‘resultRegs’ [-Wunused-variable] 585 | std::array resultRegs{0x01, 0x04}; | ^~~~~~~~~~ [11/13] Linking target liblewis.so [12/13] Generating symbol file liblewis.so.p/liblewis.so.symbols [13/13] Linking target test-elf xbstrap: Running ['ninja', 'install'] (tools: ['system-gcc', 'cross-binutils']) via cbuildrt PID init is 4028415 (outside the namespace) xbstrap: pack lewis [12/12] [2024-11-18 17:58:39.604518 sunset] DEBUG: xbbs.worker: got notify {'action': 'build', 'artifact_files': [], 'n_all': 12, 'n_this': 11, 'status': 'success', 'subject': 'lewis'} xbstrap: Running ['xbps-create', '-A', 'riscv64', '-s', 'lewis', '-n', 'lewis-0.0pl109_9', '-D', 'mlibc>=0', '/tmp/tmpbskdg6cb'] xbstrap: Running ['xbps-rindex', '-fa', '/var/lib/xbbs/tmp/worker/xbps-repo/lewis-0.0pl109_9.riscv64.xbps'] (riscv64) [2024-11-18 17:58:39.850072 sunset] DEBUG: xbbs.worker: got notify {'action': 'pack', 'architecture': 'riscv64', 'artifact_files': [], 'n_all': 12, 'n_this': 12, 'status': 'success', 'subject': 'lewis'} [2024-11-18 17:58:39.866215 sunset] DEBUG: xbbs.worker: successfully uploaded package lewis for JobMessage(project='managarm_riscv', job='package:lewis', repository='https://github.com/managarm/bootstrap-managarm.git', revision='9bbda4051535b4c96978e30812fb145c9b9291ba', output='tcp://10.0.69.1:16999', build_root='/var/lib/xbbs/tmp/worker', needed_pkgs={'mlibc-headers': {'architecture': 'riscv64', 'version': '0.0pl4108_2'}, 'frigg': {'architecture': 'riscv64', 'version': '0.0pl346_7'}, 'libdrm-headers': {'architecture': 'riscv64', 'version': '2.4.115_1'}, 'linux-headers': {'architecture': 'riscv64', 'version': '6.9.3_1'}, 'mlibc': {'architecture': 'riscv64', 'version': '0.0pl4108_2'}}, needed_tools={'system-gcc': {'architecture': 'riscv64', 'version': '13.2.3_2'}, 'cross-binutils': {'architecture': 'riscv64', 'version': '2.40_3'}}, prod_pkgs={'lewis': {'architecture': 'riscv64', 'version': '0.0pl109_9'}}, prod_tools={}, prod_files=[], tool_repo='https://mirrors.managarm.org/currents/managarm_riscv/tool_repo', pkg_repo='https://mirrors.managarm.org/currents/managarm_riscv/package_repo', mirror_root='https://mirrors.managarm.org/mirror/', distfile_path='xbbs/riscv64/') [2024-11-18 17:58:39.946244 sunset] INFO: xbbs.worker: job done. return code: 0