Closed drcut closed 3 years ago
Maybe delete your tmp
dir and then try again?
Thanks for your suggestions. But after removing tmp, it raises another error
Loading cache: 100% | | ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:50
Parsing of 2323 .bb files complete (0 cached, 2323 parsed). 3562 targets, 245 skipped, 0 masked, 0 errors.
Removing 1 recipes from the allarch sysroot: 100% |##########################################################################################################################################| Time: 0:00:00
Removing 5 recipes from the qemuriscv32 sysroot: 100% |######################################################################################################################################| Time: 0:00:00
Removing 3 recipes from the riscv32 sysroot: 100% |##########################################################################################################################################| Time: 0:00:00
Removing 2 recipes from the x86_64 sysroot: 100% |###########################################################################################################################################| Time: 0:00:00
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.49.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "riscv32-oe-linux"
MACHINE = "qemuriscv32"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv32"
meta = "work:cf10ad80a59bbeab1db0b1761bdf168d3e281474"
meta-oe
meta-python
meta-multimedia
meta-networking = "work:759058bfb832161eb0d21f5c51a49c8361e727bc"
meta-riscv = "work:9d10fd4f37d9f209847e79953fcc9bc018b1fe5e"
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 905 Found 0 Missed 905 Current 107 (0% match, 10% complete)
NOTE: Executing Tasks
ERROR: quilt-native-0.66-r0 do_configure: configure failed
ERROR: quilt-native-0.66-r0 do_configure: Execution of '/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/temp/run.do_configure.24446' failed with exit code 1:
configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
checking for a BSD-compatible install... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/install -c
checking whether #! works in shell scripts... yes
checking for bash... (cached) /bin/bash
checking whether /bin/bash quoting works... yes
checking for gcp... no
checking for cp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/cp
checking for gdate... no
checking for date... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date --rfc-822 works... yes
checking for perl... /usr/bin/env perl
configure: WARNING: /usr/bin/env perl does not exist
checking for grep... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep -q works... yes
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep understands (foo|bar)... yes
checking for tail... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail -n works... yes
checking for tr... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr understands a-z ... yes
checking for stat... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat -c '%h' works... yes
checking for sed... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed understands (foo|bar)... yes
checking for gawk... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk supports sub... yes
checking for pod2man... no
checking for column... no
configure: WARNING: Using internal column mechanism. Use option '--with-column' to override
checking for getopt... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/getopt
checking for getopt --long syntax... yes
checking for mktemp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp
checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d works... no
configure: error:
'/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d' does not create temporary directories.
If you don't have a version of mktemp that can create directories, you
can specify '--without-mktemp' and quilt will use its own
internal tempfile generation mechanism.
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/temp/log.do_configure.24446
Log data follows:
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are []
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: []
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| NOTE: Running ./configure --build=x86_64-linux --host=x86_64-linux --target=x86_64-linux --prefix=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr --exec_prefix=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr --bindir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/bin --sbindir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/sbin --libexecdir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/libexec --datadir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/share --sysconfdir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/etc --sharedstatedir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/com --localstatedir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/var --libdir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/lib --includedir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/include --oldincludedir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/include --infodir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/share/info --mandir=/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/recipe-sysroot-native/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-perl='/usr/bin/env perl' --with-patch=patch --disable-nls
| configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
| checking for a BSD-compatible install... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/install -c
| checking whether #! works in shell scripts... yes
| checking for bash... (cached) /bin/bash
| checking whether /bin/bash quoting works... yes
| checking for gcp... no
| checking for cp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/cp
| checking for gdate... no
| checking for date... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date --rfc-822 works... yes
| checking for perl... /usr/bin/env perl
| configure: WARNING: /usr/bin/env perl does not exist
| checking for grep... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep -q works... yes
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep understands (foo|bar)... yes
| checking for tail... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail -n works... yes
| checking for tr... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr understands a-z ... yes
| checking for stat... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat -c '%h' works... yes
| checking for sed... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed understands (foo|bar)... yes
| checking for gawk... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk supports sub... yes
| checking for pod2man... no
| checking for column... no
| configure: WARNING: Using internal column mechanism. Use option '--with-column' to override
| checking for getopt... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/getopt
| checking for getopt --long syntax... yes
| checking for mktemp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d works... no
| configure: error:
| '/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d' does not create temporary directories.
| If you don't have a version of mktemp that can create directories, you
| can specify '--without-mktemp' and quilt will use its own
| internal tempfile generation mechanism.
|
| NOTE: The following config.log files may provide further information.
| NOTE: /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/quilt-0.66/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/temp/run.do_configure.24446' failed with exit code 1:
| configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking
| checking for a BSD-compatible install... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/install -c
| checking whether #! works in shell scripts... yes
| checking for bash... (cached) /bin/bash
| checking whether /bin/bash quoting works... yes
| checking for gcp... no
| checking for cp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/cp
| checking for gdate... no
| checking for date... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/date --rfc-822 works... yes
| checking for perl... /usr/bin/env perl
| configure: WARNING: /usr/bin/env perl does not exist
| checking for grep... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep -q works... yes
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/grep understands (foo|bar)... yes
| checking for tail... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tail -n works... yes
| checking for tr... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/tr understands a-z ... yes
| checking for stat... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/stat -c '%h' works... yes
| checking for sed... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/sed understands (foo|bar)... yes
| checking for gawk... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/gawk supports sub... yes
| checking for pod2man... no
| checking for column... no
| configure: WARNING: Using internal column mechanism. Use option '--with-column' to override
| checking for getopt... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/getopt
| checking for getopt --long syntax... yes
| checking for mktemp... /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp
| checking whether /home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d works... no
| configure: error:
| '/home/SENSETIME/hanruobing/riscv-yocto/build/tmp-glibc/hosttools/mktemp -d' does not create temporary directories.
| If you don't have a version of mktemp that can create directories, you
| can specify '--without-mktemp' and quilt will use its own
| internal tempfile generation mechanism.
|
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/SENSETIME/hanruobing/riscv-yocto/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 490 tasks of which 457 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/SENSETIME/hanruobing/riscv-yocto/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Maybe delete your
tmp
dir and then try again?
I can skip the error (the first error in this issue) by naively comment the following codes in openembedded-core/bitbake/lib/bb/process.py
#if pipe.returncode != 0:
# raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
Of course this does not make sense.
I think it's some erro in riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/temp/run.ssh_allow_empty_password.30210
The sed will check dropbear in etc, but the if condition only check the existings of dropbear in usr/sbin
if [ -e /home/SENSETIME/hanruobing/tmp/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/rootfs/usr/sbin/dropbear ] ; then
if grep -q DROPBEAR_EXTRA_ARGS /home/SENSETIME/hanruobing/tmp/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/rootfs/etc/default/dropbear 2>/dev/null ; then
if ! grep -q "DROPBEAR_EXTRA_ARGS=.*-B" /home/SENSETIME/hanruobing/tmp/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/rootfs/etc/default/dropbear ; then
sed -i 's/^DROPBEAR_EXTRA_ARGS="*\([^"]*\)"*/DROPBEAR_EXTRA_ARGS="\1 -B"/' /home/SENSETIME/hanruobing/tmp/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/rootfs/etc/default/dropbear
fi
else
printf '\nDROPBEAR_EXTRA_ARGS="-B"\n' >> /home/SENSETIME/hanruobing/tmp/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/rootfs/etc/default/dropbear
fi
fi
Something looks really wrong. Maybe you should just remove temp, sstate and downloads.
Something looks really wrong. Maybe you should just remove temp, sstate and downloads.
Thanks, things go right when restart.
Description
Excuse me. When I run
MACHINE=qemuriscv32 bitbake core-image-full-cmdline
, it raises the error below:Any suggestions? Thanks!