[Akonadi] [Bug 474526] New: akonadi-search-23.08.1 build fails on proc-macro2
Taurnil
bugzilla_noreply at kde.org
Thu Sep 14 17:39:26 BST 2023
https://bugs.kde.org/show_bug.cgi?id=474526
Bug ID: 474526
Summary: akonadi-search-23.08.1 build fails on proc-macro2
Classification: Frameworks and Libraries
Product: Akonadi
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kdepim-bugs at kde.org
Reporter: taurnil.oronar at gmail.com
CC: carl at carlschwan.eu
Target Milestone: ---
SUMMARY
Fails at this point;
[ 31%] Building CXX object
lib/CMakeFiles/KPim5AkonadiSearchPIM.dir/akonadi_search_pim_debug.cpp.o
[ 32%] Linking CXX shared library ../bin/libKPim5AkonadiSearchPIM.so
[ 32%] Built target KPim5AkonadiSearchPIM
[ 34%] Automatic MOC for target akonadi_indexing_agent
[ 34%] Built target akonadi_indexing_agent_autogen
[ 34%] Built target cargo-prebuild_htmlparser
Compiling proc-macro2 v1.0.56
Compiling quote v1.0.27
Compiling unicode-ident v1.0.8
Compiling libc v0.2.144
Compiling cfg-if v1.0.0
Compiling ppv-lite86 v0.2.17
Compiling siphasher v0.3.10
Compiling cc v1.0.79
Compiling autocfg v1.1.0
Compiling parking_lot_core v0.9.7
Compiling serde v1.0.163
Compiling new_debug_unreachable v1.0.4
Compiling scopeguard v1.1.0
Compiling smallvec v1.10.0
Compiling syn v1.0.109
Compiling phf_shared v0.10.0
Compiling log v0.4.17
Compiling mac v0.1.1
Compiling futf v0.1.5
error[E0422]: cannot find struct, variant or union type `LineColumn` in crate
`proc_macro`
-->
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:475:33
|
475 | let proc_macro::LineColumn { line, column } = s.start();
| ^^^^^^^^^^ not found in `proc_macro`
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import `LineColumn`, refer to it directly
|
475 - let proc_macro::LineColumn { line, column } = s.start();
475 + let LineColumn { line, column } = s.start();
|
error[E0422]: cannot find struct, variant or union type `LineColumn` in crate
`proc_macro`
-->
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:489:33
|
489 | let proc_macro::LineColumn { line, column } = s.end();
| ^^^^^^^^^^ not found in `proc_macro`
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import `LineColumn`, refer to it directly
|
489 - let proc_macro::LineColumn { line, column } = s.end();
489 + let LineColumn { line, column } = s.end();
|
error[E0635]: unknown feature `proc_macro_span_shrink`
-->
/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
Compiling precomputed-hash v0.1.1
Compiling scratch v1.0.5
Compiling once_cell v1.17.1
Compiling lock_api v0.4.9
Compiling utf-8 v0.7.6
Compiling tendril v0.4.3
Compiling phf v0.10.1
Compiling cxxbridge-flags v1.0.94
Compiling termcolor v1.2.0
Some errors have detailed explanations: E0422, E0635.
For more information about an error, try `rustc --explain E0422`.
error: could not compile `proc-macro2` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
make[2]: *** [agent/CMakeFiles/_cargo-build_htmlparser.dir/build.make:70:
agent/CMakeFiles/_cargo-build_htmlparser] Error 101
make[1]: *** [CMakeFiles/Makefile2:640:
agent/CMakeFiles/_cargo-build_htmlparser.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
STEPS TO REPRODUCE
1. Standard cmake procedure
2. make
OBSERVED RESULT
Build failure
EXPECTED RESULT
Successful compile.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Plasma; 5.27.8
Frameworks; 5.110.0
Qt5; 5.15.10
rustc; 1.72.0
corrosion; 0.4.3.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list