[Bug 250439] check leftovers phase fails if @sample is a symlink with pkg 1.15.7+

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 18 22:34:27 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250439

            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 at FreeBSD.org
          Reporter: dereks at 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:

  ...
  ===========================================================================
  =>> Checking for extra files and directories
  =>> 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%%.

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


More information about the freebsd-ports-bugs mailing list