Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image
@ 2016-02-04 13:15 bugzilla at busybox.net
  2016-02-04 13:17 ` [Buildroot] [Bug 8651] " bugzilla at busybox.net
                   ` (13 more replies)
  0 siblings, 14 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-04 13:15 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

            Bug ID: 8651
           Summary: libMonoPosixHelper.so wrong link reference in
                    buildroot image
           Product: buildroot
           Version: 2015.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: Markus.Egle at Qiagen.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

With the current buildroot 2015.11.1 (initially seen with 2015.05) configured
to use mono, the libMonoPosixHelper.so will be searched in the
/home/userX/buildroot/output/host/usr/lib/ path. This path and file may exist
on my building machine, but not on the target.

I have a working workaround with creating this folder and copy
libMonoPosixHelper.so from /usr/lib at startup in the ram disk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
@ 2016-02-04 13:17 ` bugzilla at busybox.net
  2016-02-04 13:32 ` bugzilla at busybox.net
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-04 13:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

Markus Egle <Markus.Egle@Qiagen.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |Intel Atom PC104
               Host|                            |Ubuntu 15.10

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
  2016-02-04 13:17 ` [Buildroot] [Bug 8651] " bugzilla at busybox.net
@ 2016-02-04 13:32 ` bugzilla at busybox.net
  2016-02-04 14:24 ` bugzilla at busybox.net
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-04 13:32 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #1 from Angelo <angelo.compagnucci@gmail.com> ---
Dear Markus Egle,

It is probably reletad to this bug:

https://bugzilla.xamarin.com/show_bug.cgi?id=24131

Try that workaround and report your results here. I'll look at this ASAP.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
  2016-02-04 13:17 ` [Buildroot] [Bug 8651] " bugzilla at busybox.net
  2016-02-04 13:32 ` bugzilla at busybox.net
@ 2016-02-04 14:24 ` bugzilla at busybox.net
  2016-02-04 14:32   ` Angelo Compagnucci
  2016-02-05 14:42 ` bugzilla at busybox.net
                   ` (10 subsequent siblings)
  13 siblings, 1 reply; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-04 14:24 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #2 from Markus Egle <Markus.Egle@Qiagen.com> ---
Till now I'm not really familiar with the config/make procedure. 
So I don't know if I have to change the Makefile.in or the config.in or both. 

Found four possible locations to make the testing changes. 


...> find /home/eglem/buildroot -name "*.in"|grep mono|awk '{print "grep -Hn
libMonoPosixHelper " $1}'|sh|grep target

/home/eglem/buildroot/output/build/host-mono-4.0.2.5/runtime/Makefile.in:629:  
sed
's,target="$(prefix)/$(reloc_libdir)/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",'
../data/config > $@t
/home/eglem/buildroot/output/build/host-mono-4.0.2.5/data/config.in:13: <dllmap
dll="MonoPosixHelper"
target="@prefix@/@reloc_libdir@/libMonoPosixHelper@libsuffix@" os="!windows" />
/home/eglem/buildroot/output/build/mono-4.0.2.5/runtime/Makefile.in:629:       
sed
's,target="$(prefix)/$(reloc_libdir)/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",'
../data/config > $@t
/home/eglem/buildroot/output/build/mono-4.0.2.5/data/config.in:13:      <dllmap
dll="MonoPosixHelper"
target="@prefix@/@reloc_libdir@/libMonoPosixHelper@libsuffix@" os="!windows" />



Then I just remove the prefix?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 14:24 ` bugzilla at busybox.net
@ 2016-02-04 14:32   ` Angelo Compagnucci
  2016-02-04 16:05     ` Thomas Petazzoni
  0 siblings, 1 reply; 17+ messages in thread
From: Angelo Compagnucci @ 2016-02-04 14:32 UTC (permalink / raw)
  To: buildroot

Dear Markus Egle,

Could you try to have a look at file /etc/mono/config in your generated image?

2016-02-04 15:24 GMT+01:00  <bugzilla@busybox.net>:
> https://bugs.busybox.net/show_bug.cgi?id=8651
>
> --- Comment #2 from Markus Egle <Markus.Egle@Qiagen.com> ---
> Till now I'm not really familiar with the config/make procedure.
> So I don't know if I have to change the Makefile.in or the config.in or both.
>
> Found four possible locations to make the testing changes.
>
>
> ...> find /home/eglem/buildroot -name "*.in"|grep mono|awk '{print "grep -Hn
> libMonoPosixHelper " $1}'|sh|grep target
>
> /home/eglem/buildroot/output/build/host-mono-4.0.2.5/runtime/Makefile.in:629:
> sed
> 's,target="$(prefix)/$(reloc_libdir)/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",'
> ../data/config > $@t
> /home/eglem/buildroot/output/build/host-mono-4.0.2.5/data/config.in:13: <dllmap
> dll="MonoPosixHelper"
> target="@prefix@/@reloc_libdir@/libMonoPosixHelper at libsuffix@" os="!windows" />
> /home/eglem/buildroot/output/build/mono-4.0.2.5/runtime/Makefile.in:629:
> sed
> 's,target="$(prefix)/$(reloc_libdir)/libMonoPosixHelper$(libsuffix)",target="'$$d'/libMonoPosixHelper.la",'
> ../data/config > $@t
> /home/eglem/buildroot/output/build/mono-4.0.2.5/data/config.in:13:      <dllmap
> dll="MonoPosixHelper"
> target="@prefix@/@reloc_libdir@/libMonoPosixHelper at libsuffix@" os="!windows" />
>
>
>
> Then I just remove the prefix?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> _______________________________________________
> 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] 17+ messages in thread

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 14:32   ` Angelo Compagnucci
@ 2016-02-04 16:05     ` Thomas Petazzoni
  0 siblings, 0 replies; 17+ messages in thread
From: Thomas Petazzoni @ 2016-02-04 16:05 UTC (permalink / raw)
  To: buildroot

Dear Angelo Compagnucci,

On Thu, 4 Feb 2016 15:32:21 +0100, Angelo Compagnucci wrote:
> Dear Markus Egle,
> 
> Could you try to have a look at file /etc/mono/config in your generated image?

You should reply in the bug tracker. I am not sure Markus is a
subscriber of the Buildroot mailing list, and I'm not sure sending
e-mails to bugzilla at busybox.net works.

Otherwise, thanks a lot for taking care of this Mono bug report. It is
good to see additional users testing this functionality, as it will
test it in different conditions.

Thanks!

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

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2016-02-04 14:24 ` bugzilla at busybox.net
@ 2016-02-05 14:42 ` bugzilla at busybox.net
  2016-02-05 16:06 ` bugzilla at busybox.net
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-05 14:42 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #3 from Angelo <angelo.compagnucci@gmail.com> ---
Dear Markus Egle,

Could you try to have a look at file /etc/mono/config in your generated image?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2016-02-05 14:42 ` bugzilla at busybox.net
@ 2016-02-05 16:06 ` bugzilla at busybox.net
  2016-02-05 16:08 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-05 16:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #4 from Markus Egle <Markus.Egle@Qiagen.com> ---
The config file on the target shows this wrong path to the lib. 

grep home /etc/mono/config
        <dllmap dll="MonoPosixHelper"
target="/home/userX/buildroot/output/host/usr/lib/libMonoPosixHelper.so"
os="!windows" />

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2016-02-05 16:06 ` bugzilla at busybox.net
@ 2016-02-05 16:08 ` bugzilla at busybox.net
  2016-02-05 16:36 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-05 16:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #5 from Angelo <angelo.compagnucci@gmail.com> ---
Great!

Change that line and it should work. Now we should understand where that file
is generated that way ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2016-02-05 16:08 ` bugzilla at busybox.net
@ 2016-02-05 16:36 ` bugzilla at busybox.net
  2016-02-14 21:55 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-05 16:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #6 from Markus Egle <Markus.Egle@Qiagen.com> ---
Crosschecked it...

- corrected ./buildroot/output/target/etc/mono/config

- removed the libMonoPosixHelper.so copy to home folder... at startup

And it works. Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2016-02-05 16:36 ` bugzilla at busybox.net
@ 2016-02-14 21:55 ` bugzilla at busybox.net
  2016-02-16 14:38 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-14 21:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #7 from Angelo <angelo.compagnucci@gmail.com> ---
Dear Markus Egle,

Could you send a minimal example that triggers the bug?

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2016-02-14 21:55 ` bugzilla at busybox.net
@ 2016-02-16 14:38 ` bugzilla at busybox.net
  2016-02-21  9:36 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-16 14:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #8 from Markus Egle <Markus.Egle@Qiagen.com> ---
Created attachment 6331
  --> https://bugs.busybox.net/attachment.cgi?id=6331&action=edit
Archive with SimpleSerialPortOpen.exe

            SerialPort sp = new SerialPort("/dev/ttyS0", 19200);
            try
            {
                sp.Open();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }


creates the error that libMonoPosixHelper.so couldn't be found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2016-02-16 14:38 ` bugzilla at busybox.net
@ 2016-02-21  9:36 ` bugzilla at busybox.net
  2016-02-22 12:20 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-21  9:36 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #9 from Angelo <angelo.compagnucci@gmail.com> ---
Created attachment 6336
  --> https://bugs.busybox.net/attachment.cgi?id=6336&action=edit
libmonoposixhelper location patch

Dear Markus Egle,

Could you try the attached patch?

Simply drop it into package/mono folder and rebuild mono.

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (9 preceding siblings ...)
  2016-02-21  9:36 ` bugzilla at busybox.net
@ 2016-02-22 12:20 ` bugzilla at busybox.net
  2016-02-22 12:27 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-22 12:20 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

Markus Egle <Markus.Egle@Qiagen.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Markus Egle <Markus.Egle@Qiagen.com> ---
Fixed.

Applied patch with copying to buildroot/package/mono
After 
> make clean
> make

buildroot/output/target/etc/mono/config shows the correct path for
libMonoPosixHelper.so without any prefix and accordingly bzImage works as
expected. 

Thanks
Markus

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (10 preceding siblings ...)
  2016-02-22 12:20 ` bugzilla at busybox.net
@ 2016-02-22 12:27 ` bugzilla at busybox.net
  2016-02-22 13:06 ` bugzilla at busybox.net
  2016-02-25 23:35 ` bugzilla at busybox.net
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-22 12:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #11 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Reopening the bug, since the patch proposed by Angelo has not been
submitted/applied in Buildroot. Angelo, can you submit your patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (11 preceding siblings ...)
  2016-02-22 12:27 ` bugzilla at busybox.net
@ 2016-02-22 13:06 ` bugzilla at busybox.net
  2016-02-25 23:35 ` bugzilla at busybox.net
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-22 13:06 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

--- Comment #12 from Angelo <angelo.compagnucci@gmail.com> ---
(In reply to Thomas Petazzoni from comment #11)

Of Course, I'll submit a patch soon.

Sincerely, angelo

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Buildroot] [Bug 8651] libMonoPosixHelper.so wrong link reference in buildroot image
  2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
                   ` (12 preceding siblings ...)
  2016-02-22 13:06 ` bugzilla at busybox.net
@ 2016-02-25 23:35 ` bugzilla at busybox.net
  13 siblings, 0 replies; 17+ messages in thread
From: bugzilla at busybox.net @ 2016-02-25 23:35 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8651

Arnout Vandecappelle <arnout@mind.be> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2016.02

--- Comment #13 from Arnout Vandecappelle <arnout@mind.be> ---
9cc9c224f9675d1e724974a0915093e55519db8b has been committed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2016-02-25 23:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 13:15 [Buildroot] [Bug 8651] New: libMonoPosixHelper.so wrong link reference in buildroot image bugzilla at busybox.net
2016-02-04 13:17 ` [Buildroot] [Bug 8651] " bugzilla at busybox.net
2016-02-04 13:32 ` bugzilla at busybox.net
2016-02-04 14:24 ` bugzilla at busybox.net
2016-02-04 14:32   ` Angelo Compagnucci
2016-02-04 16:05     ` Thomas Petazzoni
2016-02-05 14:42 ` bugzilla at busybox.net
2016-02-05 16:06 ` bugzilla at busybox.net
2016-02-05 16:08 ` bugzilla at busybox.net
2016-02-05 16:36 ` bugzilla at busybox.net
2016-02-14 21:55 ` bugzilla at busybox.net
2016-02-16 14:38 ` bugzilla at busybox.net
2016-02-21  9:36 ` bugzilla at busybox.net
2016-02-22 12:20 ` bugzilla at busybox.net
2016-02-22 12:27 ` bugzilla at busybox.net
2016-02-22 13:06 ` bugzilla at busybox.net
2016-02-25 23:35 ` bugzilla at busybox.net

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