Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2024 17:31:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276116] Mk/Uses/cargo.mk: Build fails: failed to parse manifest
Message-ID:  <bug-276116-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276116

            Bug ID: 276116
           Summary: Mk/Uses/cargo.mk: Build fails: failed to parse
                    manifest
           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: yuri@freebsd.org

Created attachment 247447
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247447&action=
=3Dedit
Makefile

'cargo build' builds https://github.com/nvarner/typst-lsp successfully, but=
 it
fails in the ports framework using rust-1.74.1:

> =3D=3D=3D>  Moving crates to /usr/ports/lang/typst-lsp/work/typst-lsp-0.1=
2.1/cargo-crates
> =3D=3D=3D>  Patching for typst-lsp-0.12.1
> =3D=3D=3D>   typst-lsp-0.12.1 depends on package: rust>=3D1.74.0 - found
> =3D=3D=3D>   typst-lsp-0.12.1 depends on package: pkgconf>=3D1.3.0_1 - fo=
und
> =3D=3D=3D>   typst-lsp-0.12.1 depends on file: /usr/local/bin/ccache - fo=
und
> =3D=3D=3D>  Configuring for typst-lsp-0.12.1
> =3D=3D=3D>   Additional optimization to port applied
> =3D=3D=3D>   Cargo config:
> [source.cargo]
> directory =3D '/usr/ports/lang/typst-lsp/work/typst-lsp-0.12.1/cargo-crat=
es'
> [source.crates-io]
> replace-with =3D 'cargo'
> [patch.'https://github.com/typst/typst.git']
> typst-syntax =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/=
crates/typst-syntax' }
> typst =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/crates/=
typst' }
> typst-ide =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/cra=
tes/typst-ide' }
> typst-macros =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/=
crates/typst-macros' }
> typst-pdf =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/cra=
tes/typst-pdf' }
> typst-syntax =3D { path =3D '/usr/ports/lang/typst-lsp/work/typst-0.10.0/=
crates/typst-syntax' }
> [patch.'https://github.com/astrale-sharp/typstfmt']
> typstfmt_lib =3D { path =3D '/usr/ports/lang/typst-lsp/work/typstfmt-0.2.=
7/lib' }
> =3D=3D=3D>   Updating Cargo.lock
> error: failed to parse manifest at `/usr/ports/lang/typst-lsp/work/typst-=
lsp-0.12.1/Cargo.toml`

--=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-276116-7788>