All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options
@ 2022-04-03 16:37 Fabrice Fontaine
  2022-04-03 16:37 ` [Buildroot] [PATCH 2/2] package/libyang: disable tests Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-04-03 16:37 UTC (permalink / raw)
  To: buildroot; +Cc: Jan Kundrát, Heiko Thiery, Fabrice Fontaine

Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop
ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized
anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libyang/libyang.mk | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
index 7de9531bff..832adcb627 100644
--- a/package/libyang/libyang.mk
+++ b/package/libyang/libyang.mk
@@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2
 HOST_LIBYANG_DEPENDENCIES = host-pcre2
 
 LIBYANG_CONF_OPTS = \
-	-DENABLE_VALGRIND_TESTS=OFF \
-	-DGEN_PYTHON_BINDINGS=OFF \
-	-DENABLE_LYD_PRIV=ON
+	-DENABLE_VALGRIND_TESTS=OFF
 
 HOST_LIBYANG_CONF_OPTS = \
-	-DENABLE_VALGRIND_TESTS=OFF \
-	-DGEN_PYTHON_BINDINGS=OFF
+	-DENABLE_VALGRIND_TESTS=OFF
 
 $(eval $(cmake-package))
 $(eval $(host-cmake-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/libyang: disable tests
  2022-04-03 16:37 [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Fabrice Fontaine
@ 2022-04-03 16:37 ` Fabrice Fontaine
  2022-04-04 19:34   ` Peter Korsgaard
  2022-04-03 20:25 ` [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Yann E. MORIN
  2022-04-04 19:33 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2022-04-03 16:37 UTC (permalink / raw)
  To: buildroot; +Cc: Jan Kundrát, Heiko Thiery, Fabrice Fontaine

Disable tests which are enabled by default in debug mode since bump to
version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and
https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0
as they will raise the following build failure if cmocka is built before
libyang:

In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20,
                 from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9,
                 from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18,
                 from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30,
                 from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15:
/home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t'
   53 | typedef unsigned _Addr uintptr_t;
      |                        ^~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libyang/libyang.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
index 832adcb627..a097b3ee95 100644
--- a/package/libyang/libyang.mk
+++ b/package/libyang/libyang.mk
@@ -15,9 +15,11 @@ LIBYANG_DEPENDENCIES = pcre2
 HOST_LIBYANG_DEPENDENCIES = host-pcre2
 
 LIBYANG_CONF_OPTS = \
+	-DENABLE_TESTS=OFF \
 	-DENABLE_VALGRIND_TESTS=OFF
 
 HOST_LIBYANG_CONF_OPTS = \
+	-DENABLE_TESTS=OFF \
 	-DENABLE_VALGRIND_TESTS=OFF
 
 $(eval $(cmake-package))
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options
  2022-04-03 16:37 [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Fabrice Fontaine
  2022-04-03 16:37 ` [Buildroot] [PATCH 2/2] package/libyang: disable tests Fabrice Fontaine
@ 2022-04-03 20:25 ` Yann E. MORIN
  2022-04-04 19:33 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2022-04-03 20:25 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Jan Kundrát, Heiko Thiery, buildroot

Fabrice, All,

On 2022-04-03 18:37 +0200, Fabrice Fontaine spake thusly:
> Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop
> ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized
> anymore
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Those two patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/libyang/libyang.mk | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/package/libyang/libyang.mk b/package/libyang/libyang.mk
> index 7de9531bff..832adcb627 100644
> --- a/package/libyang/libyang.mk
> +++ b/package/libyang/libyang.mk
> @@ -15,13 +15,10 @@ LIBYANG_DEPENDENCIES = pcre2
>  HOST_LIBYANG_DEPENDENCIES = host-pcre2
>  
>  LIBYANG_CONF_OPTS = \
> -	-DENABLE_VALGRIND_TESTS=OFF \
> -	-DGEN_PYTHON_BINDINGS=OFF \
> -	-DENABLE_LYD_PRIV=ON
> +	-DENABLE_VALGRIND_TESTS=OFF
>  
>  HOST_LIBYANG_CONF_OPTS = \
> -	-DENABLE_VALGRIND_TESTS=OFF \
> -	-DGEN_PYTHON_BINDINGS=OFF
> +	-DENABLE_VALGRIND_TESTS=OFF
>  
>  $(eval $(cmake-package))
>  $(eval $(host-cmake-package))
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options
  2022-04-03 16:37 [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Fabrice Fontaine
  2022-04-03 16:37 ` [Buildroot] [PATCH 2/2] package/libyang: disable tests Fabrice Fontaine
  2022-04-03 20:25 ` [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Yann E. MORIN
@ 2022-04-04 19:33 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-04-04 19:33 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Jan Kundrát, Heiko Thiery, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Commit 2a3edc5e00b38f4f927894d0911990c9060e4415 forgot to drop
 > ENABLE_LYD_PRIV and GEN_PYTHON_BINDINGS options which are not recognized
 > anymore

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/libyang: disable tests
  2022-04-03 16:37 ` [Buildroot] [PATCH 2/2] package/libyang: disable tests Fabrice Fontaine
@ 2022-04-04 19:34   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-04-04 19:34 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Jan Kundrát, Heiko Thiery, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Disable tests which are enabled by default in debug mode since bump to
 > version 2.0.0 in commit 2a3edc5e00b38f4f927894d0911990c9060e4415 and
 > https://github.com/CESNET/libyang/commit/e84f12fc5eccd67ed41e852fa0e23c030ae8acb0
 > as they will raise the following build failure if cmocka is built before
 > libyang:

 > In file included from /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/stdint.h:20,
 >                  from /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/lib/gcc/riscv64-buildroot-linux-musl/10.3.0/include/stdint.h:9,
 >                  from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/src/libyang.h:18,
 >                  from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/utests.h:30,
 >                  from /home/buildroot/autobuild/instance-0/output-1/build/libyang-2.0.112/tests/utests/extensions/test_yangdata.c:15:
 > /home/buildroot/autobuild/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:53:24: error: conflicting types for 'uintptr_t'
 >    53 | typedef unsigned _Addr uintptr_t;
 >       |                        ^~~~~~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/7ae21fbb28b1a69183c5d8ed87cf5f5cbf055026

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-04 19:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-03 16:37 [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Fabrice Fontaine
2022-04-03 16:37 ` [Buildroot] [PATCH 2/2] package/libyang: disable tests Fabrice Fontaine
2022-04-04 19:34   ` Peter Korsgaard
2022-04-03 20:25 ` [Buildroot] [PATCH 1/2] package/libyang: drop unrecognized options Yann E. MORIN
2022-04-04 19:33 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.