Project

General

Profile

Bug #10404

VirtualBox build fails with "cp: cannot stat '/.../build/i86/out/solaris.x86/release/bin/additions//VBoxOGL.so': No such file or directory

Added by Michal Nowak 6 months ago. Updated 6 months ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Rebuilding VirtualBox 5.2.24 fails with:

for fl in VBoxOGL.so VBoxOGLarrayspu.so VBoxOGLcrutil.so VBoxOGLerrorspu.so VBoxOGLfeedbackspu.so VBoxOGLpackspu.so VBoxOGLpassthroughspu.so VBoxEGL.so; do \
    cp /export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/amd64/out/solaris.amd64/release/bin/additions//$fl /export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/prototype/i386/usr/lib/amd64; \
    cp /export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//$fl /export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/prototype/i386/usr/lib/; \
        done
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGL.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLarrayspu.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLcrutil.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLerrorspu.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLfeedbackspu.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLpackspu.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxOGLpassthroughspu.so': No such file or directory
cp: cannot stat '/export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/i86/out/solaris.x86/release/bin/additions//VBoxEGL.so': No such file or directory
gmake: *** [Makefile:161: /export/home/newman/ws/oi-userland/components/sysutils/virtualbox/build/.install_additions] Error 1

$ find . -name VBoxOGL.so
./build/amd64/out/solaris.amd64/release/bin/additions/VBoxOGL.so
./build/amd64/out/solaris.amd64/release/obj/VBoxOGL/VBoxOGL.so
./build/prototype/i386/usr/lib/amd64/VBoxOGL.so

Maybe I miss some 32-bit dependency?

History

#1

Updated by Michal Nowak 6 months ago

The original fail happens in zone. Though, it fails for me in global zone under Linux KVM as well.

#2

Updated by Michal Nowak 6 months ago

Works as expected for the publish target.

Following change seems to make the build happy for sample-manifest:

diff --git a/make-rules/ips.mk b/make-rules/ips.mk
index 49fc99143..a648275f0 100644
--- a/make-rules/ips.mk
+++ b/make-rules/ips.mk
@@ -247,7 +247,7 @@ publish:            pre-publish $(PUBLISH_STAMP)

 sample-manifest:       $(GENERATED).p5m

-$(GENERATED).p5m:      install
+$(GENERATED).p5m:      build install
        [ ! -d $(SAMPLE_MANIFEST_DIR) ] && $(MKDIR) $(SAMPLE_MANIFEST_DIR) || true
        $(PKGSEND) generate $(PKG_HARDLINKS:%=--target %) $(PROTO_DIR) | \
        $(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 $(GENERATE_TRANSFORMS) | \

Also available in: Atom PDF