You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I had the same problem. I also don't know if it is a bug.
I built it with SONIC_BUILD_JOBS=4 till this error happened and then I didn't use SONIC_BUILD_JOBS and built with its default mode.
Hello. I had the same problem. I also don't know if it is a bug. I built it with SONIC_BUILD_JOBS=4 till this error happened and then I didn't use SONIC_BUILD_JOBS and built with its default mode.
Hi, I think this might not be considered a bug. The issue arises when multiple final targets are being built in parallel, as these concurrent build tasks use some of the same files, including the root file system, scripts, etc. The solution is to run the build tasks separately for each final target, and you can still use the SONIC_BUILD_JOBS=x option.
Hi,
When SONIC_BUILD_JOBS is set to 4, make all results in an error, whereas the build proceeds normally when SONIC_BUILD_JOBS is set to 1. Is this a bug?
Below is the error log:
[ FAIL LOG START ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
Build start time: Fri Jul 5 12:25:11 UTC 2024
++ '[' -f .arch ']'
++ cat .arch
debian.12bookworm++ : 32768
++ : x86_64
++ : vs
++ ONIEIMAGE_VERSION=r0
++ FILESYSTEM_ROOT=./fsroot-vs
++ FILESYSTEM_SQUASHFS=fs.squashfs
++ INSTALLER_PAYLOAD=fs.zip
++ FILESYSTEM_DOCKERFS=dockerfs.tar.gz
++ DOCKERFS_DIR=docker
++ DOCKER_RAMFS_SIZE=2500M
++ OUTPUT_ONIE_IMAGE=target/sonic-vs.bin
++ OUTPUT_RAW_IMAGE=target/sonic-vs.raw
++ RAW_IMAGE_DISK_SIZE=10700
++ OUTPUT_KVM_IMAGE=target/sonic-vs.img
++ KVM_IMAGE_DISK_SIZE=16
++ OUTPUT_ABOOT_IMAGE=target/sonic-aboot-vs.swi
++ ABOOT_BOOT_IMAGE=.sonic-boot.swi
++ OUTPUT_KVM_4ASIC_IMAGE=target/sonic-4asic-vs.img
++ OUTPUT_KVM_6ASIC_IMAGE=target/sonic-6asic-vs.img
++ OUTPUT_DSC_IMAGE=target/sonic-vs.tar
mount: /proc: proc already mounted on /proc.
dmesg(1) may have more information after failed mount system call.
[INFO] Build host debian base system...
mknod: /sonic/fsroot-vs/test-dev-null: File exists
E: Cannot install into target '/sonic/fsroot-vs' mounted with noexec or nodev
[ FAIL LOG END ] [ target/sonic-vs.bin__vs__rfs.squashfs ]
make: *** [slave.mk:1299: target/sonic-vs.bin__vs__rfs.squashfs] Error 1
make[1]: *** [Makefile.work:604: all] Error 2
The text was updated successfully, but these errors were encountered: