All of lore.kernel.org
 help / color / mirror / Atom feed
* $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
@ 2016-12-20 18:32 Robert P. J. Day
  2016-12-20 20:47 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2016-12-20 18:32 UTC (permalink / raw)
  To: OE Core mailing list


  really, i just don't have time to mess with this anymore and i'm
more than happy to pay someone $50 CAD (interac transfer) to provide
me with a proper recipe and essential patches for the perl module
Filesys-SmbClient-3.2 here:

  http://search.cpan.org/~alian/Filesys-SmbClient-3.2/

the fundamental issue seems to be that the source for that module is
simply not set up for cross-compilation -- the Makefile.PL file would
suggest that:

sub find_path {
  my $ext = ($_[0]=~m!\.h$! ? "include" : ( $ENV{HOSTTYPE}=~m!x86_64! ? "lib64" : "lib"));
  my $defaultsDir = { "/usr" => 1,
		      "/usr/local" => 1,
		      "/usr/local/samba" => 1,
		      "/usr/local/samba3" => 1 };
                      ... etc etc ...


and when i throw together an absolutely boilerplate recipe for that
module along the lines of what i did for dozens of others, i get:

| I search in: /home/rpjday/oe/builds/qemuarm/tmp/sysroots-uninative/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/perl-native/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/qemuarm/usr/crossscripts/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/usr/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/s/include
| /home/rpjday/oe/builds/qemuarm/tmp/sysroots/x86_64-linux/include
| /home/rpjday/oe/dist/layers/poky/scripts/include
| /home/rpjday/oe/dist/layers/poky/bitbake/include
| /home/rpjday/oe/dist/bb/bin/include
| /home/rpjday/oe/dist/bb/bin/include
| /usr/local/s/include
| /usr/s/include
| /home/rpjday/.local/include
| /home/rpjday/include
| /usr/local/include
| /usr/local/samba3/include
| /usr/include
| /usr/local/samba/include
| Where can I find libsmbclient.h ? []
*************************************************************
| ** WHAT !!!!
| ** I Can't find /libsmbclient.h : No such file or directory.

... and same problem looking for libsmbclient.so.

  using the latest poky checkout, i built a perfectly reasonable
core-image-minimal for qemuarm, and it boots and runs, and i've added
samba to it so that one can find libsmbclient.so here under
tmp/sysroots/:

$ find . -name libsmbclient.so*
./qemuarm/usr/lib/libsmbclient.so.0.2.3
./qemuarm/usr/lib/libsmbclient.so.0
./qemuarm/usr/lib/libsmbclient.so
$

  but when i try to bitbake that smbclient recipe, i get the errors
above. anyway, what little i still know about perl modules, it looks
pretty clear that the source for that module doesn't understand
cross-compilation, so if anyone wants to collect, get me something
that builds under OE. thank you kindly.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
  2016-12-20 18:32 $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously Robert P. J. Day
@ 2016-12-20 20:47 ` Burton, Ross
  2016-12-21 10:31   ` Robert P. J. Day
  2017-01-20 11:52   ` Robert P. J. Day
  0 siblings, 2 replies; 5+ messages in thread
From: Burton, Ross @ 2016-12-20 20:47 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

On 20 December 2016 at 18:32, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:

>   really, i just don't have time to mess with this anymore and i'm
> more than happy to pay someone $50 CAD (interac transfer) to provide
> me with a proper recipe and essential patches for the perl module
> Filesys-SmbClient-3.2 here:
>

FWIW I had a quick look at this.  I'm certainly no perl guru and can barely
understand it, but it does *so much* wrong that if you really need this
then it would be easier to just rewrite the makefile.pl from scratch.  Once
you remove the hunting for the headers in the wrong place, it then invokes
an autoconf script...  which needs to be passed the right options.

Do you really need this module?  It's not been updated for many years, so
surely there's something better.

Ross

[-- Attachment #2: Type: text/html, Size: 1342 bytes --]

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

* Re: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
  2016-12-20 20:47 ` Burton, Ross
@ 2016-12-21 10:31   ` Robert P. J. Day
  2017-01-20 11:52   ` Robert P. J. Day
  1 sibling, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2016-12-21 10:31 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

On Tue, 20 Dec 2016, Burton, Ross wrote:

> On 20 December 2016 at 18:32, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>         really, i just don't have time to mess with this anymore and
>       i'm more than happy to pay someone $50 CAD (interac transfer)
>       to provide me with a proper recipe and essential patches for
>       the perl module Filesys-SmbClient-3.2 here:
>
>
> FWIW I had a quick look at this.  I'm certainly no perl guru and can
> barely understand it, but it does *so much* wrong that if you really
> need this then it would be easier to just rewrite the makefile.pl
> from scratch.  Once you remove the hunting for the headers in the
> wrong place, it then invokes an autoconf script...  which needs to
> be passed the right options.
>
> Do you really need this module?  It's not been updated for many
> years, so surely there's something better.

  i have been *told* that this module is necessary, i don't know
enough about the context to know what for. if there is something more
recent that has the same capability, then i'd love to see it.

  until then, $50 is still up for grabs.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* Re: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
  2016-12-20 20:47 ` Burton, Ross
  2016-12-21 10:31   ` Robert P. J. Day
@ 2017-01-20 11:52   ` Robert P. J. Day
  2017-01-20 14:53     ` Tim Orling
  1 sibling, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2017-01-20 11:52 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE Core mailing list


  the earlier note from ross i had totally forgotten about ...

On Tue, 20 Dec 2016, Burton, Ross wrote:

> FWIW I had a quick look at this.  I'm certainly no perl guru and can
> barely understand it, but it does *so much* wrong that if you really
> need this then it would be easier to just rewrite the makefile.pl
> from scratch.  Once you remove the hunting for the headers in the
> wrong place, it then invokes an autoconf script...  which needs to
> be passed the right options.
>
> Do you really need this module?  It's not been updated for many
> years, so surely there's something better.

  and that's the question ... is there something better? is there not
a single person who needs this feature in their OE/YP build? perhaps
not. maybe i really do need to hire a contractor to take care of this.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously.
  2017-01-20 11:52   ` Robert P. J. Day
@ 2017-01-20 14:53     ` Tim Orling
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Orling @ 2017-01-20 14:53 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]

On Fri, Jan 20, 2017 at 3:52 AM, Robert P. J. Day <rpjday@crashcourse.ca>
wrote:

>
>   the earlier note from ross i had totally forgotten about ...
>
> On Tue, 20 Dec 2016, Burton, Ross wrote:
>
> > FWIW I had a quick look at this.  I'm certainly no perl guru and can
> > barely understand it, but it does *so much* wrong that if you really
> > need this then it would be easier to just rewrite the makefile.pl
> > from scratch.  Once you remove the hunting for the headers in the
> > wrong place, it then invokes an autoconf script...  which needs to
> > be passed the right options.
> >
> > Do you really need this module?  It's not been updated for many
> > years, so surely there's something better.
>
>   and that's the question ... is there something better? is there not
> a single person who needs this feature in their OE/YP build? perhaps
> not. maybe i really do need to hire a contractor to take care of this.
>
>
In my mind the question is deeper than that. The question is "is there not
a single person who needs this feature in perl?". The upstream is the
problem. It is just not ready to cross-compile.

--Tim

> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 3142 bytes --]

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

end of thread, other threads:[~2017-01-20 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-20 18:32 $50 bounty for an OE recipe for libfilesys-smbclient-perl. seriously Robert P. J. Day
2016-12-20 20:47 ` Burton, Ross
2016-12-21 10:31   ` Robert P. J. Day
2017-01-20 11:52   ` Robert P. J. Day
2017-01-20 14:53     ` Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.