ports/128613: /usr/ports/net/openldap24-server: ln: /usr/local/libexec/openldap/smbk5pwd.so: File exists *** Error code 1

O. Hartmann ohartman at zedat.fu-berlin.de
Wed Nov 5 19:00:17 UTC 2008


>Number:         128613
>Category:       ports
>Synopsis:       /usr/ports/net/openldap24-server: ln: /usr/local/libexec/openldap/smbk5pwd.so: File exists *** Error code 1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 05 19:00:16 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 8.0-CURRENT/AMD64
>Organization:
FU Berlin
>Environment:
>Description:
When already installed OpenLDAP-2.4.11 or OpenLDAP-2.4.12 (with patch) gets a 'reinstall' or when trying doing another installation without deinstallation (even with portupgrade -Duvra), the portbuild and -installation end up in this error: 


  cd back-sock; make  install
run configure with --enable-sock to make back_sock

  cd back-sql; make  install
run configure with --enable-sql to make back_sql

  cd shell-backends; make  install

  cd slapi; make  install
if test "no" = "yes"; then  ../../../build/shtool mkdir -p /usr/local/lib;  /bin/sh /usr/local/bin/libtool --mode=install ../../../build/shtool install -c  -m 644 libslapi.la /usr/local/lib;  fi

  cd overlays; make  install
./../build/shtool mkdir -p /usr/local/sbin
for i in slapadd slapcat slapdn slapindex slappasswd slaptest slapauth slapacl; do  rm -f /usr/local/sbin/$i;  ../../build/shtool mkln -s -f /usr/local/libexec/slapd /usr/local/sbin/$i;  done
./../build/shtool install -c  -m 600 slapd.conf.tmp /usr/local/etc/openldap/slapd.conf.default
if test ! -f /usr/local/etc/openldap/slapd.conf; then  echo "installing slapd.conf in /usr/local/etc/openldap";  echo "../../build/shtool install -c  -m 600 slapd.conf.tmp /usr/local/etc/openldap/slapd.conf";  ../../build/shtool install -c  -m 600 slapd.conf.tmp /usr/local/etc/openldap/slapd.conf;  else  echo "PRESERVING EXISTING CONFIGURATION FILE /usr/local/etc/openldap/slapd.conf" ;  fi
PRESERVING EXISTING CONFIGURATION FILE /usr/local/etc/openldap/slapd.conf
./../build/shtool install -c  -m 600 ./DB_CONFIG  /usr/local/etc/openldap/DB_CONFIG.example
./../build/shtool install -c -m 444 schema/README /usr/local/etc/openldap/schema/README
./../build/shtool install -c -m 444 schema/core.ldif /usr/local/etc/openldap/schema/core.ldif
./../build/shtool install -c -m 444 schema/cosine.ldif /usr/local/etc/openldap/schema/cosine.ldif
./../build/shtool install -c -m 444 schema/inetorgperson.ldif /usr/local/etc/openldap/schema/inetorgperson.ldif
./../build/shtool install -c -m 444 schema/nis.ldif /usr/local/etc/openldap/schema/nis.ldif
./../build/shtool install -c -m 444 schema/openldap.ldif /usr/local/etc/openldap/schema/openldap.ldif
./../build/shtool install -c -m 444 schema/collective.schema /usr/local/etc/openldap/schema/collective.schema
./../build/shtool install -c -m 444 schema/corba.schema /usr/local/etc/openldap/schema/corba.schema
./../build/shtool install -c -m 444 schema/core.schema /usr/local/etc/openldap/schema/core.schema
./../build/shtool install -c -m 444 schema/cosine.schema /usr/local/etc/openldap/schema/cosine.schema
./../build/shtool install -c -m 444 schema/duaconf.schema /usr/local/etc/openldap/schema/duaconf.schema
./../build/shtool install -c -m 444 schema/dyngroup.schema /usr/local/etc/openldap/schema/dyngroup.schema
./../build/shtool install -c -m 444 schema/inetorgperson.schema /usr/local/etc/openldap/schema/inetorgperson.schema
./../build/shtool install -c -m 444 schema/java.schema /usr/local/etc/openldap/schema/java.schema
./../build/shtool install -c -m 444 schema/misc.schema /usr/local/etc/openldap/schema/misc.schema
./../build/shtool install -c -m 444 schema/nadf.schema /usr/local/etc/openldap/schema/nadf.schema
./../build/shtool install -c -m 444 schema/nis.schema /usr/local/etc/openldap/schema/nis.schema
./../build/shtool install -c -m 444 schema/openldap.schema /usr/local/etc/openldap/schema/openldap.schema
./../build/shtool install -c -m 444 schema/ppolicy.schema /usr/local/etc/openldap/schema/ppolicy.schema
 
 
ln: /usr/local/libexec/openldap/smbk5pwd.so: File exists
*** Error code 1

Stop in /usr/ports/net/openldap24-server.
*** Error code 1

Stop in /usr/ports/net/openldap24-server.

>How-To-Repeat:

>Fix:
Completely deinstall port or delete /usr/local/libexec/openldap/smbk5pwd.so manually will help.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list