Skip to contentSkip to conversation

cyrus-sasl: do not set CLEANBROKEN

PATCH Superseded Chen Qi 2 participants 2 messages Sep 10, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 cyrus-sasl: do not set CLEANBROKEN

A previous commit set CLEANBROKEN to "1" to claim to fix the following error.

Fixed rebuild error:
configure: error: changes in the environment can compromise the build
configure: error: run make distclean' and/or rm .././config.cache' and start over
configure: error: ./configure failed for saslauthd

However, I'm still seeing these errors!

The actual problem is about autotools.bbclass not cleaning things up. It just uses 'make clean' while maybe 'make distclean' and 'rm -f ${B}/config.cache' also needs to be there.

In fact, setting CLEANBROKEN will do no cleanup except removing some .la files.

---
 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 2 --
 1 file changed, 2 deletions(-)
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb +0 -2
index 3391da0..317d238 100644
@@ -19,8 +19,6 @@ UPSTREAM_CHECK_REGEX = "cyrus-sasl-(?P<pver>(\d+(\.\d+)+))\.tar"
 
 inherit autotools-brokensep pkgconfig useradd systemd
 
-CLEANBROKEN = "1"
-
 EXTRA_OECONF += "--with-dblib=berkeley \
                  --with-bdb-libdir=${STAGING_LIBDIR} \
                  --with-bdb-incdir=${STAGING_INCDIR} \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 9 lines · Chen Qi

A previous commit set CLEANBROKEN to "1" to claim to fix the following error.

Fixed rebuild error:
configure: error: changes in the environment can compromise the build
configure: error: run make distclean' and/or rm .././config.cache' and start over
configure: error: ./configure failed for saslauthd

Quoted 8 lines

However, I'm still seeing these errors!

The actual problem is about autotools.bbclass not cleaning things up. It just uses 'make clean' while maybe 'make distclean' and 'rm -f ${B}/config.cache' also needs to be there.

In fact, setting CLEANBROKEN will do no cleanup except removing some .la files.

please rebase on top of master-next and resend

Quoted 26 lines
---
 meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 2 --
 1 file changed, 2 deletions(-)
meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb +0 -3
index 3391da0..317d238 100644
@@ -19,8 +19,6 @@ UPSTREAM_CHECK_REGEX = "cyrus-sasl-(?P<pver>(\d+(\.\d+)+))\.tar"
 
 inherit autotools-brokensep pkgconfig useradd systemd
 
-CLEANBROKEN = "1"
-
 EXTRA_OECONF += "--with-dblib=berkeley \
                  --with-bdb-libdir=${STAGING_LIBDIR} \
                  --with-bdb-incdir=${STAGING_INCDIR} \
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel