OpenBricks/openbricks

error: /bin/sh ../config.sub -openbricks-linux-gnu failed

markc opened this issue · 2 comments

I need to look at this more closely so this is just a note.

parse.c: In function 'parse_conflicts':
parse.c:620:11: warning: unused variable 'iter'
parse.c:619:11: warning: unused variable 'parsed'
                 INSTALLDEV  binutils
                     PACKAGEDEV  binutils
                         GET      binutils
                         CLEAN    binutils
                         UNPACK   binutils
## Applying patch: packages/binutils/patches/01_ld_makefile_patch.diff
## Applying patch: packages/binutils/patches/02_fix-missing-makeinfo.diff
## Applying patch: packages/binutils/patches/03_fix-ld-should-search-libs-in-sysroot-first.diff
## Applying patch: packages/binutils/patches/12_check_ldrunpath_length.diff
                         BUILD    binutils
configure: error: /bin/sh ../config.sub -openbricks-linux-gnu failed
configure: WARNING: cache variable ac_cv_target contains a newline
make: *** [rootfs] Error 1

You might want to provide the contents of build/config/options file too.
Also please provide your host system OS/arch version.
This could help debugging your problem.

This should be fixed as of r10926, it was a sneaky bug in the Kconfig generation code that led to an invalid triplet being set for architectures which didn't define any subarchs (like x86_64).