All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libglib2: fix util-linux dependency
@ 2020-11-01 10:23 Fabrice Fontaine
  2020-11-01 10:39 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2020-11-01 10:23 UTC (permalink / raw)
  To: buildroot

Replace util-linux dependency by util-linux-libs to break the following
circular dependency:

 util-linux -> udev -> systemd -> polkit -> libglib2 -> util-linux

which will result in the following build failure:

../output-1/build/libglib2-2.64.4/meson.build:1931:2: ERROR: Dependency "mount" not found, tried pkgconfig

This will also raise the following build failure with util-linux:

checking for udev_new in -ludev... no
configure: error: udev selected but libudev not found

Fixes:
 - http://autobuild.buildroot.org/results/d2da9bda4e38b301d11d3baa66ea171e9e087171
 - http://autobuild.buildroot.org/results/520e9f18015fe26f93eb26387524766440e63f23

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

diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index fda04334f5..43fcb27fae 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -86,7 +86,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y)
 LIBGLIB2_CONF_OPTS += -Dlibmount=enabled
-LIBGLIB2_DEPENDENCIES += util-linux
+LIBGLIB2_DEPENDENCIES += util-linux-libs
 else
 LIBGLIB2_CONF_OPTS += -Dlibmount=disabled
 endif
-- 
2.28.0

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

* [Buildroot] [PATCH 1/1] package/libglib2: fix util-linux dependency
  2020-11-01 10:23 [Buildroot] [PATCH 1/1] package/libglib2: fix util-linux dependency Fabrice Fontaine
@ 2020-11-01 10:39 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-11-01 10:39 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2020-11-01 11:23 +0100, Fabrice Fontaine spake thusly:
> Replace util-linux dependency by util-linux-libs to break the following
> circular dependency:
> 
>  util-linux -> udev -> systemd -> polkit -> libglib2 -> util-linux
> 
> which will result in the following build failure:
> 
> ../output-1/build/libglib2-2.64.4/meson.build:1931:2: ERROR: Dependency "mount" not found, tried pkgconfig
> 
> This will also raise the following build failure with util-linux:
> 
> checking for udev_new in -ludev... no
> configure: error: udev selected but libudev not found
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/d2da9bda4e38b301d11d3baa66ea171e9e087171
>  - http://autobuild.buildroot.org/results/520e9f18015fe26f93eb26387524766440e63f23
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/libglib2/libglib2.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
> index fda04334f5..43fcb27fae 100644
> --- a/package/libglib2/libglib2.mk
> +++ b/package/libglib2/libglib2.mk
> @@ -86,7 +86,7 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y)
>  LIBGLIB2_CONF_OPTS += -Dlibmount=enabled
> -LIBGLIB2_DEPENDENCIES += util-linux
> +LIBGLIB2_DEPENDENCIES += util-linux-libs
>  else
>  LIBGLIB2_CONF_OPTS += -Dlibmount=disabled
>  endif
> -- 
> 2.28.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/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.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2020-11-01 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-01 10:23 [Buildroot] [PATCH 1/1] package/libglib2: fix util-linux dependency Fabrice Fontaine
2020-11-01 10:39 ` Yann E. MORIN

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.