Actions
Bug #11921
openFile cm4defs in osol/as only exists for x86
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
No data to display
Actions