Two errors so far, I fixed one (hopefully correct):
diff -u ./gllib/copy-acl.c.orig ./gllib/copy-acl.c
--- ./gllib/copy-acl.c.orig     2010-10-02 21:25:58.000000000 -0500
+++ ./gllib/copy-acl.c  2010-10-03 06:59:44.000000000 -0500
@@ -544,7 +544,7 @@
         /* If NACLENTRIES cannot be trusted, use dynamic memory allocation.  */
         abort ();

-      if (acl ((char *) name, ACL_GET, count, entries) == count)
+      if (acl ((char *) src_name, ACL_GET, count, entries) == count)
         break;
       /* Huh? The number of ACL entries changed since the last call.
          Repeat.  */

make[4]: Entering directory `/usr/local/Floss/acltestdir2/gltests'
cc  -g   -o test-file-has-acl test-file-has-acl.o ../gllib/libgnu.a

eld - TNS/E Native Mode Linker - T0608H01^AAK - 16FEB2009
Copyright 2009 Hewlett-Packard Company
This program may be distributed under the terms of the GNU
General Public License.

eld command line:
   /usr/bin/eld -o test-file-has-acl -set systype oss -set highpin on -set
   highrequestor on -set inspect on /usr/lib/ccplmain.o test-file-has-acl.o
   ../gllib/libgnu.a -L/usr/local/lib -lfloss -lutil -lrld -L /G/system/sys03
   -lcre -lcrtl -lossk -lossf -lsec -li18n -licnv -losse -linet -lossh -lossc
   -allow_duplicate_procs -unres_symbols error

**** ERROR **** [1210]:
   ../gllib/libgnu.a(file-has-acl.o): In function `file_has_acl':
   file-has-acl.o(.text._148709872+0x1e2): unresolved reference to
   acl_nontrivial.

No output file created.

1 error reported.
No warnings reported.
No informational messages reported.
16 informational messages suppressed.
Elapsed Time:  00:00:01
c89: /usr/bin/eld exited, returning 1.
make[4]: *** [test-file-has-acl] Error 1


more to follow shortly...


-----Original Message-----
From: Bruno Haible [mailto:[email protected]] 
Sent: Sunday, October 03, 2010 1:04 PM
To: Schmitz, Joachim
Cc: 'Paolo Bonzini'; 'bug-gnulib'
Subject: Re: ACLs on HP NonStop

Hi Joachim,

> The shell commands are setacl and getacl.
> 
> Output of "VERBOSE=1 make check TESTS=test-file-has-acl.sh" attached.
>
> + acl_flavor=osf1
> ...
> setacl: illegal option -- u

Thanks, that's what we needed to know. So, one needs a new acl_flavor in the 
four unit tests.

There used to be an "Open System Services Shell and Utilities Reference Manual"
manual on docs.hp.com, but it appears to be gone.

The options of NSK setacl appear to be similar to those of HP-UX setacl 
<http://docs.hp.com/en/B3921-90010/setacl.1.html>.

With this info, I have created a new acltestdir for you, again at
  http://www.haible.de/bruno/gnu/acltestdir.tar.gz

Bruno


Reply via email to