Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2021 16:03:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256581] CARGO_GIT_SUBDIR doesn't work with unpacked [dependencies.<crate>]
Message-ID:  <bug-256581-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 256581
           Summary: CARGO_GIT_SUBDIR doesn't work with unpacked
                    [dependencies.<crate>]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: rust@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

CARGO_GIT_SUBDIR expects each line to start with a crate name but fails to
substitute local paths if a crate dependency spans multiple lines e.g.,

  [dependencies.wgt]
  package =3D "wgpu-types"
  git =3D "https://github.com/gfx-rs/wgpu"
  rev =3D "53eab747a32414232be45d47cae8a43a369395d0"

To reproduce:

1. Remove games/veloren/files/patch-wgpu
2. Build without network -> failed
3. Adjust CARGO_GIT_SUBDIR: s/wgc/wgpu-core/ + s/wgt/wgpu-types/
4. Build without network -> failed

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256581-7788>