thunderbird build error

George Mitchell george+freebsd at m5p.com
Sat Dec 15 18:11:15 UTC 2018


I recently updated my port build machine to 11.2-RELEASE.  I'm in the
process of recompiling my (previously) 10.4-based ports to 11.2, and
perhaps I shouldn't be trying to do this incrementally.  But the build
for thunderbird fails at ports revision 487523 with MAKE_JOBS_UNSAFE in
/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust
thus:

gmake[1]: Entering directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
gmake[1]: Nothing to be done for 'pre-export'.
gmake[1]: Leaving directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
gmake[1]: Entering directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
gmake[1]: Nothing to be done for 'export'.
gmake[1]: Leaving directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
gmake[1]: Entering directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
force-cargo-library-build
env   RUSTC_BOOTSTRAP=1 RUSTFLAGS='-C opt-level=2 '
CARGO_TARGET_DIR=/usr/ports/mail/thunderbird/work/.build/toolkit/library
RUSTC=/usr/local/bin/rustc
MOZ_SRC=/usr/ports/mail/thunderbird/work/thunderbird-60.4.0
MOZ_DIST=/usr/ports/mail/thunderbird/work/.build/di
st LIBCLANG_PATH="/usr/local/llvm70/lib"
CLANG_PATH="/usr/local/llvm70/bin/clang" PKG_CONFIG_ALLOW_CROSS=1
RUST_BACKTRACE=full
MOZ_TOPOBJDIR=/usr/ports/mail/thunderbird/work/.build
MOZ_CARGO_WRAP_LDFLAGS="-pthread -Wl,--as-needed -B/usr/local/bin
-Wl,-z,noexecsta
ck -Wl,-z,text -Wl,-z,relro -Wl,--build-id
-Wl,-rpath-link,/usr/ports/mail/thunderbird/work/.build/dist/bin
-Wl,-rpath-link,/usr/local/lib" MOZ_CARGO_WRAP_LD="
/usr/local/bin/clang70 -std=gnu99"
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=/usr/ports/mail/thunderbir
d/work/thunderbird-60.4.0/build/cargo-linker /usr/local/bin/cargo rustc
--release --frozen --manifest-path
/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/toolkit/library/rust/Cargo.toml
--lib --target=x86_64-unknown-freebsd --features "servo bindgen quantum_
render simd-accel no-static-ideograph-encoder-tables" --  -C lto
   Compiling style v0.0.1
(/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/servo/components/style)

d-script-build` (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:out_dir=/usr/ports/mail/thunderbird/work/.build/toolkit/library/x86_64-unknown-freebsd/release/build/style-0c712cf90ff81f55/out
cargo:rerun-if-changed=properties/properties.mako.rs
cargo:rerun-if-changed=properties/Mako-0.9.1.zip
cargo:rerun-if-changed=properties/computed_value_flags.rs
cargo:rerun-if-changed=properties/gecko.mako.rs
cargo:rerun-if-changed=properties/helpers/animated_properties.mako.rs
cargo:rerun-if-changed=properties/data.py
cargo:rerun-if-changed=properties/helpers.mako.rs
cargo:rerun-if-changed=properties/shorthand/border.mako.rs
cargo:rerun-if-changed=properties/shorthand/margin.mako.rs
cargo:rerun-if-changed=properties/shorthand/serialize.mako.rs
cargo:rerun-if-changed=properties/shorthand/mask.mako.rs
cargo:rerun-if-changed=properties/shorthand/background.mako.rs
cargo:rerun-if-changed=properties/shorthand/column.mako.rs
cargo:rerun-if-changed=properties/shorthand/font.mako.rs
cargo:rerun-if-changed=properties/shorthand/inherited_text.mako.rs
cargo:rerun-if-changed=properties/shorthand/text.mako.rs
cargo:rerun-if-changed=properties/shorthand/box.mako.rs
cargo:rerun-if-changed=properties/shorthand/inherited_svg.mako.rs
cargo:rerun-if-changed=properties/shorthand/padding.mako.rs
cargo:rerun-if-changed=properties/shorthand/outline.mako.rs
cargo:rerun-if-changed=properties/shorthand/list.mako.rs
cargo:rerun-if-changed=properties/shorthand/position.mako.rs
cargo:rerun-if-changed=properties/declaration_block.rs
cargo:rerun-if-changed=properties/properties.html.mako
cargo:rerun-if-changed=properties/longhand/border.mako.rs
cargo:rerun-if-changed=properties/longhand/margin.mako.rs
cargo:rerun-if-changed=properties/longhand/pointing.mako.rs
cargo:rerun-if-changed=properties/longhand/background.mako.rs
cargo:rerun-if-changed=properties/longhand/counters.mako.rs
cargo:rerun-if-changed=properties/longhand/column.mako.rs
cargo:rerun-if-changed=properties/longhand/font.mako.rs
cargo:rerun-if-changed=properties/longhand/inherited_text.mako.rs
cargo:rerun-if-changed=properties/longhand/inherited_box.mako.rs
cargo:rerun-if-changed=properties/longhand/text.mako.rs
cargo:rerun-if-changed=properties/longhand/box.mako.rs
cargo:rerun-if-changed=properties/longhand/svg.mako.rs
cargo:rerun-if-changed=properties/longhand/inherited_svg.mako.rs
cargo:rerun-if-changed=properties/longhand/padding.mako.rs
cargo:rerun-if-changed=properties/longhand/outline.mako.rs
cargo:rerun-if-changed=properties/longhand/color.mako.rs
cargo:rerun-if-changed=properties/longhand/list.mako.rs
cargo:rerun-if-changed=properties/longhand/table.mako.rs
cargo:rerun-if-changed=properties/longhand/position.mako.rs
cargo:rerun-if-changed=properties/longhand/inherited_table.mako.rs
cargo:rerun-if-changed=properties/longhand/ui.mako.rs
cargo:rerun-if-changed=properties/longhand/xul.mako.rs
cargo:rerun-if-changed=properties/longhand/effects.mako.rs
cargo:rerun-if-changed=properties/build.py
cargo:rerun-if-changed=build_gecko.rs
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/servo/components/style/gecko/regen_atoms.py
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/.build/dist/include/mozilla-config.h
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/layout/style/ServoBindings.toml
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/.build/dist/include/nsGkAtomList.h
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/.build/dist/include/nsCSSPseudoElementList.h
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/.build/dist/include/nsCSSAnonBoxList.h
/usr/ports/mail/thunderbird/work/.build/toolkit/library/x86_64-unknown-freebsd/release/build/style-0c712cf90ff81f55/out/gecko/atom_macro.rs
is not changed, skip
cargo:rerun-if-changed=/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/servo/components/style/gecko/pseudo_element_definition.mako.rs
/usr/ports/mail/thunderbird/work/.build/toolkit/library/x86_64-unknown-freebsd/release/build/style-0c712cf90ff81f55/out/gecko/pseudo_element_definition.rs
is not changed, skip

--- stderr
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err`
value: "QT_IM_MO\xA9\u{1}\x9C "', libcore/result.rs:1009:5
stack backtrace:
   0:          0x1260f9f -
std::sys::unix::backtrace::tracing::imp::unwind_backtrace::he08c7e0ce5e256db
                               at
libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:          0x126c69f -
std::sys_common::backtrace::print::ha832f87bddf1a394
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:          0x1266313 -
std::panicking::default_hook::{{closure}}::h9cfb7024de318d9d
                               at libstd/panicking.rs:211
   3:          0x1266085 - std::panicking::default_hook::hae81b1106bea91d7
                               at libstd/panicking.rs:227
   4:          0x12669e0 -
std::panicking::rust_panic_with_hook::he4118103f0f0e1ff
                               at libstd/panicking.rs:477
   5:          0x126659e -
std::panicking::continue_panic_fmt::hf5d11a87f546f093
                               at libstd/panicking.rs:391
   6:          0x1266498 - rust_begin_unwind
                               at libstd/panicking.rs:326
   7:          0x12afd79 - core::panicking::panic_fmt::h5ec346709f126af4
                               at libcore/panicking.rs:77
   8:          0x125135d - core::result::unwrap_failed::he764fe62effb9d96
                               at
/usr/ports/lang/rust/work/rustc-1.30.1-src/src/libcore/macros.rs:26
   9:          0x1263446 - <std::env::Vars as
core::iter::iterator::Iterator>::next::he7090f8a4c0f2ee2
                               at
/usr/ports/lang/rust/work/rustc-1.30.1-src/src/libcore/result.rs:808
                               at libstd/env.rs:161
                               at
/usr/ports/lang/rust/work/rustc-1.30.1-src/src/libcore/option.rs:414
                               at libstd/env.rs:160
  10:          0x105551b -
std::sync::once::Once::call_once::{{closure}}::h327f3c7379fb98c3
  11:          0x1251f20 -
std::sync::once::Once::call_inner::h845dd186cbf20cc2
                               at libstd/sync/once.rs:396
  12:          0x1061c7d -
build_script_build::build_gecko::bindings::add_clang_args::he6c4da4bddcb9054
  13:          0x1062f38 - <bindgen::Builder as
build_script_build::build_gecko::bindings::BuilderExt>::get_initial_builder::h1ea21f8966cbac35
  14:          0x1065ec8 -
build_script_build::build_gecko::bindings::generate_structs::he9008f3f46a21a92
  15:          0x12779ce - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:103
  16:          0x105c1b5 - <F as
alloc::boxed::FnBox<A>>::call_box::h7553e24ee09be718
  17:          0x12640a7 -
std::sys_common::thread::start_thread::he9f7521838d27f61
                               at
/usr/ports/lang/rust/work/rustc-1.30.1-src/src/liballoc/boxed.rs:656
                               at libstd/sys_common/thread.rs:24
  18:          0x12527f8 -
std::sys::unix::thread::Thread::new::thread_start::h6daccabaa09024b2
                               at libstd/sys/unix/thread.rs:90
  19:        0x801b57c05 - pthread_create
                               at
/usr/src/lib/libthr/thread/thr_create.c:289
  20:                0x0 - <unknown>
thread 'thread '<unnamed>main' panicked at '' panicked at 'Once instance
has previously been poisonedcalled `Result::unwrap()` on an `Err` value:
Any', ', libstd/sync/once.rslibcore/result.rs::3711009::215

stack backtrace:
   0:          0x1260f9f -
std::sys::unix::backtrace::tracing::imp::unwind_backtrace::he08c7e0ce5e256db
                               at
libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:          0x126c69f -
std::sys_common::backtrace::print::ha832f87bddf1a394
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:          0x1266313 -
std::panicking::default_hook::{{closure}}::h9cfb7024de318d9d
                               at libstd/panicking.rs:211
   3:          0x1266085 - std::panicking::default_hook::hae81b1106bea91d7
                               at libstd/panicking.rs:227
   4:          0x12669e0 -
std::panicking::rust_panic_with_hook::he4118103f0f0e1ff
                               at libstd/panicking.rs:477
   5:          0x12667d7 - std::panicking::begin_panic::h345c60a3cbf7e6de
                               at libstd/panicking.rs:411
   6:          0x1251f81 -
std::sync::once::Once::call_inner::h845dd186cbf20cc2
                               at libstd/sync/once.rs:371
   7:          0x1061c7d -
build_script_build::build_gecko::bindings::add_clang_args::he6c4da4bddcb9054
   8:          0x1062f38 - <bindgen::Builder as
build_script_build::build_gecko::bindings::BuilderExt>::get_initial_builder::h1ea21f8966cbac35
   9:          0x1069e78 -
build_script_build::build_gecko::bindings::generate_bindings::h8c520c0fb891d312
  10:          0x12779ce - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:103
  11:          0x105c325 - <F as
alloc::boxed::FnBox<A>>::call_box::hf47d2db8842f2213
  12:          0x12640a7 -
std::sys_common::thread::start_thread::he9f7521838d27f61
                               at
/usr/ports/lang/rust/work/rustc-1.30.1-src/src/liballoc/boxed.rs:656
                               at libstd/sys_common/thread.rs:24
  13:          0x12527f8 -
std::sys::unix::thread::Thread::new::thread_start::h6daccabaa09024b2
                               at libstd/sys/unix/thread.rs:90
  14:        0x801b57c05 - pthread_create
                               at
/usr/src/lib/libthr/thread/thr_create.c:289
  15:                0x0 - <unknown>
stack backtrace:
   0:          0x1260f9f -
std::sys::unix::backtrace::tracing::imp::unwind_backtrace::he08c7e0ce5e256db
                               at
libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:          0x126c69f -
std::sys_common::backtrace::print::ha832f87bddf1a394
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:          0x1266313 -
std::panicking::default_hook::{{closure}}::h9cfb7024de318d9d
                               at libstd/panicking.rs:211
   3:          0x1266085 - std::panicking::default_hook::hae81b1106bea91d7
                               at libstd/panicking.rs:227
   4:          0x12669e0 -
std::panicking::rust_panic_with_hook::he4118103f0f0e1ff
                               at libstd/panicking.rs:477
   5:          0x126659e -
std::panicking::continue_panic_fmt::hf5d11a87f546f093
                               at libstd/panicking.rs:391
   6:          0x1266498 - rust_begin_unwind
                               at libstd/panicking.rs:326
   7:          0x12afd79 - core::panicking::panic_fmt::h5ec346709f126af4
                               at libcore/panicking.rs:77
   8:          0x105ba0f - core::result::unwrap_failed::h0d57f8735b5768d8
   9:          0x106f36c - build_script_build::main::hcce569c1f3f9d851
  10:          0x1055275 -
std::rt::lang_start::{{closure}}::h47ea3da148d67bc2
  11:          0x1266417 - std::panicking::try::do_call::hbd7b59ec43314b8d
                               at libstd/rt.rs:59
                               at libstd/panicking.rs:310
  12:          0x12779ce - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:103
  13:          0x1250857 - std::rt::lang_start_internal::h92bcd0f78651b8cb
                               at libstd/panicking.rs:289
                               at libstd/panic.rs:392
                               at libstd/rt.rs:58
  14:          0x106f85b - main
  15:          0x1053c84 - _start
  16:        0x801594fff - <unknown>

gmake[1]: ***
[/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/config/rules.mk:972:
force-cargo-library-build] Error 101
gmake[1]: Leaving directory
'/usr/ports/mail/thunderbird/work/.build/toolkit/library/rust'
gmake: ***
[/usr/ports/mail/thunderbird/work/thunderbird-60.4.0/config/rules.mk:434:
default] Error 2

It's my ambition to once again try to fire up poudriere on this
machine (I increased its memory from 8GB to 32GB) for this very
purpose, but in following the instructions from the FreeBSD handbook,
the command "poudriere ports -c -p local" results in:

[00:00:00] Creating local fs at /zfs/zfs1/poudriere/ports/local... done
[00:00:01] Extracting portstree "local"...
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching public key from your-org.portsnap.freebsd.org... done.
Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Fri Dec 14 19:06:25 EST 2018:
ed4dff70be4d9db3d85445d9f2008d371cc0017a68fbc7100% of   86 MB 6978 kBps
00m13s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Fri Dec 14 19:06:25 EST 2018 to Sat Dec 15 12:19:24 EST 2018.
Fetching 5 metadata patches. done.
Applying metadata patches... done.
Fetching 5 metadata files... /usr/sbin/portsnap: cannot open
55ecd2f16e1851ab5c9428957cff96127ea680d20738995349521c804784cb1c.gz: No
such file or directory
metadata is corrupt.
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Fri Dec 14 19:06:25 EST 2018 to Sat Dec 15 12:19:24 EST 2018.
Fetching 5 metadata patches. done.
Applying metadata patches... done.
Fetching 5 metadata files... /usr/sbin/portsnap: cannot open
55ecd2f16e1851ab5c9428957cff96127ea680d20738995349521c804784cb1c.gz: No
such file or directory
metadata is corrupt.
[00:00:57] Error:  fail
[00:00:57] Error while creating ports tree, cleaning up.

Any clues about what's going on with either problem?        -- George

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20181215/ab49d41f/attachment.sig>


More information about the freebsd-ports mailing list