NetBSD Problem Report #49067

From www@NetBSD.org  Sun Aug  3 00:40:15 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 807F1A8D71
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  3 Aug 2014 00:40:15 +0000 (UTC)
Message-Id: <20140803004005.E6066A8D74@mollari.NetBSD.org>
Date: Sun,  3 Aug 2014 00:40:05 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: shells/ast-ksh build fails on i386-6.99.49
X-Send-Pr-Version: www-1.0

>Number:         49067
>Category:       pkg
>Synopsis:       shells/ast-ksh build fails on i386-6.99.49
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 03 00:45:00 +0000 2014
>Originator:     John D. Baker
>Release:        NetBSD/i386-6.99.49, pkgsrc2014Q2
>Organization:
>Environment:
NetBSD gx260a 6.99.49 NetBSD 6.99.49 (NO_DRM) #55: Fri Aug  1 19:52:10 CDT 2014  sysop@verthandi.technoskunk.fur:/d0/build/current/obj/i386/sys/arch/i386/compile/NO_DRM i386

>Description:
shells/ast-ksh (a dependency of wip/cde) has multiple build failures
on i386-current, and at least one on sparc64-current as noted in the
thread starting here:

http://mail-index.netbsd.org/netbsd-users/2014/07/28/msg015047.html

The way the build system behaves, you don't see the failure until
the install phase.

Prior to the failure in the message thread above are:

[...]
+ cc '-D_BLD_DLL' -KPIC -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_PACKAGE_ast' '-D_BLD_dll' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c: In function 'dllplugin':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:41:2: error: unknown type name 'Dllscan_t'
  Dllscan_t* dls;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:2: error: unknown type name 'Dllent_t'
  Dllent_t* dle;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:47:11: warning: assignment makes pointer from integer without a cast [enabled by default]
   if (dls = dllsopen(lib, name, ver))
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:49:15: warning: assignment makes pointer from integer without a cast [enabled by default]
    while (dle = dllsread(dls))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:26: error: request for member 'path' in something not a structure or union
     if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:40: error: 'RTLD_GLOBAL' undeclared (first use in this function)
     if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT))
                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:40: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:55:52: error: 'RTLD_PARENT' undeclared (first use in this function)
     if (dll = dllopen(dle->path, flags|RTLD_GLOBAL|RTLD_PARENT))
                                                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:57:28: error: request for member 'path' in something not a structure or union
      if (!dllcheck(dll, dle->path, rel, cur))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:65:24: error: request for member 'path' in something not a structure or union
       strlcpy(path, dle->path, size);
                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:93:66: error: request for member 'path' in something not a structure or union
      errorf("dll", NiL, 1, "dllplugin: %s dlopen failed: %s", dle->path, dllerror(1));
                                                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:109:10: warning: assignment makes pointer from integer without a cast [enabled by default]
  if (dll = dllopen(name, flags))
          ^
mamake [lib/libdll]: *** exit code 1 making dllplug.o
+ cc '-D_BLD_DLL' -KPIC -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_PACKAGE_ast' '-D_BLD_dll' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:42:1: error: unknown type name 'Dllnames_t'
 Dllnames_t*
 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:43:44: error: unknown type name 'Dllnames_t'
 dllnames(const char* id, const char* name, Dllnames_t* names)
                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:9: error: unknown type name 'Dllnames_t'
 dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc)
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:110:51: error: unknown type name 'Dllerror_f'
 dll_lib(Dllnames_t* names, unsigned long version, Dllerror_f dllerrorf, void* disc)
                                                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c: In function 'dllmeth':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:2: error: unknown type name 'Dllnames_t'
  Dllnames_t names;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:187:2: warning: return makes pointer from integer without a cast [enabled by default]
  return dll_lib(dllnames(id, name, &names), version, 0, 0);
  ^
mamake [lib/libdll]: *** exit code 1 making dll_lib.o
[...]
+ cc '-D_BLD_DLL' -KPIC '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_BLD_dll' '-D_PACKAGE_ast' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:85:1: error: unknown type name 'Dllinfo_t'
 Dllinfo_t*
 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c: In function 'dllinfo':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:98:2: error: unknown type name 'Dllinfo_t'
  static Dllinfo_t info;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:100:11: error: request for member 'sibling' in something not a structure or union
  if (!info.sibling)
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:102:7: error: request for member 'sibling' in something not a structure or union
   info.sibling = info.sib;
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:102:22: error: request for member 'sib' in something not a structure or union
   info.sibling = info.sib;
                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:144:30: error: request for member 'sibbuf' in something not a structure or union
     if (d && dn < sizeof(info.sibbuf))
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:146:17: error: request for member 'sibbuf' in something not a structure or union
      memcpy(info.sibbuf, d, dn);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:147:10: error: request for member 'sibling' in something not a structure or union
      info.sibling[0] = info.sibbuf;
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:147:28: error: request for member 'sibbuf' in something not a structure or union
      info.sibling[0] = info.sibbuf;
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:149:30: error: request for member 'envbuf' in something not a structure or union
     if (v && vn < sizeof(info.envbuf))
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:151:17: error: request for member 'envbuf' in something not a structure or union
      memcpy(info.envbuf, v, vn);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:152:10: error: request for member 'env' in something not a structure or union
      info.env = info.envbuf;
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:152:21: error: request for member 'envbuf' in something not a structure or union
      info.env = info.envbuf;
                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:156:12: error: request for member 'sibling' in something not a structure or union
   if (!info.sibling[0] || streq(info.sibling[0], bin))
            ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:156:37: error: request for member 'sibling' in something not a structure or union
   if (!info.sibling[0] || streq(info.sibling[0], bin))
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:23: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:156:37: error: request for member 'sibling' in something not a structure or union
   if (!info.sibling[0] || streq(info.sibling[0], bin))
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:41: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:157:8: error: request for member 'sibling' in something not a structure or union
    info.sibling[0] = bin;
        ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:158:18: error: request for member 'sibling' in something not a structure or union
   if (!streq(info.sibling[0], lib))
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:23: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:158:18: error: request for member 'sibling' in something not a structure or union
   if (!streq(info.sibling[0], lib))
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:41: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:159:8: error: request for member 'sibling' in something not a structure or union
    info.sibling[1] = lib;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:160:12: error: request for member 'env' in something not a structure or union
   if (!info.env)
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:161:8: error: request for member 'env' in something not a structure or union
    info.env = "LD_LIBRARY_PATH";
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:162:7: error: request for member 'prefix' in something not a structure or union
   info.prefix = astconf("LIBPREFIX", NiL, NiL);
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:163:7: error: request for member 'suffix' in something not a structure or union
   info.suffix = astconf("LIBSUFFIX", NiL, NiL);
       ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:164:17: error: request for member 'suffix' in something not a structure or union
   if (streq(info.suffix, ".dll"))
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:23: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:164:17: error: request for member 'suffix' in something not a structure or union
   if (streq(info.suffix, ".dll"))
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:41: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:165:8: error: request for member 'flags' in something not a structure or union
    info.flags |= DLL_INFO_PREVER;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:165:18: error: 'DLL_INFO_PREVER' undeclared (first use in this function)
    info.flags |= DLL_INFO_PREVER;
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:165:18: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:167:8: error: request for member 'flags' in something not a structure or union
    info.flags |= DLL_INFO_DOTVER;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:167:18: error: 'DLL_INFO_DOTVER' undeclared (first use in this function)
    info.flags |= DLL_INFO_DOTVER;
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c: At top level:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:211:1: error: unknown type name 'Dllscan_t'
 Dllscan_t*
 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c: In function 'dllsopen':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:216:2: error: unknown type name 'Dllscan_t'
  Dllscan_t* scan;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:217:2: error: unknown type name 'Dllinfo_t'
  Dllinfo_t* info;
  ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:63:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:30: error: 'Dllscan_t' undeclared (first use in this function)
  if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen()))
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:329:29: note: in definition of macro 'vmnewof'
 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:329:31: error: expected expression before ')' token
 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \
                               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:15: note: in expansion of macro 'vmnewof'
  if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen()))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:243:57: error: request for member 'tmp' in something not a structure or union
  if (!(scan = vmnewof(vm, 0, Dllscan_t, 1, i)) || !(scan->tmp = sfstropen()))
                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:248:6: error: request for member 'vm' in something not a structure or union
  scan->vm = vm;
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:6: error: request for member 'flags' in something not a structure or union
  scan->flags = info->flags;
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:250:20: error: request for member 'flags' in something not a structure or union
  scan->flags = info->flags;
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:253:7: error: request for member 'lib' in something not a structure or union
   scan->lib = (char**)(scan + 1);
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:254:12: error: request for member 'lib' in something not a structure or union
   s = *scan->lib = (char*)(scan->lib + 2);
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:254:32: error: request for member 'lib' in something not a structure or union
   s = *scan->lib = (char*)(scan->lib + 2);
                                ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:256:29: error: request for member 'suffix' in something not a structure or union
   if (!version && streq(info->suffix, ".dylib"))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:23: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:256:29: error: request for member 'suffix' in something not a structure or union
   if (!version && streq(info->suffix, ".dylib"))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:41: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:262:7: error: request for member 'flags' in something not a structure or union
   scan->flags |= DLL_MATCH_NAME;
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:266:13: error: request for member 'pb' in something not a structure or union
   if (!(scan->pb = vmnewof(vm, 0, char, t - (char*)name, 2)))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:268:14: error: request for member 'pb' in something not a structure or union
   memcpy(scan->pb, name, t - (char*)name);
              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:274:18: error: request for member 'prefix' in something not a structure or union
   j = strlen(info->prefix);
                  ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:275:39: error: request for member 'prefix' in something not a structure or union
   if (!j || i > j && strneq(name, info->prefix, j))
                                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:220:32: note: in definition of macro 'strneq'
 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n))
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:275:39: error: request for member 'prefix' in something not a structure or union
   if (!j || i > j && strneq(name, info->prefix, j))
                                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:220:47: note: in definition of macro 'strneq'
 #define strneq(a,b,n) (*(a)==*(b)&&!strncmp(a,b,n))
                                               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:277:19: error: request for member 'suffix' in something not a structure or union
    k = strlen(info->suffix);
                   ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:278:41: error: request for member 'suffix' in something not a structure or union
    if (i > k && streq(name + i - k, info->suffix))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:29: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:278:41: error: request for member 'suffix' in something not a structure or union
    if (i > k && streq(name + i - k, info->suffix))
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:219:43: note: in definition of macro 'streq'
 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b))
                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:293:11: error: request for member 'flags' in something not a structure or union
       scan->flags |= DLL_MATCH_VERSION;
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:304:7: error: request for member 'flags' in something not a structure or union
   scan->flags |= DLL_MATCH_VERSION;
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:305:17: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:305:35: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix);
                                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:305:57: error: request for member 'prefix' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix);
                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:305:77: error: request for member 'suffix' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s", info->prefix, name, info->suffix);
                                                                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:307:15: error: request for member 'flags' in something not a structure or union
  else if (scan->flags & DLL_INFO_PREVER)
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:307:25: error: 'DLL_INFO_PREVER' undeclared (first use in this function)
  else if (scan->flags & DLL_INFO_PREVER)
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:309:16: error: request for member 'tmp' in something not a structure or union
   sfprintf(scan->tmp, "%s%s", info->prefix, name);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:309:35: error: request for member 'prefix' in something not a structure or union
   sfprintf(scan->tmp, "%s%s", info->prefix, name);
                                   ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:16: error: request for member 'tmp' in something not a structure or union
     sfputc(scan->tmp, *s);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:5: note: in expansion of macro 'sfputc'
     sfputc(scan->tmp, *s);
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:16: error: request for member 'tmp' in something not a structure or union
     sfputc(scan->tmp, *s);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:5: note: in expansion of macro 'sfputc'
     sfputc(scan->tmp, *s);
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:16: error: request for member 'tmp' in something not a structure or union
     sfputc(scan->tmp, *s);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:5: note: in expansion of macro 'sfputc'
     sfputc(scan->tmp, *s);
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:16: error: request for member 'tmp' in something not a structure or union
     sfputc(scan->tmp, *s);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:312:5: note: in expansion of macro 'sfputc'
     sfputc(scan->tmp, *s);
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:313:16: error: request for member 'tmp' in something not a structure or union
   sfprintf(scan->tmp, "%s", info->suffix);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:313:33: error: request for member 'suffix' in something not a structure or union
   sfprintf(scan->tmp, "%s", info->suffix);
                                 ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:13: note: in expansion of macro 'sfstruse'
   if (!(s = sfstruse(scan->tmp)))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:13: note: in expansion of macro 'sfstruse'
   if (!(s = sfstruse(scan->tmp)))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:13: note: in expansion of macro 'sfstruse'
   if (!(s = sfstruse(scan->tmp)))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:13: note: in expansion of macro 'sfstruse'
   if (!(s = sfstruse(scan->tmp)))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:43: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:314:26: error: request for member 'tmp' in something not a structure or union
   if (!(s = sfstruse(scan->tmp)))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:56: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:316:17: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s", s);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:316:35: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s", s);
                                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:319:17: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:319:35: error: request for member 'nam' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version);
                                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:319:60: error: request for member 'prefix' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version);
                                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:319:80: error: request for member 'suffix' in something not a structure or union
   sfsprintf(scan->nam, sizeof(scan->nam), "%s%s%s.%s", info->prefix, name, info->suffix, version);
                                                                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:320:10: error: request for member 'flags' in something not a structure or union
  if (scan->flags & (DLL_MATCH_NAME|DLL_MATCH_VERSION))
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:322:11: error: request for member 'flags' in something not a structure or union
   if (scan->flags & DLL_INFO_PREVER)
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:335:18: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:335:36: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
                                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:335:60: error: request for member 'prefix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
                                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:335:89: error: request for member 'suffix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s%s%s", info->prefix, name, version, info->suffix);
                                                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:338:18: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:338:36: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
                                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:338:77: error: request for member 'prefix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
                                                                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:338:140: error: request for member 'suffix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
                                                                                                                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:338:154: error: request for member 'suffix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(%s([-.])%s%s|%s.%s)", info->prefix, name, strchr(version, '.') ? "@" : "?", version, info->suffix, info->suffix, version);
                                                                                                                                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:342:18: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:342:36: error: request for member 'pat' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
                                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:342:75: error: request for member 'prefix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
                                                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:342:104: error: request for member 'suffix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
                                                                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:342:118: error: request for member 'suffix' in something not a structure or union
    sfsprintf(scan->pat, sizeof(scan->pat), "%s%s@(?([-.])%s%s|%s%s)", info->prefix, name, version, info->suffix, info->suffix, version);
                                                                                                                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:345:6: error: request for member 'sp' in something not a structure or union
  scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:345:17: error: request for member 'sb' in something not a structure or union
  scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:345:29: error: request for member 'lib' in something not a structure or union
  scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:345:41: error: request for member 'lib' in something not a structure or union
  scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:345:53: error: request for member 'sibling' in something not a structure or union
  scan->sp = scan->sb = (scan->lib ? scan->lib : info->sibling);
                                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:346:6: error: request for member 'prelen' in something not a structure or union
  scan->prelen = strlen(info->prefix);
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:346:28: error: request for member 'prefix' in something not a structure or union
  scan->prelen = strlen(info->prefix);
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:347:6: error: request for member 'suflen' in something not a structure or union
  scan->suflen = strlen(info->suffix);
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:347:28: error: request for member 'suffix' in something not a structure or union
  scan->suflen = strlen(info->suffix);
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c: At top level:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:359:11: error: unknown type name 'Dllscan_t'
 dllsclose(Dllscan_t* scan)
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:378:1: error: unknown type name 'Dllent_t'
 Dllent_t*
 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:379:1: error: unknown type name 'Dllscan_t'
 dllsread(register Dllscan_t* scan)
 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c: In function 'dllsread':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:388:10: error: request for member 'flags' in something not a structure or union
  if (scan->flags & DLL_MATCH_DONE)
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:393:15: error: request for member 'ent' in something not a structure or union
   while (!scan->ent || !(scan->ent = scan->ent->fts_link))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:393:30: error: request for member 'ent' in something not a structure or union
   while (!scan->ent || !(scan->ent = scan->ent->fts_link))
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:393:42: error: request for member 'ent' in something not a structure or union
   while (!scan->ent || !(scan->ent = scan->ent->fts_link))
                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:395:12: error: request for member 'fts' in something not a structure or union
    if (scan->fts)
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:397:19: error: request for member 'fts' in something not a structure or union
     fts_close(scan->fts);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:398:9: error: request for member 'fts' in something not a structure or union
     scan->fts = 0;
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:400:13: error: request for member 'pb' in something not a structure or union
    if (!scan->pb)
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:401:9: error: request for member 'pb' in something not a structure or union
     scan->pb = pathbin();
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:402:19: error: request for member 'sp' in something not a structure or union
    else if (!*scan->sp)
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:404:9: error: request for member 'sp' in something not a structure or union
     scan->sp = scan->sb;
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:404:20: error: request for member 'sb' in something not a structure or union
     scan->sp = scan->sb;
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:405:15: error: request for member 'pe' in something not a structure or union
     if (!*scan->pe++)
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:407:9: error: request for member 'pb' in something not a structure or union
     scan->pb = scan->pe;
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:407:20: error: request for member 'pe' in something not a structure or union
     scan->pb = scan->pe;
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:409:17: error: request for member 'pp' in something not a structure or union
    for (p = scan->pp = scan->pb; *p && *p != ':'; p++)
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:409:28: error: request for member 'pb' in something not a structure or union
    for (p = scan->pp = scan->pb; *p && *p != ':'; p++)
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:411:10: error: request for member 'pp' in something not a structure or union
      scan->pp = p;
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:412:8: error: request for member 'pe' in something not a structure or union
    scan->pe = p;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:413:13: error: request for member 'sp' in something not a structure or union
    if (*scan->sp == bin)
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:414:9: error: request for member 'off' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:414:30: error: request for member 'tmp' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:414:50: error: request for member 'pe' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
                                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:414:61: error: request for member 'pb' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
                                                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:414:71: error: request for member 'pb' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
                                                                       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:9: error: request for member 'off' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:30: error: request for member 'tmp' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:53: error: request for member 'pp' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
                                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:64: error: request for member 'pb' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
                                                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:74: error: request for member 'pb' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
                                                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:416:85: error: request for member 'sp' in something not a structure or union
     scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, scan->pb, *scan->sp);
                                                                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:417:8: error: request for member 'sp' in something not a structure or union
    scan->sp++;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:418:14: error: request for member 'flags' in something not a structure or union
    if (!(scan->flags & DLL_MATCH_NAME))
              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:420:18: error: request for member 'tmp' in something not a structure or union
     sfprintf(scan->tmp, "/%s", scan->nam);
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:420:36: error: request for member 'nam' in something not a structure or union
     sfprintf(scan->tmp, "/%s", scan->nam);
                                    ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:15: note: in expansion of macro 'sfstruse'
     if (!(p = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:15: note: in expansion of macro 'sfstruse'
     if (!(p = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:15: note: in expansion of macro 'sfstruse'
     if (!(p = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:15: note: in expansion of macro 'sfstruse'
     if (!(p = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:43: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:421:28: error: request for member 'tmp' in something not a structure or union
     if (!(p = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:56: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:425:14: error: request for member 'nam' in something not a structure or union
      b = scan->nam;
              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:431:12: error: request for member 'flags' in something not a structure or union
    if (scan->flags & (DLL_MATCH_NAME|DLL_MATCH_VERSION))
            ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:7: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:18: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:24: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:13: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:26: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:37: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:427:5: note: in definition of macro 'sfstrseek'
   ((f)->_next += (p), \
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:427:19: note: in definition of macro 'sfstrseek'
   ((f)->_next += (p), \
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:7: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:20: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:34: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:47: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:58: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:6: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:20: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:44: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:7: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:18: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:32: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:13: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:26: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:19: error: request for member 'tmp' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:37: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:433:30: error: request for member 'off' in something not a structure or union
     sfstrseek(scan->tmp, scan->off, SEEK_SET);
                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:48: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:15: note: in expansion of macro 'sfstruse'
     if (!(t = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:15: note: in expansion of macro 'sfstruse'
     if (!(t = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:15: note: in expansion of macro 'sfstruse'
     if (!(t = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:15: note: in expansion of macro 'sfstruse'
     if (!(t = sfstruse(scan->tmp)))
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:43: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:434:28: error: request for member 'tmp' in something not a structure or union
     if (!(t = sfstruse(scan->tmp)))
                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:56: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:436:14: error: request for member 'fts' in something not a structure or union
     if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts)) && (scan->ent = fts_children(scan->fts, FTS_NOSTAT)))
              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:436:100: error: request for member 'ent' in something not a structure or union
     if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts)) && (scan->ent = fts_children(scan->fts, FTS_NOSTAT)))
                                                                                                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:436:121: error: request for member 'fts' in something not a structure or union
     if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts)) && (scan->ent = fts_children(scan->fts, FTS_NOSTAT)))
                                                                                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:436:137: error: request for member 'ent' in something not a structure or union
     if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts)) && (scan->ent = fts_children(scan->fts, FTS_NOSTAT)))
                                                                                                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:436:162: error: request for member 'fts' in something not a structure or union
     if ((scan->fts = fts_open((char**)t, FTS_LOGICAL|FTS_NOPOSTORDER|FTS_ONEPATH, vercmp)) && (scan->ent = fts_read(scan->fts)) && (scan->ent = fts_children(scan->fts, FTS_NOSTAT)))
                                                                                                                                                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:440:25: error: request for member 'ent' in something not a structure or union
  } while (!strmatch(scan->ent->fts_name, scan->pat));
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:440:46: error: request for member 'pat' in something not a structure or union
  } while (!strmatch(scan->ent->fts_name, scan->pat));
                                              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:441:10: error: request for member 'ent' in something not a structure or union
  b = scan->ent->fts_name;
          ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:7: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:18: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:424:24: note: in definition of macro 'sfstrseek'
    (((p) < 0 || (p) > (f)->_size) ? (char*)0 : \
                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:13: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:26: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:425:37: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(p)) ) \
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:427:5: note: in definition of macro 'sfstrseek'
   ((f)->_next += (p), \
     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:427:19: note: in definition of macro 'sfstrseek'
   ((f)->_next += (p), \
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:7: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:20: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:34: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:47: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:428:58: note: in definition of macro 'sfstrseek'
    (((f)->_next < (f)->_data || (f)->_next > (f)->_data+(f)->_size) ? \
                                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:6: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:20: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
                    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:429:44: note: in definition of macro 'sfstrseek'
    ((f)->_next -= (p), (char*)0) : (char*)(f)->_next ) ) \
                                            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:7: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:18: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:431:32: note: in definition of macro 'sfstrseek'
   ( ((p) > 0 || (f)->_size < -(p)) ? (char*)0 : \
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:13: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:26: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:16: error: request for member 'tmp' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:37: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                                     ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:442:27: error: request for member 'off' in something not a structure or union
  sfstrseek(scan->tmp, scan->off, SEEK_SET);
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:432:48: note: in definition of macro 'sfstrseek'
    (char*)((f)->_next = (f)->_data+(f)->_size+(p)) ) \
                                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:443:15: error: request for member 'tmp' in something not a structure or union
  sfprintf(scan->tmp, "/%s", b);
               ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/ast.h:47:0,
                 from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:58:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:12: note: in expansion of macro 'sfstruse'
  if (!(p = sfstruse(scan->tmp)))
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:12: note: in expansion of macro 'sfstruse'
  if (!(p = sfstruse(scan->tmp)))
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:12: note: in expansion of macro 'sfstruse'
  if (!(p = sfstruse(scan->tmp)))
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:339:29: note: in definition of macro '_SF_'
 #define _SF_(f)  ((Sfio_t*)(f))
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:398:26: note: in expansion of macro '__sf_putc'
 #define sfputc(f,c)    ( __sf_putc((f),(c)) )
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:3: note: in expansion of macro 'sfputc'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:12: note: in expansion of macro 'sfstruse'
  if (!(p = sfstruse(scan->tmp)))
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:43: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:444:25: error: request for member 'tmp' in something not a structure or union
  if (!(p = sfstruse(scan->tmp)))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/sfio.h:442:56: note: in definition of macro 'sfstruse'
  (sfputc((f),0) < 0 ? (char*)0 : (char*)((f)->_next = (f)->_data) \
                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:447:10: error: request for member 'buf' in something not a structure or union
  b = scan->buf + sfsprintf(scan->buf, sizeof(scan->buf), "%s", b + scan->prelen);
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:447:32: error: request for member 'buf' in something not a structure or union
  b = scan->buf + sfsprintf(scan->buf, sizeof(scan->buf), "%s", b + scan->prelen);
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:447:50: error: request for member 'buf' in something not a structure or union
  b = scan->buf + sfsprintf(scan->buf, sizeof(scan->buf), "%s", b + scan->prelen);
                                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:447:72: error: request for member 'prelen' in something not a structure or union
  b = scan->buf + sfsprintf(scan->buf, sizeof(scan->buf), "%s", b + scan->prelen);
                                                                        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:448:12: error: request for member 'flags' in something not a structure or union
  if (!(scan->flags & DLL_INFO_PREVER))
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:448:22: error: 'DLL_INFO_PREVER' undeclared (first use in this function)
  if (!(scan->flags & DLL_INFO_PREVER))
                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:449:18: error: request for member 'buf' in something not a structure or union
   while (b > scan->buf)
                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:455:11: error: request for member 'suflen' in something not a structure or union
  b -= scan->suflen;
           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:456:15: error: request for member 'buf' in something not a structure or union
  if (b > (scan->buf + 2) && (*(b - 1) == 'g' || *(b - 1) == 'O') && *(b - 2) == '-')
               ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:459:22: error: request for member 'buf' in something not a structure or union
  for (t = b; t > scan->buf; t--)
                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:492:17: error: request for member 'flags' in something not a structure or union
   if (m || (scan->flags & DLL_INFO_PREVER))
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:496:17: error: request for member 'buf' in something not a structure or union
  if (!*(b = scan->buf))
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:498:10: error: request for member 'uniq' in something not a structure or union
  if (scan->uniq)
          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:500:12: error: request for member 'dict' in something not a structure or union
   if (!scan->dict)
            ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:502:8: error: request for member 'disc' in something not a structure or union
    scan->disc.key = offsetof(Uniq_t, name);
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:503:8: error: request for member 'disc' in something not a structure or union
    scan->disc.size = 0;
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:504:8: error: request for member 'disc' in something not a structure or union
    scan->disc.link = offsetof(Uniq_t, link);
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:505:14: error: request for member 'dict' in something not a structure or union
    if (!(scan->dict = dtopen(&scan->disc, Dtset)))
              ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:59:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:505:35: error: request for member 'disc' in something not a structure or union
    if (!(scan->dict = dtopen(&scan->disc, Dtset)))
                                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:284:32: note: in definition of macro 'dtopen'
 #define dtopen(dc,mt) _dtopen((dc), (mt), CDT_VERSION)
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:507:17: error: request for member 'dict' in something not a structure or union
    dtinsert(scan->dict, scan->uniq);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:303:27: note: in definition of macro '_DT'
 #define _DT(dt)  ((Dt_t*)(dt))
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:507:4: note: in expansion of macro 'dtinsert'
    dtinsert(scan->dict, scan->uniq);
    ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:507:17: error: request for member 'dict' in something not a structure or union
    dtinsert(scan->dict, scan->uniq);
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:336:45: note: in definition of macro 'dtinsert'
 #define dtinsert(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_INSERT)
                                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:507:29: error: request for member 'uniq' in something not a structure or union
    dtinsert(scan->dict, scan->uniq);
                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:336:58: note: in definition of macro 'dtinsert'
 #define dtinsert(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_INSERT)
                                                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:509:19: error: request for member 'dict' in something not a structure or union
   if (dtmatch(scan->dict, b))
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:303:27: note: in definition of macro '_DT'
 #define _DT(dt)  ((Dt_t*)(dt))
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:509:7: note: in expansion of macro 'dtmatch'
   if (dtmatch(scan->dict, b))
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:509:19: error: request for member 'dict' in something not a structure or union
   if (dtmatch(scan->dict, b))
                   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:335:44: note: in definition of macro 'dtmatch'
 #define dtmatch(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_MATCH)
                                            ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:63:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:511:25: error: request for member 'vm' in something not a structure or union
   if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:210:32: note: in definition of macro '_VM_'
 #define _VM_(vm) ((Vmalloc_t*)(vm))
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:329:32: note: in expansion of macro 'vmresize'
 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:511:13: note: in expansion of macro 'vmnewof'
   if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:511:25: error: request for member 'vm' in something not a structure or union
   if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:313:8: note: in definition of macro 'vmresize'
      ((vm),(Void_t*)(d),(sz),(type),0)
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:511:13: note: in expansion of macro 'vmnewof'
   if (!(u = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
             ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:59:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:514:16: error: request for member 'dict' in something not a structure or union
   dtinsert(scan->dict, u);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:303:27: note: in definition of macro '_DT'
 #define _DT(dt)  ((Dt_t*)(dt))
                           ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:514:3: note: in expansion of macro 'dtinsert'
   dtinsert(scan->dict, u);
   ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:514:16: error: request for member 'dict' in something not a structure or union
   dtinsert(scan->dict, u);
                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/cdt.h:336:45: note: in definition of macro 'dtinsert'
 #define dtinsert(d,o) (*(_DT(d)->searchf))((d),(Void_t*)(o),DT_INSERT)
                                             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:516:17: error: request for member 'flags' in something not a structure or union
  else if (!(scan->flags & DLL_MATCH_NAME))
                 ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:517:7: error: request for member 'flags' in something not a structure or union
   scan->flags |= DLL_MATCH_DONE;
       ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:518:17: error: request for member 'uniq' in something not a structure or union
  else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                 ^
In file included from /var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:63:0:
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:518:38: error: request for member 'vm' in something not a structure or union
  else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:210:32: note: in definition of macro '_VM_'
 #define _VM_(vm) ((Vmalloc_t*)(vm))
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:329:32: note: in expansion of macro 'vmresize'
 #define vmnewof(v,p,t,n,x) (t*)vmresize((v), (p), sizeof(t)*(n)+(x), \
                                ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:518:26: note: in expansion of macro 'vmnewof'
  else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:518:38: error: request for member 'vm' in something not a structure or union
  else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/vmalloc.h:313:8: note: in definition of macro 'vmresize'
      ((vm),(Void_t*)(d),(sz),(type),0)
        ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:518:26: note: in expansion of macro 'vmnewof'
  else if (!(scan->uniq = vmnewof(scan->vm, 0, Uniq_t, 1, strlen(b))))
                          ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:521:14: error: request for member 'uniq' in something not a structure or union
   strcpy(scan->uniq->name, b);
              ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:522:6: error: request for member 'entry' in something not a structure or union
  scan->entry.name = b;
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:523:6: error: request for member 'entry' in something not a structure or union
  scan->entry.path = p;
      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllscan.c:525:14: error: request for member 'entry' in something not a structure or union
  return &scan->entry;
              ^
mamake [lib/libdll]: *** exit code 1 making dllscan.o
+ cc '-D_BLD_DLL' -KPIC -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_PACKAGE_ast' '-D_BLD_dll' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c: In function 'dllversion':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:37:2: error: unknown type name 'Dll_plugin_version_f'
  Dll_plugin_version_f pvf;
  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:13: error: 'Dll_plugin_version_f' undeclared (first use in this function)
  if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version"))
             ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:13: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:39:34: error: expected ')' before 'dlllook'
  if (pvf = (Dll_plugin_version_f)dlllook(dll, "plugin_version"))
                                  ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllcheck.c:40:11: error: invalid type argument of unary '*' (have 'int')
   return (*pvf)();
           ^
mamake [lib/libdll]: *** exit code 1 making dllcheck.o
+ cc '-D_BLD_DLL' -KPIC -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_PACKAGE_ast' '-D_BLD_dll' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllerror.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllerror.c: In function 'dllerror':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllerror.c:45:4: warning: assignment makes pointer from integer without a cast [enabled by default]
  s = dlerror();
    ^
+ test '' = 'dll.req'
+ /usr/bin/cmp -s 'dll.req' '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/lib/dll'
+ /bin/mv '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/lib/dll' '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/lib/dll.old'
+ true
+ /bin/cp 'dll.req' '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/lib/lib/dll'
+ proto -p -s -l '/var/tmp/pkgsrc/shells/ast-ksh/work/lib/package/ast.lic' '-o since=1997,author=gsf' 'dlldefs.h'
+ cmp -s '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/dlldefs.h' '1.147.x'
+ mv '1.147.x' '/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast/dlldefs.h'
mamake: *** exit code 1 making lib/libdll
[...]
+ cc -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/include '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-DSHOPT_FIXEDARRAY' '-DSHOPT_DYNAMIC' '-DSHOPT_NAMESPACE' '-DSHOPT_TYPEDEF' '-DSHOPT_MULTIBYTE' '-D_PACKAGE_ast' '-DSHOPT_PFSH' '-D_API_ast=20100309' '-D_BLD_shell' '-DSHOPT_ESH' '-DSHOPT_SUID_EXEC' '-DSHOPT_BRACEPAT' '-DSHOPT_STATS' '-DSHOPT_COSHELL' '-DSHOPT_HISTEXPAND' '-DERROR_CONTEXT_T=Error_context_t' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c: In function 'b_builtin':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:70: error: 'RTLD_LAZY' undeclared (first use in this function)
   if(!(library = dllplugin(SH_ID, arg, NiL, SH_PLUGIN_VERSION, &ver, RTLD_LAZY, path, sizeof(path))))
                                                                      ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/bltins/typeset.c:1031:70: note: each undeclared identifier is reported only once for each function it appears in
mamake [cmd/ksh93]: *** exit code 1 making typeset.o
[...]
+ cc -O2 '-I.' -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93 -Iinclude -I/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/include '-I/var/tmp/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast' '-D_API_ast=20100309' '-D_PACKAGE_ast' '-DSHOPT_SUID_EXEC' '-DSHOPT_DYNAMIC' '-DSHOPT_NAMESPACE' '-DSHOPT_PFSH' '-DSHOPT_STATS' '-DSHOPT_COSHELL' '-DSHOPT_HISTEXPAND' '-D_BLD_shell' '-DERROR_CONTEXT_T=Error_context_t' '-DSHOPT_FIXEDARRAY' '-DSHOPT_ESH' '-DSHOPT_MULTIBYTE' '-DSHOPT_BGX' -DKSHELL '-DSHOPT_BRACEPAT' -c '/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c'
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c: In function 'path_absolute':
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:73: error: 'RTLD_LAZY' undeclared (first use in this function)
     if (dll = dllplugin(SH_ID, stakptr(m), NiL, SH_PLUGIN_VERSION, NiL, RTLD_LAZY, NiL, 0))
                                                                         ^
/var/tmp/pkgsrc/shells/ast-ksh/work/src/cmd/ksh93/sh/path.c:826:73: note: each undeclared identifier is reported only once for each function it appears in
mamake [cmd/ksh93]: *** exit code 1 making path.o
[...]

>How-To-Repeat:
Attempt to build "shells/ast-ksh" on {i386,sparc64}-current (other
arches?).

For reference, it builds and installs fine on netbsd-6/i386.
>Fix:
The following patch fixes the first observable problem (i.e. last in
the build output).

+--- src/cmd/ksh93/Mamfile.orig 2012-08-07 12:31:29.000000000 -0500
++++ src/cmd/ksh93/Mamfile      2014-08-02 17:47:26.000000000 -0500
+@@ -1384,7 +1384,7 @@ prev +li
+ prev ${mam_libsocket}
+ prev ${mam_libsecdb}
+ setv CC.DLL -UCC.DLL
+-exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS}
${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o
${mam_libast} ${mam_libnsl} ${mam_libast}
++exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS}
${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o
${mam_libast} ${mam_libnsl} ${mam_libast} -lm
+ done suid_exec generated
+ make shell
+ prev libshell.a archive

As for the others, they remain to be investigated.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.