pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mail/thunderbird 78.12 sp13 build failure




Hi,

While using wip/rust, 1.66.1 at the moment, thunderbird fails build as follows:
.....

   Compiling rental v0.5.5
Running `CARGO=/usr/pkg/bin/cargo CARGO_CRATE_NAME=rental CARGO_MANIFEST_DIR=/usr/pkgsrc/mail/thunderbird/work/thunderbird-78.12.0/third_party/rust/rental CARGO_PKG_AUTHORS='Jameson Ernst <jameson%jpernst.com@localhost>' CARGO_PKG_DESCRIPTION='A macro to generate safe self-referential structs, plus premade types for common use cases.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=rental CARGO_PKG_REPOSITORY='https://github.com/jpernst/rental' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.5.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/usr/pkgsrc/mail/thunderbird/work/build/release/deps:/usr/pkg/lib' /usr/pkg/bin/rustc --crate-name rental /usr/pkgsrc/mail/thunderbird/work/thunderbird-78.12.0/third_party/rust/rental/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ab3ea270891c6956 -C extra-filename=-ab3ea270891c6956 --out-dir /usr/pkgsrc/mail/thunderbird/work/build/x86_64-unknown-netbsd/release/deps --target x86_64-unknown-netbsd -C linker=/usr/pkgsrc/mail/thunderbird/work/thunderbird-78.12.0/build/cargo-linker -L dependency=/usr/pkgsrc/mail/thunderbird/work/build/x86_64-unknown-netbsd/release/deps -L dependency=/usr/pkgsrc/mail/thunderbird/work/build/release/deps --extern rental_impl=/usr/pkgsrc/mail/thunderbird/work/build/release/deps/librental_impl-b7044c048c27811b.so --extern stable_deref_trait=/usr/pkgsrc/mail/thunderbird/work/build/x86_64-unknown-netbsd/release/deps/libstable_deref_trait-dddefd3d1a08976b.rmeta --cap-lints warn -C opt-level=2 -C debuginfo=2 --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1`
error: proc-macro derive panicked
--> /usr/pkgsrc/mail/thunderbird/work/thunderbird-78.12.0/third_party/rust/rental/src/lib.rs:93:12 |
93  |         #[derive(__rental_traits)]
    |                  ^^^^^^^^^^^^^^^
...
117 |     define_rental_traits!(32);
    |     ------------------------- in this macro invocation
    |
= help: message: expected suffix ").0," not found in "#[allow(unused)] enum ProceduralMasqueradeDummyType\n{ Input = (0, stringify! (32)).0 }" = note: this error originates in the macro `define_rental_traits` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc-macro derive panicked
--> /usr/pkgsrc/mail/thunderbird/work/thunderbird-78.12.0/third_party/rust/rental/src/lib.rs:257:13 |
257 |               #[derive(__rental_structs_and_impls)]
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
...
285 | / rental! {
286 | | /// Example types that demonstrate the API generated by the rental macro.
287 | |     pub mod examples {
288 | |         use std::sync;
...   |
345 | |     }
346 | | }
    | |_- in this macro invocation
    |
.....

Firefox 108.2 builds and works OK.

Just FYI.

--
----
Chavdar Ivanov


Home | Main Index | Thread Index | Old Index