トップ «前の日(05-24) 最新 次の日(05-26)» 追記

Masa's blog

検索キーワード:

2019年05月25日 Build of firefox-67.0 on Slackware64-14.2

_ Slackware64-14.2でのfirefox-67.0のビルド

.mozconfig

export LDFLAGS="-latomic"
. $topsrcdir/browser/config/mozconfig
ac_add_options --enable-optimize
ac_add_options --enable-default-toolkit=cairo-gtk3
ac_add_options --disable-debug
ac_add_options --disable-tests

ビルドの実行

$ PATH="/home/m-ito/.cargo/bin:/usr/local/autoconf-2.13/bin:${PATH}"; export PATH
$ export LANG=C; export LC_ALL=C
$ ./mach build && ./mach build package

えっと、エラー発生... :(

0:05.92 checking cbindgen version...
0:05.92 DEBUG: Executing: `/home/m-ito/.cargo/bin/cbindgen --version`
0:05.92 ERROR: cbindgen version 0.7.1 is too old. At least version 0.8.2 is required.
0:05.92 Please update using 'cargo install cbindgen --force' or running
0:05.92 './mach bootstrap', after removing the existing executable located at
0:05.92 /home/m-ito/.cargo/bin/cbindgen.
0:05.99 *** Fix above errors and then restart with\
0:05.99                "./mach build"
0:05.99 client.mk:111: recipe for target 'configure' failed
0:05.99 gmake: *** [configure] Error 1

以下のコマンドでcbindgenを再インストールし、エラーを回避。

$ cargo install cbindgen --force

再度、ビルドの実行。

$ ./mach build && ./mach build package

別のエラー発生... :(

1:36.35 gfx/ipc
1:37.15 error[E0308]: mismatched types
1:37.15    --> servo/components/style/gecko/conversions.rs:713:64
1:37.15     |
1:37.15 713 |                     GenericBasicShape::Inset(InsetRect { rect, round })
1:37.15     |                                                                ^^^^^ expected struct `values::generics::NonNegative`, found struct `values::computed::length::LengthPercentage`
1:37.15     |
1:37.15     = note: expected type `values::generics::border::GenericBorderRadius<values::generics::NonNegative<values::computed::length::LengthPercentage>>`
1:37.15                found type `values::generics::border::GenericBorderRadius<values::computed::length::LengthPercentage>`

... snip ...

2:23.85 error: aborting due to 45 previous errors
2:23.85 Some errors occurred: E0271, E0277, E0308.
2:23.85 For more information about an error, try `rustc --explain E0271`.
2:23.99 error: Could not compile `style`.
2:23.99 To learn more, run the command again with --verbose.
2:23.99 /home/m-ito/tmp/firefox-67.0/config/makefiles/rust.mk:213: recipe for target 'force-cargo-library-build' failed
2:23.99 gmake[4]: *** [force-cargo-library-build] Error 101
2:23.99 /home/m-ito/tmp/firefox-67.0/config/recurse.mk:74: recipe for target 'toolkit/library/rust/target' failed
2:23.99 gmake[3]: *** [toolkit/library/rust/target] Error 2
2:23.99 gmake[3]: *** Waiting for unfinished jobs....
2:39.69 /home/m-ito/tmp/firefox-67.0/config/recurse.mk:32: recipe for target 'compile' failed
2:39.69 gmake[2]: *** [compile] Error 2
2:39.69 /home/m-ito/tmp/firefox-67.0/config/rules.mk:400: recipe for target 'default' failed
2:39.69 gmake[1]: *** [default] Error 2
2:39.69 client.mk:125: recipe for target 'build' failed
2:39.69 gmake: *** [build] Error 2
2:39.74 150 compiler warnings present.

次のコマンドでrust関連を更新。

$ rustup update

再々度、ビルドの実行。

しかし、エラー回避できず... :(

調査続行中...