[Bug 256581] CARGO_GIT_SUBDIR doesn't work with unpacked [dependencies.<crate>]

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Jun 2021 16:03:08 UTC

            Bug ID: 256581
           Summary: CARGO_GIT_SUBDIR doesn't work with unpacked
           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.,

  package = "wgpu-types"
  git = "https://github.com/gfx-rs/wgpu"
  rev = "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

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