On 01/28/2017 09:13 PM, Ken Moffat wrote:
I've found that make-ca.sh seems to work (I say 'seems' because I still don't understand the details :) on 7.10 and later systems. But a few days ago I tried it on a 7.9 system and got errors. That machine also has 7.10, so fixing the old system was not a priority. But now, I _think_ I've got my A10 Kaveri working again (if I'm right, the underlying problem wasn't the ASUS 'be overclocking friendly' BIOS settings, it was bad RAM - and if I'm wrong, I guess it will shut down or stop giving me video output in a day or two, and I'll stop caring). 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 -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
