Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 2023 11:34:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273468] Mk/Uses/cargo.mk: strips leading "v" from "tag" values even if it's part of a word
Message-ID:  <bug-273468-7788-SNAcmkfDWb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273468-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273468-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D6b1b157425932c2977c10a53c090101=
215c8ad5e

commit 6b1b157425932c2977c10a53c090101215c8ad5e
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2023-09-30 08:38:19 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2023-10-02 11:33:25 +0000

    cargo.mk: Strip vV from GitHub tags only when followed by a digit

    Fixes the following in games/veloren-weekly when iced crates have a tag
    similar to veloren-winit-0.28

    $ cd games/veloren-weekly
    $ make cargo-crates-merge
    $ make
    [...]
    =3D=3D=3D>  Configuring for veloren-weekly-s20230830
    =3D=3D=3D>   Cargo config:
    find:
/usr/ports/games/veloren-weekly/work/egui_winit_platform-eloren-winit-0.28:=
 No
such file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    find: /usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28: No s=
uch
file or directory
    [...]
    [patch.'https://gitlab.com/Imbris/keyboard-keynames.git']
    keyboard-keynames =3D { path =3D
'/usr/ports/games/veloren-weekly/work/keyboard-keynames-veloren-winit-0.28-=
fca4bbdfa51bf054b155a455935b3792975c989d'
}
    [...]
    [patch.'https://github.com/Imberflur/egui_winit_platform.git']
    egui_winit_platform =3D { path =3D
'/usr/ports/games/veloren-weekly/work/egui_winit_platform-eloren-winit-0.28=
' }
    [...]
    [patch.'https://github.com/Imberflur/iced']
    iced_core =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    iced_futures =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    iced_graphics =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    iced_native =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    iced_style =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    iced_winit =3D { path =3D
'/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28' }
    [...]
    =3D=3D=3D>   Updating Cargo.lock
    error: failed to load source for dependency `iced_core`

    Caused by:
      Unable to update
/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28

    Caused by:
      failed to read
`/usr/ports/games/veloren-weekly/work/iced-eloren-winit-0.28/Cargo.toml`

    Caused by:
      No such file or directory (os error 2)
    *** Error code 101

    Stop.
    make[1]: stopped in /usr/ports/games/veloren-weekly

    PR:             273468
    Reported by:    jbeich

 Mk/Scripts/cargo-crates-git-common.awk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--=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-273468-7788-SNAcmkfDWb>