Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2014 15:56:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194814] New: bsd-sort (textproc/bsdsort) gives error on install/reinstall
Message-ID:  <bug-194814-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: lidl@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.



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