NetBSD Problem Report #59382
From www@netbsd.org Fri May 2 14:03:05 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7C7DD1A9239
for <gnats-bugs@gnats.NetBSD.org>; Fri, 2 May 2025 14:03:05 +0000 (UTC)
Message-Id: <20250502140304.5FC411A923C@mollari.NetBSD.org>
Date: Fri, 2 May 2025 14:03:04 +0000 (UTC)
From: netbsd@puptv.com
Reply-To: netbsd@puptv.com
To: gnats-bugs@NetBSD.org
Subject: Rust can't compile/install cargo-watch on a recent SmartOS system
X-Send-Pr-Version: www-1.0
>Number: 59382
>Category: pkg
>Synopsis: Rust can't compile/install cargo-watch on a recent SmartOS system
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 02 14:05:00 +0000 2025
>Last-Modified: Fri May 02 18:30:04 +0000 2025
>Originator: D
>Release: pkg_install-20241101
>Organization:
SolOS
>Environment:
SunOS tools.local 5.11 joyent_20250417T003816Z i86pc i386 i86pc
>Description:
Can't compile/install cargo-watch on a recent SmartOS system:
error[E0308]: mismatched types
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-5.5.0/src/connection/socket/unix.rs:329:47
|
329 | fn get_unix_peer_creds_blocking(fd: RawFd) -> io::Result<crate::fdo::ConnectionCredentials> {
| ---------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<ConnectionCredentials, Error>`, found `()`
| |
| implicitly returns `()` as its body has no tail or `return` expression
|
= note: expected enum `std::result::Result<ConnectionCredentials, std::io::Error>`
found unit type `()`
>How-To-Repeat:
cargo install cargo-watch
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 02 May 2025 14:08:01 +0000
Responsible-Changed-Why:
Solaris problem.
cargo-watch is not even packaged, so... I actually tend to just close this.
You should report this upstream and the corresponding crates.
From: d <netbsd@puptv.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/59382: Rust can't compile/install cargo-watch on a recent
SmartOS system
Date: Fri, 2 May 2025 11:12:10 -0700
I've downgraded Rust to 1.81, and was successfully able to install
cargo-watch on my Linux machine.
Could it be that this is really is a Rust pkg implementation issue on
Illumos?
On 5/2/25 07:05, gnats-admin@netbsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `pkg/59382'.
> The individual assigned to look at your
> report is: pkg-manager.
>
>> Category: pkg
>> Responsible: pkg-manager
>> Synopsis: Rust can't compile/install cargo-watch on a recent SmartOS system
>> Arrival-Date: Fri May 02 14:05:00 +0000 2025
From: d <netbsd@puptv.com>
To: gnats-bugs@netbsd.org, solaris-pkg-people@netbsd.org,
pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
wiz@NetBSD.org
Cc:
Subject: Re: pkg/59382 (Rust can't compile/install cargo-watch on a recent
SmartOS system)
Date: Fri, 2 May 2025 11:12:55 -0700
I've downgraded Rust to 1.81, and was successfully able to install
cargo-watch on my Linux machine.
Could it be that this is really is a Rust pkg implementation issue on
Illumos?
On 5/2/25 07:08, wiz@NetBSD.org wrote:
> Synopsis: Rust can't compile/install cargo-watch on a recent SmartOS system
>
> Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
> Responsible-Changed-By: wiz@NetBSD.org
> Responsible-Changed-When: Fri, 02 May 2025 14:08:01 +0000
> Responsible-Changed-Why:
> Solaris problem.
>
> cargo-watch is not even packaged, so... I actually tend to just close this.
> You should report this upstream and the corresponding crates.
>
>
>
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.