All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe] [PATCH 1/2] gnome-text-editor: Fix build on clang
       [not found] <20220331195826.2578886-1-schnitzeltony@gmail.com>
@ 2022-03-31 22:24 ` Khem Raj
       [not found] ` <20220331195826.2578886-2-schnitzeltony@gmail.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Khem Raj @ 2022-03-31 22:24 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

On Thu, Mar 31, 2022 at 12:58 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
>  ...ot-set-c_std-gnu17-as-default-it-bre.patch | 35 +++++++++++++++++++
>  .../gnome-text-editor_42.0.bb                 |  1 +
>  2 files changed, 36 insertions(+)
>  create mode 100644 meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor/0001-meson.build-Do-not-set-c_std-gnu17-as-default-it-bre.patch
>
> diff --git a/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor/0001-meson.build-Do-not-set-c_std-gnu17-as-default-it-bre.patch b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor/0001-meson.build-Do-not-set-c_std-gnu17-as-default-it-bre.patch
> new file mode 100644
> index 000000000..c81b96bbd
> --- /dev/null
> +++ b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor/0001-meson.build-Do-not-set-c_std-gnu17-as-default-it-bre.patch
> @@ -0,0 +1,35 @@
> +From f5ee0f9024e1dc8293f17864e1c774c286a3ecfa Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
> +Date: Thu, 31 Mar 2022 21:10:00 +0200
> +Subject: [PATCH] meson.build: Do not set c_std=gnu17 as default - it breaks
> + clang builds
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Clang does not seem to support gnu17:
> +| ERROR: Value "gnu17" (of type "string") for combo option "C language standard to use" is not one of the choices. Possible choices are (as string): "none", "c89", "c99", "c11", "gnu89", "gnu99", "gnu11"
> +

This is not an issue in clang it supports gnu17 for -std and its also
not an issue with gnome-text-editor itself. The problem is in meson,
which I have
proposed a fix for upstream [1], I will also submit a patch to oe-core
to patch our meson recipe and then this patch won't be needed.

[1] https://github.com/mesonbuild/meson/pull/10218


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

* Re: [oe] [PATCH 2/2] gnome-commander: Force gcc(-runtime)
       [not found] ` <20220331195826.2578886-2-schnitzeltony@gmail.com>
@ 2022-04-01  2:59   ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2022-04-01  2:59 UTC (permalink / raw)
  To: Andreas Müller; +Cc: openembeded-devel

This is due to a regression introduced in glib-2.0 via
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2114
 see
https://gitlab.gnome.org/GNOME/glib/-/issues/2625

for details. So I guess until the above issue is resolved we can
disable clang for it.

On Thu, Mar 31, 2022 at 12:58 PM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> clang/llvm cause multiple issues and it is not upon us to fix them
>
> Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
> ---
>  .../recipes-gnome/gnome-commander/gnome-commander_1.14.2.bb   | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta-gnome/recipes-gnome/gnome-commander/gnome-commander_1.14.2.bb b/meta-gnome/recipes-gnome/gnome-commander/gnome-commander_1.14.2.bb
> index c67242299..f0f47fd53 100644
> --- a/meta-gnome/recipes-gnome/gnome-commander/gnome-commander_1.14.2.bb
> +++ b/meta-gnome/recipes-gnome/gnome-commander/gnome-commander_1.14.2.bb
> @@ -18,5 +18,9 @@ PACKAGECONFIG[taglib] = "--with-taglib,--without-taglib,taglib"
>  PACKAGECONFIG[libgsf] = "--with-libgsf,--without-libgsf,libgsf"
>  PACKAGECONFIG[poppler] = "--with-poppler,--without-poppler,poppler"
>
> +# gnome commander has several issues with clang/llvm
> +TOOLCHAIN = "gcc"
> +RUNTIME = "gnu"
> +
>  FILES:${PN} += "${datadir}/metainfo"
>  FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#96307): https://lists.openembedded.org/g/openembedded-devel/message/96307
> Mute This Topic: https://lists.openembedded.org/mt/90163236/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


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

end of thread, other threads:[~2022-04-01  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20220331195826.2578886-1-schnitzeltony@gmail.com>
2022-03-31 22:24 ` [oe] [PATCH 1/2] gnome-text-editor: Fix build on clang Khem Raj
     [not found] ` <20220331195826.2578886-2-schnitzeltony@gmail.com>
2022-04-01  2:59   ` [oe] [PATCH 2/2] gnome-commander: Force gcc(-runtime) Khem Raj

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.