pkgsrc-Bugs archive

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

Re: pkg/51802: security/mozilla-rootcerts doesn't build with gawk



On Thu, Jan 26, 2017 at 04:26:00PM +0900, Yuji Yamano wrote:
> > cd /home/rodent/pkgsrc/security/mozilla-rootcerts/work/certs &&  /bin/sh /home/rodent/pkgsrc/security/mozilla-rootcerts/work/mozilla-rootcerts.sh -f /home/rodent/pkgsrc/security/mozilla-rootcerts/work/certdata-20160610.txt extract
> 
> > unable to load certificate
> > 140135767295632:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
> > awk: cmd. line:28: (FILENAME=- FNR=577) fatal: printf to "/home/rodent/pkg/bin/openssl x509 -inform der -outform pem -text >mozilla-rootcert-3.pem" failed (Broken pipe)
> 
> Do you set LC_ALL? I get similar errors with LC_ALL=en_US.UTF-8.
> [...]

rodent@sammy:~/pkgsrc/security/mozilla-rootcerts% locale
LANG=POSIX
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

security/mozilla-rootcerts/files/mozilla-rootcerts.sh sets LANG to C. Perhaps,
it needs to set some of the other locale envvars too?


Home | Main Index | Thread Index | Old Index