Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Cannot cross-compile gettext
Date: Sun, 17 Apr 2022 19:34:59 +0200	[thread overview]
Message-ID: <20220417173459.qizrHlaJweYOQ--_Wm_WXeaRt9kTxMCUvGvqMZbif4w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34810@inbox.vuxu.org>

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

Closed issue by lfdebrux on void-packages repository

https://github.com/void-linux/void-packages/issues/34810

Description:
### System

* xuname:  
  *Void 5.11.22_1 x86_64-musl GenuineIntel notuptodate rFFF*
* package:  
  *gettext-0.21_4*

### Expected behavior

`./xbps-src -a <target> configure gettext` runs successfully.

### Actual behavior

The pre-configure step fails with error

```
=> gettext-0.21_4: running pre_configure ...
... ( lines omitted)
configure.ac:25: error: AC_INIT should be called with package and version arguments
: gl_AM_INIT_AUTOMAKE is expanded from...
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:25: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
=> ERROR: gettext-0.21_4: pre_configure: 'autoreconf -fi' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/gettext/template:42
```

I've tried this with various targets, the error is always the same.

I noticed that for this template the pre-configure step only happens when cross-compiling:

https://github.com/void-linux/void-packages/blob/2f4626f2c85e16e77a63b379e03c533adbdea9b9/srcpkgs/gettext/template#L39-L42

If the command to run `autoreconf` is removed from the template then the configure completes successfully, and the package can be built and run without any issues that I've seen.

      parent reply	other threads:[~2022-04-17 17:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-02 18:06 [ISSUE] " lfdebrux
2022-01-02 18:13 ` lfdebrux
2022-01-02 18:13 ` lfdebrux
2022-01-02 18:33 ` ericonr
2022-01-03 18:20 ` lfdebrux
2022-01-03 19:50 ` ericonr
2022-04-17 17:34 ` paper42 [this message]

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

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

  git send-email \
    --in-reply-to=20220417173459.qizrHlaJweYOQ--_Wm_WXeaRt9kTxMCUvGvqMZbif4w@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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.
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).