From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: new package build error: archiver requires 'AM_PROG_AR' in 'configure.ac' Date: Thu, 01 Sep 2016 13:44:01 +0200 Message-ID: <87mvjrrgji.fsf@gnu.org> References: <57C5D9C9.9040100@goebel-consult.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfQPh-0006MN-Sp for guix-devel@gnu.org; Thu, 01 Sep 2016 07:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfQPc-0005kE-T5 for guix-devel@gnu.org; Thu, 01 Sep 2016 07:44:08 -0400 In-Reply-To: <57C5D9C9.9040100@goebel-consult.de> (Hartmut Goebel's message of "Tue, 30 Aug 2016 21:08:57 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel Hi Hartmut, Hartmut Goebel skribis: > I try to build the asn1c package, see below. But this fails with the > following error message. > > /gnu/store/=E2=80=A6-automake-1.15/share/automake-1.15/am/ltlibrary.am: > warning: 'libasn1compiler.la': linking libtool libraries using a non-POSIX > archiver requires 'AM_PROG_AR' in 'configure.ac' > > Is this a common issue? > > (define-public asn1c > (package > (name "asn1c") > (version "0.9.27") > (source (origin > (method url-fetch) > (uri (string-append "https://lionet.info/soft/asn1c-" version > ".tar.gz")) > (sha256 (base32 > "17nvn2kzvlryasr9dzqg6gs27b9lvqpval0k31pb64bjqbhn8pq2")))) The beauty of autotools is that users do not need to install them: tarballs contain everything one needs to configure, build, and install the thing. That is indeed the case here: --8<---------------cut here---------------start------------->8--- $ wget -q -O - https://lionet.info/soft/asn1c-0.9.27.tar.gz |tar tzvf -|gre= p -E '/(configure|Makefile\.in)$' -rw-r--r-- vlm/staff 25216 2015-02-13 11:37 asn1c-0.9.27/Makefile.in -rwxr-xr-x vlm/staff 461298 2015-02-13 11:37 asn1c-0.9.27/configure -rw-r--r-- vlm/staff 88715 2015-02-13 11:37 asn1c-0.9.27/skeletons/Make= file.in -rw-r--r-- vlm/staff 22608 2015-02-13 11:37 asn1c-0.9.27/skeletons/test= s/Makefile.in -rw-r--r-- vlm/staff 14801 2015-02-13 11:37 asn1c-0.9.27/libasn1print/M= akefile.in -rw-r--r-- vlm/staff 16298 2015-02-13 11:37 asn1c-0.9.27/libasn1parser/= Makefile.in -rw-r--r-- vlm/staff 23109 2015-02-13 11:37 asn1c-0.9.27/libasn1fix/Mak= efile.in -rw-r--r-- vlm/staff 15866 2015-02-13 11:37 asn1c-0.9.27/libasn1compile= r/Makefile.in -rw-r--r-- vlm/staff 14085 2015-02-13 11:37 asn1c-0.9.27/examples/Makef= ile.in -rw-r--r-- vlm/staff 19073 2015-02-13 11:37 asn1c-0.9.27/doc/Makefile.in -rw-r--r-- vlm/staff 10138 2015-02-13 11:37 asn1c-0.9.27/doc/docsrc/Mak= efile.in -rw-r--r-- vlm/staff 29360 2015-02-13 11:37 asn1c-0.9.27/asn1c/Makefile= .in -rw-r--r-- vlm/staff 13211 2015-02-13 11:37 asn1c-0.9.27/asn1c/tests/Ma= kefile.in --8<---------------cut here---------------end--------------->8--- The above shows that the Autoconf- and Automake-generated files are indeed present in the tarball, so you don=E2=80=99t need to use the autotoo= ls at all. HTH! Ludo=E2=80=99.