Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2020 22:34:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250439] check leftovers phase fails if @sample is a symlink with pkg 1.15.7+
Message-ID:  <bug-250439-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250439

            Bug ID: 250439
           Summary: check leftovers phase fails if @sample is a symlink
                    with pkg 1.15.7+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com

Since pkg 1.15.7 poudriere testport fails during leftovers phase if there's=
 a
@sample file that's a symlink.

You can see this by running poudriere testport on www/tt-rss.  Since
config.php.sample is a symlink to config.php-dist poudriere testport fails
during leftovers phase with the following message:

  ...
  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
  =3D>> Checking for extra files and directories
  =3D>> Error: Files or directories left over:
  %%WWWDIR%%/config.php
  @dir %%WWWOWN%%
  ...


Turning the @sample file into a real file fixes the issue however is this
something that the ports framework should support?  Allowing a @sample file=
 to
be a symlink?

If so then is this a pkg issue with 1.15.7 or does the ports framework need
updated to support the change from pkg 1.15.7?


PS: The above output from poudriere also shows another bug in the output of
check_leftovers.sh due the sed sub/replace %%WWWDIR%% gets replaced with
%%WWWOWN%%.

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



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