Created attachment 254299 [details] test-port.shar See the attached testcase port.
For example, it prints the line: > simplex-chat:aeson.git:aab7b5a14d6c5ea64c64dcaee418de1bb00dcc2b:aeson/dist-newstyle/src/aeson-dbbb7a8763942a5f \ instead of the line > simplex-chat:aeson:aab7b5a14d6c5ea64c64dcaee418de1bb00dcc2b:aeson/dist-newstyle/src/aeson-dbbb7a8763942a5f \
How does the source line in the cabal.project look like that causes this behavior?
Figured it out. It is upstream project who added these ".git", but we also should filter them out on our side.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=467dd9eb3e1e8360dccab57e059ecbd3807fd22c commit 467dd9eb3e1e8360dccab57e059ecbd3807fd22c Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-10-20 17:55:10 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-10-20 17:55:40 +0000 ports-mgmt/hs-cabal2tuple: Update to 2.0.1.0 PR: 282149 ports-mgmt/hs-cabal2tuple/Makefile | 5 ++--- ports-mgmt/hs-cabal2tuple/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-)
This should fix it, let me know if it works.