armsom-jackson Posted April 26, 2023 Posted April 26, 2023 [🌱] artifact [ armbian-desktop :: armbian-desktop() ] [💖] artifact [ present in local cache: armbian-bullseye-desktop-gnome 23.05.0-trunk--1-V5999-B8177 ] [🌱] artifact [ armbian-bsp-desktop :: armbian-bsp-desktop() ] [🌱] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/cache-packages/armbian-bsp-desktop-orangepi5-legacy:23.05.0-trunk--1-B0996 ] Error: GET "https://ghcr.io/v2/armbian/cache-packages/armbian-bsp-desktop-orangepi5-legacy/manifests/23.05.0-trunk--1-B0996": GET "https://ghcr.io/token?scope=repository%3Aarmbian%2Fcache-packages%2Farmbian-bsp-desktop-orangepi5-legacy%3Apull&service=ghcr.io": response status code 403: denied: requested access to the resource is denied [🌱] Artifact is not available in remote cache [ ghcr.io/armbian/cache-packages/armbian-bsp-desktop-orangepi5-legacy:23.05.0-trunk--1-B0996 ] [🌱] Creating bsp-desktop for release 'bullseye' common to all desktops on board 'orangepi5' branch 'legacy' [ armbian-bsp-desktop-orangepi5-legacy :: 23.05.0-trunk--1-B0996 ] [🌱] shellcheck found no problems in package scripts [ shellchecked 1 scripts in 'armbian-bsp-desktop-orangepi5-legacy' ] [🔨] dpkg-deb: building package 'armbian-bsp-desktop-orangepi5-legacy' in '/media/jack/data2/bpi/build/output/debs/bullseye/armbian-bsp-desktop-orangepi5-legacy_23.05.0-trunk--1-B0996_arm64.deb'. [🌿] Building image [ orangepi5 ] [🌱] Checking for rootfs cache [ legacy orangepi5 bullseye 3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop gnome no ] [🌱] artifact [ rootfs :: rootfs() ] [🌱] Going to build rootfs [ packages_hash: 'aa7a4a172569B9536b3' cache_type: 'gnome' rootfs_cache_id: 'gnome-aa7a4a172569B9536b3' ] [🌱] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3 ] Error: ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3: not found [🌱] Artifact is not available in remote cache [ ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3 ] [🔨] mkdir: created directory '/media/jack/data2/bpi/build/.tmp/rootfs-8ddce467-1aa4-48a4-bcb1-00523784b9f9' [🔨] mkdir: created directory '/media/jack/data2/bpi/build/.tmp/mount-8ddce467-1aa4-48a4-bcb1-00523784b9f9' [🌱] Using tmpfs for rootfs build [ RAM available: 12619MiB > 5000MiB estimated ] [🌱] Creating new rootfs cache [ 'arm64-bullseye-gnome-aa7a4a172569B9536b3.tar.zst' ] [🌱] Installing base system with 9 packages [ Stage 1/2 ] [🔨] E: unrecognized or invalid option --cache-dir=/media/jack/data2/bpi/build/cache/aptcache/bullseye-arm64/archives [💥] error! [ Debootstrap first stage failed bullseye 3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop gnome no ] [💥] Exiting with error 43 [ at /media/jack/data2/bpi/build/lib/functions/logging/traps.sh:1 exit_with_error() --> lib/functions/logging/traps.sh:1 create_new_rootfs_cache_via_debootstrap() --> lib/functions/rootfs/rootfs-create.sh:100 create_new_rootfs_cache() --> lib/functions/rootfs/create-cache.sh:60 do_with_logging() --> lib/functions/logging/section-logging.sh:81 artifact_rootfs_build_from_sources() --> lib/functions/artifacts/artifact-rootfs.sh:73 artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34 obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:227 build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:278 get_or_create_rootfs_cache_chroot_sdcard() --> lib/functions/rootfs/create-cache.sh:74 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:14 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:24 do_with_default_build() --> lib/functions/main/default-build.sh:30 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:29 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [💥] Cleaning up [ please wait for cleanups to finish ] [🌿] Unmounting recursively [ SDCARD - be patient ] [🌿] Unmounting recursively [ MOUNT - be patient ] /media/jack/data2/bpi/build/lib/functions/logging/logging.sh: line 154: wait: pid 558099 is not a child of this shell [🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-8ddce467-1aa4-48a4-bcb1-00523784b9f9.log.ans ] [🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-8ddce467-1aa4-48a4-bcb1-00523784b9f9.log.ans https://paste.next.armbian.com/log ] 0 Quote
armsom-jackson Posted May 5, 2023 Author Posted May 5, 2023 [🌱] Configuration prepared for BOARD build [ orangepi5.conf ] [✨] Repeat Build Options (early) [ ./compile.sh BOARD=orangepi5 BRANCH=legacy RELEASE=bullseye BUILD_MINIMAL=no BUILD_DESKTOP=yes KERNEL_CONFIGURE=no DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base DESKTOP_APPGROUPS_SELECTED="3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop" COMPRESS_OUTPUTIMAGE=sha,img ] [🌱] Checked directory OK for mount options [ /media/jack/data2/bpi/build/.tmp ('main temporary dir') ] [🌱] Preparing [ host ] [🚸] Using Python 3.9 for [ hostdeps: 'focal' has outdated python3, using python3.9 ] [🌱] Syncing clock [ host ] [🔨] 5 May 15:37:14 ntpdate[610843]: adjust time server 84.16.73.33 offset -0.008535 sec [🌱] Ignoring toolchains [ SKIP_EXTERNAL_TOOLCHAINS: yes ] [🌱] Aggregating packages [ rootfs ] [🚸] Using '/usr/bin/python3.9' for [ 'focal' has outdated python3, using python3.9 ] [🌱] Python3 version [ 3.9.5 - 'Python 3.9.5' ] [🌱] pip3 version [ 20.0.2: 'pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.9)' ] [🌱] Using cached pip packages for Python tools [ 6cdd997428ebeabcce97fcf0ae0ebf06c436ba17d1e826be134e18a1a18554d4 ] [🔨] Summary: Aggregation: debootstrap: 9; rootfs: 113; image: 1; desktop: 97; apt-sources: 2; hash: aa7a4a172569aa59 [🌱] artifact [ uboot :: uboot() ] [🌱] Using cached [ GIT_INFO_UBOOT ] [💖] artifact [ present in local cache: uboot-orangepi5-legacy 23.05.0-trunk--2017.09-S90d4-Pb417-He8c0-V4107-Baf4d ] [🌱] artifact [ kernel :: kernel() ] [🌱] Using cached [ GIT_INFO_KERNEL ] [🌱] Using kernel config file [ config/kernel/linux-rockchip-rk3588-legacy.config ] [💖] artifact [ present in local cache: kernel-rockchip-rk3588-legacy 23.05.0-trunk--5.10.110-Se454-De8b2-Pbb66-C2865Hfe66-HK01ba-Vc222-Bb229 ] [🌱] artifact [ firmware :: firmware() ] [🌱] Using cached [ GIT_INFO_ARMBIAN_FIRMWARE ] [💖] artifact [ present in local cache: armbian-firmware 23.05.0-trunk--1-SA56ad-Bf566 ] [🌱] artifact [ armbian-config :: armbian-config() ] [🌱] Using cached [ GIT_INFO_ARMBIAN_CONFIG ] [💖] artifact [ present in local cache: armbian-config 23.05.0-trunk--1-SAed8f-Ba894 ] [🌱] artifact [ armbian-zsh :: armbian-zsh() ] [🌱] Using cached [ GIT_INFO_ARMBIAN_ZSH ] [💖] artifact [ present in local cache: armbian-zsh 23.05.0-trunk--1-SA5a3f-B379b ] [🌱] artifact [ armbian-plymouth-theme :: armbian-plymouth-theme() ] [💖] artifact [ present in local cache: armbian-plymouth-theme 23.05.0-trunk---B24e2 ] [🌱] artifact [ armbian-bsp-cli :: armbian-bsp-cli() ] [💖] artifact [ present in local cache: armbian-bsp-cli-orangepi5-legacy 23.05.0-trunk--1-PCb99b-Vba92-Hfdbd-B243d ] [🌱] artifact [ armbian-desktop :: armbian-desktop() ] [💖] artifact [ present in local cache: armbian-bullseye-desktop-gnome 23.05.0-trunk--1-V5999-B8177 ] [🌱] artifact [ armbian-bsp-desktop :: armbian-bsp-desktop() ] [💖] artifact [ present in local cache: armbian-bsp-desktop-orangepi5-legacy 23.05.0-trunk--1-B0996 ] [🌿] Building image [ orangepi5 ] [🌱] Checking for rootfs cache [ legacy orangepi5 bullseye 3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop gnome no ] [🌱] artifact [ rootfs :: rootfs() ] [🌱] Going to build rootfs [ packages_hash: 'aa7a4a172569B9536b3' cache_type: 'gnome' rootfs_cache_id: 'gnome-aa7a4a172569B9536b3' ] [🌱] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3 ] Error: GET "https://ghcr.io/v2/armbian/cache-root/arm64-bullseye-gnome/manifests/23.05.0-trunk--gnome-aa7a4a172569B9536b3": GET "https://ghcr.io/token?scope=repository%3Aarmbian%2Fcache-root%2Farm64-bullseye-gnome%3Apull&service=ghcr.io": response status code 403: denied: requested access to the resource is denied [🌱] Artifact is not available in remote cache [ ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3 ] [🔨] mkdir: created directory '/media/jack/data2/bpi/build/.tmp/rootfs-f4975c62-d96b-4e68-bcdf-68779ba9e210' [🔨] mkdir: created directory '/media/jack/data2/bpi/build/.tmp/mount-f4975c62-d96b-4e68-bcdf-68779ba9e210' [🌱] Using tmpfs for rootfs build [ RAM available: 15553MiB > 5000MiB estimated ] [🌱] Creating new rootfs cache [ 'arm64-bullseye-gnome-aa7a4a172569B9536b3.tar.zst' ] [🌱] Installing base system with 9 packages [ Stage 1/2 ] [🔨] E: unrecognized or invalid option --cache-dir=/media/jack/data2/bpi/build/cache/aptcache/bullseye-arm64/archives [💥] error! [ Debootstrap first stage failed bullseye 3dsupport browsers chat desktop_tools editors internet multimedia office programming remote_desktop gnome no ] [💥] Exiting with error 43 [ at /media/jack/data2/bpi/build/lib/functions/logging/traps.sh:1 exit_with_error() --> lib/functions/logging/traps.sh:1 create_new_rootfs_cache_via_debootstrap() --> lib/functions/rootfs/rootfs-create.sh:100 create_new_rootfs_cache() --> lib/functions/rootfs/create-cache.sh:60 do_with_logging() --> lib/functions/logging/section-logging.sh:81 artifact_rootfs_build_from_sources() --> lib/functions/artifacts/artifact-rootfs.sh:73 artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34 obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:227 build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:278 get_or_create_rootfs_cache_chroot_sdcard() --> lib/functions/rootfs/create-cache.sh:74 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:14 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:24 do_with_default_build() --> lib/functions/main/default-build.sh:30 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:29 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [💥] Cleaning up [ please wait for cleanups to finish ] [🌿] Unmounting recursively [ SDCARD - be patient ] [🌿] Unmounting recursively [ MOUNT - be patient ] /media/jack/data2/bpi/build/lib/functions/logging/logging.sh: line 154: wait: pid 612028 is not a child of this shell [🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-f4975c62-d96b-4e68-bcdf-68779ba9e210.log.ans ] [🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-f4975c62-d96b-4e68-bcdf-68779ba9e210.log.ans https://paste.next.armbian.com/log ] jack@jack:/media/jack/data2/bpi/build$ 0 Quote
SteeMan Posted May 5, 2023 Posted May 5, 2023 That is not the full log. Look at the last line of the output: 4 hours ago, longji luo said: 🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-f4975c62-d96b-4e68-bcdf-68779ba9e210.log.ans https://paste.next.armbian.com/log ] jack@jack:/media/jack/data2/bpi/build$ Please post this. 0 Quote
Werner Posted May 5, 2023 Posted May 5, 2023 It is good enough 🌱] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/cache-root/arm64-bullseye-gnome:23.05.0-trunk--gnome-aa7a4a172569B9536b3 ] Error: GET "https://ghcr.io/v2/armbian/cache-root/arm64-bullseye-gnome/manifests/23.05.0-trunk--gnome-aa7a4a172569B9536b3": GET "https://ghcr.io/token?scope=repository%3Aarmbian%2Fcache-root%2Farm64-bullseye-gnome%3Apull&service=ghcr.io": response status code 403: denied: requested access to the resource is denied Probably temporary error. Just retry or disable artifact usage 0 Quote
armsom-jackson Posted May 10, 2023 Author Posted May 10, 2023 I tried to add ARTIFACT_IGNORE_CACHE=yes, but still as shown 0 Quote
Werner Posted May 10, 2023 Posted May 10, 2023 Please ALWAYS share full logs by uploading them as suggested in the last lines of the output to paste.next.armbian.com. This helps us to understand what happened better. 0 Quote
armsom-jackson Posted May 11, 2023 Author Posted May 11, 2023 tks https://paste.next.armbian.com/najocatuwi Here is the full log 0 Quote
Igor Posted May 11, 2023 Posted May 11, 2023 9 hours ago, longji luo said: Here is the full log Try again while removing cache folder. 0 Quote
armsom-jackson Posted May 12, 2023 Author Posted May 12, 2023 I try # sudo rm -rf cache # ./compile.sh https://paste.next.armbian.com/ofokehatag 0 Quote
Igor Posted May 12, 2023 Posted May 12, 2023 Many things can go wrong: - you are running the script on your own branch, - script is altered - your host is not the one we recommend. Its too old and deboostrap error is legit. Either use Jammy host or run within docker, PREFER_DOCKER=yes 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.