You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to port firefox on riscv64, using glibc-2.32 and gcc-10.2.0 and python3.8 version on target board.
I followed the below procedure:-
1. $ curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs |](https://sh.rustup.rs%20%7C/) sh $ rustup default 1.63.0
2. $ git clone https://salsa.debian.org/mozilla-team/firefox.git -b debian/105.0-1 --depth=1
3. patch applied successfully:-
$ patch -Np1 -i 0001-Bug-1786638-Return-early-if-we-can-t-fetch-an-intern.patch
$ patch -Np1 -i firefox-riscv64-hack.patch
$ patch -Np1 -i makotokato-riscv64-support-and-zenithal-backported.patch
4. Building firefox by running:-
$ ./mach vendor rust --ignore-modified
During running " ./mach vendor rust --ignore-modified" , i am facing issue-
error: no such subcommand: `vet`
Did you mean `fmt`?
Error running mach:
['vendor', 'rust', '--ignore-modified']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file vendor| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
File "/home/root/Debian/firefox/firefox/python/mozbuild/mozbuild/vendor/mach_commands.py", line 200, in vendor_rust
ok = vendor_command.vendor(**kwargs)
File "/home/root/Debian/firefox/firefox/python/mozbuild/mozbuild/vendor/vendor_rust.py", line 761, in vendor
vet = json.loads(res.stdout)
File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
Can anyone suggest me where i am doing mistake.
T&R
Kush
The text was updated successfully, but these errors were encountered:
Hi all,
I want to port firefox on riscv64, using glibc-2.32 and gcc-10.2.0 and python3.8 version on target board.
I followed the below procedure:-
Can anyone suggest me where i am doing mistake.
T&R
Kush
The text was updated successfully, but these errors were encountered: