[Bug 245110] Porter's handbook 5.4.3: clarify group in GH_TUPLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Jul 2022 08:01:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245110

Gleb Popov <arrowd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arrowd@FreeBSD.org

--- Comment #8 from Gleb Popov <arrowd@FreeBSD.org> ---
I just stumbled upon related problem with GH_TUPLE. Having

GH_TUPLE=
input-output-hk:cardano-base:0f3a867493059e650cda69e20a5cbf1ace289a57:dist-newstyle/src/cardano-b_-c8db9876882556ed

results in

The
input-output-hk:cardano-base:0f3a867493059e650cda69e20a5cbf1ace289a57:dist-newstyle/src/cardano-b_-c8db9876882556ed
GH_TUPLE line has a tag containing something else than [a-zA-Z0-9_]
*** Error code 1

which is highly misleading error message. By trial and error I figured out that
the problem is actually not with tagname, but the last part of the tuple.

For instance, replacing "dist-newstyle" with "dist_newstyle" makes the problem
go away.

It'd be great to have an even more detailed explanation on the

```
Note that <replaceable>group</replaceable> and
<replaceable>/subdir</replaceable> are not separated by a <literal>:</literal>
like the other parameters.</entry>
```

part from the patch.

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