OpenBricks / openbricks

Embedded Linux Framework
http://www.geexbox.org/
GNU General Public License v2.0
82 stars 42 forks source link

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

Closed markc closed 13 years ago

markc commented 13 years ago

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
gxben commented 13 years ago

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.

davide125 commented 13 years ago

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).