Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot 2014.11-rc3  mono fails
@ 2014-11-28 20:08 Rainer Berns
  2014-11-28 20:59 ` Angelo Compagnucci
  0 siblings, 1 reply; 10+ messages in thread
From: Rainer Berns @ 2014-11-28 20:08 UTC (permalink / raw)
  To: buildroot

Hi,
 
I try to build mono with beaglebone_defconfig, internal toolchain (3.12.10
headers) with IPv6 and WCHAR.
Building mono 4.5 ,4 and  2/3   fails with :
 
Mono.Http/NtlmClient.cs(99,54): error CS1502: The best overloaded method match
for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])' has some
invalid arguments
/usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
(Location of the symbol related to previous error)
Mono.Http/NtlmClient.cs(99,54): error CS1503: Argument `#1' cannot convert
`Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'
make[10]: *** [../../class/lib/basic/secxml/System.dll] Error 1
make[9]: *** [../../class/lib/basic/secxml/System.dll] Error 2
make[8]: *** [do-all] Error 2
make[7]: *** [all-recursive] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [profile-do--basic--all] Error 2
make[4]: *** [profiles-do--all] Error 2
make[3]: *** [all-local] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: ***
[/home/berns/Entwicklung/buildroot-2014.11-rc3/output/build/host-mono-3.10.0/.stamp_built]
Error 2

 
Regards
 
Rainer
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141128/ee1ef127/attachment.html>

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 20:08 [Buildroot] buildroot 2014.11-rc3 mono fails Rainer Berns
@ 2014-11-28 20:59 ` Angelo Compagnucci
  2014-11-28 21:01   ` Angelo Compagnucci
                     ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Angelo Compagnucci @ 2014-11-28 20:59 UTC (permalink / raw)
  To: buildroot

Dear Rainer Berns,

Probably you have a mono compiler installed on your machine and this
mono compiler is not compatible with the latest mono version.

Mono uses the install wide mcs/gmcs compiler if it's present to
compile itself,  also if not compatible.

Try to remove that mono compiler so mono cross compilation can use the
internal one.
If you are on Ubuntu/Debian you can remove mono-mcs package.

Hope this helps!

Sincerely, Angelo.

2014-11-28 21:08 GMT+01:00 Rainer Berns <rainer.berns@berns-online.de>:
> Hi,
>
> I try to build mono with beaglebone_defconfig, internal toolchain (3.12.10
> headers) with IPv6 and WCHAR.
> Building mono 4.5 ,4 and  2/3   fails with :
>
> Mono.Http/NtlmClient.cs(99,54): error CS1502: The best overloaded method
> match for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])'
> has some invalid arguments
> /usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
> (Location of the symbol related to previous error)
> Mono.Http/NtlmClient.cs(99,54): error CS1503: Argument `#1' cannot convert
> `Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'
> make[10]: *** [../../class/lib/basic/secxml/System.dll] Error 1
> make[9]: *** [../../class/lib/basic/secxml/System.dll] Error 2
> make[8]: *** [do-all] Error 2
> make[7]: *** [all-recursive] Error 1
> make[6]: *** [all-recursive] Error 1
> make[5]: *** [profile-do--basic--all] Error 2
> make[4]: *** [profiles-do--all] Error 2
> make[3]: *** [all-local] Error 2
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: ***
> [/home/berns/Entwicklung/buildroot-2014.11-rc3/output/build/host-mono-3.10.0/.stamp_built]
> Error 2
>
>
> Regards
>
> Rainer
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 20:59 ` Angelo Compagnucci
@ 2014-11-28 21:01   ` Angelo Compagnucci
  2014-11-28 21:10     ` Matthew Weber
  2014-11-28 21:16   ` Yann E. MORIN
  2014-11-28 21:34   ` Thomas Petazzoni
  2 siblings, 1 reply; 10+ messages in thread
From: Angelo Compagnucci @ 2014-11-28 21:01 UTC (permalink / raw)
  To: buildroot

Dear Rainer Berns,

Obviously you have to clean and rebuild mono and host-mono packages.

Sincerely, Angelo

2014-11-28 21:59 GMT+01:00 Angelo Compagnucci <angelo.compagnucci@gmail.com>:
> Dear Rainer Berns,
>
> Probably you have a mono compiler installed on your machine and this
> mono compiler is not compatible with the latest mono version.
>
> Mono uses the install wide mcs/gmcs compiler if it's present to
> compile itself,  also if not compatible.
>
> Try to remove that mono compiler so mono cross compilation can use the
> internal one.
> If you are on Ubuntu/Debian you can remove mono-mcs package.
>
> Hope this helps!
>
> Sincerely, Angelo.
>
> 2014-11-28 21:08 GMT+01:00 Rainer Berns <rainer.berns@berns-online.de>:
>> Hi,
>>
>> I try to build mono with beaglebone_defconfig, internal toolchain (3.12.10
>> headers) with IPv6 and WCHAR.
>> Building mono 4.5 ,4 and  2/3   fails with :
>>
>> Mono.Http/NtlmClient.cs(99,54): error CS1502: The best overloaded method
>> match for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])'
>> has some invalid arguments
>> /usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
>> (Location of the symbol related to previous error)
>> Mono.Http/NtlmClient.cs(99,54): error CS1503: Argument `#1' cannot convert
>> `Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'
>> make[10]: *** [../../class/lib/basic/secxml/System.dll] Error 1
>> make[9]: *** [../../class/lib/basic/secxml/System.dll] Error 2
>> make[8]: *** [do-all] Error 2
>> make[7]: *** [all-recursive] Error 1
>> make[6]: *** [all-recursive] Error 1
>> make[5]: *** [profile-do--basic--all] Error 2
>> make[4]: *** [profiles-do--all] Error 2
>> make[3]: *** [all-local] Error 2
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all] Error 2
>> make: ***
>> [/home/berns/Entwicklung/buildroot-2014.11-rc3/output/build/host-mono-3.10.0/.stamp_built]
>> Error 2
>>
>>
>> Regards
>>
>> Rainer
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
> --
> Profile: http://it.linkedin.com/in/compagnucciangelo



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 21:01   ` Angelo Compagnucci
@ 2014-11-28 21:10     ` Matthew Weber
  0 siblings, 0 replies; 10+ messages in thread
From: Matthew Weber @ 2014-11-28 21:10 UTC (permalink / raw)
  To: buildroot

Shouldn't a buildroot build always use a host tool it builds for this type
of dependency? If that is the assumption, this build issue is an issue with
the host build of the mono package and it should not matter if the host
pc's os already has a mono compiler.
On Nov 28, 2014 3:02 PM, "Angelo Compagnucci" <angelo.compagnucci@gmail.com>
wrote:

> Dear Rainer Berns,
>
> Obviously you have to clean and rebuild mono and host-mono packages.
>
> Sincerely, Angelo
>
> 2014-11-28 21:59 GMT+01:00 Angelo Compagnucci <
> angelo.compagnucci at gmail.com>:
> > Dear Rainer Berns,
> >
> > Probably you have a mono compiler installed on your machine and this
> > mono compiler is not compatible with the latest mono version.
> >
> > Mono uses the install wide mcs/gmcs compiler if it's present to
> > compile itself,  also if not compatible.
> >
> > Try to remove that mono compiler so mono cross compilation can use the
> > internal one.
> > If you are on Ubuntu/Debian you can remove mono-mcs package.
> >
> > Hope this helps!
> >
> > Sincerely, Angelo.
> >
> > 2014-11-28 21:08 GMT+01:00 Rainer Berns <rainer.berns@berns-online.de>:
> >> Hi,
> >>
> >> I try to build mono with beaglebone_defconfig, internal toolchain
> (3.12.10
> >> headers) with IPv6 and WCHAR.
> >> Building mono 4.5 ,4 and  2/3   fails with :
> >>
> >> Mono.Http/NtlmClient.cs(99,54): error CS1502: The best overloaded method
> >> match for
> `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])'
> >> has some invalid arguments
> >>
> /usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
> >> (Location of the symbol related to previous error)
> >> Mono.Http/NtlmClient.cs(99,54): error CS1503: Argument `#1' cannot
> convert
> >> `Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'
> >> make[10]: *** [../../class/lib/basic/secxml/System.dll] Error 1
> >> make[9]: *** [../../class/lib/basic/secxml/System.dll] Error 2
> >> make[8]: *** [do-all] Error 2
> >> make[7]: *** [all-recursive] Error 1
> >> make[6]: *** [all-recursive] Error 1
> >> make[5]: *** [profile-do--basic--all] Error 2
> >> make[4]: *** [profiles-do--all] Error 2
> >> make[3]: *** [all-local] Error 2
> >> make[2]: *** [all-recursive] Error 1
> >> make[1]: *** [all] Error 2
> >> make: ***
> >>
> [/home/berns/Entwicklung/buildroot-2014.11-rc3/output/build/host-mono-3.10.0/.stamp_built]
> >> Error 2
> >>
> >>
> >> Regards
> >>
> >> Rainer
> >>
> >>
> >> _______________________________________________
> >> buildroot mailing list
> >> buildroot at busybox.net
> >> http://lists.busybox.net/mailman/listinfo/buildroot
> >
> >
> >
> > --
> > Profile: http://it.linkedin.com/in/compagnucciangelo
>
>
>
> --
> Profile: http://it.linkedin.com/in/compagnucciangelo
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141128/55746865/attachment.html>

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 20:59 ` Angelo Compagnucci
  2014-11-28 21:01   ` Angelo Compagnucci
@ 2014-11-28 21:16   ` Yann E. MORIN
  2014-11-28 21:32     ` Angelo Compagnucci
  2014-11-28 21:34   ` Thomas Petazzoni
  2 siblings, 1 reply; 10+ messages in thread
From: Yann E. MORIN @ 2014-11-28 21:16 UTC (permalink / raw)
  To: buildroot

Angelo, All,

On 2014-11-28 21:59 +0100, Angelo Compagnucci spake thusly:
> Probably you have a mono compiler installed on your machine and this
> mono compiler is not compatible with the latest mono version.
> 
> Mono uses the install wide mcs/gmcs compiler if it's present to
> compile itself,  also if not compatible.

Then that's a problem for Buildroot.

It would be nice to find a solution so that an existing native mono
compiler does not break the build.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 21:16   ` Yann E. MORIN
@ 2014-11-28 21:32     ` Angelo Compagnucci
  0 siblings, 0 replies; 10+ messages in thread
From: Angelo Compagnucci @ 2014-11-28 21:32 UTC (permalink / raw)
  To: buildroot

Yann, All,

> Then that's a problem for Buildroot.
>
> It would be nice to find a solution so that an existing native mono
> compiler does not break the build.

This is the way mono compilation or cross compilation works. Probably
messing around with makefile could force to always use the internal
mono compiler.

I'll try to take a look in week end.

Sincerely, Angelo

>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 20:59 ` Angelo Compagnucci
  2014-11-28 21:01   ` Angelo Compagnucci
  2014-11-28 21:16   ` Yann E. MORIN
@ 2014-11-28 21:34   ` Thomas Petazzoni
  2014-11-28 21:39     ` Angelo Compagnucci
  2 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2014-11-28 21:34 UTC (permalink / raw)
  To: buildroot

Dear Angelo Compagnucci,

On Fri, 28 Nov 2014 21:59:56 +0100, Angelo Compagnucci wrote:

> Probably you have a mono compiler installed on your machine and this
> mono compiler is not compatible with the latest mono version.
> 
> Mono uses the install wide mcs/gmcs compiler if it's present to
> compile itself,  also if not compatible.
> 
> Try to remove that mono compiler so mono cross compilation can use the
> internal one.
> If you are on Ubuntu/Debian you can remove mono-mcs package.

This is not an acceptable answer. Buildroot should be able to build
mono regardless of whether a mono compiler is installed on the machine
or not.

Could you work on a fix for this problem?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 21:34   ` Thomas Petazzoni
@ 2014-11-28 21:39     ` Angelo Compagnucci
  2014-11-29 17:25       ` Rainer Berns
  0 siblings, 1 reply; 10+ messages in thread
From: Angelo Compagnucci @ 2014-11-28 21:39 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

>> Try to remove that mono compiler so mono cross compilation can use the
>> internal one.
>> If you are on Ubuntu/Debian you can remove mono-mcs package.
>
> This is not an acceptable answer. Buildroot should be able to build
> mono regardless of whether a mono compiler is installed on the machine
> or not.

Sorry, it was my first serious package and I'm still trying to grasp
all the details to make something for buildroot.

> Could you work on a fix for this problem?

Obviously yes, probably this weekend.

Sincerely Angelo.

>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-28 21:39     ` Angelo Compagnucci
@ 2014-11-29 17:25       ` Rainer Berns
  2014-11-30 21:44         ` Angelo Compagnucci
  0 siblings, 1 reply; 10+ messages in thread
From: Rainer Berns @ 2014-11-29 17:25 UTC (permalink / raw)
  To: buildroot

HI,
 
removing of the external mono enviroment in ubuntu "fixes" the problem.
After using the latest git version with the  patch "force host-mono to use
internal mono bootstrap compiler "and reinstalled mono envirmoment  the
following error occured:
 
Mono.Http/NtlmClient.cs(99,26): error CS1502: The best overloaded method match
for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])' has some
invalid arguments
/usr/lib/mono/2.0/Mono.Security.dll (Location of the symbol related to previous
error)
Mono.Http/NtlmClient.cs(99,44): error CS1503: Argument `#1' cannot convert
`Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'

Regards
Rainer
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141129/68d0b95a/attachment.html>

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

* [Buildroot] buildroot 2014.11-rc3 mono fails
  2014-11-29 17:25       ` Rainer Berns
@ 2014-11-30 21:44         ` Angelo Compagnucci
  0 siblings, 0 replies; 10+ messages in thread
From: Angelo Compagnucci @ 2014-11-30 21:44 UTC (permalink / raw)
  To: buildroot

Dear Rainer Berns,

I just sent a patch here http://patchwork.ozlabs.org/patch/416269/,
this should solve definitively the problem in a clean way. Let me know
if it works like expected!

Sincerely, Angelo.

2014-11-29 18:25 GMT+01:00 Rainer Berns <rainer.berns@berns-online.de>:
> HI,
>
> removing of the external mono enviroment in ubuntu "fixes" the problem.
> After using the latest git version with the  patch "force host-mono to use
> internal mono bootstrap compiler "and reinstalled mono envirmoment  the
> following error occured:
>
> Mono.Http/NtlmClient.cs(99,26): error CS1502: The best overloaded method
> match for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte[])'
> has some invalid arguments
> /usr/lib/mono/2.0/Mono.Security.dll (Location of the symbol related to
> previous error)
> Mono.Http/NtlmClient.cs(99,44): error CS1503: Argument `#1' cannot convert
> `Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte[]'
>
> Regards
> Rainer
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

end of thread, other threads:[~2014-11-30 21:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 20:08 [Buildroot] buildroot 2014.11-rc3 mono fails Rainer Berns
2014-11-28 20:59 ` Angelo Compagnucci
2014-11-28 21:01   ` Angelo Compagnucci
2014-11-28 21:10     ` Matthew Weber
2014-11-28 21:16   ` Yann E. MORIN
2014-11-28 21:32     ` Angelo Compagnucci
2014-11-28 21:34   ` Thomas Petazzoni
2014-11-28 21:39     ` Angelo Compagnucci
2014-11-29 17:25       ` Rainer Berns
2014-11-30 21:44         ` Angelo Compagnucci

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