All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  [PATCH] xapp_xf86dga: fix xlib_libXaw dependency
@ 2016-02-09  6:42 Ricardo Martincoski
  2016-02-09 21:59 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Martincoski @ 2016-02-09  6:42 UTC (permalink / raw)
  To: buildroot

Make it select BR2_PACKAGE_XLIB_LIBXAW, that also selects
BR2_PACKAGE_XLIB_LIBXT and BR2_PACKAGE_XLIB_LIBXMU

Fixes:
http://autobuild.buildroot.net/results/aee/aee4a895c74647292715705bfcdf742f3ea2f76f/

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Peter Korsgaard <jacmet@sunsite.dk>
---
The error message is:
Makefile:475: *** xlib_libXaw is in the dependency chain of xapp_xf86dga that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

The error can reproduced with this config
BR2_TOOLCHAIN_EXTERNAL=y # easy for toolchain w/ MMU sup.
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XAPP_XF86DGA=y
---
 package/x11r7/xapp_xf86dga/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/x11r7/xapp_xf86dga/Config.in b/package/x11r7/xapp_xf86dga/Config.in
index 8a13bd4..bd128c0 100644
--- a/package/x11r7/xapp_xf86dga/Config.in
+++ b/package/x11r7/xapp_xf86dga/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_XAPP_XF86DGA
 	bool "xf86dga"
 	select BR2_PACKAGE_XLIB_LIBX11
 	select BR2_PACKAGE_XLIB_LIBXXF86DGA
+	select BR2_PACKAGE_XLIB_LIBXAW
 	depends on BR2_USE_MMU # fork()
 	help
 	  test program for the XFree86-DGA extension
-- 
1.9.1

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

* [Buildroot] [PATCH] xapp_xf86dga: fix xlib_libXaw dependency
  2016-02-09  6:42 [Buildroot] [PATCH] xapp_xf86dga: fix xlib_libXaw dependency Ricardo Martincoski
@ 2016-02-09 21:59 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2016-02-09 21:59 UTC (permalink / raw)
  To: buildroot

On 09-02-16 07:42, Ricardo Martincoski wrote:
> Make it select BR2_PACKAGE_XLIB_LIBXAW, that also selects
> BR2_PACKAGE_XLIB_LIBXT and BR2_PACKAGE_XLIB_LIBXMU

 Since these two are also mentioned explicitly in the .mk, it's better to select
them as well.

 However, the Changelog says:

commit 4e4c9f023d84e37de412f1f484615edca6628549
Author: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>
Date:   Sun Mar 16 20:33:57 2008 -0300

    xf86dga doesn't require Xt, Xmu and Xaw.

      Remove inclusion of Xt/Xmu/Xaw headers and update includes to match
    missing libc and libX11 protypes.

 So instead, the dependencies in the .mk file should be removed.

 I'll cook a patch.

 Regards,
 Arnout

> 
> Fixes:
> http://autobuild.buildroot.net/results/aee/aee4a895c74647292715705bfcdf742f3ea2f76f/
> 
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
> Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
> Cc: Peter Korsgaard <jacmet@sunsite.dk>
> ---
> The error message is:
> Makefile:475: *** xlib_libXaw is in the dependency chain of xapp_xf86dga that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.
> 
> The error can reproduced with this config
> BR2_TOOLCHAIN_EXTERNAL=y # easy for toolchain w/ MMU sup.
> BR2_PACKAGE_XORG7=y
> BR2_PACKAGE_XAPP_XF86DGA=y
> ---
>  package/x11r7/xapp_xf86dga/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/x11r7/xapp_xf86dga/Config.in b/package/x11r7/xapp_xf86dga/Config.in
> index 8a13bd4..bd128c0 100644
> --- a/package/x11r7/xapp_xf86dga/Config.in
> +++ b/package/x11r7/xapp_xf86dga/Config.in
> @@ -2,6 +2,7 @@ config BR2_PACKAGE_XAPP_XF86DGA
>  	bool "xf86dga"
>  	select BR2_PACKAGE_XLIB_LIBX11
>  	select BR2_PACKAGE_XLIB_LIBXXF86DGA
> +	select BR2_PACKAGE_XLIB_LIBXAW
>  	depends on BR2_USE_MMU # fork()
>  	help
>  	  test program for the XFree86-DGA extension
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

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

end of thread, other threads:[~2016-02-09 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09  6:42 [Buildroot] [PATCH] xapp_xf86dga: fix xlib_libXaw dependency Ricardo Martincoski
2016-02-09 21:59 ` Arnout Vandecappelle

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.