* It's a [PERL] lie...
@ 2013-07-26 15:49 Gary Thomas
2013-07-26 15:54 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2013-07-26 15:49 UTC (permalink / raw)
To: Yocto Project
After three weeks, I've finally figured out why my PERL based
programs (Amanda in particular) don't run on my Poky/Yocto system.
I have my own distribution, derived from Poky, with some minor
tweaks. In particular, I have some reduced DISTRO_FEATURES(*).
One of them that I had removed, 'largefile', was the root cause
of my PERL problems. It turns out that PERL is the only package
that cares about this DISTRO_FEATURE and it builds incorrectly
if it's left out :-( Adding this feature back into my settings
made PERL build properly and now Amanda runs as well.
My point/query is that if this setting is only used by PERL *and*
leaving it out breaks things anyway, shouldn't it just be removed
and the PERL recipes changed to assume that it was set?
* Note: I made these changes years ago, when I was new to OE/Poky
and still quite naive, and I don't recall why I removed 'largefile'.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: It's a [PERL] lie...
2013-07-26 15:49 It's a [PERL] lie Gary Thomas
@ 2013-07-26 15:54 ` Burton, Ross
2013-07-26 16:07 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2013-07-26 15:54 UTC (permalink / raw)
To: Gary Thomas; +Cc: Yocto Project
On 26 July 2013 16:49, Gary Thomas <gary@mlbassoc.com> wrote:
> It turns out that PERL is the only package
> that cares about this DISTRO_FEATURE and it builds incorrectly
> if it's left out :-( Adding this feature back into my settings
> made PERL build properly and now Amanda runs as well.
According to grep it's perl, cmake and libarchive that respect the
largefile feature.
If perl is known to break without largefile it's simple enough to make
it error when building if the feature isn't enabled, but to be honest
should we just remove this feature as it's so infrequently used?
Ross
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: It's a [PERL] lie...
2013-07-26 15:54 ` Burton, Ross
@ 2013-07-26 16:07 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2013-07-26 16:07 UTC (permalink / raw)
To: Burton, Ross; +Cc: Yocto Project
On 2013-07-26 09:54, Burton, Ross wrote:
> On 26 July 2013 16:49, Gary Thomas <gary@mlbassoc.com> wrote:
>> It turns out that PERL is the only package
>> that cares about this DISTRO_FEATURE and it builds incorrectly
>> if it's left out :-( Adding this feature back into my settings
>> made PERL build properly and now Amanda runs as well.
>
> According to grep it's perl, cmake and libarchive that respect the
> largefile feature.
Indeed, I missed them in my zeal :-( I new I was looking for something
that affected my problem, and perl was the key (I'm not using either
of the other packages)
>
> If perl is known to break without largefile it's simple enough to make
> it error when building if the feature isn't enabled, but to be honest
> should we just remove this feature as it's so infrequently used?
I'd vote for at least fixing the perl recipe. The problem is insidious;
it only fails at runtime and then in mysterious ways... It also fails
on every architecture I tried (x86, ARM, PPC)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-26 16:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 15:49 It's a [PERL] lie Gary Thomas
2013-07-26 15:54 ` Burton, Ross
2013-07-26 16:07 ` Gary Thomas
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.