Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Aug 2022 23:47:03 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        ports@freebsd.org
Subject:   Re: Checking for pkg-plist issues shows strange error message
Message-ID:  <ef6f8ff3-85eb-d638-bdcf-a22f12157dfa@fechner.net>
In-Reply-To: <7ad35f60-0bc3-1aed-9c2a-33c1a66739fb@fechner.net>
References:  <7ad35f60-0bc3-1aed-9c2a-33c1a66739fb@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------U0AFdFXVw3U0FRgS4eFWVH7V
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Am 05.08.2022 um 09:21 schrieb Matthias Fechner:
>
> The patch itself looks fine:
> https://gitlab.fechner.net/mfechner/Gitlab/-/commit/14b18afc4075d6f2f2816670bf593efb23948320#81344ed94757cf52e8c0574de0f528b2badf2495_98_105
>
> But if I do a test build with poudriere I get something strange:
>
> ===> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: @dir %%DATADIR%%/share/git-core/templates/branches
> ===> Checking for items in pkg-plist which are not in STAGEDIR
> Error: Missing: @dir %%DATADIR%%/share/git-core/templates/branches
> ===> Error: Plist issues found.

use this fixes it for me:
|@${ECHO_CMD} "@dir ${DATADIR}/share/git-core/templates/branches" >> 
${TMPPLIST} |

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

--------------U0AFdFXVw3U0FRgS4eFWVH7V
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 05.08.2022 um 09:21 schrieb Matthias
      Fechner:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7ad35f60-0bc3-1aed-9c2a-33c1a66739fb@fechner.net">
      <p>The patch itself looks fine:<br>
        <a class="moz-txt-link-freetext"
href="https://gitlab.fechner.net/mfechner/Gitlab/-/commit/14b18afc4075d6f2f2816670bf593efb23948320#81344ed94757cf52e8c0574de0f528b2badf2495_98_105"
          moz-do-not-send="true">https://gitlab.fechner.net/mfechner/Gitlab/-/commit/14b18afc4075d6f2f2816670bf593efb23948320#81344ed94757cf52e8c0574de0f528b2badf2495_98_105</a></p>;
      <p>But if I do a test build with poudriere I get something
        strange:<br>
      </p>
      <pre>===&gt; Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%DATADIR%%/share/git-core/templates/branches
===&gt; Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: @dir %%DATADIR%%/share/git-core/templates/branches
===&gt; Error: Plist issues found.</pre>
    </blockquote>
    <p>use this fixes it for me:<br>
      <code><span id="LC105" class="line" lang="make"><span class="p">@</span><span
            class="nv">${ECHO_CMD}</span> <span class="s2">"@dir </span><span
            class="nv">${DATADIR}</span><span class="s2">/share/git-core/templates/branches"</span>
          <span class="o">&gt;&gt;</span> <span class="nv">${TMPPLIST}</span></span>
      </code></p>
    <pre class="moz-signature" cols="72">
Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
</pre>
  </body>
</html>

--------------U0AFdFXVw3U0FRgS4eFWVH7V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef6f8ff3-85eb-d638-bdcf-a22f12157dfa>