diff mbox series

[meta-oe] ctags: set CLEANBROKEN

Message ID 20261104124017.889577-1-martin.jansa@gmail.com
State New
Headers show
Series [meta-oe] ctags: set CLEANBROKEN | expand

Commit Message

Martin Jansa Nov. 4, 2026, 12:40 p.m. UTC
From: Martin Jansa <martin.jansa@gmail.com>

Tries to call sphinx-build during clean in docs directory and fails when
not installed on host nor included in HOSTTOOLS

Fixes do_configure failure when re-executed in existing WORKDIR

...
rm -f ./*.gcov
make[2]: Entering directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
/bin/sh: 1: sphinx-build: not found
make[2]: Leaving directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
make[2]: *** [Makefile:20: clean] Error 127
make[1]: *** [Makefile:8218: clean-local] Error 2
make[1]: Leaving directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0'
make: *** [Makefile:7175: clean-recursive] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb | 3 +++
 1 file changed, 3 insertions(+)

Comments

Khem Raj Nov. 4, 2026, 5:29 p.m. UTC | #1
Martin

there is a version upgrade staged in master-next to 6.2.20261101.0 please
check if this patch is needed with the upgrade as well.

On Wed, Nov 4, 2026 at 4:40 AM Martin Jansa via openembedded-devel
<martin.jansa=gmail.com@lists.openembedded.org> wrote:

> From: Martin Jansa <martin.jansa@gmail.com>
>
> Tries to call sphinx-build during clean in docs directory and fails when
> not installed on host nor included in HOSTTOOLS
>
> Fixes do_configure failure when re-executed in existing WORKDIR
>
> ...
> rm -f ./*.gcov
> make[2]: Entering directory
> '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
> /bin/sh: 1: sphinx-build: not found
> make[2]: Leaving directory
> '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
> make[2]: *** [Makefile:20: clean] Error 127
> make[1]: *** [Makefile:8218: clean-local] Error 2
> make[1]: Leaving directory
> '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0'
> make: *** [Makefile:7175: clean-recursive] Error 1
> ERROR: oe_runmake failed
> WARNING: exit code 1 from a shell command.
>
> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> ---
>  meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
> b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
> index e2f6b309ef..b419a158c0 100644
> --- a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
> +++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
> @@ -33,3 +33,6 @@ PACKAGECONFIG[yaml] =
> "--enable-yaml,--disable-yaml,libyaml"
>  PACKAGECONFIG[manpages] = ",,python3-docutils-native"
>
>  BBCLASSEXTEND = "native"
> +
> +# calls sphinx-build during clean
> +CLEANBROKEN = "1"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#131843):
> https://lists.openembedded.org/g/openembedded-devel/message/131843
> Mute This Topic: https://lists.openembedded.org/mt/122091537/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Martin Jansa Nov. 4, 2026, 6:20 p.m. UTC | #2
Hi Khem,

looking at https://github.com/universal-ctags/ctags/compare/p6.2.20261011.0...p6.2.20261101.0
I'm pretty sure it is still needed, but will verify it with a build
test tomorrow as well and send rebased version on top of master-next.

The issue was introduced in p6.2.20260802.0 version with:
https://github.com/universal-ctags/ctags/commit/05a8061a581f626deada11da5300822bee20e458

Cheers,

On Wed, Nov 4, 2026 at 6:29 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> Martin
>
> there is a version upgrade staged in master-next to 6.2.20261101.0 please check if this patch is needed with the upgrade as well.
>
> On Wed, Nov 4, 2026 at 4:40 AM Martin Jansa via openembedded-devel <martin.jansa=gmail.com@lists.openembedded.org> wrote:
>>
>> From: Martin Jansa <martin.jansa@gmail.com>
>>
>> Tries to call sphinx-build during clean in docs directory and fails when
>> not installed on host nor included in HOSTTOOLS
>>
>> Fixes do_configure failure when re-executed in existing WORKDIR
>>
>> ...
>> rm -f ./*.gcov
>> make[2]: Entering directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
>> /bin/sh: 1: sphinx-build: not found
>> make[2]: Leaving directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0/docs'
>> make[2]: *** [Makefile:20: clean] Error 127
>> make[1]: *** [Makefile:8218: clean-local] Error 2
>> make[1]: Leaving directory '/OE/tmp/work/x86_64-linux/ctags-native/6.2.20261011.0/sources/ctags-6.2.20261011.0'
>> make: *** [Makefile:7175: clean-recursive] Error 1
>> ERROR: oe_runmake failed
>> WARNING: exit code 1 from a shell command.
>>
>> Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
>> ---
>>  meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
>> index e2f6b309ef..b419a158c0 100644
>> --- a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
>> +++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
>> @@ -33,3 +33,6 @@ PACKAGECONFIG[yaml] = "--enable-yaml,--disable-yaml,libyaml"
>>  PACKAGECONFIG[manpages] = ",,python3-docutils-native"
>>
>>  BBCLASSEXTEND = "native"
>> +
>> +# calls sphinx-build during clean
>> +CLEANBROKEN = "1"
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#131843): https://lists.openembedded.org/g/openembedded-devel/message/131843
>> Mute This Topic: https://lists.openembedded.org/mt/122091537/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
index e2f6b309ef..b419a158c0 100644
--- a/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
+++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20261011.0.bb
@@ -33,3 +33,6 @@  PACKAGECONFIG[yaml] = "--enable-yaml,--disable-yaml,libyaml"
 PACKAGECONFIG[manpages] = ",,python3-docutils-native"
 
 BBCLASSEXTEND = "native"
+
+# calls sphinx-build during clean
+CLEANBROKEN = "1"