[Bug 268706] Mk/Uses/cargo.mk: Fails to configure one Rust port (audio/psst)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Jan 2023 08:18:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268706

            Bug ID: 268706
           Summary: Mk/Uses/cargo.mk: Fails to configure one Rust port
                    (audio/psst)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

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

The error below looks cryptic.


===>  Configuring for psst-g20221012
===>   Cargo config:
[source.cargo]
directory = '/usr/ports/audio/psst/work/psst-d70ed81/psst-gui/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
[patch.'https://github.com/jpochyla/piet']
piet = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet'
}
piet-cairo = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet-cairo'
}
piet-common = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet-common'
}
piet-coregraphics = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet-coregraphics'
}
piet-direct2d = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet-direct2d'
}
piet-web = { path =
'/usr/ports/audio/psst/work/piet-0010af07c952803021afa3b89614b26cebf4e084/piet-web'
}
[patch.'https://github.com/mozilla/cubeb-rs']
cubeb = { path =
'/usr/ports/audio/psst/work/cubeb-rs-a5276e2903e07ec62fe42ba7ccfd590355668a84/cubeb-api'
}
cubeb-core = { path =
'/usr/ports/audio/psst/work/cubeb-rs-a5276e2903e07ec62fe42ba7ccfd590355668a84/cubeb-core'
}
cubeb-sys = { path =
'/usr/ports/audio/psst/work/cubeb-rs-a5276e2903e07ec62fe42ba7ccfd590355668a84/cubeb-sys'
}
[patch.'https://github.com/jpochyla/druid']
druid = { path =
'/usr/ports/audio/psst/work/druid-1f187ddf8a3d3d66e6d69377e1ed66c448212d4e/druid'
}
druid-derive = { path =
'/usr/ports/audio/psst/work/druid-1f187ddf8a3d3d66e6d69377e1ed66c448212d4e/druid-derive'
}
druid-shell = { path =
'/usr/ports/audio/psst/work/druid-1f187ddf8a3d3d66e6d69377e1ed66c448212d4e/druid-shell'
}
[patch.'https://github.com/luleyleo/druid-enums']
druid-enums = { path =
'/usr/ports/audio/psst/work/druid-enums-ed307acce2207ad0997985ca5c18ff827be1f9d3'
}
===>   Updating Cargo.lock
warning: profiles for the non root package will be ignored, specify profiles at
the workspace root:
package:   /usr/ports/audio/psst/work/psst-d70ed81/psst-gui/Cargo.toml
workspace: /usr/ports/audio/psst/work/psst-d70ed81/Cargo.toml
error: failed to resolve patches for
`https://github.com/rust-lang/crates.io-index`

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

Caused by:
  The patch location `https://github.com/jpochyla/piet?branch=psst` does not
appear to contain any packages matching the name `piet`.
*** Error code 101

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