torizon / meta-toradex-torizon

Torizon OS OpenEmbedded Distro Layer
MIT License
6 stars 10 forks source link

neofetch oe_runmake failed no rule to make target 'clean' #25

Closed leograba closed 4 months ago

leograba commented 5 months ago

I've just repo sync and then bitbake torizon-core-podman, then got the following error:

Sstate summary: Wanted 278 Local 181 Mirrors 0 Missed 97 Current 2129 (65% match, 95% complete)
NOTE: Executing Tasks
ERROR: neofetch-7.1.0+gitAUTOINC+60d07dee6b-r0 do_configure: oe_runmake failed
ERROR: neofetch-7.1.0+gitAUTOINC+60d07dee6b-r0 do_configure: ExecutionError('/home/leonardo/projects/yocto-builds/build-torizon/tmp/work/cortexa57-tdx-linux/neofetch/7.1.0+gitAUTOINC+60d07dee6b-r0/temp/run.do_configure.12761', 1, None, None)
ERROR: Logfile of failure stored in: /home/leonardo/projects/yocto-builds/build-torizon/tmp/work/cortexa57-tdx-linux/neofetch/7.1.0+gitAUTOINC+60d07dee6b-r0/temp/log.do_configure.12761
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['glibc', 'gcc-cross-aarch64', 'gcc-runtime', 'quilt-native', 'patch-native', 'pseudo-native', 'linux-libc-headers', 'libgcc', 'texinfo-dummy-native', 'libmpc-native', 'zstd-native', 'zlib-native', 'mpfr-native', 'gmp-native', 'gnu-config-native', 'xz-native', 'binutils-cross-aarch64', 'flex-native', 'libtool-native', 'attr-native', 'gettext-minimal-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| NOTE: make clean
| make: *** No rule to make target 'clean'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/leonardo/projects/yocto-builds/build-torizon/conf/../../layers/meta-toradex-torizon/recipes-devtools/neofetch/neofetch_7.1.0.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5379 tasks of which 5363 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 5 seconds
leograba commented 5 months ago

Btw, after I did bitbake -c cleanall neofetch it worked.

MingliuYan commented 5 months ago

@leograba

For a project does not have clean target, we shall set "CLEANBROKEN = "1"" in its recipe, will make a PR for that.