Description of problem: This is the current $ less /usr/lib/sparcv9/pkgconfig/mozldap6.pc prefix=/usr exec_prefix=/usr libdir=/usr/lib/sparcv9 includedir=/usr/include/mozldap6 bindir=/usr/bin/sparcv9 major=%major% [...] The bindir is picked up when DS is configured and DS scripts are set with the path for the mozldap6 tools as follows (this is an example picked up from db2index.pl) $ENV{'PATH'} = "$prefix/usr/bin/sparcv9:$prefix/usr/bin:/usr/bin/sparcv9:/usr/bin"; On Solaris, there is no LDAP tools in /usr/bin/sparcv9, but Sun system LDAP tools are located in /usr/bin. So, the DS scripts are forced to use the Sun LDAP tools and some of the TET clu tests fail due to the differences.
Created attachment 149885 [details] svn diff mozldap6.spec Change: 1. Setting %{mylibdir}/%{base_name} to mybindir, which is used for pkgconfig/mozldap6.pc. 2. Using the variable mybindir for the LDAP tool location.
Looks good!
Created attachment 149952 [details] cvs diff (build_*mozldap*, mozldap6.spec) In addition to the changes in comment #1, increased the release number to 6.
Created attachment 149953 [details] svn commit message Thanks to Nathan for the clues for debugging as well as reviewing the changes. Checked in into HEAD.
Pushed the package files to /share/builds/sandbox/dirsec/current/pkgs/sparcv9/5.9. Then re-catalog'ed: cd /share/builds/sandbox/dirsec ./recatalog ================= 32-bit Red Hat (Solaris 9) ================= ================================================================ ================= 64-bit Red Hat (Solaris 9) ================= ================================================================
Verified that mozldap6.pc on Solaris uses a bindir of /usr/lib/sparcv9/mozldap6. Our clu test suite also verifies that this fix is working properly. Marking as VERIFIED.