Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 21:22:49 +0300
From:      Sergei Vyshenski <svysh.fbsd@gmail.com>
To:        ports@freebsd.org
Subject:   Re: plist-check not reporting orphaned files present in a @comment
Message-ID:  <5335600c-9568-e126-3738-5fd3aa7b3c9e@gmail.com>
In-Reply-To: <5h3c6jbzs7y5k3hyimqn7jkyo3se3txvcywahpcffzc24hjew7@kx4mhnqq7gh4>
References:  <5h3c6jbzs7y5k3hyimqn7jkyo3se3txvcywahpcffzc24hjew7@kx4mhnqq7gh4>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I had similar problems, if mode modifier is used in pkg-plist.
This line leads to error, if EXAMPLES is unset:
@(,,755) %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bin/clca
This line goes without error, if EXAMPLES is unset:
%%PORTEXAMPLES%%@(,,755) %%EXAMPLESDIR%%/bin/clca

Regards, Sergei
On 8/16/2023 9:13 PM, Felix Palmen wrote:
> Hi all,
>
> I'm having unexpected trouble with plist-check. I have some custom
> PLIST_SUB expanding to "@comment " based on ${ARCH} and found that
> orphaned files from ${STAGEDIR} weren't properly reported.
>
> Then I tried to hardcode "@comment " in pkg-plist instead (to rule out
> possible issues with expansion) and they *still* were not reported,
> which seems very strange. Only when I removed the lines completely,
> plist-check correctly reported the orphaned files.
>
> The only "unusual" thing about the ports where this happened to me is
> that they use a custom ${PREFIX} (not ${LOCALBASE}). I didn't test yet
> whether this happens with default ${PREFIX} as well.
>
> Sure, I should dig into the framework and debug it, but right now, it
> would distract me from my ongoing project, so I thought I'd ask the list
> first whether anyone has an idea what could go wrong here ^^
>
> Cheers, Felix
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5335600c-9568-e126-3738-5fd3aa7b3c9e>