BlissOS / bug_reports

0 stars 0 forks source link

Stuck at mesa when building BlissOS 17 #23

Closed curioxide closed 5 months ago

curioxide commented 7 months ago

meson-log.txt Here's the meson log. My os is Ubuntu 23.10, this issue also happened before when I was building on 22.04 LTS.

electrikjesus commented 7 months ago

Can you please also grab the full build error from /out/build_error or error.log

curioxide commented 7 months ago

error.log build_error.log

curioxide commented 7 months ago

This may sound dumb but where should I edit if I want to change the rustc --target from x86-linux-android to i686-linux-android when compiling mesa? Since that it appeared at the bottom of the log.

hmtheboy154 commented 7 months ago

I forgot to add a note because this is just added recently

To prepare building for NVK, which has a Rust-compiler called NAK, I recommend remove any rust toolchain made by distro and straight up install rustup

https://www.rust-lang.org/tools/install

rustup can give you i686-linux-android and x86_64-linux-android , use it to build NAK

curioxide commented 7 months ago

Weird, I am using rustup and have added i686-linux-android and x86_64-linux-android. And I can build mesa outside bliss source code. Screenshot from 2024-04-09 21-24-58.png

curioxide commented 7 months ago

Issue solved, glodroid/aospext need to be on for_nvk branch but in manifest it is on main.

However there comes a new problem says ld.lld: error: src/nouveau/compiler/libnak_ir_proc.so is incompatible with elf_i386

I have installed all the dependencies as the manifest Readme and I am back on 22.04lts now.