Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] procps fails to compile on Fedora 14 due to newer version of GNU make
@ 2011-03-18 11:16 bruce bushby
  2011-03-19  7:26 ` Thomas Petazzoni
  2011-04-06 20:23 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: bruce bushby @ 2011-03-18 11:16 UTC (permalink / raw)
  To: buildroot

Hi

I recently switched to Fedora 14 as my build platform and picked up a
problem compiling procps. This is apparently caused by newer versions of
make.

Previously I was building on ubuntu "natty" which has "make-3.81-8" ...
however Fedora 14 is using "make-3.82-2". There is a very nice explanation
here:
http://old.nabble.com/make-3.81.91---procps-3.2.8-td29281048.html

Where Paul Smith explains:
In previous versions of GNU make, wildcards were returned in sorted
order; however that was never guaranteed and the new version of make
(for efficiency) returns matches in "directory order", which is
essentially random.

Following the recommendations in that thread I made very simple patch:

[root at plxarm01 tmp]# cat procps-sort-order.patch
--- procps-3.2.7.orig/Makefile  2006-06-24 10:02:25.000000000 +0100
+++ procps-3.2.7/Makefile       2011-03-18 10:55:46.055307083 +0000
@@ -174,7 +174,7 @@
 # want this rule first, use := on ALL, and ALL not filled in yet
 all: do_all

--include */module.mk
+-include proc/module.mk ps/module.mk

 do_all:    $(ALL)


[root at plxarm01 tmp]#


I'm guessing forth coming versions of debian/ubuntu will also include
"make-3.82+" and probably experience the same issue.


Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110318/26d1d745/attachment-0001.html>

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

end of thread, other threads:[~2011-04-06 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 11:16 [Buildroot] procps fails to compile on Fedora 14 due to newer version of GNU make bruce bushby
2011-03-19  7:26 ` Thomas Petazzoni
2011-04-06 20:23 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox