Bug 286618

Summary: devel/rustup-init: update to 1.28.2
Product: Ports & Packages Reporter: King John <jinking.this>
Component: Individual Port(s)Assignee: Zsolt Udvari <uzsolt>
Status: In Progress ---    
Severity: Affects Some People CC: uzsolt
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devel/rustup-init: update to 1.28.2
none
devel/rustup-init: update to 1.28.2 none

Description King John 2025-05-06 08:06:27 UTC
Created attachment 260195 [details]
devel/rustup-init: update to 1.28.2
Comment 1 Zsolt Udvari freebsd_committer freebsd_triage 2025-05-07 03:32:31 UTC
Hi,
did you know about this?
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/rustup-init is linked to /usr/local/lib/libzstd.so.1 from archivers/zstd but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libzstd.so:archivers/zstd
Error: /usr/local/bin/rustup-init is linked to /usr/local/lib/libcurl.so.4 from ftp/curl but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libcurl.so:ftp/curl
Comment 2 King John 2025-05-20 05:51:26 UTC
Created attachment 260563 [details]
devel/rustup-init: update to 1.28.2

Add library dependencies.
Comment 3 King John 2025-05-20 05:51:53 UTC
(In reply to Zsolt Udvari from comment #1)
Thanks for the info. Patch updated.
Comment 4 Zsolt Udvari freebsd_committer freebsd_triage 2025-05-28 04:02:48 UTC
(In reply to King John from comment #3)
Thanks. But the 'make test' failed:
error[E0432]: unresolved import `crate::test`
    --> src/cli/self_update.rs:1273:16
     |
1273 |     use crate::test::{Env, test_dir, with_rustup_home};
     |                ^^^^
     |                |
     |                unresolved import
     |                help: a similar path exists: `diskio::test`
     |
note: found an item that was configured out
    --> src/lib.rs:86:9
     |
86   | pub mod test;
     |         ^^^^
note: the item is gated behind the `test` feature
    --> src/lib.rs:85:7
     |
85   | #[cfg(feature = "test")]
     |       ^^^^^^^^^^^^^^^^

error[E0432]: unresolved import `crate::for_host`
    --> src/cli/self_update.rs:1274:17
     |
1274 |     use crate::{for_host, process::TestProcess};
     |                 ^^^^^^^^ no `for_host` in the root

error[E0433]: failed to resolve: unresolved import
  --> src/dist/manifestation/tests.rs:29:5


Could you please check it? And please use portlint, portfmt and portclippy to linting your port. Thanks!