On Sun, Jan 29, 2017 at 12:13:31AM -0600, DJ Lucas wrote:
> 
> 
> On 01/28/2017 09:13 PM, Ken Moffat wrote:
> > 
> > That machine was last updated in October, the base LFS system is
> > from svn 20160416.
> > 
> > And when I try to apply recent cacerts I get messages like
> > 
> > Certificate:  ComSign Secured CA
> > Keyhash:      2251b13a
> > Added to OpenSSL certificate directory with trust ',,C'.
> > Added to NSS shared DB with trust ',,C'.
> > 
> > 
> > printf: usage: printf [-v var] format [arguments]
> 
> This message is form the bash built-in printf, not coreutils printf. We used
> to have a perl script to convert from octal, now the dump is only string
> conversion using printf. It uses an awk statement to extract the octal
> values which also uses printf internally to concatenate the lines into a
> single string. The problem is either the bash version of printf, the awk
> statement, or the certdata.txt file.
> 
> Given that it works part of the time, bash is my initial suspect. Gawk isn't
> likely to be the culprit because it works 77/380 times. The coreutils
> version of printf should be functionally equivalent to the bash version (at
> least for interpreting 0NN). You can try it quick. On line 374 (change the
> first printf to /usr/bin/printf). If we can sidestep that issue, then we'll
> just do that. I just tested locally, and it does give expected output with
> _current_ coreutils printf. If that doesn't get it, what other differences
> are there? Maybe IFS is changed in the environment, or different version of
> gawk?
> 
> --DJ
> 
Thanks for the suggestion, but it didn't seem to change anything.

I don't change IFS anywhere.

Versions on this system : bash-4.3.42(1), awk is gawk-4.1.3,
coreutils-8.25.

And on the 7.9 system where the error looked similar : bash-4.3.30,
gawk-4.1.3, coreutils-8.25.

It's not the end of the world - the old certs seem to be working in
firefox, it's just annoying.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to