Hi,

> If you're inteersted in firefox than upgrading it to some recent firefox 
> release
> should be the first step.

OK, I get it. Thank you for your reply.


Best regards
Lei

> -----Original Message-----
> From: Martin Jansa <martin.ja...@gmail.com>
> Sent: Wednesday, July 31, 2024 4:42 PM
> To: yocto@lists.yoctoproject.org; Lei, Maohui 
> <leimao...@fujitsu.com>
> Cc: e...@eukrea.com; m...@igalia.com; Otavio Salvador
> (ota...@ossystems.com.br) <ota...@ossystems.com.br>
> Subject: Re: [yocto] [meta-browser] firefox build failed
> 
> Hi,
> 
> please see:
> https://github.com/OSSystems/meta-browser/pull/822
> https://github.com/webdino/meta-browser/issues/2
> 
> firefox wasn't updated in https://github.com/OSSystems/meta-browser
> for many years as you can see in:
> https://github.com/OSSystems/meta-browser/commits/master/meta-firefox
> and it's known not to build anymore as mentioned in second to last commit
> in meta-firefox:
> https://github.com/OSSystems/meta-browser/commit/3b4aeda5e672656cd
> 209e56b09a60bfff57e9139
> 
> If you're inteersted in firefox than upgrading it to some recent firefox 
> release
> should be the first step.
> 
> Current ESR releases are 115 and 128.
> 
> The 68 in meta-browser from 2019 is EOL for very long time and wasn't
> updated since 2020 https://hg.mozilla.org/releases/comm-esr68/.
> 
> Regards,
> 
> On Wed, Jul 31, 2024 at 10:31 AM leimaohui via lists.yoctoproject.org
> <leimaohui=fujitsu....@lists.yoctoproject.org> wrote:
> >
> > Hi,
> >
> >
> > Hi, all
> >
> > I tried to build firefox with meta-browser, but I met build error like the
> following. I wonder if there is any patch?
> >
> > 1:47.31 error: proc-macro derive panicked
> >  1:47.31    -->
> /usr/src/debug/firefox/68.9.0esr-r0/firefox-68.9.0/third_party/rust/cssparse
> r/src/color.rs:227:31
> >  1:47.31     |
> >  1:47.31 227 |                   let degrees = match_ignore_ascii_case!
> { &*unit,
> >  1:47.31     |  _______________________________^
> >  1:47.31 228 | |                     "deg" => v,
> >  1:47.31 229 | |                     "grad" => v * 360. / 400.,
> >  1:47.31 230 | |                     "rad" => v * 360. / (2. * PI),
> >  1:47.31 231 | |                     "turn" => v * 360.,
> >  1:47.31 232 | |                     _ => return
> Err(location.new_unexpected_token_error(Token::Ident(unit.clone()))),
> >  1:47.31 233 | |                 };
> >  1:47.31     | |_________________^
> >  1:47.31     |
> >  1:47.31     = help: message: expected suffix ").0," not found in
> "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{\n    Input
> =\n    (0, stringify!\n    (\"deg\" => v, \"grad\" => v * 360. / 400., \"rad\"
> => v * 360. / (2. * PI),\n    \"turn\" => v * 360., _ => return\n
> Err(location.new_unexpected_token_error(Token ::\n
> Ident(unit.clone()))),)).0\n}"
> >  1:47.31     = note: this error originates in the macro
> `cssparser_internal__invoke_proc_macro` which comes from the expansion
> of the macro `match_ignore_ascii_case` (in Nightly builds, run with -Z
> macro-backtrace for more info)
> >  1:47.31 error: proc-macro derive panicked
> >  1:47.31    -->
> /usr/src/debug/firefox/68.9.0esr-r0/firefox-68.9.0/third_party/rust/cssparse
> r/src/color.rs:371:5
> >  1:47.31     |
> >  1:47.31 371 | /     ascii_case_insensitive_phf_map! {
> > ......
> > 1:47.38 error[E0425]: cannot find value `MAX_LENGTH` in this scope
> >  1:47.38    -->
> /usr/src/debug/firefox/68.9.0esr-r0/firefox-68.9.0/third_party/rust/cssparse
> r/src/macros.rs:44:59
> >  1:47.38     |
> >  1:47.38 44  |
> cssparser_internal__to_lowercase!($input, MAX_LENGTH => lowercase);
> >  1:47.38     |
> ^^^^^^^^^^ not found in this scope
> >  1:47.38     |
> >  1:47.38    :::
> /usr/src/debug/firefox/68.9.0esr-r0/firefox-68.9.0/third_party/rust/cssparse
> r/src/color.rs:227:31
> >  1:47.38     |
> >  1:47.38 227 |                   let degrees = match_ignore_ascii_case!
> { &*unit,
> >  1:47.38     |  _______________________________-
> >  1:47.38 228 | |                     "deg" => v,
> >  1:47.38 229 | |                     "grad" => v * 360. / 400.,
> >  1:47.38 230 | |                     "rad" => v * 360. / (2. * PI),
> >  1:47.38 231 | |                     "turn" => v * 360.,
> >  1:47.38 232 | |                     _ => return
> Err(location.new_unexpected_token_error(Token::Ident(unit.clone()))),
> >  1:47.38 233 | |                 };
> >  1:47.38     | |_________________- in this macro invocation
> >  1:47.38     |
> >  1:47.38     = note: this error originates in the macro
> `match_ignore_ascii_case` (in Nightly builds, run with -Z macro-backtrace for
> more info)
> >  1:47.38 error[E0425]: cannot find value `MAX_LENGTH` in this scope
> >  1:47.38    -->
> /usr/src/debug/firefox/68.9.0esr-r0/firefox-68.9.0/third_party/rust/cssparse
> r/src/macros.rs:95:58
> >  1:47.38     |
> >  1:47.39 95  |                   cssparser_internal__to_low
> > ......
> > 1:47.91 error: could not compile `cssparser` (lib) due to 14 previous
> > errors
> >  1:47.91 warning: build failed, waiting for other jobs to finish...
> >  1:47.99 In file included from
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/firefox-build
> -dir/js/src/Unified_cpp_js_src11.cpp:2:
> >  1:47.99 In file included from
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/vm/A
> rgumentsObject.cpp:7:
> >  1:47.99 In file included from
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/vm/A
> rgumentsObject-inl.h:10:
> >  1:47.99 In file included from
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/vm/A
> rgumentsObject.h:12:
> >  1:47.99 In file included from
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/gc/Ba
> rrier.h:13:
> >  1:47.99
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/gc/St
> oreBuffer.h:384:19: warning: anonymous non-C-compatible type given name
> for linkage purposes by typedef declaration; add a tag name here
> [-Wnon-c-typedef-for-linkage]
> >  1:48.00   384 |     typedef struct {
> >  1:48.00       |                   ^
> >  1:48.00       |                    Hasher
> >  1:48.00
> /ubinux-dev/ubinux001/build-ubinux/ubinux-202406/poky/build-test-firefox
> /tmp/work/core2-64-poky-linux/firefox/68.9.0esr/firefox-68.9.0/js/src/gc/St
> oreBuffer.h:385:7: note: type is not C-compatible due to this member
> declaration
> >  1:48.00   385 |       typedef SlotsEdge Lookup;
> >  1:48.00       |       ^~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Best regards
> > lei
> >
> > 
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63637): https://lists.yoctoproject.org/g/yocto/message/63637
Mute This Topic: https://lists.yoctoproject.org/mt/107642867/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to