Project

General

Profile

Bug #11925

Different mps files in mozilla-nss for x86 and SPARC

Added by Gary Mills 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

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.


Files

system-library-mozilla-nss.diff (1.75 KB) system-library-mozilla-nss.diff Gary Mills, 2019-11-05 01:56 PM

No data to display

Also available in: Atom PDF