Build issue on Mozilla Thunderbird
Hello everyone, 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? This is where I build it: https://build.opensuse.org/package/show/home:ImBearChild:branches:openSUSE:F... Thanks in advance.
On Mon, Feb 21, 2022 at 8:48 AM Nianqing Yao <imbearchild@outlook.com> wrote:
Hello everyone,
I'm trying to fix Mozilla Thunderbird on RISC-V. When building cargo dependencies, cargo tells me these:
does it has this patch included ? https://github.com/mozilla/authenticator-rs/pull/152/commits/eed8919d50559f4...
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."
On 21:23:55 CST, Monday, 21 February 2022, Andreas Schwab wrote:
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.
It's good to see that. One more question: Is there anything that I can do for openSUSE's RISC-V port or package I can try to fix? In case of someone is working on the same package as me. Thanks in advance :D
participants (3)
-
Andreas Schwab
-
Cristian Rodríguez
-
Nianqing Yao