Re: [yocto] [PATCH] mono-4.xx.inc: disable parallel make

2015-07-09 Thread Alex J Lennon


On 08/07/2015 21:07, Chris Morgan wrote:
 On Wed, Jul 8, 2015 at 6:49 AM, Alex J Lennon
 ajlen...@dynamicdevices.co.uk wrote:

 On 07/07/2015 21:17, Richard Tollerton wrote:
 A race was observed during `make install` of mono-native under
 PARALLEL_MAKE=-j6:
 Thanks Richard - patch applied

 Chris - I wasn't able to replicate the failure you see under Fedora F22
 with PARALLEL_MAKE=-j 6. The build works for me here.
 Can you confirm Richard's patch fixes the issue you see on your system?

 Thanks,

 Alex

 Hi Alex.

 I can confirm that it fixes the build for me here under F22 on an 8
 core machine, although it takes a long time to fail.

 Seems like something that should be reported upstream to mono. I
 copied them on Richard's email but haven't seen any response yet.


Hi Chris,

Thanks for coming back to me, at least we have an interim workaround then.

You might consider putting a bug report up on Xamarin's bugzilla?

http://www.mono-project.com/community/bugs/

Cheers, Alex

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH] mono-4.xx.inc: disable parallel make

2015-07-09 Thread Chris Morgan
On Thu, Jul 9, 2015 at 4:03 AM, Alex J Lennon
ajlen...@dynamicdevices.co.uk wrote:


 On 08/07/2015 21:07, Chris Morgan wrote:
 On Wed, Jul 8, 2015 at 6:49 AM, Alex J Lennon
 ajlen...@dynamicdevices.co.uk wrote:

 On 07/07/2015 21:17, Richard Tollerton wrote:
 A race was observed during `make install` of mono-native under
 PARALLEL_MAKE=-j6:
 Thanks Richard - patch applied

 Chris - I wasn't able to replicate the failure you see under Fedora F22
 with PARALLEL_MAKE=-j 6. The build works for me here.
 Can you confirm Richard's patch fixes the issue you see on your system?

 Thanks,

 Alex

 Hi Alex.

 I can confirm that it fixes the build for me here under F22 on an 8
 core machine, although it takes a long time to fail.

 Seems like something that should be reported upstream to mono. I
 copied them on Richard's email but haven't seen any response yet.


 Hi Chris,

 Thanks for coming back to me, at least we have an interim workaround then.

 You might consider putting a bug report up on Xamarin's bugzilla?

 http://www.mono-project.com/community/bugs/

 Cheers, Alex


I submitted it under compilers with the content of Richard's email
and a note at the time. There doesn't appear to be a component for the
build portion of mono.

Chris
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH] mono-4.xx.inc: disable parallel make

2015-07-08 Thread Alex J Lennon


On 07/07/2015 21:17, Richard Tollerton wrote:
 A race was observed during `make install` of mono-native under
 PARALLEL_MAKE=-j6:

Thanks Richard - patch applied

Chris - I wasn't able to replicate the failure you see under Fedora F22
with PARALLEL_MAKE=-j 6. The build works for me here.
Can you confirm Richard's patch fixes the issue you see on your system?

Thanks,

Alex

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [PATCH] mono-4.xx.inc: disable parallel make

2015-07-08 Thread Chris Morgan
On Wed, Jul 8, 2015 at 6:49 AM, Alex J Lennon
ajlen...@dynamicdevices.co.uk wrote:


 On 07/07/2015 21:17, Richard Tollerton wrote:
 A race was observed during `make install` of mono-native under
 PARALLEL_MAKE=-j6:

 Thanks Richard - patch applied

 Chris - I wasn't able to replicate the failure you see under Fedora F22
 with PARALLEL_MAKE=-j 6. The build works for me here.
 Can you confirm Richard's patch fixes the issue you see on your system?

 Thanks,

 Alex


Hi Alex.

I can confirm that it fixes the build for me here under F22 on an 8
core machine, although it takes a long time to fail.

Seems like something that should be reported upstream to mono. I
copied them on Richard's email but haven't seen any response yet.

Chris
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] mono-4.xx.inc: disable parallel make

2015-07-07 Thread Richard Tollerton
A race was observed during `make install` of mono-native under
PARALLEL_MAKE=-j6:

/usr/bin/install: cannot change permissions of
build/tmp-glibc/work/x86_64-linux/mono-native/4.0.2.4-r0/image/
build/tmp-glibc/sysroots/x86_64-linux/usr/lib/mono/xbuild-frameworks/
.NETFramework/v4.5/RedistList/FrameworkList.xml: No such file or
directory

This is definitely a race, because FrameworkList.xml was present once
the failed build completed.

The present mono build doesn't appear to build much of anything in
parallel in the first place, and I would guess that this issue applies
equally to the mono and mono-native builds. So the correct place for the
workaround ought to be in the shared .inc file.

Signed-off-by: Richard Tollerton rich.toller...@ni.com
---
 recipes-mono/mono/mono-4.xx.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc
index 2d7f65d..973593a 100644
--- a/recipes-mono/mono/mono-4.xx.inc
+++ b/recipes-mono/mono/mono-4.xx.inc
@@ -68,3 +68,6 @@ FILES_${PN}-dbg   +=  
${datadir}/mono-2.0/mono/cil/cil-opcodes.xml ${libdir}/m
 FILES_${PN}-staticdev  +=  ${libdir}/*.a
 
 RDEPENDS_${PN} =+ bash 
+
+# Workaround for observed race in `make install`
+PARALLEL_MAKE=
-- 
2.4.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto