[Bug 194814] New: bsd-sort (textproc/bsdsort) gives error on install/reinstall

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 4 15:56:06 UTC 2014


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

            Bug ID: 194814
           Summary: bsd-sort (textproc/bsdsort) gives error on
                    install/reinstall
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: lidl at pix.net

I noticed when adding this port to my builds recently, that the
post-install rules throw an error.  For example, if I just have
portmaster rebuild the port, like this:

# portmaster bsd-sort

===>>> Currently installed version: bsd-sort-20120716
===>>> Port directory: /usr/ports/textproc/bsdsort

[...]

===>>> Creating a backup package for old version bsd-sort-20120716
Creating package for bsd-sort-20120716
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages
in the universe):

Installed packages to be REMOVED:
    bsd-sort-20120716

The operation will free 82 kB.
[1/1] Deleting bsd-sort-20120716: 100%

===>  Installing for bsd-sort-20120716
===>  Checking if bsd-sort already installed
===>   Registering installation for bsd-sort-20120716
ln: /usr/local/bin/bsdsort: File exists
ln: /usr/local/bin/gnusort: File exists
pkg-static: POST-INSTALL script failed

===>>> Re-installation of bsd-sort-20120716 complete

It's the warning about "ln: /usr/local/bin/bsdsort: File exists" and
"ln: /usr/local/bin/gnusort: File exists" that concern me.

The same errors occur when I manually delete the package first, and
do a fresh install.

Thanks for your attention.

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


More information about the freebsd-ports-bugs mailing list