Different mps files in mozilla-nss for x86 and SPARC
The OI source is from 2018. Some bugs may have been fixed, or there may be a new version of the source. All were developed on SPARC hardware, but the changes should not damage x86 packages. In each case, I only needed to update the manifest. The Makefile was unchanged. No new patches were needed.
During a publish in library/mozilla-nss, I received this error:
Couldn't find 'usr/lib/mps/libfreebl3.chk' in any of the specified search directories: ... Couldn't find 'usr/lib/mps/libfreebl3.so' in any of the specified search directories: ... Couldn't find 'usr/lib/mps/sparcv9/libfreebl3.chk' in any of the specified search directories: ... Couldn't find 'usr/lib/mps/sparcv9/libfreebl3.so' in any of the specified search directories:
The cause of this error is that some of the files in the prototype directory differ between SPARC and x86. The solution is to append variant.arch=i386 to x86-only and append variant.arch=sparc to sparc-only files in the manifest. The patch system-library-mozilla-nss.diff accomplishes this change. With it, the publish was successful.