mailing list of musl libc
 help / color / mirror / code / Atom feed
* Elfutils and libargp issue with musl
@ 2019-01-06  7:43 Daniel G.
  2019-01-06  9:12 ` He X
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel G. @ 2019-01-06  7:43 UTC (permalink / raw)
  To: musl

Hello,

As part of my customized linux operating system, based in musl (1.1.20 git
source), I'm trying to build from source elfutils-0.174, but there is
configuration issue with a libargp dependency:

configure: WARNING: "libc does not have argp"
checking for argp_parse in -largp... no
configure: error: "no libargp found"


I would appreciate any information about:
- a reliable source for libargp (to build from source)
- or an alternative to elfutils
- other ideas.

Thank you in advance.
-- 
----------------
Daniel Gutiérrez


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

* Re: Elfutils and libargp issue with musl
  2019-01-06  7:43 Elfutils and libargp issue with musl Daniel G.
@ 2019-01-06  9:12 ` He X
  2019-01-06 16:33   ` Elfutils and error.h (was Elfutils and libargp issue with musl) Daniel
  2019-02-13 11:16   ` Elfutils and libargp issue with musl u-uy74
  0 siblings, 2 replies; 5+ messages in thread
From: He X @ 2019-01-06  9:12 UTC (permalink / raw)
  To: musl; +Cc: audobra

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

Hi.

most musl distro use argp-standalone extracted from gnulib:
https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz.

but gnu argp actually has a bug with musl's dgettext(intl):
http://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00046.html, which
has been fixed upstream. if you need intl, apply the patch.

also i recently extracted libuargp from uclibc:
https://github.com/xhebox/libuargp, which is modified to work with musl's
dgettext and to be the successor to the old argp-standalone.

best regards

Daniel G. <audobra@gmail.com> 于2019年1月6日周日 下午3:43写道:

> Hello,
>
> As part of my customized linux operating system, based in musl (1.1.20 git
> source), I'm trying to build from source elfutils-0.174, but there is
> configuration issue with a libargp dependency:
>
> configure: WARNING: "libc does not have argp"
> checking for argp_parse in -largp... no
> configure: error: "no libargp found"
>
>
> I would appreciate any information about:
> - a reliable source for libargp (to build from source)
> - or an alternative to elfutils
> - other ideas.
>
> Thank you in advance.
> --
> ----------------
> Daniel Gutiérrez
>


-- 
Best regards,
xhe

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

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

* Elfutils and error.h (was Elfutils and libargp issue with musl)
  2019-01-06  9:12 ` He X
@ 2019-01-06 16:33   ` Daniel
  2019-02-13 11:16   ` Elfutils and libargp issue with musl u-uy74
  1 sibling, 0 replies; 5+ messages in thread
From: Daniel @ 2019-01-06 16:33 UTC (permalink / raw)
  To: musl

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

Hi again,

First of all, thank for the quick response. I've just installed 
https://github.com/xhebox/libuargp and it's working fine.

But elfutils is still giving some problems, this time with error.h. For 
example:

In file included from xmalloc.c:37:
system.h:33:10: error fatal: error.h: No such file or directory
  #include <error.h>

I've seen that it was reported as a bug, 
https://sourceware.org/bugzilla/show_bug.cgi?id=21008#c2, and I'm 
studying some patches. In any case, It would be very helpful more 
information about this issue with error.h.

Best regards,

Daniel Gutiérrez


El 6/1/19 a las 10:12, He X escribió:
> Hi.
>
> most musl distro use argp-standalone extracted from gnulib: 
> https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz.
>
> but gnu argp actually has a bug with musl's dgettext(intl): 
> http://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00046.html, 
> which has been fixed upstream. if you need intl, apply the patch.
>
> also i recently extracted libuargp from uclibc: 
> https://github.com/xhebox/libuargp, which is modified to work with 
> musl's dgettext and to be the successor to the old argp-standalone.
>
> best regards
>
> Daniel G. <audobra@gmail.com <mailto:audobra@gmail.com>> 
> 于2019年1月6日周日 下午3:43写道:
>
>     Hello,
>
>     As part of my customized linux operating system, based in musl
>     (1.1.20 git
>     source), I'm trying to build from source elfutils-0.174, but there is
>     configuration issue with a libargp dependency:
>
>     configure: WARNING: "libc does not have argp"
>     checking for argp_parse in -largp... no
>     configure: error: "no libargp found"
>
>
>     I would appreciate any information about:
>     - a reliable source for libargp (to build from source)
>     - or an alternative to elfutils
>     - other ideas.
>
>     Thank you in advance.
>     -- 
>     ----------------
>     Daniel Gutiérrez
>
>
>
> -- 
> Best regards,
> xhe

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

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

* Re: Elfutils and libargp issue with musl
  2019-01-06  9:12 ` He X
  2019-01-06 16:33   ` Elfutils and error.h (was Elfutils and libargp issue with musl) Daniel
@ 2019-02-13 11:16   ` u-uy74
  2019-02-13 11:48     ` He X
  1 sibling, 1 reply; 5+ messages in thread
From: u-uy74 @ 2019-02-13 11:16 UTC (permalink / raw)
  To: musl

On Sun, Jan 06, 2019 at 05:12:27PM +0800, He X wrote:
> i recently extracted libuargp from uclibc:
> https://github.com/xhebox/libuargp, which is modified to work with musl's
> dgettext and to be the successor to the old argp-standalone.

Thanks.

For information:

There is an oversight in the commit
65a05ff1b465c2c7cb7c51b98795b701d0181584 "add static lib".

An empty static lib is being created.

s/LIBOBJS/OBJS/ in the Makefile?

Rune



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

* Re: Elfutils and libargp issue with musl
  2019-02-13 11:16   ` Elfutils and libargp issue with musl u-uy74
@ 2019-02-13 11:48     ` He X
  0 siblings, 0 replies; 5+ messages in thread
From: He X @ 2019-02-13 11:48 UTC (permalink / raw)
  To: musl; +Cc: u-uy74

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

That's a nice catch, i've pushed fix. :)

xhe

<u-uy74@aetey.se> 于2019年2月13日周三 下午7:18写道:

> On Sun, Jan 06, 2019 at 05:12:27PM +0800, He X wrote:
> > i recently extracted libuargp from uclibc:
> > https://github.com/xhebox/libuargp, which is modified to work with
> musl's
> > dgettext and to be the successor to the old argp-standalone.
>
> Thanks.
>
> For information:
>
> There is an oversight in the commit
> 65a05ff1b465c2c7cb7c51b98795b701d0181584 "add static lib".
>
> An empty static lib is being created.
>
> s/LIBOBJS/OBJS/ in the Makefile?
>
> Rune
>
>

-- 
Best regards,
xhe

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

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

end of thread, other threads:[~2019-02-13 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-06  7:43 Elfutils and libargp issue with musl Daniel G.
2019-01-06  9:12 ` He X
2019-01-06 16:33   ` Elfutils and error.h (was Elfutils and libargp issue with musl) Daniel
2019-02-13 11:16   ` Elfutils and libargp issue with musl u-uy74
2019-02-13 11:48     ` He X

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).