[Bug 283213] Mk/Uses/cargo.mk: Fails to configure when dependency is sourced from a GitHub revision: dependency (meter-macros) specified without providing a local path, Git repository, version, or workspace dependency to use

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Dec 2024 00:02:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283213

            Bug ID: 283213
           Summary: Mk/Uses/cargo.mk: Fails to configure when dependency
                    is sourced  from a GitHub revision: dependency
                    (meter-macros) specified without providing a local
                    path, Git repository, version, or workspace dependency
                    to use
           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 255728
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255728&action=edit
patch

While attempting to update databases/greptimedb with the attached patch I
encountered this failure:

> ===>   Updating Cargo.lock
> error: failed to load manifest for workspace member `/usr/ports/databases/greptimedb/work/greptimedb-0.10.2/src/api`
> referenced by workspace at `/usr/ports/databases/greptimedb/work/greptimedb-0.10.2/Cargo.toml`
> <...skipped...>
> Caused by:
>   dependency (meter-macros) specified without providing a local path, Git repository, version, or workspace dependency to use
> *** Error code 101

This is likely caused by the meter-macros dependency sourced from a GitHub
revision in Cargo.toml:
> meter-core = { git = "https://github.com/GreptimeTeam/greptime-meter.git", rev = "a10facb353b41460eeb98578868ebf19c2084fac" }


Please advise how to proceed.


Thanks,
Yuri

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