Solved mail/thunderbird fails to build

Upgrading to thunderbird-52.3.0 failed with:
Code:
env CARGO_TARGET_DIR=. RUSTC=/usr/local/bin/rustc /usr/local/bin/cargo build --release --frozen --manifest-path /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/toolkit/library/gtest/rust/Cargo.toml --target=x86_64-unknown-freebsd --verbose --
error: failed to load source for a dependency on `mp4parse_capi`

Caused by:
  Unable to update file:///usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/media/libstagefright/binding/mp4parse_capi

Caused by:
  failed to parse manifest at `/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/media/libstagefright/binding/mp4parse_capi/Cargo.toml`

Caused by:
  could not parse input as TOML

Caused by:
  duplicate key: `build` for key `package`
gmake[6]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/rules.mk:940: force-cargo-build] Error 101
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/toolkit/library/gtest/rust'
gmake[5]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/recurse.mk:71: toolkit/library/gtest/rust/target] Error 2
gmake[5]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/mozglue/misc'
libplugin-container.a.desc
rm -f libplugin-container.a
/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/_virtualenv/bin/python /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/expandlibs_gen.py -o libplugin-container.a.desc plugin-container.o  
libeditline.a.desc
rm -f libeditline.a
/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/_virtualenv/bin/python /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/expandlibs_gen.py -o libeditline.a.desc Unified_c_js_src_editline0.o  
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/ipc/contentproc'
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/js/src/editline'
3 warnings generated.
libmfbt.a.desc
rm -f libmfbt.a
/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/_virtualenv/bin/python /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/expandlibs_gen.py -o libmfbt.a.desc Compression.o Decimal.o Unified_cpp_mfbt0.o Unified_cpp_mfbt1.o  
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/mfbt'
libmemory_jemalloc.a
rm -f libmemory_jemalloc.a libmemory_jemalloc.a.desc
/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/_virtualenv/bin/python /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/expandlibs_exec.py --extract -- ar crs libmemory_jemalloc.a ctl.o Unified_c_memory_jemalloc0.o Unified_c_memory_jemalloc1.o  
libmemory_jemalloc.a.desc
/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/_virtualenv/bin/python /usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/expandlibs_gen.py -o libmemory_jemalloc.a.desc ctl.o Unified_c_memory_jemalloc0.o Unified_c_memory_jemalloc1.o  
../../config/nsinstall -R -m 644 'libmemory_jemalloc.a' '../../dist/sdk/lib'
gmake[6]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3/memory/jemalloc'
gmake[5]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3'
gmake[4]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/recurse.mk:33: compile] Error 2
gmake[4]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3'
gmake[3]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/mozilla/config/rules.mk:523: default] Error 2
gmake[3]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/obj-x86_64-unknown-freebsd10.3'
gmake[2]: *** [/usr/ports/mail/thunderbird/work/thunderbird-52.3.0/client.mk:397: build] Error 2
gmake[2]: Leaving directory '/usr/ports/mail/thunderbird/work/thunderbird-52.3.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/thunderbird
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/thunderbird
 
Back
Top