[FS#297] Build failure with latest git when building for lantiq

LEDE Bugs lede-bugs at lists.infradead.org
Mon Nov 21 18:00:09 PST 2016


A new Flyspray task has been opened.  Details are below. 

User who did this - hngsvtdu at sharklasers.com (hngsvtdu) 

Attached to Project - LEDE Project
Summary - Build failure with latest git when building for lantiq
Task Type - Build Failure
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Building latest git code fails.
Git/commit version: d2b79e4d808add264d22e284fa21dfa155e52f05

Anonymized (username) build log:
...
#
# configuration written to .config
#
*** Default configuration is based on 'sandbox_defconfig'
make[4]: Leaving directory '/home/user/lede/source/build_dir/host/u-boot-2014.10'
make -C /home/user/lede/source/build_dir/host/u-boot-2014.10 tools-only  HOSTCFLAGS="-I/home/user/lede/source/staging_dir/host/include -I/home/user/lede/source/staging_dir/host/usr/include  -O2 -I/home/user/lede/source/staging_dir/host/include -I/home/user/lede/source/staging_dir/host/usr/include " HOSTLDFLAGS="-L/home/user/lede/source/staging_dir/host/lib -L/home/user/lede/source/staging_dir/host/usr/lib "
make[4]: Entering directory '/home/user/lede/source/build_dir/host/u-boot-2014.10'
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
make[4]: sdl-config: Command not found
make[4]: sdl-config: Command not found
make[4]: sdl-config: Command not found
  CHK     include/config/uboot.release
make[4]: sdl-config: Command not found
  CHK     include/generated/version_autogenerated.h
make[4]: sdl-config: Command not found
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
make[4]: sdl-config: Command not found
  HOSTCC  tools/img2srec
In file included from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/user/lede/source/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
 #include_next 
  ^~~~~~~~~~~~
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/common/image-fit.o
  HOSTCC  tools/common/image-sig.o
  HOSTCC  tools/common/image.o
  HOSTCC  tools/default_image.o
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/fit_check_sign.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/fit_info.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/kwbimage.o
  HOSTCC  tools/lib/crc32.o
In file included from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/user/lede/source/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
 #include_next 
  ^~~~~~~~~~~~
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/lib/fdtdec_common.o
  HOSTCC  tools/lib/libfdt/fdt.o
  HOSTCC  tools/lib/libfdt/fdt_ro.o
  HOSTCC  tools/lib/libfdt/fdt_rw.o
  HOSTCC  tools/lib/libfdt/fdt_strerror.o
  HOSTCC  tools/lib/libfdt/fdt_wip.o
  HOSTCC  tools/lib/md5.o
In file included from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/compiler.h:46:0,
                 from /home/user/lede/source/build_dir/host/u-boot-2014.10/include/libfdt_env.h:12,
                 from :0:
/home/user/lede/source/staging_dir/host/include/byteswap.h:2:2: warning: #include_next is a GCC extension
 #include_next 
  ^~~~~~~~~~~~
  HOSTCC  tools/lib/rsa/rsa-checksum.o
  HOSTCC  tools/lib/rsa/rsa-sign.o
In file included from tools/lib/rsa/rsa-sign.c:1:0:
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_remove':
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:156:2: warning: 'ERR_remove_thread_state' is deprecated [-Wdeprecated-declarations]
  ERR_remove_thread_state(NULL);
  ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509_vfy.h:20:0,
                 from /usr/include/openssl/x509.h:309,
                 from /usr/include/openssl/pem.h:17,
                 from /home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:13,
                 from tools/lib/rsa/rsa-sign.c:1:
/usr/include/openssl/err.h:246:1: note: declared here
 DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
 ^
In file included from tools/lib/rsa/rsa-sign.c:1:0:
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_sign_with_key':
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:213:2: warning: implicit declaration of function 'EVP_MD_CTX_cleanup' [-Wimplicit-function-declaration]
  EVP_MD_CTX_cleanup(context);
  ^~~~~~~~~~~~~~~~~~
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c: In function 'rsa_get_exponent':
/home/user/lede/source/build_dir/host/u-boot-2014.10/lib/rsa/rsa-sign.c:279:21: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}'
  if (BN_num_bits(key->e) > 64)
                     ^~
scripts/Makefile.host:134: recipe for target 'tools/lib/rsa/rsa-sign.o' failed
make[5]: *** [tools/lib/rsa/rsa-sign.o] Error 1
Makefile:1195: recipe for target 'tools-only' failed
make[4]: *** [tools-only] Error 2
make[4]: Leaving directory '/home/user/lede/source/build_dir/host/u-boot-2014.10'
Makefile:46: recipe for target '/home/user/lede/source/build_dir/host/u-boot-2014.10/.built' failed
make[3]: *** [/home/user/lede/source/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory '/home/user/lede/source/tools/mkimage'
tools/Makefile:148: recipe for target 'tools/mkimage/compile' failed
make[2]: *** [tools/mkimage/compile] Error 2
make[2]: Leaving directory '/home/user/lede/source'
tools/Makefile:147: recipe for target '/home/user/lede/source/staging_dir/target-mips_24kc_musl-1.1.15/stamp/.tools_install_yynyynyyynyyyyynyynnyyynyyyyyyyyyyyyyyynnyynynnyyynnnyy' failed
make[1]: *** [/home/user/lede/source/staging_dir/target-mips_24kc_musl-1.1.15/stamp/.tools_install_yynyynyyynyyyyynyynnyyynyyyyyyyyyyyyyyynnyynynnyyynnnyy] Error 2
make[1]: Leaving directory '/home/user/lede/source'
/home/user/lede/source/include/toplevel.mk:194: die Regel für Ziel „world“ scheiterte
make: *** [world] Fehler 2


Other cpu architectures have not been tested.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=297



More information about the lede-bugs mailing list