[prev in list] [next in list] [prev in thread] [next in thread] 

List:       musl
Subject:    Re: [musl] Elfutils and libargp issue with musl
From:       He X <xw897002528 () gmail ! com>
Date:       2019-01-06 9:12:27
Message-ID: CAPG2z08b=wNidz2twz-TgduFHzo5fAfun-74u1o0W_D89M=67A () mail ! gmail ! com
[Download RAW message or body]

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 #3 (text/html)]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div \
dir="ltr"><div>Hi.</div><div><br></div><div dir="ltr">most musl distro use \
argp-standalone extracted from gnulib: <a \
href="https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz">https://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz</a>.</div><div \
dir="ltr"><br></div><div dir="ltr">but gnu argp actually has a bug with musl&#39;s \
dgettext(intl):  <a href="http://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00046.html">http://lists.gnu.org/archive/html/bug-gnulib/2019-01/msg00046.html</a>, \
which has been fixed upstream. if you need intl, apply the patch.</div><div \
dir="ltr"><br></div><div dir="ltr">also i recently extracted libuargp from uclibc: <a \
href="https://github.com/xhebox/libuargp">https://github.com/xhebox/libuargp</a>, \
which is modified to work with musl&#39;s dgettext and to be the successor to the old \
argp-standalone.<br></div><div dir="ltr"><br></div><div>best \
regards</div></div></div></div></div><br><div class="gmail_quote"><div \
dir="ltr">Daniel G. &lt;<a href="mailto:audobra@gmail.com">audobra@gmail.com</a>&gt; \
于2019年1月6日周日 下午3:43写道:<br></div><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hello,<br> <br>
As part of my customized linux operating system, based in musl (1.1.20 git<br>
source), I&#39;m trying to build from source elfutils-0.174, but there is<br>
configuration issue with a libargp dependency:<br>
<br>
configure: WARNING: &quot;libc does not have argp&quot;<br>
checking for argp_parse in -largp... no<br>
configure: error: &quot;no libargp found&quot;<br>
<br>
<br>
I would appreciate any information about:<br>
- a reliable source for libargp (to build from source)<br>
- or an alternative to elfutils<br>
- other ideas.<br>
<br>
Thank you in advance.<br>
-- <br>
----------------<br>
Daniel Gutiérrez<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><div>Best regards,</div><div \
dir="ltr">xhe</div></div></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic