Dear all:
Thanks very much for help me, I am hurried
host system:ubuntu20.04
imx package version:imx-yocto-LF5.10.9_1.0.0
the error list:
checking for gethostbyname... (cached) yes
| checking for library containing inet_ntop... (cached) none required
| checking whether inet_ntop is declared... (cached) yes
| checking whether the compiler generally respects inline... yes
| checking whether INT32_MAX < INTMAX_MAX... yes
| checking whether INT64_MAX == LONG_MAX... yes
| checking whether UINT32_MAX < UINTMAX_MAX... yes
| checking whether UINT64_MAX == ULONG_MAX... yes
| checking for isapipe... no
| checking whether pipes are FIFOs (and for their link count)... (cached) yes (1)
| checking whether isnan(double) can be used without linking with libm... yes
| checking whether isnan(float) can be used without linking with libm... yes
| checking whether isnan(float) works... yes
| checking whether isnan(long double) can be used without linking with libm... yes
| checking whether isnanl works... yes
| checking whether iswblank is declared... yes
| checking whether iswdigit is ISO C compliant... yes
| checking whether iswxdigit is ISO C compliant... yes
| checking whether langinfo.h defines CODESET... yes
| checking whether langinfo.h defines T_FMT_AMPM... yes
| checking whether langinfo.h defines ALTMON_1... yes
| checking whether langinfo.h defines ERA... yes
| checking whether langinfo.h defines YESEXPR... yes
| checking for lchown... yes
| checking for C compiler flag to ignore unused libraries... -Wl,--as-needed
| checking whether the compiler supports the __inline keyword... yes
| checking whether link obeys POSIX... yes
| checking for __xpg4... no
| checking whether link(2) dereferences a symlink... (cached) no
| checking whether linkat() can link symlinks... yes
| checking whether linkat handles trailing slash correctly... yes
| checking whether locale.h conforms to POSIX:2001... yes
| checking whether struct lconv is properly defined... yes
| checking for pthread_rwlock_t... yes
| checking whether pthread_rwlock_rdlock prefers a writer to a reader... no
| checking whether lseek detects pipes... yes
| checking for stdlib.h... (cached) yes
| checking for GNU libc compatible malloc... (cached) yes
| checking whether NAN macro works... yes
| checking whether HUGE_VAL works... yes
| checking whether mbrtowc handles incomplete characters... (cached) yes
| checking whether mbrtowc works as well as mbtowc... (cached) yes
| checking whether mbrtowc handles a NULL pwc argument... (cached) yes
| checking whether mbrtowc handles a NULL string argument... (cached) yes
| checking whether mbrtowc has a correct return value... (cached) yes
| checking whether mbrtowc returns 0 when parsing a NUL character... (cached) yes
| checking whether mbrtowc stores incomplete characters... (cached) no
| checking whether mbrtowc works on empty input... (cached) yes
| checking whether the C locale is free of encoding errors... (cached) no
| checking whether mbrtowc handles incomplete characters... (cached) yes
| checking whether mbrtowc works as well as mbtowc... (cached) yes
| checking whether mbrtowc handles incomplete characters... (cached) yes
| checking whether mbrtowc works as well as mbtowc... (cached) yes
| checking whether mbsrtowcs works... yes
| checking whether mbswidth is declared in <wchar.h>... no
| checking for mbstate_t... (cached) yes
| checking for mbtowc... yes
| checking for mempcpy... (cached) yes
| checking for memrchr... yes
| checking whether mkdir handles trailing slash... yes
| checking whether mkdir handles trailing dot... yes
| checking for mkfifo... yes
| checking whether mkfifo rejects trailing slashes... yes
| checking whether mknod can create fifo without root privileges... configure: error: in `/root/imx-yocto-bsp/build/tmp/work/x86_64-linux/coreutils-native/8.32-r0/build':
| configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
| See `config.log' for more details
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (virtual:native:/root/imx-yocto-bsp/sources/poky/meta/recipes-core/coreutils/coreutils_8.32.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5079 tasks of which 5078 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
Summary: 1 task failed:
virtual:native:/root/imx-yocto-bsp/sources/poky/meta/recipes-core/coreutils/coreutils_8.32.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Best Regards
Joshua
I set:export set FORCE_UNSAFE_CONFIGURE=1
is wrong
please help me ?