[Bug 270034] lang/rust: 'make cargo-crates' generates an list of dependencies that fail in configure for one port (textproc/jaq)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Mar 2023 11:40:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270034

            Bug ID: 270034
           Summary: lang/rust: 'make cargo-crates' generates an list of
                    dependencies that fail in configure for one port
                    (textproc/jaq)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

Created attachment 240664
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240664&action=edit
shar

The attached port has CARGO_CRATES generated by 'make cargo-crates' but it
fails in configure:
===>  Configuring for jaq-0.10.0
===>   Additional optimization to port applied
===>   Cargo config:
[source.cargo]
directory = '/usr/ports/textproc/jaq/work/jaq-0.10.0/jaq/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
[patch.'https://github.com/01mf02/regex']
regex-syntax = { path =
'/usr/ports/textproc/jaq/work/regex-90eebbdb9396ca10510130327073a3d596674d04/regex-syntax'
}
===>   Updating Cargo.lock
warning: profiles for the non root package will be ignored, specify profiles at
the workspace root:
package:   /usr/ports/textproc/jaq/work/jaq-0.10.0/jaq/Cargo.toml
workspace: /usr/ports/textproc/jaq/work/jaq-0.10.0/Cargo.toml
error: failed to resolve patches for
`https://github.com/rust-lang/crates.io-index`

Caused by:
  patch for `regex-syntax` in `https://github.com/rust-lang/crates.io-index`
failed to resolve

Caused by:
  The patch location `https://github.com/01mf02/regex?rev=90eebbd` does not
appear to contain any packages matching the name `regex-syntax`.
*** Error code 101

-- 
You are receiving this mail because:
You are the assignee for the bug.