[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libidn 1.36 on Solaris 11.4

From: Simon Josefsson
Subject: Re: libidn 1.36 on Solaris 11.4
Date: Wed, 10 Jun 2020 20:35:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Bruno Haible <> writes:

> Hi Simon,
>> > On Solaris 11.4, the build fails like this:
>> ...
>> > ../libtool[1720]: eval: syntax error at line 1: `|' unexpected
>> > gmake[3]: *** [Makefile:1621:] Error 3
>> > 
>> > The fix is to use attachment 42206 from
>> > <>
>> > (on top of the newest libtool release 2.4.6).
>> Thanks -- patching the libtool used by libidn is fragile and time-
>> consuming.  Are there any well-established patterns to do that?
> In libidn, you commit files brought in through gnulib-tool in the repository.
> Therefore it would make sense to commit m4/libtool.m4, m4/lt*.m4, and
> build-aux/ in the repository as well.
> That's what I do e.g. in libunistring.m4 [1]. You can see that this costs
> me only one commit for each new libtool release - plus one commit to fix
> libtool bugs.[2][3]
> Fragile? This is actually less fragile than what you currently do, namely
> rely on the 'libtool' command that is installed on the machine on which you
> produce the tarballs.

Hi Bruno.  Eventually I agreed with you.

> I think your won't even need a change.

I had to stop using 'autoreconf --force' to prevent autoreconf from
overwriting the local libtool files, but otherwise you were right.

Patch installed as follows:

Let's hope this doesn't cause new build problems, I always used libtool
from Debian before and they add some other fixes.  I'm going to make
another 1.36 pre-release to allow testing...


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]