pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: shells/ast-ksh doesn't build on NetBSD 7.0 i386



2015-10-18 10:50 GMT+02:00 Christopher Pinon <pinon.christopher%gmail.com@localhost>:
> Using pkgsrc stable (Q3), I notice that shells/ast-ksh doesn't build
> on NetBSD 7.0 i386. The final three lines of the compilation are:
>
>
> mamake: *** exit code 1 making cmd/ksh93
> package: make done  at Sat Oct 17 23:43:58 CEST 2015 in
> /usr/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386
> => Unwrapping files-to-be-installed.

I didn't want to include the over 5000 lines of the "make" log,
because most of the log is unremarkable, but to provide some more
details, what follows is a block of errors beginning on line 2818:


+ cc '-D_BLD_DLL' -KPIC -O2 '-I.'
-I/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll
'-I/usr/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast'
'-D_PACKAGE_ast' '-D_BLD_dll' -c
'/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c'
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c: In function
'dllplugin':
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:41:2: error:
unknown type name 'Dllscan_t'
  Dllscan_t* dls;
  ^
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dllplug.c:42:2: error:
unknown type name 'Dllent_t'
  Dllent_t* dle;
  ^
/usr/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))
           ^
/usr/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))
               ^
/usr/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))
                          ^
/usr/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))
                                        ^
/usr/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
/usr/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))
                                                    ^
/usr/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))
                            ^
/usr/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);
                        ^
/usr/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));
                                                                  ^
/usr/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/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll
'-I/usr/pkgsrc/shells/ast-ksh/work/arch/netbsd.i386/include/ast'
'-D_PACKAGE_ast' '-D_BLD_dll' -c
'/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c'
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:42:1: error:
unknown type name 'Dllnames_t'
 Dllnames_t*
 ^
/usr/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)
                                            ^
/usr/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)
         ^
/usr/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)
                                                   ^
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c: In function 'dllmeth':
/usr/pkgsrc/shells/ast-ksh/work/src/lib/libdll/dll_lib.c:185:2: error:
unknown type name 'Dllnames_t'
  Dllnames_t names;
  ^
/usr/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


Again, any advice would be appreciated.

C.


Home | Main Index | Thread Index | Old Index