On Feb 21 2022, Nianqing Yao wrote:
I'm trying to fix Mozilla Thunderbird on RISC-V. When building cargo dependencies, cargo tells me these:
error[E0432]: unresolved imports `super::hidwrapper::_HIDIOCGRDESC`, `super::hidwrapper::_HIDIOCGRDESCSIZE` --> /home/abuild/rpmbuild/BUILD/thunderbird-91.6.1/third_party/rust/authenticator/src/linux/hidraw.rs:11:25 | 11 | use super::hidwrapper::{_HIDIOCGRDESC, _HIDIOCGRDESCSIZE}; | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ no `_HIDIOCGRDESCSIZE` in `platform::hidwrapper` | | | no `_HIDIOCGRDESC` in `platform::hidwrapper`
But this error never occurred on other platform like amd64. Could anyone give me some suggestion?
The included rust libraries are way out of date, see https://build.opensuse.org/package/view_file/home:Andreas_Schwab:riscv:mozil... for a patch. But the next roadblock will be xpcom which needs porting to RISC-V. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."