[oi-dev] problems publishing rust

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jun 24 17:39:00 UTC 2022


On 6/24/22 09:19, Friedrich Kink via oi-dev wrote:
> I'm making progress ;-). The only remaining problems I still have are:
> 
> builduser at userland:/usr/src/myoi-userland/components/developer/rust$ make 
> REQUIRED_PACKAGES
> 
> /usr/bin/python3.9 RESOLVE_DEPS= 
> /usr/src/myoi-userland/components/developer/rust/build/.resolved-i386
> /usr/bin/python3.9: can't open file 
> '/usr/share/src/myoi-userland/components/developer/rust/RESOLVE_DEPS=': [Errno 
> 2] No such file or directory
> make: *** [/usr/share/src/myoi-userland/make-rules/ips.mk:516: 
> REQUIRED_PACKAGES] Error 2
> 
> 
> builduser at userland:/usr/src/myoi-userland/components/developer/rust$ make publish
> /usr/bin/pkgdepend resolve -e 
> /usr/src/myoi-userland/components/developer/rust/build/resolve.deps -m 
> /usr/src/myoi-userland/components/developer/rust/build/manifest-i386-rustc.depend
> /usr/src/myoi-userland/components/developer/rust/build/manifest-i386-rustc.depend has 
> unresolved dependency '
>      depend type=require fmri=__TBD pkg.debug.depend.file=libLLVM-13.so \
> pkg.debug.depend.reason=usr/lib/librustc_driver-3267f80155f8cead.so \
>          pkg.debug.depend.type=elf \
>          pkg.debug.depend.path=lib/64 \
>          pkg.debug.depend.path=usr/gcc/7/lib/amd64 \
>          pkg.debug.depend.path=usr/lib \
>          pkg.debug.depend.path=usr/lib/64'.
> make: *** [/usr/share/src/myoi-userland/make-rules/ips.mk:503: 
> /usr/src/myoi-userland/components/developer/rust/build/.resolved-i386] Error 1
> builduser at userland:/usr/src/myoi-userland/components/developer/rust$

What that's telling you is that it can't find which IPS package to list
for the dependency on libLLVM-13.so - most commonly this means a missing
entry in the REQUIRED_PACKAGES list in the Userland Makefile - which the
first command should have resolved, but it seems to have failed for a
reason I don't recognize.  (It looks like it's missing the path to the
script to run, and I don't know why that would happen.)

	-alan-




More information about the oi-dev mailing list