Skip to contentSkip to conversation

dbus-1.1.1 is always rebuilt on "make"

Buildroot Ulf Samuelsson 2 participants 2 messages Jul 10, 2008

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It looks like dbus is always rebuilt.

make -d -n dbus shows: (In Swedish :-)

++++++++++++++++++++++++++
...
M?ste ?terskapa m?let "".
M?lfilen "libxml2-install-staging" ?terskapades.

F?rdigst?llde de n?dv?ndiga f?ruts?ttningarna f?r m?lfilen
"/home/ulf/projects/Buildroot/20080707/buildroot-avr32/build_avr32/dbus-1.1.1/.configured".

Den n?dv?ndiga f?ruts?ttningen
"/home/ulf/projects/Buildroot/20080707/buildroot-avr32/build_avr32/dbus-1.1.1/.unpacked" ?r ?ldre ?n m?let "/home/ulf/projects/Buildroot/20080707/buildroot-avr32/build_avr32/dbus-1.1.1/.configured".

Den n?dv?ndiga f?ruts?ttningen "libxml2-install-staging" f?r m?let
"/home/ulf/projects/Buildroot/20080707/buildroot-avr32/build_avr32/dbus-1.1.1/.configured" finns inte.
M?ste ?terskapa m?let
"/home/ulf/projects/Buildroot/20080707/buildroot-avr32/build_avr32/dbus-1.1.1/.configured".
...
- ----------------------------

Basically "dbus-1.1.1/.configured" depends on "libxml2-install-staging" which does not exist,
Make cannot find an implicit rule for libxml2-install-staging.

The rule to create dbus-1.1.1/.configured is therefore run, and the rest of the dbus targets are then run as well.

I tried
.PHONY: libxml2-install-staging
but this does not seem to work.

Any ideas?

BR
Ulf Samuelsson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIdhVqAyRRH5cXxqwRApVzAJsG9nBNFYS1BnLrz1NqQvxd53ByOACdHjl6 yp4Q4mo0hgOso6QinswyVe4=
=7PXW
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Ulf" == Ulf Samuelsson <[email protected]> writes:

Ulf> It looks like dbus is always rebuilt.
Ulf> make -d -n dbus shows: (In Swedish :-)

?h nej da!

/me hands Ulf a LANG=C

That's a known issue with Makefile.autotools.in. See r22461.

phony rules like libxml2-install-staging are always considered out of date. We'll need to move to version independent stamp files like recently discussed on the list to handle it.

Signature · 1 line
Bye, Peter Korsgaard