Hi all,

thanks a lot for hints you shared. My current status is: I've still exactly the same issue as mentioned below. But the build and install process is now running and finishing as expected. During the course of all the different tests I noticed another problem that despite the configuration rust still uses openssl 1.0. Some googleing revealed the right setting in the Makefile

COMPONENT_BUILD_ENV += OPENSSL_DIR=$(OPENSSL_PREFIX)

And now I noticed the following (just a snippet):

  = note: Undefinedfirst referenced
           symbol      in file
          TLS_client_method /usr/share/src/myoi-userland/components/developer/rust/build/amd64/build/x86_64-unknown-illumos/stage1-tools/x86_64-unknown-illumos/release/deps/libopenssl-75abf2b793675e5a.rlib(openssl-75abf2b793675e5a.openssl.c48c15bc-cgu.0.rcgu.o) (symbol belongs to implicit dependency /lib/amd64/libssl.so.1.1)           SSL_CTX_set_options /usr/share/src/myoi-userland/components/developer/rust/build/amd64/build/x86_64-unknown-illumos/stage1-tools/x86_64-unknown-illumos/release/deps/liblibgit2_sys-e659c9c7ebc90a26.rlib(openssl.o) (symbol belongs to implicit dependency /lib/amd64/libssl.so.1.1)

Why does the linking fail? It seems that the config is ok (when checking the output I can see ..." "-L" "/usr/openssl/1.1/lib" ... but also ..."-Wl,-Bstatic" ... which will not work because there is no static openssl lib. How can this be fixed (btw openssl 1.0 seems to work obviously).

Again any idea welcome.

thanks in advance,

  Fritz

Am 18.06.2022 um 15:49 schrieb Friedrich Kink via oi-dev:
Dear all,

I try to prepare new rustc package with current version 1.61.0. So far building and installing is already working. But publishing respectively make REQUIRED_PACKAGES immediately bails out with the following error message:

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

truss shows that make REQUIRED_PACKAGE really tries to open the file /usr/share/src/myoi-userland/components/developer/rust/RESOLVE_DEPS= Any idea what goes wrong here? To simplify things I just used sample manifest p5m file to exclude home made errors.

Any hints are welcome.

kind regards,

  Fritz


_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


_______________________________________________
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to