devel/autoconf-wrapper won't install

b. f. bf1783 at
Tue Sep 21 09:10:23 UTC 2010

>===>  Checking if devel/autoconf-wrapper already installed
>ln: /usr/local/bin/autoconf: File exists
>*** Error code 1
>Stop in /usr/ports/devel/autoconf-wrapper.

Look at the autoconf-wrapper Makefile:

WRAPPED_TOOLS?= autoconf autoheader autom4te autoreconf autoscan \
                autoupdates ifnames
.for tool in ${WRAPPED_TOOLS}
        @${LN} -s ${PORTNAME} ${PREFIX}/bin/${tool}

The do-install target is failing because there is a file,
/usr/local/bin/autoconf, where it wants to put a symlink.  Remove this
file (and any other blocking files) and try again.  Probably this is
just left from some broken deinstallation of autoconf-wrapper, as the
port has no known CONFLICTS, but you may wish to check if the blocking
files are listed as belonging to a particular port in your package
database with 'pkg_info -W filename' before deleting them.  If they
are listed as belonging to some other port, then either your package
database is corrupted, or some port needs to have CONFLICTS
registered.  In the latter case, you should file a PR.


More information about the freebsd-ports mailing list