Issue 3415 - HEAD ldapadd creates invalid link
Summary: HEAD ldapadd creates invalid link
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: build (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 05:25 UTC by Quanah Gibson-Mount
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Quanah Gibson-Mount 2004-12-03 05:25:15 UTC
Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.66.182.82)


The ldapadd script created at installation time with the HEAD checkout has
invalid links created:

/usr/local/bin/ldapadd: error:
/usr/local/stow/openldap-2.3.0/bin/.libs/ldapmodify does not exist


The comments in the script itself:

# This wrapper script should never be moved out of the build directory.
# If it is, it will not operate correctly.


seem to indicate that what should be happening (??) definately isn't.

I'd at least expect ldapadd (if it is only going to be a script) to just use
./ldapmodify, rather than a full path.


Comment 1 Quanah Gibson-Mount 2004-12-09 00:13:41 UTC

--On Friday, December 03, 2004 5:25 AM +0000 openldap-its@OpenLDAP.org 
wrote:

This appears directly related to the use of SHTOOL and mkln in HEAD.

--Quanah


--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Comment 2 Quanah Gibson-Mount 2004-12-09 02:24:28 UTC

--On Wednesday, December 08, 2004 4:13 PM -0800 Quanah Gibson-Mount 
<quanah@stanford.edu> wrote:

>
>
> --On Friday, December 03, 2004 5:25 AM +0000 openldap-its@OpenLDAP.org
> wrote:
>
> This appears directly related to the use of SHTOOL and mkln in HEAD.

SHTOOL seems unable to create relative links where both of the targets are 
in the same directory:

../../build/shtool mkln -t -f /usr/local/stow/openldap-2.3.0/bin/ldapmodify 
/usr/local/stow/openldap-2.3.0/bin/ldapadd
ln -f ldapmodify /usr/local/stow/openldap-2.3.0/bin/ldapadd
ln: accessing `ldapmodify': No such file or directory


It definitely performs the wrong ln command here.

I've sent a gnote to gnu@gnu.org :P

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Comment 3 Kurt Zeilenga 2004-12-15 19:00:41 UTC
moved from Incoming to Build
Comment 4 Howard Chu 2005-01-11 18:06:20 UTC
changed notes
changed state Open to Test
Comment 5 Howard Chu 2005-01-12 01:43:11 UTC
quanah@stanford.edu wrote:

>--On Wednesday, December 08, 2004 4:13 PM -0800 Quanah Gibson-Mount 
><quanah@stanford.edu> wrote:
>
>  
>
>>--On Friday, December 03, 2004 5:25 AM +0000 openldap-its@OpenLDAP.org
>>wrote:
>>
>>This appears directly related to the use of SHTOOL and mkln in HEAD.
>>    
>>
>
>SHTOOL seems unable to create relative links where both of the targets are 
>in the same directory:
>
>../../build/shtool mkln -t -f /usr/local/stow/openldap-2.3.0/bin/ldapmodify 
>/usr/local/stow/openldap-2.3.0/bin/ldapadd
>ln -f ldapmodify /usr/local/stow/openldap-2.3.0/bin/ldapadd
>ln: accessing `ldapmodify': No such file or directory
>
>
>It definitely performs the wrong ln command here.
>
>I've sent a gnote to gnu@gnu.org :P
>
>  
>
I guess until shtool gets fixed, we should just make ldapadd a symlink. 
In the meantime, this is also filed
with the shtool maintainers http://cvs.ossp.org/tktview?tn=56,1

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

Comment 6 Kurt Zeilenga 2005-01-26 02:48:53 UTC
changed state Test to Closed
Comment 7 Howard Chu 2009-02-17 07:02:46 UTC
moved from Build to Archive.Build
Comment 8 OpenLDAP project 2014-08-01 21:05:10 UTC
fixed in HEAD