Project

General

Profile

Bug #11921

File cm4defs in osol/as only exists for x86

Added by Gary Mills 4 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.

While doing a publish in osol/as, I received the following error:

Couldn't find 'usr/lib/cm4defs' in any of the specified search directories:
        .../oi-userland-apr/components/osol/as/as
        .../oi-userland/components/osol/as
        .../oi-userland/components/osol/as/build
        .../oi-userland/components/osol/as/build/prototype/sparc
        .../oi-userland/components/osol/as/build/prototype/sparc/mangled
../../../make-rules/ips.mk:377: recipe for target '.../oi-userland/components/osol/as/build/manifest-sparc-as.depend' failed
gmake: *** [.../oi-userland/components/osol/as/build/manifest-sparc-as.depend] Error 1

This error happened because cm4defs does not exist for SPARC. The solution is to append variant.arch=i386 to the missing files and symlinks in the manifest. The patch as.diff accomplishes this change. With it, the publish operation was successful.


Files

as.diff (242 Bytes) as.diff Gary Mills, 2019-11-05 02:23 AM

Also available in: Atom PDF