2019/07/04

2019Q1のpkgsrcにあるmail/thunderbirdがビルド出来なかった

dynabook SS SX/15AにNetBSD/i386を入れて利用しています。2019Q1のpkgsrcからアプリケーションを入れていますが、firefoxやthunderbirdが見当たりません。見当たらなければ自前でビルドすれば良いのですが、このマシンでビルドするのは躊躇します(トラブルを抱えているので)。そこでWindows10のデスクトップPCに入れてあるVirtualBoxでNetBSD/i386の環境を用意して、そこでビルドさせ、出来上がったパッケージをdynabookにインストールさせることにしようと思います。

時間はかかりましたが、firefoxはビルド完了しました。つぎにthunderbirdをビルドしようとしたら、途中でエラーになります。ビルドを行っているVirutalBoxでのNetBSD/i386環境は、このビルドのために新規に準備したので、何かに使っていたものを流用した訳ではありません。何か悪さをするような設定が紛れ込んでいるとも思えません。

何かする度に、いちいちトラブルが起きると、正直なところブルーになります。しかしあまり目くじらを立てず、回避策を探りながら、前に進んでいこうと思います。今回のthunderbirdのトラブルであれば、pkgsrcに入っているmail/thunderbirdのビルドを諦め、mail/thunderbird52にしておくつもりです。将来的にビルド出来るようになった時点で入れ換えれば良いでしょう。

ちなみにエラーは以下のようになりました。rustでコンパイルしていてエラーが出たようですが、どこに問題があるのか、よく分かりません。
gmake[3]: Entering directory '/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/rust'
force-cargo-library-build
env   RUSTFLAGS='-C opt-level=2 -C debuginfo=2 '  CARGO_TARGET_DIR=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library RUSTC=/usr/pkg/bin/rustc MOZ_SRC=/usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0 MOZ_DIST=/usr/pkgsrc/mail/thunderbird/work/build/dist LIBCLANG_PATH="/usr/pkg/lib" CLANG_PATH="/usr/pkg/bin/clang" PKG_CONFIG_ALLOW_CROSS=1 RUST_BACKTRACE=full MOZ_TOPOBJDIR=/usr/pkgsrc/mail/thunderbird/work/build  MOZ_CARGO_WRAP_LDFLAGS="-lpthread -Wl,-R/usr/pkg/lib/thunderbird -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss -Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib/ffmpeg3 -Wl,-R/usr/pkg/lib/ffmpeg3 -Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro -Wl,--build-id -Wl,-rpath-link,/usr/pkgsrc/mail/thunderbird/work/build/dist/bin -Wl,-rpath-link,/usr/pkg/lib" MOZ_CARGO_WRAP_LD=" /usr/pkgsrc/mail/thunderbird/work/.cwrapper/bin/gcc" CARGO_TARGET_I686_UNKNOWN_NETBSD_LINKER=/usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0/build/cargo-linker /usr/pkg/bin/cargo rustc  --release --frozen --manifest-path /usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0/toolkit/library/rust/Cargo.toml --lib --target=i686-unknown-netbsd --features "servo bindgen no-static-ideograph-encoder-tables" --  -C lto
   Compiling style v0.0.1 (/usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0/servo/components/style)
*SNIP*
error: Could not compile `style`.

Caused by:
  process didn't exit successfully: `/usr/pkg/bin/rustc --crate-name style servo/components/style/lib.rs --color always --crate-type lib --emit=dep-info,link -C opt-level=2 -C panic=abort -C codegen-units=1 --cfg 'feature="bindgen"' --cfg 'feature="fallible"' --cfg 'feature="gecko"' --cfg 'feature="nsstring"' --cfg 'feature="num_cpus"' --cfg 'feature="regex"' --cfg 'feature="style_traits"' --cfg 'feature="toml"' --cfg 'feature="use_bindgen"' -C metadata=3dd65ce82fc4dde6 -C extra-filename=-3dd65ce82fc4dde6 --out-dir /usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps --target i686-unknown-netbsd -C linker=/usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0/build/cargo-linker -L dependency=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps -L dependency=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/release/deps --extern app_units=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libapp_units-da574cb12c28d9cd.rlib --extern arrayvec=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libarrayvec-3f0ae2a1cbb8b928.rlib --extern atomic_refcell=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libatomic_refcell-2c02c83fd56d72be.rlib --extern bitflags=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libbitflags-e30e2e63b9a0396a.rlib --extern byteorder=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libbyteorder-d963b5ade0afeea3.rlib --extern cfg_if=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libcfg_if-f04f8382a089c533.rlib --extern cssparser=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libcssparser-1d1d460599be87ea.rlib --extern debug_unreachable=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libdebug_unreachable-9c6bb40bc842974f.rlib --extern euclid=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libeuclid-c4447169ee09badf.rlib --extern fallible=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libfallible-ec595b9f4d32a4fa.rlib --extern fnv=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libfnv-3f989a49edc433f0.rlib --extern hashglobe=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libhashglobe-c285347a04132acc.rlib --extern itertools=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libitertools-8eb8b117a5b27f08.rlib --extern itoa=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libitoa-ac44e7b9828c2cfe.rlib --extern lazy_static=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/liblazy_static-4c69850d0fd93cdd.rlib --extern log=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/liblog-e1d7af40a5fcd3a1.rlib --extern malloc_size_of=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libmalloc_size_of-a638ddfd05e3ac38.rlib --extern malloc_size_of_derive=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/release/deps/libmalloc_size_of_derive-8090b337720cdb8a.so --extern matches=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libmatches-dc9cee8466d7a354.rlib --extern nsstring=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libnsstring-7d9f06a91bb14003.rlib --extern num_integer=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libnum_integer-f7fbda8d8f37adfe.rlib --extern num_traits=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libnum_traits-1fce81085741a140.rlib --extern num_cpus=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libnum_cpus-7f75b9b0a3e8cea3.rlib --extern ordered_float=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libordered_float-72bb28fb42dd7eac.rlib --extern owning_ref=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libowning_ref-191d7e2d9d89ed5f.rlib --extern parking_lot=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libparking_lot-f9ca691333475cf8.rlib --extern precomputed_hash=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libprecomputed_hash-b1f62c54e141bc6c.rlib --extern rayon=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/librayon-f0328a9a16dbfb4e.rlib --extern selectors=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libselectors-b3f6cbe84f95a451.rlib --extern servo_arc=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libservo_arc-b5bf77ee0d81f7da.rlib --extern smallbitvec=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libsmallbitvec-1ef4cf7dd3ee1cfc.rlib --extern smallvec=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libsmallvec-987ea7aad8e4fd03.rlib --extern style_derive=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/release/deps/libstyle_derive-f921523a66ebcc9e.so --extern style_traits=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libstyle_traits-731f77275c5dc178.rlib --extern time=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libtime-42d9c60476bf39e7.rlib --extern uluru=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libuluru-b831f88c4c673a8c.rlib --extern unicode_bidi=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libunicode_bidi-797219c7deb9a8f1.rlib --extern unicode_segmentation=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libunicode_segmentation-ff9ac4948ee07429.rlib --extern void=/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/i686-unknown-netbsd/release/deps/libvoid-c7677eeb3cc69e94.rlib -C opt-level=2 -C debuginfo=2` (signal: 9, SIGKILL: kill)
gmake[3]: *** [/usr/pkgsrc/mail/thunderbird/work/thunderbird-60.6.0/config/rules.mk:979: force-cargo-library-build] Error 101
gmake[3]: Leaving directory '/usr/pkgsrc/mail/thunderbird/work/build/toolkit/library/rust'

0 件のコメント:

コメントを投稿