Date: Fri, 27 Nov 2020 14:07:04 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251425] textproc/ripgrep: Fails to build after lang/rust is updated to 1.48.0 Message-ID: <bug-251425-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251425 Bug ID: 251425 Summary: textproc/ripgrep: Fails to build after lang/rust is updated to 1.48.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: junchoon@dec.sakura.ne.jp CC: petteri.valkonen@iki.fi, rust@FreeBSD.org CC: petteri.valkonen@iki.fi, rust@FreeBSD.org textproc/ripgrep fails to build after lang/rust is updated to 1.48.0 at r556157. Possibly related upstream issue is: https://github.com/BurntSushi/ripgrep/issues/1721 I've not yet tried the fix as I'm not at all familiar with rust. Error messages are as below, snipping non-error outputs. (snip) Compiling pcre2-sys v0.2.2 Running `/usr/local/bin/rustc --crate-name build_script_build --edition=3D2018 /usr/ports/textproc/ripgrep/work/ripgrep-12.1.1/cargo-crates/pcre2-sys-0.2.= 2/build.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi --crate-type bin --emit=3Ddep-info,link -C embed-bitcode=3Dno -C debuginfo=3D1 -C debug-asse= rtions=3Doff -C metadata=3D5ac12e5c2575cc82 -C extra-filename=3D-5ac12e5c2575cc82 --out-= dir /usr/ports/textproc/ripgrep/work/target/release/build/pcre2-sys-5ac12e5c257= 5cc82 -L dependency=3D/usr/ports/textproc/ripgrep/work/target/release/deps --exte= rn cc=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libcc-794259eeff6= 79901.rlib --extern pkg_config=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libpkg_co= nfig-2cc270ed08bc617c.rlib --cap-lints allow -C target-cpu=3Dhaswell -C linker=3Dcc -C link-arg=3D-fstack-protector-strong` error[E0432]: unresolved import `crate::arch::x86_64::_mm_shuffle_pi8` --> /usr/ports/textproc/ripgrep/work/ripgrep-12.1.1/cargo-crates/packed_simd-0.= 3.3/src/codegen/shuffle1_dyn.rs:40:29 | 40 | use crate::arch::x86_64::_mm_shuffle_pi8; | ^^^^^^^^^^^^^^^^^^^^^--------------- | | | | | help: a similar name exists in the module: `_mm_shuffle_epi8` | no `_mm_shuffle_pi8` in `arch::x86_64` ... 297 | impl_shuffle1_dyn!(u8x8); | ------------------------- in this macro invocation | =3D note: this error originates in a macro (in Nightly builds, run with= -Z macro-backtrace for more info) Running `/usr/local/bin/rustc --crate-name syn --edition=3D2018 /usr/ports/textproc/ripgrep/work/ripgrep-12.1.1/cargo-crates/syn-1.0.27/src= /lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi --crate-type lib --emit=3Ddep-info,metadata,link -C embed-bitcode=3Dno -C debuginfo=3D1 -C debug-assertions=3Doff --cfg 'feature=3D"clone-impls"' --cfg 'feature=3D"de= fault"' --cfg 'feature=3D"derive"' --cfg 'feature=3D"parsing"' --cfg 'feature=3D"pr= inting"' --cfg 'feature=3D"proc-macro"' --cfg 'feature=3D"quote"' --cfg 'feature=3D"= visit"' -C metadata=3D1d84ce7a27c0212b -C extra-filename=3D-1d84ce7a27c0212b --out-dir /usr/ports/textproc/ripgrep/work/target/release/deps -L dependency=3D/usr/ports/textproc/ripgrep/work/target/release/deps --extern proc_macro2=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libproc_= macro2-f960ca3ec6cdbb5d.rmeta --extern quote=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libquote-667a0= 513151f8a57.rmeta --extern unicode_xid=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libunico= de_xid-2af6ac20f60027f9.rmeta --cap-lints allow -C target-cpu=3Dhaswell -C linker=3Dcc -C link-arg=3D-fstack-protector-strong --cfg syn_disable_nightly_tests` (snip) error: aborting due to previous error For more information about this error, try `rustc --explain E0432`. error: could not compile `packed_simd` Caused by: process didn't exit successfully: `/usr/local/bin/rustc --crate-name packed_simd --edition=3D2018 /usr/ports/textproc/ripgrep/work/ripgrep-12.1.1/cargo-crates/packed_simd-0.= 3.3/src/lib.rs --error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts --crate-t= ype lib --emit=3Ddep-info,metadata,link -C opt-level=3D3 -C embed-bitcode=3Dno -C d= ebuginfo=3D1 --cfg 'feature=3D"default"' --cfg 'feature=3D"into_bits"' -C metadata=3D2e67c87c411d5629 -C extra-filename=3D-2e67c87c411d5629 --out-dir /usr/ports/textproc/ripgrep/work/target/release/deps -L dependency=3D/usr/ports/textproc/ripgrep/work/target/release/deps --extern cfg_if=3D/usr/ports/textproc/ripgrep/work/target/release/deps/libcfg_if-9d4= 23cf02dc8de6b.rmeta --cap-lints allow -C target-cpu=3Dhaswell -C linker=3Dcc -C link-arg=3D-fstack-protector-strong` (exit code: 1) warning: build failed, waiting for other jobs to finish... error: build failed ** Command failed (exit code 1): env MAKE_JOBS_NUMBER_LIMIT=3D12 make DISABLE_VULNERABILITIES=3Dyes UPGRADE_TOOL=3Dpkg_replace UPGRADE_PORT=3Dripgrep-12.1.1_6 UPGRADE_PORT_VER=3D12.1.1_6 ** Fix the problem and try again. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251425-7788>