Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2023 20:13:25 +0200
From:      Felix Palmen <zirias@freebsd.org>
To:        ports@freebsd.org
Subject:   plist-check not reporting orphaned files present in a @comment
Message-ID:  <5h3c6jbzs7y5k3hyimqn7jkyo3se3txvcywahpcffzc24hjew7@kx4mhnqq7gh4>

next in thread | raw e-mail | index | archive | help

--xgpk4fdi7pv5tbf2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
 Felix Palmen <zirias@FreeBSD.org>     {private}   felix@palmen-it.de
 -- ports committer --                     {web}  http://palmen-it.de
 {pgp public key}  http://palmen-it.de/pub.txt
 {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231

--xgpk4fdi7pv5tbf2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZN0Rs18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz
NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny
Mb8/AP0aehtCUnNirGwtlJKTB9zm/Bxbe81etq95XPSxTMN2+AD+PlLMZK1yiG/G
Ixae1cKHQT+JCdVWtwmGWTgiuoJ4TQI=
=w2eT
-----END PGP SIGNATURE-----

--xgpk4fdi7pv5tbf2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5h3c6jbzs7y5k3hyimqn7jkyo3se3txvcywahpcffzc24hjew7>