1 |
On 1/3/08, Roy Marples <roy@×××××××.name> wrote: |
2 |
> On Thu, 2008-01-03 at 10:58 +0200, Alon Bar-Lev wrote: |
3 |
> > At: default.mk, the _SUBDIR loop is somehow incorrect, as it will not |
4 |
> > pass subdir make result to rule. |
5 |
> > So if rule fails the build still considered a success. |
6 |
> > |
7 |
> > make[1]: *** [start-stop-daemon.o] Error 1 |
8 |
> > make[1]: *** Waiting for unfinished jobs.... |
9 |
> > make[1]: Leaving directory |
10 |
> > `/var/tmp/portage/sys-apps/openrc-9999/work/openrc-9999/src' |
11 |
> > >>> Source compiled. |
12 |
> |
13 |
> What version of gnu make? |
14 |
> What MAKEOPTS do you have set? |
15 |
> Does it work outside of the ebuild? |
16 |
|
17 |
I use sys-devel/make-3.81 |
18 |
With MAKEOPTS="-j2" |
19 |
|
20 |
I think the issue is that the for loop returns true... |
21 |
|
22 |
Take the following example: |
23 |
all: |
24 |
@for a in a b c; do \ |
25 |
echo $$a; \ |
26 |
if [ $$a == b ]; then \ |
27 |
echo FAIL; \ |
28 |
false; \ |
29 |
fi; \ |
30 |
done |
31 |
|
32 |
And the output is: |
33 |
|
34 |
$ make |
35 |
a |
36 |
b |
37 |
FAIL |
38 |
c |
39 |
|
40 |
And success! |
41 |
|
42 |
Alon. |
43 |
-- |
44 |
gentoo-dev@g.o mailing list |