[yocto] meta-mono: Issue building 4.0.2.4

Chris Morgan chmorgan at gmail.com
Wed Jun 24 06:48:20 PDT 2015


On Wed, Jun 24, 2015 at 9:13 AM, Alex J Lennon
<ajlennon at dynamicdevices.co.uk> wrote:
>
>
> On 24/06/2015 01:01, Chris Morgan wrote:
>> The double nested output folder looks odd to me but leaving that, it
>> looks like a file is being installed twice. Anyone else seeing this?
>>
>> meta
>> meta-skeleton     =
>> "(HEADdetachedat16caaab):16caaabfcc678b03a0cd88aaeac15f9b8d1c3dad"
>> meta-yocto
>> meta-yocto-bsp    =
>> "(HEADdetachedat16caaab):16caaabfcc678b03a0cd88aaeac15f9b8d1c3dad"
>> meta-mono         = "master:35e8ede514dd35eb3d645d5de22282d0e8204f86"
>> meta-oe
>> meta-webserver    =
>> "(HEADdetachedatdf6c7b1):df6c7b1279790d27ebfd58fbdfbac89bde5782ec"
>> meta-ti           =
>> "(HEADdetachedatb81014d):b81014dbb5cc39fdfa66af87d18b72eb9eb3c701"
>> meta-nodejs       =
>> "(HEADdetachedate724e27):e724e270bc23a14f12d4a0d73869199457a1b925"
>> bitbake-npm       =
>> "(HEADdetachedatd88833b):d88833bcf52da7d00e775ca8c2e63ca44cf6ace1"
>> meta-ros          =
>> "(HEADdetachedatbdc603b):bdc603b821eae5e1d966ec25e63f6832f6386dc8"
>> meta-rust         =
>> "(HEADdetachedat61708ed):61708ed85e76beafdb08b6caf340abeae13bf4b2"
>> meta-qt5          =
>> "(HEADdetachedat378dfc2):378dfc20ad0e024412da7f3be22efe04c3421c6d"
>> meta-ruby
>> meta-python
>> meta-networking   =
>> "(HEADdetachedatdf6c7b1):df6c7b1279790d27ebfd58fbdfbac89bde5782ec"
>>
>>
>> (output snipped)
>> | /usr/bin/install -c -c -m 644 frameworks/net_4.5.xml
>> /home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml
>> | /usr/bin/install -c -c -m 644
>> targets/Microsoft.WebApplication.targets
>> /home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/VisualStudio/v9.0/WebApplications
>> | mkdir -p -- /home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/14.0/bin/MSBuild
>> | /usr/bin/install -c -c -m 644
>> targets/Microsoft.Portable.Common.targets
>> /home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.Common.targets
>> | /usr/bin/install -c -c -m 644
>> targets/Microsoft.WebApplication.targets
>> /home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/VisualStudio/v9.0/WebApplications
>> | /usr/bin/install: cannot create regular file
>> '/home/cmorgan/projects/yocto/build/tmp/work/x86_64-linux/mono-native/4.0.2.4-r0/image/home/cmorgan/projects/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild-frameworks/.NETFramework/v4.5/RedistList/FrameworkList.xml':
>> File exists
>> | Makefile:42: recipe for target 'install-frameworks' failed
>> | make[6]: *** [install-frameworks] Error 1
>> | make[6]: *** Waiting for unfinished jobs....
>
> Hi Chris,
>
> Yes the double nesting does look odd.
>
> I did a test build of 4.0.2.4 here which worked for me. I've also been
> supporting another chap who wanted to build 4.0.2.4 rather than the
> default 3.12.1 build and he also let me know he had it building
> successfully
>
> Clearly there's some kind of issue though. I'm relocating between
> countries at the moment without access to a build system and so it'll be
> 1-2 weeks before I can investigate further myself I'm afraid.
>
> In the meantime do 4.0.1.34  and earlier versions build for you? Does -c
> cleansstate help?
>
> Regards,
>
> Alex
>
>

Tried the cleansstate with 4.0.2.4 before sending the initial email.

Similar issue with 4.0.1.34 but a different file and a different
section of the code:

| /usr/bin/install -c -c -m 644
targets/Microsoft.Portable.Common.targets
/home/cmorgan/projects/yocto-cybex/build/tmp/work/x86_64-linux/mono-native/4.0.1.34-r0/image/home/cmorgan/projects/yocto-cybex/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.Common.targets
| /usr/bin/install -c -c -m 644
targets/Microsoft.WebApplication.targets
/home/cmorgan/projects/yocto-cybex/build/tmp/work/x86_64-linux/mono-native/4.0.1.34-r0/image/home/cmorgan/projects/yocto-cybex/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/VisualStudio/v11.0/WebApplications
| /usr/bin/install -c -c -m 644
targets/Microsoft.WebApplication.targets
/home/cmorgan/projects/yocto-cybex/build/tmp/work/x86_64-linux/mono-native/4.0.1.34-r0/image/home/cmorgan/projects/yocto-cybex/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/VisualStudio/v11.0/WebApplications
| /usr/bin/install: cannot create regular file
'/home/cmorgan/projects/yocto-cybex/build/tmp/work/x86_64-linux/mono-native/4.0.1.34-r0/image/home/cmorgan/projects/yocto-cybex/build/tmp/sysroots/x86_64-linux/usr/lib/mono/xbuild/Microsoft/VisualStudio/v11.0/WebApplications/Microsoft.WebApplication.targets':
File exists
| Makefile:70: recipe for target 'install-web-targets' failed
| make[6]: *** [install-web-targets] Error 1
| make[6]: *** Waiting for unfinished jobs....


Its as if mono is installing the same files multiple times.


Chris



More information about the yocto mailing list