{"action":"created","issue":{"url":"https://api.github.com/repos/armbian/build/issues/1104","repository_url":"https://api.github.com/repos/armbian/build","labels_url":"https://api.github.com/repos/armbian/build/issues/1104/labels{/name}","comments_url":"https://api.github.com/repos/armbian/build/issues/1104/comments","events_url":"https://api.github.com/repos/armbian/build/issues/1104/events","html_url":"https://github.com/armbian/build/issues/1104","id":358366219,"node_id":"MDU6SXNzdWUzNTgzNjYyMTk=","number":1104,"title":"OPi OnePlus image compile failing (ATF?)","user":{"login":"EvilOlaf","id":3305006,"node_id":"MDQ6VXNlcjMzMDUwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3305006?v=4","gravatar_id":"","url":"https://api.github.com/users/EvilOlaf","html_url":"https://github.com/EvilOlaf","followers_url":"https://api.github.com/users/EvilOlaf/followers","following_url":"https://api.github.com/users/EvilOlaf/following{/other_user}","gists_url":"https://api.github.com/users/EvilOlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilOlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilOlaf/subscriptions","organizations_url":"https://api.github.com/users/EvilOlaf/orgs","repos_url":"https://api.github.com/users/EvilOlaf/repos","events_url":"https://api.github.com/users/EvilOlaf/events{/privacy}","received_events_url":"https://api.github.com/users/EvilOlaf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-09T10:08:46Z","updated_at":"2018-09-09T13:01:09Z","closed_at":"2018-09-09T13:01:09Z","author_association":"NONE","body":"Tried to compile a complete image for OPi One Plus\r\n- Debian Stretch\r\n- Kernel config unchanged\r\n- Console interface only\r\n\r\n\r\nFirst run, fresh build script checkout:\r\n```\r\n[...]\r\nSetting version information: 5c19710\r\n\r\nfexc.c: In function ‘main’:\r\nfexc.c:312:15: warning: this statement may fall through [-Wimplicit-fallthrough=]\r\n   filename[1] = argv[optind+1]; /* out */\r\n   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~\r\nfexc.c:313:2: note: here\r\n  case 1:\r\n  ^~~~\r\npio.c: In function ‘main’:\r\npio.c:355:4: warning: this statement may fall through [-Wimplicit-fallthrough=]\r\n    usage(0);\r\n    ^~~~~~~~\r\npio.c:356:3: note: here\r\n   case 'm':\r\n   ^~~~\r\n[ o.k. ] Installing [ rkbin-tools ]\r\n[ o.k. ] Cleaning output/debs for [ orangepioneplus dev ]\r\nls: cannot access '/home/build/build/cache/rootfs/*.lz4': No such file or directory\r\n[ o.k. ] Cleaning [ arm-trusted-firmware-sunxi-mainline/sun50i_h6_pmic ]\r\n[ o.k. ] Compiling ATF\r\n[ o.k. ] Compiler version [ aarch64-linux-gnu-gcc 6.4.1 ]\r\n[ o.k. ] Started patching process for [ atf sunxi64-orangepioneplus-dev ]\r\n[ o.k. ] Looking for user patches in [ userpatches/atf/atf-sunxi64 ]\r\n[ warn ] * [l][c] enable-additional-regulators.patch [ failed ]\r\n[ warn ] * [l][c] set-rsb-to-nonsec.patch [ failed ]\r\n  CC      drivers/arm/gic/common/gic_common.c\r\n  CC      drivers/arm/gic/v2/gicv2_helpers.c\r\n  CC      drivers/arm/gic/v2/gicv2_main.c\r\n  CC      drivers/delay_timer/delay_timer.c\r\n  CC      drivers/delay_timer/generic_delay_timer.c\r\n  CC      plat/common/plat_gicv2.c\r\n  CC      plat/common/plat_psci_common.c\r\n  CC      plat/allwinner/common/sunxi_bl31_setup.c\r\n  CC      plat/allwinner/common/sunxi_cpu_ops.c\r\n  CC      plat/allwinner/common/sunxi_pm.c\r\n  CC      plat/allwinner/sun50i_h6/sunxi_power.c\r\n  CC      plat/allwinner/common/sunxi_security.c\r\n  CC      plat/allwinner/common/sunxi_topology.c\r\n  CC      bl31/bl31_main.c\r\n  CC      bl31/interrupt_mgmt.c\r\n  CC      services/arm_arch_svc/arm_arch_svc_setup.c\r\n  CC      bl31/bl31_context_mgmt.c\r\n  CC      common/runtime_svc.c\r\n  CC      services/std_svc/std_svc_setup.c\r\n  CC      lib/el3_runtime/cpu_data_array.c\r\n  CC      lib/el3_runtime/aarch64/context_mgmt.c\r\n  CC      lib/cpus/errata_report.c\r\n  CC      lib/psci/psci_off.c\r\n  CC      lib/psci/psci_suspend.c\r\n  CC      lib/psci/psci_on.c\r\n  CC      lib/psci/psci_common.c\r\n  CC      lib/psci/psci_main.c\r\n  CC      lib/psci/psci_mem_protect.c\r\n  CC      lib/extensions/spe/spe.c\r\n  CC      lib/locks/bakery/bakery_lock_coherent.c\r\n  CC      lib/psci/psci_system_off.c\r\n  CC      lib/extensions/sve/sve.c\r\n  CC      lib/psci/psci_setup.c\r\n  CC      common/bl_common.c\r\n  CC      common/tf_log.c\r\n  CC      plat/common/plat_log_common.c\r\n  CC      plat/common/plat_bl_common.c\r\n  CC      plat/common/aarch64/plat_common.c\r\n  CC      drivers/allwinner/sunxi_i2c.c\r\n  CC      lib/xlat_tables_v2/aarch64/xlat_tables_arch.c\r\n  CC      lib/xlat_tables_v2/xlat_tables_context.c\r\n  CC      lib/xlat_tables_v2/xlat_tables_utils.c\r\n  CC      lib/xlat_tables_v2/xlat_tables_core.c\r\n  CC      plat/allwinner/common/sunxi_common.c\r\n  AS      lib/cpus/aarch64/cortex_a53.S\r\n  AS      bl31/aarch64/crash_reporting.S\r\n  AS      bl31/aarch64/bl31_entrypoint.S\r\n  AS      bl31/aarch64/ea_delegate.S\r\n  AS      bl31/aarch64/runtime_exceptions.S\r\n  AS      lib/aarch64/setjmp.S\r\n  AS      lib/cpus/aarch64/dsu_helpers.S\r\n  AS      lib/el3_runtime/aarch64/cpu_data.S\r\n  AS      lib/cpus/aarch64/cpu_helpers.S\r\n  AS      plat/common/aarch64/platform_mp_stack.S\r\n  AS      lib/locks/exclusive/aarch64/spinlock.S\r\n  AS      lib/psci/aarch64/psci_helpers.S\r\n  AS      lib/el3_runtime/aarch64/context.S\r\n  AS      lib/cpus/aarch64/wa_cve_2017_5715_bpiall.S\r\n  AS      lib/cpus/aarch64/wa_cve_2017_5715_mmu.S\r\n  AS      common/aarch64/debug.S\r\n  AS      lib/aarch64/cache_helpers.S\r\n  AS      lib/aarch64/misc_helpers.S\r\n  AS      drivers/console/aarch64/console.S\r\n  AS      plat/common/aarch64/platform_helpers.S\r\n  AS      drivers/ti/uart/aarch64/16550_console.S\r\n  AS      lib/xlat_tables_v2/aarch64/enable_mmu.S\r\n  AS      plat/allwinner/common/plat_helpers.S\r\n  PP      bl31/bl31.ld.S\r\n  CC      lib/libc/abort.c\r\n  CC      lib/libc/assert.c\r\n  CC      lib/libc/exit.c\r\n  CC      lib/libc/memcmp.c\r\n  CC      lib/libc/memcpy.c\r\n  CC      lib/libc/memmove.c\r\n  CC      lib/libc/memchr.c\r\n  CC      lib/libc/memset.c\r\n  CC      lib/libc/printf.c\r\n  CC      lib/libc/putchar.c\r\n  CC      lib/libc/puts.c\r\n  CC      lib/libc/snprintf.c\r\n  CC      lib/libc/strchr.c\r\n  CC      lib/libc/strlen.c\r\n  CC      lib/libc/strcmp.c\r\n  CC      lib/libc/strncmp.c\r\n  CC      lib/libc/strnlen.c\r\n  AR      build/sun50i_h6/release/lib/libc.a\r\n  LD      build/sun50i_h6/release/bl31/bl31.elf\r\n  BIN     build/sun50i_h6/release/bl31.bin\r\n  OD      build/sun50i_h6/release/bl31/bl31.dump\r\n\r\nBuilt build/sun50i_h6/release/bl31.bin successfully\r\n\r\n[ error ] ERROR in function compile_atf [ compilation.sh:81 ]\r\n[ error ] ATF file not found [ bl31.bin ]\r\n[ o.k. ] Process terminated\r\n```\r\n\r\nRetry, same settings:\r\n```\r\n[ o.k. ] Downloading sources\r\n[ o.k. ] Checking git sources [ u-boot h6-hdmi-rebased-1 ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ linux-mainline h6-integrate-2-ugly ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ arm-trusted-firmware-sunxi-mainline sun50i_h6_pmic ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ sunxi-tools master ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ rkbin-tools master ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ marvell-tools A3700_utils-armada-17.10 ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ odroidc2-blobs master ]\r\n[ .... ] Up to date\r\n[ o.k. ] Checking git sources [ testing-reports master ]\r\n[ .... ] Up to date\r\n[ o.k. ] Cleaning output/debs for [ orangepioneplus dev ]\r\nls: cannot access '/home/build/build/cache/rootfs/*.lz4': No such file or directory\r\n[ o.k. ] Cleaning [ arm-trusted-firmware-sunxi-mainline/sun50i_h6_pmic ]\r\n[ o.k. ] Compiling ATF\r\n[ o.k. ] Compiler version [ aarch64-linux-gnu-gcc 6.4.1 ]\r\n[ o.k. ] Started patching process for [ atf sunxi64-orangepioneplus-dev ]\r\n[ o.k. ] Looking for user patches in [ userpatches/atf/atf-sunxi64 ]\r\n[ warn ] * [l][c] enable-additional-regulators.patch [ failed ]\r\n[ warn ] * [l][c] set-rsb-to-nonsec.patch [ failed ]\r\n[ error ] ERROR in function compile_atf [ compilation.sh:81 ]\r\n[ error ] ATF file not found [ bl31.bin ]\r\n[ o.k. ] Process terminated\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/armbian/build/issues/comments/419714451","html_url":"https://github.com/armbian/build/issues/1104#issuecomment-419714451","issue_url":"https://api.github.com/repos/armbian/build/issues/1104","id":419714451,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTcxNDQ1MQ==","user":{"login":"EvilOlaf","id":3305006,"node_id":"MDQ6VXNlcjMzMDUwMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/3305006?v=4","gravatar_id":"","url":"https://api.github.com/users/EvilOlaf","html_url":"https://github.com/EvilOlaf","followers_url":"https://api.github.com/users/EvilOlaf/followers","following_url":"https://api.github.com/users/EvilOlaf/following{/other_user}","gists_url":"https://api.github.com/users/EvilOlaf/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilOlaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilOlaf/subscriptions","organizations_url":"https://api.github.com/users/EvilOlaf/orgs","repos_url":"https://api.github.com/users/EvilOlaf/repos","events_url":"https://api.github.com/users/EvilOlaf/events{/privacy}","received_events_url":"https://api.github.com/users/EvilOlaf/received_events","type":"User","site_admin":false},"created_at":"2018-09-09T13:01:09Z","updated_at":"2018-09-09T13:01:09Z","author_association":"NONE","body":"Reverting the changes from https://github.com/armbian/build/commit/cbcdf570f38498e567f84b1abe71edcb4bc3458f\r\nfixes this issue for me. Kernel package compiling nicely."}}
{"actor":{"display_login":"EvilOlaf"}}