unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Hartmut Goebel <h.goebel@goebel-consult.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: new package build error: archiver requires 'AM_PROG_AR' in 'configure.ac'
Date: Thu, 01 Sep 2016 13:44:01 +0200	[thread overview]
Message-ID: <87mvjrrgji.fsf@gnu.org> (raw)
In-Reply-To: <57C5D9C9.9040100@goebel-consult.de> (Hartmut Goebel's message of "Tue, 30 Aug 2016 21:08:57 +0200")

Hi Hartmut,

Hartmut Goebel <h.goebel@goebel-consult.de> skribis:

> I try to build the asn1c package, see below. But this fails with the
> following error message.
>
> /gnu/store/…-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 -|grep -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/Makefile.in
-rw-r--r-- vlm/staff     22608 2015-02-13 11:37 asn1c-0.9.27/skeletons/tests/Makefile.in
-rw-r--r-- vlm/staff     14801 2015-02-13 11:37 asn1c-0.9.27/libasn1print/Makefile.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/Makefile.in
-rw-r--r-- vlm/staff     15866 2015-02-13 11:37 asn1c-0.9.27/libasn1compiler/Makefile.in
-rw-r--r-- vlm/staff     14085 2015-02-13 11:37 asn1c-0.9.27/examples/Makefile.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/Makefile.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/Makefile.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’t need to use the autotools at
all.

HTH!

Ludo’.

  parent reply	other threads:[~2016-09-01 11:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 19:08 new package build error: archiver requires 'AM_PROG_AR' in 'configure.ac' Hartmut Goebel
2016-08-31 19:49 ` Ricardo Wurmus
2016-08-31 19:56   ` David Craven
2016-09-01  7:07     ` Hartmut Goebel
2016-09-01  7:07   ` Hartmut Goebel
2016-09-01 11:44 ` Ludovic Courtès [this message]
2016-09-01 12:46   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvjrrgji.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@goebel-consult.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).