From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/dbus
Date: Sat, 31 Jan 2009 23:26:42 +0100 [thread overview]
Message-ID: <87fxizjen1.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1233438900.4147.128.camel@elrond.atmel.com> (Ulf Samuelsson's message of "Sat\, 31 Jan 2009 22\:55\:00 +0100")
>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson@atmel.com> writes:
Hi,
Ulf> Why are you doing this?
>>
Ulf> You are AGAIN breaking boards...
>>
>> What? What is broken? A wee bit more detail would be handy.
>>
Ulf> The problem is that you make dbus depend on expat/libxml2.
No, I make the configure target of dbus depend on expat/libxml2 being
installed into staging.
Ulf> To build dbus, you need to do a number of things
Ulf> extract
Ulf> patch
Ulf> configure
Ulf> make
Ulf> install staging dir
Ulf> install target
Ulf> dbus = "ready"
Ulf> If you make "dbus" depend on "libxml2", then
Ulf> libxml2 can be built at ANY time between start of make
Ulf> until the "dbus" install target rule is executed
Ulf> which will complete the dbus build.
Which is why I don't do that.
Ulf> "dbus" needs to have access to the libraries already
Ulf> at "configure" time, or the build will abort.
Ulf> It so happens that "dbus" configure starts before
Ulf> libxml2 is built for some unclear reason.
Because the dbus makefile is listed before the libxml2 one.
Ulf> Therefore *?"dbus-configured"* meeds to be dependent on
Ulf> "expat" | "libxml2".
Almost, it needs to depend on a non-phony target providing the
expat/libxml2 library/headers in staging dir.
Ulf> Then they are built before the configure starts
Ulf> and the build will complete without errors.
Ulf> You were right that it is OK to depend on libxml2|expat
Ulf> instead of strange libraries/goals.
Ulf> but the solution was not complete which broke the build.
Where isn't it complete? Your commit (besides removing valuable
comments) made dbus configure depend on the phony expat target instead
of the real rule, so dbus will alreads be considered out of date for
expat (just like for libxml2, but as the (deleted) comment states,
there's not much to do about that besides fixing up
Makefile.autotools.in which I DONT suggest we do before the release.
This should ofcourse be seen in the light of all your dbus.mk changes
since the 25th to "fix continous rebuilds" ;)
In other words, I don't see where I'm "AGAIN breaking boards..."
Just to check, I did a build of at91rm9200df_defconfig, and the dbus
build completed without any errors, so unless I hear otherwise from
you, I WILL revert your revert.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2009-01-31 22:26 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 18:39 [Buildroot] svn commit: trunk/buildroot/package/dbus jacmet at uclibc.org
2009-01-31 20:52 ` Ulf Samuelsson
2009-01-31 21:20 ` Peter Korsgaard
2009-01-31 21:55 ` Ulf Samuelsson
2009-01-31 22:26 ` Peter Korsgaard [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-24 11:13 jacmet at uclibc.org
2009-02-22 20:12 jacmet at uclibc.org
2009-01-31 22:53 jacmet at uclibc.org
2009-02-01 5:58 ` Hamish Moffatt
2009-02-01 6:31 ` Peter Korsgaard
2009-02-01 10:58 ` Ulf Samuelsson
2009-02-01 13:17 ` Peter Korsgaard
2009-01-31 21:01 ulf at uclibc.org
2009-01-31 12:02 ulf at uclibc.org
2009-01-31 13:09 ` Peter Korsgaard
2009-01-30 13:54 jacmet at uclibc.org
2009-01-25 20:55 ulf at uclibc.org
2009-01-25 21:00 ` Peter Korsgaard
2009-01-25 23:31 ` Ulf Samuelsson
2009-01-26 6:02 ` Peter Korsgaard
2008-06-20 21:45 jacmet at uclibc.org
2008-06-15 20:20 jacmet at uclibc.org
2008-04-06 13:33 ulf at uclibc.org
2008-03-31 19:36 jacmet at uclibc.org
2008-03-12 14:51 ninevoltz at uclibc.org
2008-03-06 18:46 ninevoltz at uclibc.org
2008-03-04 12:19 jacmet at uclibc.org
2008-01-30 13:57 vanokuten at uclibc.org
2007-11-26 15:47 jacmet at uclibc.org
2007-11-25 23:30 ulf at uclibc.org
2007-11-25 14:49 ulf at uclibc.org
2007-11-23 15:46 jacmet at uclibc.org
2007-11-23 13:21 jacmet at uclibc.org
2007-11-23 11:44 jacmet at uclibc.org
2007-11-23 11:43 jacmet at uclibc.org
2007-11-23 12:50 ` Ivan Kuten
2007-11-23 12:33 ` Peter Korsgaard
2007-11-23 10:00 jacmet at uclibc.org
2007-11-23 9:46 jacmet at uclibc.org
2007-11-22 17:12 jacmet at uclibc.org
2007-08-21 12:09 aldot at uclibc.org
2007-07-17 15:19 ulf at uclibc.org
2007-07-08 13:20 aldot at uclibc.org
2007-01-15 16:02 aldot at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fxizjen1.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox