This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Various] Digested Articles


>>>>> Andreas Jaeger writes:

 > Hi all,

 > the appended two bug reports from Ingo Buescher and Klaus Dittrich
 > contain both the same problem: The globtest in subdirectory posix
 > failed.

 > Anybody a clue what's broken?

After another bug report by Bruno Haible, Ulrich and myself nailed
this finally down to a bug in the testsuite.  The problem occured only 
when building in the source directory since in this case
LD_LIBRARY_PATH contained some relative paths and the test program did 
a chdir to another directory which invalidated those relative paths.

The feedback from people that had problems with globtest so far is
that the appended patch indeed fixes the problem.

Andreas

1999-03-05  Ulrich Drepper  <drepper@cygnus.com>

        * posix/globtest.sh: Make common_objpfx path absolute and and db2
        and hesiod directory to library path [PR libc/1007].

Index: posix/globtest.sh
===================================================================
--- globtest.sh	1998/08/08 19:43:07	1.9
+++ globtest.sh	1999/03/05 15:02:10	1.10
@@ -4,8 +4,17 @@
 elf_objpfx=$1; shift
 rtld_installed_name=$1; shift
 
+# We have to make the paths `common_objpfx' absolute.
+case "$common_objpfx" in
+  .*)
+    common_objpfx="`pwd`/$common_objpfx"
+    ;;
+  *)
+    ;;
+esac
+
 # We have to find the libc and the NSS modules.
-library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis
+library_path=${common_objpfx}:${common_objpfx}nss:${common_objpfx}nis:${common_objpfx}db2:${common_objpfx}hesiod
 
 # Since we use `sort' we must make sure to use the same locale everywhere.
 LC_ALL=C

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]