From 4deb89233f0c6fc907edc69d232e6e9ece454280 Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Sun, 28 Jun 2020 11:47:22 +0800 Subject: libmcrypt: set CLEANBROKEN reproduce steps: 1. bitbake libmcrypt 2. add bb.note('hello') in do_fetch of base.bbclass 3. bitbake libmcrypt do_configure failed: Making clean in doc make[1]: Entering directory 'build/tmp-glibc/work/cortexa72-wrs-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/doc' make[1]: *** No rule to make target 'clean'. Stop. make[1]: Leaving directory 'build/tmp-glibc/work/cortexa72-wrs-linux/libmcrypt/2.5.8-r0/libmcrypt-2.5.8/doc' Makefile:316: recipe for target 'clean-recursive' failed error occurred in autotools_preconfigure, since we have build one time in step1, we have CONFIGURESTAMPFILE, and also BB_TASKHASH changed after step2, in step3, after do_fetch, ${S} is renewed, but with main Makefile exist but no Makefile exist under sub folder, so above error occurred. set CLEANBROKEN to fix this error Signed-off-by: Changqing Li Signed-off-by: Khem Raj (cherry picked from commit e2d3ecaeb03027dd34875486ad00c58f921a5595) Signed-off-by: Armin Kuster --- meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb index be413a1c71..46e694be4a 100644 --- a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb +++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb @@ -13,3 +13,5 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/" UPSTREAM_CHECK_REGEX = "Libmcrypt/(?P\d+(\.\d+)+)/" inherit autotools-brokensep gettext binconfig + +CLEANBROKEN = "1" -- cgit 1.2.3-korg