#Failing to emerge alvr

1 messages · Page 1 of 1 (latest)

quiet umbra
#

Gentoo Linux, desktop profile

dev-libs/openssl-3.4.3:0/3::gentoo  USE="asm quic static-libs -fips -ktls -rfc3779 -sctp -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB

[ebuild  N    ~] media-libs/alvr-16.0.0::guru  USE="server vaapi vulkan x264 x265 -client -debug" 0 KiB

error:

 cargo:warning=build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
  cargo:warning=    4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v
  cargo:warning=      |                        ^~~~~~~~~~~~~
  cargo:warning=build/expando.c:5:23: note: in expansion of macro ‘VERSION2’
  cargo:warning=    5 | #define VERSION(n, v) VERSION2(n, v)
  cargo:warning=      |                       ^~~~~~~~
  cargo:warning=build/expando.c:10:1: note: in expansion of macro ‘VERSION’
  cargo:warning=   10 | VERSION(OPENSSL, OPENSSL_VERSION_NUMBER)
  cargo:warning=      | ^~~~~~~
  exit status: 1

  --- stderr

  thread 'main' panicked at /var/tmp/portage/media-libs/alvr-16.0.0/work/cargo_home/gentoo/openssl-sys-0.9.63/build/main.rs:147:13:

  Header expansion error:
  Error { kind: ToolExecError, message: "Command \"x86_64-pc-linux-gnu-gcc\" \"-O3\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-m64\" \"-O2\" \"-pipe\" \"-march=native\" \"-I\" \"/usr/include\" \"-E\" \"build/expando.c\" with args \"x86_64-pc-linux-gnu-gcc\" did not execute successfully (status code exit status: 1)." }

  Failed to find OpenSSL development headers.

ls -l /usr/include/openssl/ssl.h 
-rw-r--r-- 1 root root 136118 Oct  7 17:10 /usr/include/openssl/ssl.h
wild coral
#

ALVR 16.0.0 is very old, I think you should try to update the ebuild or build manually from source.