From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13575 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Newsgroups: gmane.linux.lib.musl.general Subject: Elfutils and error.h (was Elfutils and libargp issue with musl) Date: Sun, 6 Jan 2019 17:33:43 +0100 Message-ID: References: <20190106074332.GA2119@daniel-ASUS> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------9D01C24FB2415AFE6B6D5CF2" X-Trace: blaine.gmane.org 1546792312 28504 195.159.176.226 (6 Jan 2019 16:31:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2019 16:31:52 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 To: musl@lists.openwall.com Original-X-From: musl-return-13591-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jan 06 17:31:48 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ggBL2-0007KE-2o for gllmg-musl@m.gmane.org; Sun, 06 Jan 2019 17:31:48 +0100 Original-Received: (qmail 7281 invoked by uid 550); 6 Jan 2019 16:33:57 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7248 invoked from network); 6 Jan 2019 16:33:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=7lmSGpoRbgs1hlKLfEl7tYabPUnX0uCaeU1+TnUUXLw=; b=QecpblbFgpAuFknyRxnHTDi6jDqinA1U7rPTQE4H45vrVqRBBe5uVAl3A9sMwvH9TV AVXgNAmNhxlWRzbkDsEA9rQceE/zmevWSoNrc27Y4MTCjGjr/tT7FWJZxBUO5iL8hjto ztPNGB+HAHPmK5tmm0BzwCgATxtqwc9YTl0CFSDd/UckIYp1Ihrt9MW/kZPdVEX0DD/a H7Tm+ZjDkgxo/XG7j9T9N+No/uhty4SPAZGycbxuV7uI6cX3FeB2Yc3clYH0wnk9fwiw kZfuHmJahjI8+3x0UjALH7UkpT1KJMJUnBsaopGFCFILSFithh5T/fmvtoFdhDMAW/mX YiDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=7lmSGpoRbgs1hlKLfEl7tYabPUnX0uCaeU1+TnUUXLw=; b=qJ8jrpwxMH2a/434G90qNFuJ2xB0fUHl6wOCjQrglGmYCSFORye5n8okF9TcPQGP/A lR6ajoL+Fxav6gX+GAvP3gvCKQWdZNyoyp8JL9Vp5FamMZR4XAwluJIUEQn/ZGzloCv3 TFeQz9mhGjvVZ94Lsr+mro6RWZEc4hh17/AKrshwHbzzpOvdqIM6ygZJyEGaX74yaWlM OlmM5Z/Z5djX39+q1qdEzq5xtCYzj7vwCgEVpztrPM95WGrPfgGzzSN0fNmpodtY3AWQ fT3n7giqA67A1H31VqOfw3BrHGmC9XI7OoN/2W1pr4b/Xj8OGMkPGvDlqJXbvf2WknQ/ kPog== X-Gm-Message-State: AJcUuke76CZw/ZcGdqcXcphuT49koWx4jbyly1FsEh7BGJLs/01DHYCW B1PtONdbhDRftA67UcjgxUR/2rxu X-Google-Smtp-Source: ALg8bN6GNaezOXZ96eDNkOXpCgdhnR1mLaRJ5tBJPXYcyXfcqiMGs9Qt/4MO1qdQdOw2f43rvpBGzw== X-Received: by 2002:a1c:2c44:: with SMTP id s65mr6988890wms.80.1546792425030; Sun, 06 Jan 2019 08:33:45 -0800 (PST) In-Reply-To: Content-Language: en-US Xref: news.gmane.org gmane.linux.lib.musl.general:13575 Archived-At: This is a multi-part message in MIME format. --------------9D01C24FB2415AFE6B6D5CF2 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 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. > > 于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 --------------9D01C24FB2415AFE6B6D5CF2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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> 于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
--------------9D01C24FB2415AFE6B6D5CF2--