* [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
* [Buildroot] procps fails to compile on Fedora 14 due to newer version of GNU make
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
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2011-03-19 7:26 UTC (permalink / raw)
To: buildroot
Hello Bruce,
On Fri, 18 Mar 2011 11:16:39 +0000
bruce bushby <bruce.bushby@gmail.com> wrote:
> [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)
Could you send a patch that adds this modification as a patch against
the procps package in Buildroot ? This way we could integrate it.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] procps fails to compile on Fedora 14 due to newer version of GNU make
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
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2011-04-06 20:23 UTC (permalink / raw)
To: buildroot
>>>>> "bruce" == bruce bushby <bruce.bushby@gmail.com> writes:
bruce> Hi
bruce> I recently switched to Fedora 14 as my build platform and picked
bruce> up a problem compiling procps. This is apparently caused by
bruce> newer versions of make.
bruce> Previously I was building on ubuntu "natty" which has
bruce> "make-3.81-8" ... however Fedora 14 is using
bruce> "make-3.82-2". There is a very nice explanation here:
bruce> http://old.nabble.com/make-3.81.91---procps-3.2.8-td29281048.html
bruce> Where Paul Smith explains:
bruce> In previous versions of GNU make, wildcards were returned in sorted?
bruce> order; however that was never guaranteed and the new version of make?
bruce> (for efficiency) returns matches in "directory order", which is?
bruce> essentially random.
Fixed in git (together with the bump to 3.2.8) - Thanks.
--
Bye, Peter Korsgaard
^ 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