bug-guix
[Top][All Lists]
Advanced

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

Re: GNU Shishi fails to build


From: Ludovic Courtès
Subject: Re: GNU Shishi fails to build
Date: Wed, 21 Nov 2012 22:00:48 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Nikita Karetnikov <address@hidden> skribis:

> I'm trying to package GNU Shishi.

Version 1.0.1?

> I fixed the "'gets' undeclared here (not in a function)" error using
> the attached patch (I used this [1] as a reference).

Yes, many GNU packages suffer from this.  Perhaps you can just reuse one
of the *gets-undeclared*.patch already available under
distro/packages/patches?

> Then Shishi failed with these errors:
>
> asn1.c: In function '_shishi_asn1_init':
> asn1.c:42:25: error: 'MAX_ERROR_DESCRIPTION_SIZE' undeclared (first

[...]

> By the way, "MAX_ERROR_DESCRIPTION_SIZE is deprecated and should not
> be used in newly-written code." [2]

In fact, it’s undefined in libtasn1 3.0.

I suppose it may be enough to just add:

  (arguments
   `(#:configure-flags
      
'("CPPFLAGS=-DMAX_ERROR_DESCRIPTION_SIZE=ASN1_MAX_ERROR_DESCRIPTION_SIZE")))

Can you try that?

Thanks,
Ludo’.



reply via email to

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