[pbs-devel] Issue: Proxmox-sys-0.5.5 compile

Turkijan turkijan083 at gmail.com
Wed Jun 12 14:41:09 CEST 2024


I installed all dependencies with that.
https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=README.rst
But downloaded one is not latest one.
proxmox-sys is currently have is_terminal functions on it.
Can you give me the link latest proxmox-sys source link to update my
local-cargo-registry?
Regards

On Wed, Jun 12, 2024 at 5:41 AM Fabian Grünbichler <
f.gruenbichler at proxmox.com> wrote:

> On June 12, 2024 2:03 pm, Turkijan wrote:
> > I faced issue during build current proxmox-backup-server source code.
> > error[E0599]: no method named `is_terminal` found for struct `Stdin` in
> the
> > current scope
> >   --> /usr/share/cargo/registry/proxmox-sys-0.5.5/src/linux/tty.rs:96:15
> >    |
> > 96 |     if !input.is_terminal() {
> >    |               ^^^^^^^^^^^ method not found in `Stdin`
> >
> > Some errors have detailed explanations: E0432, E0599, E0658.
> > For more information about an error, try `rustc --explain E0432`.
> > error: could not compile `proxmox-sys` due to 14 previous errors
> >
> > My current rust version is 1.65.0.
> > It seems I haven't downloaded latest version of proxmox backup debian
> > registry.
>
> that is too old. please ensure you have rustc (and the rest of the
> toolchain) from our devel repository installed (it's also where all the
> librust-* packages needed are, so you need that anyway).
>
> see https://git.proxmox.com/?p=proxmox-backup.git;a=blob;f=README.rst
> for more details
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pbs-devel/attachments/20240612/5ddfd61e/attachment-0001.htm>


More information about the pbs-devel mailing list