Bug 128613

Summary: /usr/ports/net/openldap24-server: ln: /usr/local/libexec/openldap/smbk5pwd.so: File exists *** Error code 1
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Xin LI <delphij>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2008-11-05 19:00:16 UTC
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.

Fix: 

Completely deinstall port or delete /usr/local/libexec/openldap/smbk5pwd.so manually will help.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-05 19:00:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Xin LI freebsd_committer freebsd_triage 2009-02-06 19:06:02 UTC
State Changed
From-To: open->feedback
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2009-03-25 15:31:29 UTC
So what's the status here? Still a problem with 2.4.15?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Logitech is infamous for providing 30 MB compressed driver software
packages that install a bunch of crap applications on the system and
round up the number of icons in the tray to the nearest power of two.
  -- Michael Stromberg
Comment 4 Xin LI freebsd_committer freebsd_triage 2009-04-06 03:01:09 UTC
State Changed
From-To: feedback->closed

Feedback timed out, can not reproduce at my side.  We can reopen 
this if the problem still exists, thanks for your submission!