Summary: | lang/rust: Update to 1.73.0 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mikael Urankar <mikael> | ||||||||
Component: | Individual Port(s) | Assignee: | FreeBSD Rust Team <rust> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Only Me | CC: | freebsd, gecko, pkubaj, vishwin | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(rust) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Created attachment 245645 [details]
v1
cc'ing maintainers impacted by this update. Created attachment 245669 [details] v2 Add a fix for textproc/ripgrep and databases/gobang audio/spotifyd will build with bug #274510 https://github.com/rust-lang/rust/issues/116845 Seems ok on powerpc64 and powerpc64le, but on powerpc: error[E0004]: non-exhaustive patterns: `ControlFlow::Continue(_)` not covered --> library/core/src/iter/traits/iterator.rs:3022:32 | 3022 | move |(), x| match f(&x).branch() { | ^^^^^^^^^^^^^^ pattern `ControlFlow::Continue(_)` not covered | note: `ControlFlow<R, bool>` defined here --> library/core/src/ops/control_flow.rs:89:5 | 85 | pub enum ControlFlow<B, C = ()> { | ----------- ... 89 | Continue(C), | ^^^^^^^^ not covered = note: the matched value is of type `ControlFlow<R, bool>` help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown | 3025 ~ ControlFlow::Break(r) => ControlFlow::Break(FromResidual::from_residual(r)), 3026 ~ ControlFlow::Continue(_) => todo!(), | Minimum LLVM for PORT_LLVM bumped to 15. Backporting the one-line change from https://github.com/llvm/llvm-project/commit/491a91e8eea27fab4d8123cbfbb01bf1cf251b9c#diff-909a72141a3ecd6bfde54a6344f80d2a194c3eb79622c5845f6c7c119145af6f fixes the build issue. Can you add this patch to our rust port? A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd10dc88a7cf54f9aa164bf40cc5e481021401d6 commit dd10dc88a7cf54f9aa164bf40cc5e481021401d6 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-24 10:22:32 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:22:32 +0000 lang/rust: Bump revisions after 1.73.0 PR: 274499 accessibility/sctd/Makefile | 2 +- accessibility/wl-gammarelay-rs/Makefile | 1 + archivers/ouch/Makefile | 2 +- archivers/py-cramjam/Makefile | 2 +- audio/amberol/Makefile | 2 +- audio/ebur128/Makefile | 2 +- audio/gnome-metronome/Makefile | 2 +- audio/gnome-podcasts/Makefile | 1 + audio/lewton/Makefile | 2 +- audio/mmtc/Makefile | 2 +- audio/mousai/Makefile | 2 +- audio/myxer/Makefile | 2 +- audio/ncspot/Makefile | 2 +- audio/netease-music-tui/Makefile | 2 +- audio/shortwave/Makefile | 2 +- audio/songrec/Makefile | 1 + audio/spotify-player/Makefile | 2 +- audio/spotify-tui/Makefile | 2 +- audio/spotifyd/Makefile | 1 + benchmarks/hyperfine/Makefile | 2 +- benchmarks/inferno/Makefile | 1 + cad/svlint/Makefile | 2 +- cad/svls/Makefile | 2 +- cad/veryl/Makefile | 1 + converters/yj-bruceadams/Makefile | 2 +- databases/diesel/Makefile | 1 + databases/frece/Makefile | 2 +- databases/gobang/Makefile | 2 +- databases/movine/Makefile | 2 +- databases/ods2sql/Makefile | 2 +- databases/postgresql-promscale/Makefile | 2 +- databases/qdrant/Makefile | 1 + databases/quake/Makefile | 2 +- databases/redisjson/Makefile | 2 +- databases/replibyte/Makefile | 2 +- databases/xls2txt/Makefile | 2 +- deskutils/health/Makefile | 2 +- deskutils/jot/Makefile | 2 +- deskutils/just/Makefile | 2 +- deskutils/lazycli/Makefile | 2 +- deskutils/pueue/Makefile | 2 +- deskutils/sigi/Makefile | 2 +- deskutils/skim/Makefile | 2 +- deskutils/solanum/Makefile | 2 +- deskutils/taskwarrior-tui/Makefile | 2 +- deskutils/thokr/Makefile | 2 +- devel/amber/Makefile | 2 +- devel/argc/Makefile | 1 + devel/bacon/Makefile | 1 + devel/bingrep/Makefile | 2 +- devel/bunyan/Makefile | 2 +- devel/busd/Makefile | 1 + devel/cargo-bloat/Makefile | 2 +- devel/cargo-c/Makefile | 1 + devel/cargo-depgraph/Makefile | 2 +- devel/cargo-generate/Makefile | 1 + devel/cbfmt/Makefile | 2 +- devel/cocogitto/Makefile | 2 +- devel/convco/Makefile | 2 +- devel/cpu_rec_rs/Makefile | 2 +- devel/desed/Makefile | 2 +- devel/dtool/Makefile | 2 +- devel/dura/Makefile | 2 +- devel/elfcat/Makefile | 2 +- devel/evcxr-jupyter/Makefile | 1 + devel/fnm/Makefile | 2 +- devel/fsx/Makefile | 2 +- devel/gbump/Makefile | 2 +- devel/gfold/Makefile | 2 +- devel/ghostie/Makefile | 2 +- devel/git-absorb/Makefile | 2 +- devel/git-branchless/Makefile | 2 +- devel/git-cinnabar/Makefile | 2 +- devel/git-cliff/Makefile | 2 +- devel/git-delta/Makefile | 2 +- devel/git-workspace/Makefile | 2 +- devel/gitoxide/Makefile | 2 +- devel/gitui/Makefile | 1 + devel/glitter/Makefile | 2 +- devel/grcov/Makefile | 2 +- devel/grex/Makefile | 2 +- devel/interactive_rebase_tool/Makefile | 2 +- devel/libdatadog/Makefile | 2 +- devel/libwasmtime/Makefile | 1 + devel/parol-ls/Makefile | 2 +- devel/parol/Makefile | 2 +- devel/patsh/Makefile | 2 +- devel/pijul/Makefile | 2 +- devel/py-dbt-extractor/Makefile | 1 + devel/py-jellyfish/Makefile | 2 +- devel/py-libcst/Makefile | 1 + devel/py-maturin/Makefile | 1 + devel/py-orjson/Makefile | 2 +- devel/py-pydantic-core/Makefile | 1 + devel/py-regress/Makefile | 1 + devel/py-rpds-py/Makefile | 2 +- devel/py-watchfiles/Makefile | 1 + devel/py-y-py/Makefile | 1 + devel/ruff/Makefile | 2 +- devel/rust-analyzer/Makefile | 2 +- devel/rust-bindgen-cli/Makefile | 2 +- devel/rust-cbindgen/Makefile | 1 + devel/rustc-demangle/Makefile | 2 +- devel/sccache/Makefile | 2 +- devel/selene/Makefile | 2 +- devel/sentry-cli/Makefile | 1 + devel/signal-fts5-extension/Makefile | 2 +- devel/snazy/Makefile | 1 + devel/spr/Makefile | 2 +- devel/stylua/Makefile | 1 + devel/tagref/Makefile | 2 +- devel/tarpaulin/Makefile | 2 +- devel/texlab/Makefile | 2 +- devel/the-way/Makefile | 2 +- devel/tokei/Makefile | 2 +- devel/tokio-console/Makefile | 2 +- devel/tree-sitter-graph/Makefile | 2 +- devel/treefmt/Makefile | 1 + devel/twiggy/Makefile | 2 +- devel/typeshare/Makefile | 2 +- devel/wasmer/Makefile | 1 + devel/wrangler/Makefile | 2 +- dns/dog/Makefile | 2 +- dns/doh-proxy/Makefile | 2 +- dns/encrypted-dns-server/Makefile | 2 +- editors/amp/Makefile | 2 +- editors/helix/Makefile | 2 +- editors/kak-lsp/Makefile | 2 +- editors/kibi/Makefile | 2 +- editors/languageclient-neovim/Makefile | 2 +- editors/lapce/Makefile | 2 +- editors/neovim-gtk/Makefile | 2 +- editors/ox/Makefile | 2 +- editors/parinfer-rust/Makefile | 2 +- editors/xi-core/Makefile | 2 +- editors/xi-term/Makefile | 2 +- finance/tickrs/Makefile | 2 +- ftp/termscp/Makefile | 2 +- games/0ad/Makefile | 2 +- games/DDNet/Makefile | 1 + games/abstreet/Makefile | 2 +- games/anki/Makefile | 2 +- games/dose-response/Makefile | 2 +- games/genact/Makefile | 2 +- games/jaggedalliance2/Makefile | 2 +- games/jumpy/Makefile | 1 + games/punchy/Makefile | 2 +- games/rpg-cli/Makefile | 2 +- games/veloren-weekly/Makefile | 1 + graphics/asciinema-agg/Makefile | 2 +- graphics/dify/Makefile | 2 +- graphics/dssim/Makefile | 2 +- graphics/gifski/Makefile | 2 +- graphics/libimagequant/Makefile | 1 + graphics/libopenraw/Makefile | 2 +- graphics/librsvg2-rust/Makefile | 1 + graphics/mesa-devel/Makefile | 1 + graphics/oxipng/Makefile | 1 + graphics/pastel/Makefile | 2 +- graphics/resvg-capi/Makefile | 1 + graphics/resvg/Makefile | 1 + graphics/rx/Makefile | 2 +- graphics/svgbob/Makefile | 2 +- graphics/viu/Makefile | 2 +- java/icedtea-web/Makefile | 2 +- lang/antimony/Makefile | 2 +- lang/cairo/Makefile | 2 +- lang/gleam/Makefile | 2 +- lang/pomsky/Makefile | 2 +- lang/prql/Makefile | 2 +- lang/spidermonkey102/Makefile | 2 +- lang/spidermonkey78/Makefile | 2 +- lang/spidermonkey91/Makefile | 2 +- mail/thunderbird/Makefile | 2 +- math/kalc/Makefile | 2 +- math/kalker/Makefile | 2 +- math/py-rustworkx/Makefile | 2 +- math/savage/Makefile | 2 +- misc/aichat/Makefile | 2 +- misc/arrow-datafusion/Makefile | 2 +- misc/binocle/Makefile | 2 +- misc/broot/Makefile | 1 + misc/coloursum/Makefile | 2 +- misc/dijo/Makefile | 2 +- misc/dotenv-linter/Makefile | 2 +- misc/lscolors/Makefile | 2 +- misc/pqrs/Makefile | 2 +- misc/py-lazrs/Makefile | 1 + misc/py-pyqir/Makefile | 2 +- misc/rsclock/Makefile | 2 +- misc/ruut/Makefile | 2 +- misc/silicon/Makefile | 2 +- misc/star-history/Makefile | 2 +- misc/wthrr/Makefile | 2 +- misc/xd-rust/Makefile | 2 +- misc/xplr/Makefile | 2 +- misc/zine/Makefile | 2 +- multimedia/ab-av1/Makefile | 2 +- multimedia/alass/Makefile | 1 + multimedia/av1an/Makefile | 2 +- multimedia/gstreamer1-plugins-rust/Makefile | 1 + multimedia/helvum/Makefile | 1 + multimedia/kooha/Makefile | 1 + multimedia/librav1e/Makefile | 2 +- multimedia/librespot/Makefile | 2 +- multimedia/neolink/Makefile | 2 +- multimedia/rav1e/Makefile | 2 +- multimedia/ringrtc/Makefile | 1 + multimedia/scte35dump/Makefile | 2 +- multimedia/termplay/Makefile | 2 +- multimedia/video-trimmer/Makefile | 1 + multimedia/wl-screenrec/Makefile | 1 + net-im/conduit/Makefile | 2 +- net-im/fractal/Makefile | 2 +- net-im/gurk-rs/Makefile | 1 + net-im/libsignal-client/Makefile | 2 +- net-im/libsignal-node/Makefile | 1 + net-im/py-matrix-synapse/Makefile | 2 +- net-im/yume/Makefile | 2 +- net-im/zkgroup/Makefile | 2 +- net-mgmt/bandwhich/Makefile | 2 +- net-mgmt/gping/Makefile | 2 +- net-mgmt/nfs-exporter/Makefile | 1 + net-p2p/cncli/Makefile | 2 +- net-p2p/oura/Makefile | 2 +- net-p2p/twitch-tui/Makefile | 2 +- net/aws-ec2-imdsv2-get/Makefile | 2 +- net/findomain/Makefile | 2 +- net/gemserv/Makefile | 2 +- net/krill/Makefile | 2 +- net/ntpd-rs/Makefile | 1 + net/oha/Makefile | 2 +- net/proby/Makefile | 2 +- net/quiche/Makefile | 2 +- net/rabbiteer/Makefile | 2 +- net/rathole/Makefile | 1 + net/rosenpass/Makefile | 1 + net/routinator/Makefile | 1 + net/rustdesk-server/Makefile | 2 +- net/shadowsocks-rust/Makefile | 1 + net/sniffnet/Makefile | 2 +- net/trippy/Makefile | 2 +- ports-mgmt/pkg-graph/Makefile | 2 +- ports-mgmt/sccache-overlay/Makefile | 2 +- science/py-qiskit-terra/Makefile | 2 +- security/acmed/Makefile | 2 +- security/arti/Makefile | 1 + security/authenticator/Makefile | 2 +- security/authoscope/Makefile | 2 +- security/cargo-audit/Makefile | 2 +- security/clamav-lts/Makefile | 2 +- security/clamav/Makefile | 2 +- security/cloak/Makefile | 2 +- security/diswall/Makefile | 2 +- security/gpg-tui/Makefile | 2 +- security/pam_rssh/Makefile | 2 +- security/py-cryptography/Makefile | 1 + security/rustscan/Makefile | 2 +- security/sequoia-sq/Makefile | 2 +- security/sniffglue/Makefile | 2 +- security/solana/Makefile | 2 +- security/suricata/Makefile | 1 + security/vaultwarden/Makefile | 1 + security/weggli/Makefile | 2 +- shells/atuin/Makefile | 2 +- shells/ion/Makefile | 2 +- shells/nsh/Makefile | 2 +- shells/nushell/Makefile | 1 + shells/shell-hist/Makefile | 2 +- shells/shellharden/Makefile | 2 +- shells/starship/Makefile | 2 +- sysutils/async/Makefile | 2 +- sysutils/b3sum/Makefile | 2 +- sysutils/backdown/Makefile | 2 +- sysutils/bkt/Makefile | 2 +- sysutils/bottom/Makefile | 2 +- sysutils/bupstash/Makefile | 2 +- sysutils/czkawka/Makefile | 1 + sysutils/ddh/Makefile | 2 +- sysutils/diskonaut/Makefile | 2 +- sysutils/diskus/Makefile | 2 +- sysutils/dua-cli/Makefile | 2 +- sysutils/dust/Makefile | 2 +- sysutils/dutree/Makefile | 2 +- sysutils/erdtree/Makefile | 2 +- sysutils/exa/Makefile | 2 +- sysutils/faketty/Makefile | 2 +- sysutils/fclones/Makefile | 1 + sysutils/fd/Makefile | 2 +- sysutils/flowgger/Makefile | 2 +- sysutils/fselect/Makefile | 2 +- sysutils/fusefs-sandboxfs/Makefile | 2 +- sysutils/fusefs-xfuse/Makefile | 2 +- sysutils/gstat-rs/Makefile | 1 + sysutils/handlr/Makefile | 2 +- sysutils/hexyl/Makefile | 2 +- sysutils/httm/Makefile | 2 +- sysutils/jail_exporter/Makefile | 2 +- sysutils/lsd/Makefile | 2 +- sysutils/mcfly/Makefile | 2 +- sysutils/mprocs/Makefile | 2 +- sysutils/onefetch/Makefile | 2 +- sysutils/potnet/Makefile | 2 +- sysutils/process-viewer/Makefile | 2 +- sysutils/rtx/Makefile | 1 + sysutils/runiq/Makefile | 2 +- sysutils/rust-coreutils/Makefile | 1 + sysutils/rust-findutils/Makefile | 2 +- sysutils/syngesture/Makefile | 2 +- sysutils/szyszka/Makefile | 2 +- sysutils/tealdeer/Makefile | 2 +- sysutils/tere/Makefile | 2 +- sysutils/tiempo/Makefile | 2 +- sysutils/topgrade/Makefile | 2 +- sysutils/tuckr/Makefile | 2 +- sysutils/vector/Makefile | 2 +- sysutils/vivid/Makefile | 2 +- sysutils/xcp/Makefile | 2 +- sysutils/yadf/Makefile | 2 +- sysutils/zellij/Makefile | 1 + sysutils/zoxide/Makefile | 2 +- sysutils/ztop/Makefile | 2 +- textproc/angle-grinder/Makefile | 2 +- textproc/bat/Makefile | 2 +- textproc/biodiff/Makefile | 2 +- textproc/cast2gif/Makefile | 2 +- textproc/choose/Makefile | 2 +- textproc/code-minimap/Makefile | 2 +- textproc/comrak/Makefile | 2 +- textproc/difftastic/Makefile | 1 + textproc/evtx/Makefile | 2 +- textproc/hq/Makefile | 2 +- textproc/htmlq/Makefile | 2 +- textproc/jaq/Makefile | 2 +- textproc/jless/Makefile | 2 +- textproc/jql/Makefile | 1 + textproc/mdbook-linkcheck/Makefile | 2 +- textproc/mdbook-mermaid/Makefile | 2 +- textproc/mdbook/Makefile | 1 + textproc/meilisearch/Makefile | 1 + textproc/py-tiktoken/Makefile | 1 + textproc/quickwit/Makefile | 2 +- textproc/riffdiff/Makefile | 1 + textproc/ripgrep-all/Makefile | 2 +- textproc/ripgrep/Makefile | 2 +- textproc/sad/Makefile | 2 +- textproc/sd/Makefile | 2 +- textproc/sonic/Makefile | 2 +- textproc/tokay/Makefile | 2 +- textproc/typst/Makefile | 2 +- textproc/xsv-rs/Makefile | 2 +- www/castor/Makefile | 2 +- www/cobalt/Makefile | 2 +- www/deno/Makefile | 1 + www/dot-http/Makefile | 2 +- www/drill/Makefile | 2 +- www/dufs/Makefile | 2 +- www/ffsend/Makefile | 2 +- www/firefox-esr/Makefile | 1 + www/firefox/Makefile | 2 +- www/garage/Makefile | 1 + www/geckodriver/Makefile | 2 +- www/hurl/Makefile | 2 +- www/jwt-cli/Makefile | 2 +- www/librewolf/Makefile | 1 + www/lychee/Makefile | 2 +- www/microbin/Makefile | 2 +- www/miniserve/Makefile | 2 +- www/monolith/Makefile | 2 +- www/newsboat/Makefile | 2 +- www/py-adblock/Makefile | 2 +- www/rearx/Makefile | 2 +- www/reddsaver/Makefile | 2 +- www/rustypaste-cli/Makefile | 1 + www/rustypaste/Makefile | 1 + www/so/Makefile | 2 +- www/stork/Makefile | 2 +- www/tor-browser/Makefile | 2 +- www/trunk/Makefile | 2 +- www/tuifeed/Makefile | 2 +- www/varnish-libvmod-fileserver/Makefile | 2 +- www/vigil/Makefile | 2 +- www/wasm-pack/Makefile | 2 +- www/websocat/Makefile | 1 + www/wiki-tui/Makefile | 2 +- www/xh/Makefile | 2 +- www/zola/Makefile | 2 +- x11-wm/leftwm/Makefile | 2 +- x11/admiral/Makefile | 2 +- x11/alacritty/Makefile | 2 +- x11/clipcat/Makefile | 2 +- x11/eww/Makefile | 2 +- x11/hybrid-bar/Makefile | 2 +- x11/inputplug/Makefile | 2 +- x11/kickoff/Makefile | 2 +- x11/rio/Makefile | 2 +- x11/rlaunch/Makefile | 2 +- x11/salut/Makefile | 2 +- x11/shikane/Makefile | 2 +- x11/shotman/Makefile | 2 +- x11/sirula/Makefile | 2 +- x11/squeekboard/Makefile | 2 +- x11/swayr/Makefile | 1 + x11/swayrbar/Makefile | 1 + x11/watershot/Makefile | 1 + x11/wayidle/Makefile | 2 +- x11/wayout/Makefile | 2 +- x11/wezterm/Makefile | 2 +- x11/wlr-which-key/Makefile | 2 +- x11/wmfocus/Makefile | 2 +- x11/xdg-desktop-portal-luminous/Makefile | 1 + 411 files changed, 411 insertions(+), 328 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff2bf59cd9ed84710f7afa42f348250d09a8131c commit ff2bf59cd9ed84710f7afa42f348250d09a8131c Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-15 17:58:51 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:21:40 +0000 www/librewolf: fix build with rust 1.73.0 The crate packed_simd_2 is not maintained anymore. firefox switched to packed_simd [1] in [2] but it's not yet part of librewolf 117 Backport [3] to fix the following issue: error: unrecognized platform-specific intrinsic function: `simd_shuffle2` --> /wrkdirs/usr/ports/www/librewolf/work/librewolf-117.0-1/third_party/rust/packed_simd_2/src/codegen/llvm.rs:10:5 | 10 | pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] https://github.com/rust-lang/packed_simd/ [2] https://github.com/mozilla/gecko-dev/commit/1e1bec8c6e383abf667d64ba1e556a4e68833f28 [3] https://github.com/rust-lang/packed_simd/commit/a79edf4cfc54aad30a5630b217645c4b8274d8f7 PR: 274499 Approved by: portmgr (build fix blanket) www/librewolf/files/patch-rust-1.73.0 (new) | 83 +++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c6457a0a6250595d188eb57b6ee599d03c8d206 commit 1c6457a0a6250595d188eb57b6ee599d03c8d206 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-15 17:58:23 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:21:38 +0000 www/tor-browser: fix build with rust 1.73.0 The crate packed_simd_2 is not maintained anymore. firefox switched to packed_simd [1] in [2] but it's not yet part of tor-browser 12.0.6 Backport [3] to fix the following issue: error: unrecognized platform-specific intrinsic function: `simd_shuffle2` --> /wrkdirs/usr/ports/www/tor-browser/work/firefox-tor-browser-102.11.0esr-12.0-1-build1/third_party/rust/packed_simd_2/src/codegen/llvm.rs:10:5 | 10 | pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] https://github.com/rust-lang/packed_simd/ [2] https://github.com/mozilla/gecko-dev/commit/1e1bec8c6e383abf667d64ba1e556a4e68833f28 [3] https://github.com/rust-lang/packed_simd/commit/a79edf4cfc54aad30a5630b217645c4b8274d8f7 PR: 274499 Approved by: portmgr (build fix blanket) www/tor-browser/files/patch-rust-1.73.0 (new) | 83 +++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e99d4e978144e6e424bda44e3041abfc6cc92bf commit 3e99d4e978144e6e424bda44e3041abfc6cc92bf Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-16 10:39:44 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:21:47 +0000 databases/gobang: Fix build with rust 1.73.0 Import upstream patch to fix the following build error with rust 1.73.0 error[E0308]: mismatched types --> /wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/num-bigint-0.3.2/src/biguint/convert.rs:70:19 | 70 | .div_ceil(&big_digit::BITS.into()) | -------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `&_` | | | arguments to this method are incorrect error[E0308]: mismatched types --> /wrkdirs/usr/ports/databases/gobang/work/gobang-0.1.0-alpha.5/cargo-crates/num-bigint-0.3.2/src/biguint/convert.rs:585:19 | 585 | .div_ceil(&u64::from(bits)) | -------- ^^^^^^^^^^^^^^^^ expected `u64`, found `&u64` | | | arguments to this method are incorrect PR: 274499 Approved by: portmgr (build fix blanket) databases/gobang/Makefile | 2 +- databases/gobang/files/patch-rust-1.73.0 (new) | 64 ++++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=13de47f0ac007d8a7e66554af5cf0ca5889f9925 commit 13de47f0ac007d8a7e66554af5cf0ca5889f9925 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-04 14:09:35 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:21:32 +0000 lang/rust: Update to 1.73.0 Announce: https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.73.0 PR: 274499 Tested by: mikael,pkubaj Mk/Uses/cargo.mk | 2 +- lang/rust-bootstrap/Makefile | 2 +- lang/rust-bootstrap/distinfo | 6 +- lang/rust/Makefile | 15 ++--- lang/rust/distinfo | 102 +++++++++++++++++----------------- lang/rust/files/patch-bug116845 (new) | 34 ++++++++++++ 6 files changed, 94 insertions(+), 67 deletions(-) A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b71e4863289c2bb6bf17ef1141f1305488d1b82d commit b71e4863289c2bb6bf17ef1141f1305488d1b82d Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-10-16 08:56:30 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-10-24 10:21:44 +0000 textproc/ripgrep: Fix build with rust 1.73.0 The crate packed_simd_2 is not maintained anymore. firefox switched to packed_simd [1] in [2] but it's not yet part of ripgrep 13.0.0 Backport [3] to fix the following issue: error: unrecognized platform-specific intrinsic function: `simd_shuffle2` --> /wrkdirs/usr/ports/textproc/ripgrep/work/ripgrep-13.0.0/cargo-crates/packed_simd_2-0.3.8/src/codegen/llvm.rs:10:5 | 10 | pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] https://github.com/rust-lang/packed_simd/ [2] https://github.com/mozilla/gecko-dev/commit/1e1bec8c6e383abf667d64ba1e556a4e68833f28 [3] https://github.com/rust-lang/packed_simd/commit/a79edf4cfc54aad30a5630b217645c4b8274d8f7 PR: 274499 Approved by: portmgr (build fix blanket) textproc/ripgrep/files/patch-rust-1.73.0 (new) | 83 ++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) |
Created attachment 245644 [details] v0