* Linux kernel build dependency of 'bc'
@ 2013-06-06 15:11 Otavio Salvador
2013-06-06 16:08 ` Paul Eggleton
2013-06-06 22:42 ` Bruce Ashfield
0 siblings, 2 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-06-06 15:11 UTC (permalink / raw)
To: Bruce Ashfield, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 572 bytes --]
Hello Bruce,
I got a build failure in my auto builder; it has a very lean system install
and it spot something it is new for me. It seems the kernel now depends on
'bc' util.
I tried to find a 'bc-native' and couldn't find so I'd like to know if it
is a known issue and if someone is already working in a 'bc-native' recipe
to proper fix the issue.
Regards,
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
[-- Attachment #2: Type: text/html, Size: 858 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linux kernel build dependency of 'bc'
2013-06-06 15:11 Linux kernel build dependency of 'bc' Otavio Salvador
@ 2013-06-06 16:08 ` Paul Eggleton
2013-06-06 16:12 ` Chris Larson
2013-06-06 22:42 ` Bruce Ashfield
1 sibling, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2013-06-06 16:08 UTC (permalink / raw)
To: Otavio Salvador; +Cc: openembedded-core
Hi Otavio,
On Thursday 06 June 2013 12:11:04 Otavio Salvador wrote:
> I got a build failure in my auto builder; it has a very lean system install
> and it spot something it is new for me. It seems the kernel now depends on
> 'bc' util.
>
> I tried to find a 'bc-native' and couldn't find so I'd like to know if it
> is a known issue and if someone is already working in a 'bc-native' recipe
> to proper fix the issue.
We used to have bc in our list of required host packages in the Yocto Project
quick start guide, but after some testing a few versions ago I removed it
because it didn't seem to be needed. FWIW I don't have it installed on my
primary build machine and I haven't noticed any problems as a result.
Rather than creating bc-native I think we should find out where the dependency
on bc exists and try to patch it out (if practical); if it really is needed
and too hard to remove, we can just add bc to the list of required host
packages. I hope that's not the case though.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linux kernel build dependency of 'bc'
2013-06-06 16:08 ` Paul Eggleton
@ 2013-06-06 16:12 ` Chris Larson
2013-06-06 16:21 ` Otavio Salvador
0 siblings, 1 reply; 5+ messages in thread
From: Chris Larson @ 2013-06-06 16:12 UTC (permalink / raw)
To: Paul Eggleton
Cc: Otavio Salvador, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]
On Thu, Jun 6, 2013 at 9:08 AM, Paul Eggleton <paul.eggleton@linux.intel.com
> wrote:
> On Thursday 06 June 2013 12:11:04 Otavio Salvador wrote:
> > I got a build failure in my auto builder; it has a very lean system
> install
> > and it spot something it is new for me. It seems the kernel now depends
> on
> > 'bc' util.
> >
> > I tried to find a 'bc-native' and couldn't find so I'd like to know if
> it
> > is a known issue and if someone is already working in a 'bc-native'
> recipe
> > to proper fix the issue.
>
> We used to have bc in our list of required host packages in the Yocto
> Project
> quick start guide, but after some testing a few versions ago I removed it
> because it didn't seem to be needed. FWIW I don't have it installed on my
> primary build machine and I haven't noticed any problems as a result.
>
> Rather than creating bc-native I think we should find out where the
> dependency
> on bc exists and try to patch it out (if practical); if it really is needed
> and too hard to remove, we can just add bc to the list of required host
> packages. I hope that's not the case though.
>
Apparently Peter Anvin added use of bc to avoid the dependency on perl.
Multiple other distros got bit by this added dep (gentoo, linux from
scratch, etc). Rob Landley was not too happy about it (he had perl removal
patches for the kernel which didn't require bc):
"The perl removal patches are finally upstream! But Peter Anvin's quest to
unnecessarily complicate the kernel build continues, he replaced one with
"bc" which is a turing-complete programming language that's so seldom used
busybox hasn't got it. His patch broke Linux From Scratch (they had to add
bc to chapter 5; in the past 12 years it's never been there). I have no
idea _why_ he did this since the C implementation I contributed was
actually smaller and simpler than what he wrote. Oh well."
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
[-- Attachment #2: Type: text/html, Size: 2706 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linux kernel build dependency of 'bc'
2013-06-06 16:12 ` Chris Larson
@ 2013-06-06 16:21 ` Otavio Salvador
0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-06-06 16:21 UTC (permalink / raw)
To: Chris Larson
Cc: Paul Eggleton, Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 2369 bytes --]
On Thu, Jun 6, 2013 at 1:12 PM, Chris Larson <clarson@kergoth.com> wrote:
> On Thu, Jun 6, 2013 at 9:08 AM, Paul Eggleton <
> paul.eggleton@linux.intel.com> wrote:
>
>> On Thursday 06 June 2013 12:11:04 Otavio Salvador wrote:
>> > I got a build failure in my auto builder; it has a very lean system
>> install
>> > and it spot something it is new for me. It seems the kernel now depends
>> on
>> > 'bc' util.
>> >
>> > I tried to find a 'bc-native' and couldn't find so I'd like to know if
>> it
>> > is a known issue and if someone is already working in a 'bc-native'
>> recipe
>> > to proper fix the issue.
>>
>> We used to have bc in our list of required host packages in the Yocto
>> Project
>> quick start guide, but after some testing a few versions ago I removed it
>> because it didn't seem to be needed. FWIW I don't have it installed on my
>> primary build machine and I haven't noticed any problems as a result.
>>
>> Rather than creating bc-native I think we should find out where the
>> dependency
>> on bc exists and try to patch it out (if practical); if it really is
>> needed
>> and too hard to remove, we can just add bc to the list of required host
>> packages. I hope that's not the case though.
>>
>
> Apparently Peter Anvin added use of bc to avoid the dependency on perl.
> Multiple other distros got bit by this added dep (gentoo, linux from
> scratch, etc). Rob Landley was not too happy about it (he had perl removal
> patches for the kernel which didn't require bc):
>
> "The perl removal patches are finally upstream! But Peter Anvin's quest to
> unnecessarily complicate the kernel build continues, he replaced one with
> "bc" which is a turing-complete programming language that's so seldom used
> busybox hasn't got it. His patch broke Linux From Scratch (they had to add
> bc to chapter 5; in the past 12 years it's never been there). I have no
> idea _why_ he did this since the C implementation I contributed was
> actually smaller and simpler than what he wrote. Oh well."
>
I think it is easier to have bc-native; this avoids one host dependency
and allow for update on it if need.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
[-- Attachment #2: Type: text/html, Size: 3405 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Linux kernel build dependency of 'bc'
2013-06-06 15:11 Linux kernel build dependency of 'bc' Otavio Salvador
2013-06-06 16:08 ` Paul Eggleton
@ 2013-06-06 22:42 ` Bruce Ashfield
1 sibling, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2013-06-06 22:42 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
On Thu, Jun 6, 2013 at 11:11 AM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Bruce,
>
> I got a build failure in my auto builder; it has a very lean system install
> and it spot something it is new for me. It seems the kernel now depends on
> 'bc' util.
>
> I tried to find a 'bc-native' and couldn't find so I'd like to know if it
> is a known issue and if someone is already working in a 'bc-native' recipe
> to proper fix the issue.
Following up on this thread late (I was on a plane all day), this
hasn't popped up on
my builders, but then again, all of mine have bc, so I wouldn't have noticed
for some time.
If nothing has been entered bugzilla for this, we should do that now, just to
avoid more than one person going ahead and adding bc-native!
Bruce
>
> Regards,
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.br http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-06-06 22:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-06 15:11 Linux kernel build dependency of 'bc' Otavio Salvador
2013-06-06 16:08 ` Paul Eggleton
2013-06-06 16:12 ` Chris Larson
2013-06-06 16:21 ` Otavio Salvador
2013-06-06 22:42 ` Bruce Ashfield
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.