[CentOS-devel] error: COS74: nss-softokn, ec.c, ECCurve25519 undeclared

Johnny Hughes johnny at centos.org
Wed Oct 4 23:27:47 UTC 2017

On 09/28/2017 05:29 PM, Captain Wiggum wrote:
> Thank you to Martin Thomson of the NSS dev team!!! His hint helped me to
> find and fix the problem.
> The issue is that the nss-softokn-3.28.3.tar.gz source, will not build
> with an older nss-softokn installed.
> In other words, it is circularly dependent on itself to build from source.
> For me the fix was to download a current 3.28.3 binary from centos and
> install it.
> Then it built fine.
> It would be nice if the build used its own local includes rather than
> the system includes.
> This is what glibc and others do to avoid this type of dependency.
> Thanks again!

As a pointer, when building packages it would be beneficial for you to
use mock.  mock builds things in a clean chroot and therefore does not
depend on things which are installed on your machine, but only on the
latest items actually in the repos that you include for the build root.

This prevents things like linking against GUI installed libraries if you
are building on a workstation, etc.

> On Wed, Sep 27, 2017 at 6:13 PM, Captain Wiggum <captwiggum at gmail.com
> <mailto:captwiggum at gmail.com>> wrote:
>     I build nss and nss-softokn on a regular basis and follow the updates.
>     I am seeing this new error with nss-softokn-3.28.3-8.el7_4.src.rpm
>     ec.c:21:7: error: 'ECCurve25519' undeclared here (not in a function)
>          { ECCurve25519,
>     Does this ring any bells? Or any suggestion appreciated.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20171004/3557301f/attachment.sig>

More information about the CentOS-devel mailing list