[Buildroot] svn commit: trunk/buildroot/package/dbus

Ulf Samuelsson ulf.samuelsson at atmel.com
Sat Jan 31 21:55:00 UTC 2009


lör 2009-01-31 klockan 22:20 +0100 skrev Peter Korsgaard:
> >>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson at atmel.com> writes:
> 
>  Ulf> lör 2009-01-31 klockan 18:39 +0000 skrev jacmet at uclibc.org:
>  >> Author: jacmet
>  >> Date: 2009-01-31 18:39:55 +0000 (Sat, 31 Jan 2009)
>  >> New Revision: 25181
>  >> 
>  >> Log:
>  >> dbus: revert to pre-r25021 situation
>  >> 
>  >> Revert to pre-r25021 situation, but add extra comments explaining the
>  >> situation.
>  >> 
>  >> Modified:
>  >> trunk/buildroot/package/dbus/dbus.mk
> 
>  Ulf> Why are you doing this?
> 
>  Ulf> You are AGAIN breaking boards...
> 
> What? What is broken? A wee bit more detail would be handy.
> 

The problem is that you make dbus depend on expat/libxml2.

To build dbus, you need to do a number of things

extract
patch
configure
make
install staging dir
install target
dbus = "ready"

If you make "dbus" depend on "libxml2", then 
libxml2 can be built at ANY time between start of make
until the "dbus" install target rule is executed
which will complete the dbus build.

"dbus" needs to have access to the libraries already
at "configure" time, or the build will abort.
It so happens that "dbus" configure starts before
libxml2 is built for some unclear reason.

Therefore *"dbus-configured"* meeds to be dependent on 
"expat" | "libxml2".

Then they are built before the configure starts
and the build will complete without errors.

You were right that it is OK to depend on libxml2|expat
instead of strange libraries/goals.
but the solution was not complete which broke the build.

BR
Ulf Samuelsson


> 
> -- 
> Bye, Peter Korsgaard
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list