Skip to contentSkip to conversation

uClibc-ng argp-standalone War

Buildroot Brian Foster 2 participants 3 messages Jun 2, 2016 – Jun 3, 2016

lore
Share & tools
lore
#0 lore raw

In 2016.05 there is a war between uClibc-ng and argp-standalone (quoting from our bugs database):

? If uClibc-ng v1.0.14 does not have argp support enabled,
then it removes any installed <argp.h> header file. Hence, if the BuildRoot 2016.05 package argp-standalone is enabled, a subsequent re-build of uClibc will remove argp-standalone's installed <argp.h> header, which can (later) cause very puzzling build failures. ?

An example of a package which (forces, I think) the use of argp-standalone is the rng-tools (but is not the only one!). At the present time, I do not know if uClibc-ng's argp can be used, or what the issue is(? was?) the uClibc(-ng?) argp.

cheers!

	-blf-
Signature · 3 lines
Brian Foster
Principal MTS, Software        |  La Ciotat, France
Maxim Integrated               |  http://www.maximintegrated.com/
#1 lore raw

Hi,
Brian Foster wrote,

Quoted 11 lines

In 2016.05 there is a war between uClibc-ng and argp-standalone (quoting from our bugs database):

? If uClibc-ng v1.0.14 does not have argp support enabled,
then it removes any installed <argp.h> header file. Hence, if the BuildRoot 2016.05 package argp-standalone is enabled, a subsequent re-build of uClibc will remove argp-standalone's installed <argp.h> header, which can (later) cause very puzzling build failures. ?

Quoted 4 lines

An example of a package which (forces, I think) the use of argp-standalone is the rng-tools (but is not the only one!). At the present time, I do not know if uClibc-ng's argp can be used, or what the issue is(? was?) the uClibc(-ng?) argp.

Maybe it would be good to just use uClibc-ng argp and block argp-standalone in case uClibc-ng is used. I have reports from other projects, which successfully replaced argp-standalone with the uClibc-ng included argp implementation.

@Brian: Could you cook up a patch and do some testing?

best regards
Waldemar

#2 lore raw
Quoted 5 lines · On Thursday 02-June-2016 19:12:49 Waldemar Brodkorb wrote:

Brian Foster wrote,

Quoted 1 line

In 2016.05 there is a war between uClibc-ng and argp-standalone [...]

Maybe it would be good to just use uClibc-ng argp and block argp-standalone in case uClibc-ng is used.

Hi Waldemar!

Broadly speaking, I concur, but I have done nothing (to-date) to try and confirm, or to research the history of the issue.

Actually, I am more inclined to the either-or approach, that is, if a package needs "argp" functionality, then either arp-standalone or (if using uClibc-ng) uClibc's arp functionality must be present.
However, I'm uncertain how to do that...? ;-\ (Any pointers?)

Quoted 2 lines

I have reports from other projects, which successfully replaced argp-standalone with the uClibc-ng included argp implementation.

That is good to know, thanks!

Quoted 1 line

@Brian: Could you cook up a patch and do some testing?

Maybe. *Speculating*, I suspect all I will be able to do is cook up trial Patch(es?) with rng-tools as the Test case.

cheers!

	-blf-
Quoted 2 lines

best regards
Waldemar

Signature · 3 lines
Brian Foster
Principal MTS, Software        |  La Ciotat, France
Maxim Integrated               |  http://www.maximintegrated.com/