Jump to content

Recommended Posts

Posted
1 hour ago, Nguyễn Tất Hùng said:

https://github.com/ophub/amlogic-s9xxx-armbian

This is not Armbian. It is a fork that uses the name Armbian without permission. Also they do not contribute to the project. If you have questions about their images you have to ask at their place.

Posted (edited)

why I self build Armbian and get this error when build armbian

 

[🐳|🔨]   /armbian/cache/sources/u-boot-worktree/u-boot-ugoos-sk1/khoahung_dev/drivers/misc/swap_case.c:56:(.text+0x3eb4): undefined reference to `ofnode_get_property'
[🐳|🔨]   collect2: error: ld returned 1 exit status
[🐳|🔨]   make: *** [Makefile:1824: u-boot] Error 1
[🐳|💥] Error 2 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:223
    run_host_command_logged_raw() --> lib/functions/logging/runners.sh:223
   run_host_command_logged_long_running() --> lib/functions/logging/runners.sh:200
      do_with_ccache_statistics() --> lib/functions/compilation/ccache.sh:39
           compile_uboot_target() --> lib/functions/compilation/uboot.sh:245
   loop_over_uboot_targets_and_do() --> lib/functions/compilation/uboot.sh:336
                  compile_uboot() --> lib/functions/compilation/uboot.sh:444
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
   artifact_uboot_build_from_sources() --> lib/functions/artifacts/artifact-uboot.sh:177
    artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
       obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280
       build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392
    main_default_build_packages() --> lib/functions/main/build-packages.sh:102
   full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:31
          do_with_default_build() --> lib/functions/main/default-build.sh:42
         cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
        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 ]
[🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-no-uuidgen-yet-29800-91055.log.ans ]
[🐳|🌱] Share log manu

Edited by Nguyễn Tất Hùng
Posted

Okay, then you have to adjust the source to mitigate the issue.

Also log excerpts are often useless.

 

My random guess is that uboot is some old outdated version depending on python2 which has been deprecated years ago.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines