Subject: Re: gnupg 1.4 and libiconv (was Re: gnupg 1.4)
To: None <tech-pkg@NetBSD.org>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-pkg
Date: 02/04/2005 15:38:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cwr@nexthop.com (Christopher W. Richardson) writes:

> "Thomas Klausner" <wiz@NetBSD.org> writes:
> 
> >    So I tried unsetting LC_CTYPE and could reproduce it on 1.6.2.
> >    The attached patch fixes the problem for me. Does it fix it for
> >    you too?
> 
> Sorry it took me so long to actually test this.  Yes, this page
> solves the problem.  Thanks!

Damn!  I spoke too soon.  Applying that patch to the Makefile
does let the package build, and all of the checks in make test
pass.  However, when actually going to use gpg:

cwr@achilles#gpg --list-keys
gpg: conversion from `utf-8' to `646' not available
cwr@achilles#which gpg
/usr/pkg/bin/gpg
cwr@achilles#ll /usr/pkg/bin/gpg
- -r-xr-xr-x  1 root  wheel  692732 Feb  4 15:30 /usr/pkg/bin/gpg

Changing the Makefile to instead have

CONFIGURE_ARGS+=        --disable-gnupg-iconv

solves the problem for me, but, obviously, that's less than ideal
for large portions of the world.  Still not sure what the real
problem is here.

Cheers,
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCA902P65RBOOHTzERAqgRAKCTiVUZB/oZIHnjbe9stLqPCIXP1gCfZ/Sv
ULvxtTdFXN+aI017z8XHe0k=
=oRKO
-----END PGP SIGNATURE-----