###
### Sun Jun 27 17:05:24 EST 2004:
### /usr/pkg/bin/bmake bulk-package for pam-smbpass-2.2.8anb1
### Current pkg count:  5 installed packages: digest-20021220 p5-Digest-Nilsimsa-0.06 patch-2.5.4nb2 perl-5.8.4 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for pam-smbpass-2.2.8anb1
===> Cleaning for samba-3.0.4
===> Cleaning for libiconv-1.9.1nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for readline-4.3pl5
===> Cleaning for pkg_install-info-4.5nb2
BULK> Removing installed packages which are not needed to build pam-smbpass-2.2.8anb1
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpkgwedge-1.10
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
BULK> pam-smbpass-2.2.8anb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r perl-5.8.4
BULK> Installing packages which are required to build pam-smbpass-2.2.8anb1.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/samba-3.0.4.tgz

===> Installing configuration/support files for libiconv-1.9.1nb2

	/usr/pkg/lib/charset.alias

===> Installing configuration/support files for samba-3.0.4

	/usr/pkg/etc/samba/smb.conf
	/usr/pkg/etc/samba/adduser
	/usr/pkg/etc/samba/deluser
===========================================================================

The following files should be created for samba-3.0.4:

	/etc/rc.d/samba (m=0755)
	/etc/rc.d/nmbd (m=0755)
	/etc/rc.d/smbd (m=0755)
	/etc/rc.d/winbindd (m=0755)

===========================================================================

===========================================================================
You may wish to customize the following files for samba-3.0.4:

	/usr/pkg/etc/samba/smb.conf
===========================================================================
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libtool-base-1.5.6nb1.tgz
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package readline-4.3pl5 (devel/readline) is already installed
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (pam-smbpass-2.2.8anb1)
===> Checking for vulnerabilities in pam-smbpass-2.2.8anb1
=> Checksum OK for samba-2.2.8a.tar.bz2.
work -> /work/pkgbuild/security/pam-smbpass/work
===> Extracting for pam-smbpass-2.2.8anb1
===> Required installed package {samba>=2.0,ja-samba>=2.0}: samba-3.0.4 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.6nb1 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for pam-smbpass-2.2.8anb1
===> Applying pkgsrc patches for pam-smbpass-2.2.8anb1
===> Overriding tools for pam-smbpass-2.2.8anb1
===> Buildlinking for pam-smbpass-2.2.8anb1
===> Configuring for pam-smbpass-2.2.8anb1
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -O -I/usr/include -L/usr/lib -R/usr/lib -R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -O -I/usr/include -L/usr/lib -R/usr/lib -R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/ucb/install -c -o root -g root
checking for gawk... /usr/bin/nawk
checking if the linker (ld) is GNU ld... no
checking for passwd... /usr/bin/passwd
checking whether cc understands -c and -o together... yes
checking that the C compiler understands volatile... yes
checking host system type... sparc-sun-solaris2
checking target system type... sparc-sun-solaris2
checking build system type... sparc-sun-solaris2
checking config.cache system type... same
enabling large file support
checking for inline... inline
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for arpa/inet.h... yes
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for sys/unistd.h... yes
checking for unistd.h... yes
checking for utime.h... yes
checking for grp.h... yes
checking for sys/id.h... no
checking for limits.h... yes
checking for memory.h... yes
checking for net/if.h... yes
checking for compat.h... no
checking for rpc/rpc.h... yes
checking for rpcsvc/nis.h... yes
checking for rpcsvc/yp_prot.h... yes
checking for rpcsvc/ypclnt.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for syslog.h... yes
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... yes
checking for sys/ioctl.h... yes
checking for sys/ipc.h... yes
checking for sys/mode.h... yes
checking for sys/mman.h... yes
checking for sys/filio.h... yes
checking for sys/priv.h... no
checking for sys/shm.h... yes
checking for sys/socket.h... yes
checking for syslog.h... (cached) yes
checking for sys/syslog.h... yes
checking for sys/mount.h... yes
checking for sys/vfs.h... yes
checking for sys/fs/s5param.h... no
checking for sys/filsys.h... no
checking for termios.h... yes
checking for termio.h... yes
checking for sys/termio.h... yes
checking for sys/statfs.h... yes
checking for sys/dustat.h... no
checking for sys/statvfs.h... yes
checking for stdarg.h... yes
checking for sys/sockio.h... yes
checking for security/pam_modules.h... yes
checking for security/_pam_macros.h... no
checking for dlfcn.h... yes
checking for synch.h... yes
checking for pthread.h... yes
checking for nsswitch.h... yes
checking for shadow.h... yes
checking for netinet/ip.h... yes
checking for netinet/tcp.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/in_ip.h... no
checking for nss.h... no
checking for nss_common.h... yes
checking for ns_api.h... no
checking for sys/security.h... no
checking for security/pam_appl.h... yes
checking for security/pam_modules.h... (cached) yes
checking for stropts.h... yes
checking for poll.h... yes
checking for sys/capability.h... no
checking for syscall.h... no
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... no
checking for glob.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for lastlog.h... yes
checking for sys/fs/vx_quota.h... no
checking for linux/xqm.h... no
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking for working const... yes
checking for inline... (cached) inline
checking whether byte ordering is bigendian... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for st_rdev in struct stat... yes
checking for d_off in dirent... yes
checking for ino_t... yes
checking for loff_t... no
checking for offset_t... yes
checking for ssize_t... yes
checking for wchar_t... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for immediate structures... no
checking for unix domain sockets... yes
checking for socklen_t type... yes
checking for sig_atomic_t type... yes
checking for errno declaration... yes
checking for setresuid declaration... no
checking for setresgid declaration... no
checking for asprintf declaration... no
checking for vasprintf declaration... no
checking for vsnprintf declaration... yes
checking for snprintf declaration... yes
checking for real setresuid... no
checking for real setresgid... no
checking for 8-bit clean memcmp... yes
checking whether to use readline... no
checking for connect... no
checking for printf in -lnsl_s... no
checking for printf in -lnsl... yes
checking for connect in -lsocket... yes
checking for connect in -linet... no
checking for yp_get_default_domain... yes
checking for execl... yes
checking for dlopen... (cached) no
checking for dlclose... yes
checking for dlsym... yes
checking for dlerror... yes
checking for waitpid... yes
checking for getcwd... yes
checking for strdup... yes
checking for strndup... no
checking for strnlen... no
checking for strtoul... yes
checking for strerror... yes
checking for chown... yes
checking for fchown... yes
checking for chmod... yes
checking for fchmod... yes
checking for chroot... yes
checking for link... yes
checking for fstat... yes
checking for strchr... yes
checking for utime... yes
checking for utimes... yes
checking for getrlimit... yes
checking for fsync... yes
checking for bzero... yes
checking for memset... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for setpgid... yes
checking for mknod... yes
checking for mknod64... no
checking for memmove... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... no
checking for vasprintf... no
checking for setsid... yes
checking for glob... yes
checking for strpbrk... yes
checking for pipe... yes
checking for crypt16... no
checking for getauthuid... no
checking for strftime... yes
checking for sigprocmask... yes
checking for sigblock... no
checking for sigaction... yes
checking for sigset... yes
checking for innetgr... yes
checking for setnetgrent... yes
checking for getnetgrent... yes
checking for endnetgrent... yes
checking for initgroups... yes
checking for select... yes
checking for poll... yes
checking for rdchk... no
checking for getgrnam... yes
checking for getgrent... yes
checking for pathconf... yes
checking for realpath... yes
checking for setpriv... no
checking for setgidx... no
checking for setuidx... no
checking for setgroups... yes
checking for sysconf... yes
checking for mktime... yes
checking for rename... yes
checking for ftruncate... yes
checking for stat64... yes
checking for fstat64... yes
checking for lstat64... yes
checking for fopen64... yes
checking for atexit... yes
checking for grantpt... yes
checking for dup2... yes
checking for lseek64... yes
checking for ftruncate64... yes
checking for readdir64... yes
checking for fseek64... no
checking for fseeko64... yes
checking for ftell64... no
checking for ftello64... yes
checking for setluid... no
checking for getpwanam... no
checking for setlinebuf... yes
checking for srandom... yes
checking for random... yes
checking for srand... yes
checking for rand... yes
checking for setenv... no
checking for usleep... yes
checking for strcasecmp... yes
checking for fcvt... yes
checking for fcvtl... no
checking for symlink... yes
checking for readlink... yes
checking for syslog... yes
checking for vsyslog... yes
checking for syscall... yes
checking for _dup... yes
checking for _dup2... yes
checking for _opendir... yes
checking for _readdir... yes
checking for _seekdir... yes
checking for _telldir... yes
checking for _closedir... yes
checking for __dup... no
checking for __dup2... no
checking for __opendir... no
checking for __readdir... no
checking for __seekdir... no
checking for __telldir... no
checking for __closedir... no
checking for __getcwd... no
checking for _getcwd... yes
checking for __xstat... no
checking for __fxstat... no
checking for __lxstat... no
checking for _stat... yes
checking for _lstat... yes
checking for _fstat... yes
checking for __stat... no
checking for __lstat... no
checking for __fstat... no
checking for _acl... yes
checking for __acl... no
checking for _facl... yes
checking for __facl... no
checking for _open... yes
checking for __open... no
checking for _chdir... yes
checking for __chdir... no
checking for _close... yes
checking for __close... no
checking for _fchdir... yes
checking for __fchdir... no
checking for _fcntl... yes
checking for __fcntl... no
checking for getdents... yes
checking for _getdents... yes
checking for __getdents... no
checking for _lseek... yes
checking for __lseek... no
checking for _read... yes
checking for __read... no
checking for _write... yes
checking for __write... no
checking for _fork... yes
checking for __fork... no
checking for _stat64... yes
checking for __stat64... no
checking for _fstat64... yes
checking for __fstat64... no
checking for _lstat64... yes
checking for __lstat64... no
checking for __sys_llseek... no
checking for llseek... yes
checking for _llseek... yes
checking for __llseek... no
checking for readdir64... (cached) yes
checking for _readdir64... yes
checking for __readdir64... no
checking for pread... yes
checking for _pread... yes
checking for __pread... no
checking for pread64... yes
checking for _pread64... yes
checking for __pread64... no
checking for pwrite... yes
checking for _pwrite... yes
checking for __pwrite... no
checking for pwrite64... yes
checking for _pwrite64... yes
checking for __pwrite64... no
checking for open64... yes
checking for _open64... yes
checking for __open64... no
checking for creat64... yes
checking for putprpwnam in -lsecurity... no
checking for putprpwnam... no
checking for putprpwnam in -lsec... no
checking for putprpwnam... (cached) no
checking for set_auth_parameters in -lsecurity... no
checking for set_auth_parameters... no
checking for set_auth_parameters in -lsec... no
checking for set_auth_parameters... (cached) no
checking for getspnam in -lgen... yes
checking for getspnam... yes
checking for getspnam in -lsecurity... no
checking for getspnam... (cached) yes
checking for getspnam in -lsec... yes
checking for getspnam... (cached) yes
checking for bigcrypt in -lsecurity... no
checking for bigcrypt... no
checking for bigcrypt... (cached) no
checking for getprpwnam in -lsecurity... no
checking for getprpwnam... no
checking for getprpwnam... (cached) no
checking ability to build shared libraries... true
checking linker flags for shared libraries... -G ${CFLAGS}
checking compiler flags for position-independent code... 
checking for long long... yes
checking for LL suffix on long long integers... yes
checking for 64 bit off_t... yes
checking for off64_t... no
checking for 64 bit ino_t... yes
checking for ino64_t... no
checking for dev64_t... no
checking for struct dirent64... yes
checking for major macro... no
checking for minor macro... no
checking for makedev macro... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... no
checking if gettimeofday takes tz argument... yes
checking for __va_copy... no
checking for C99 vsnprintf... no
checking for broken readdir... no
checking for utimbuf... yes
checking for pututline... yes
checking for pututxline... yes
checking for updwtmp... yes
checking for updwtmpx... yes
checking for getutmpx... yes
checking for ut_name in utmp... yes
checking for ut_user in utmp... yes
checking for ut_id in utmp... yes
checking for ut_host in utmp... no
checking for ut_time in utmp... yes
checking for ut_tv in utmp... no
checking for ut_type in utmp... yes
checking for ut_pid in utmp... yes
checking for ut_exit in utmp... yes
checking for ut_addr in utmp... no
checking whether pututline returns pointer... yes
checking for ut_syslen in utmpx... yes
checking for Linux kernel oplocks... no
checking for kernel change notify support... no
checking for kernel share modes... no
checking for IRIX kernel oplock type definitions... no
checking for irix specific capabilities... no
checking for int16 typedef included by rpc/rpc.h... no
checking for uint16 typedef included by rpc/rpc.h... no
checking for int32 typedef included by rpc/rpc.h... no
checking for uint32 typedef included by rpc/rpc.h... no
checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
checking for test routines... yes
checking for ftruncate extend... yes
checking for broken getgroups... no
checking whether getpass should be replaced... yes
checking for broken inet_ntoa... no
checking for secure mkstemp... yes
checking for sysconf(_SC_NGROUPS_MAX)... yes
checking for root... yes
checking for iface AIX... no
checking for iface ifconf... got 2 interfaces:
hme0       IP=192.168.1.201 NETMASK=255.255.255.0
lo0        IP=127.0.0.1 NETMASK=255.0.0.0
yes
checking for setresuid... no
checking for setreuid... OK
yes
checking for working mmap... yes
checking for ftruncate needs root... no
checking for fcntl locking... yes
checking for broken (glibc2.1/x86) 64 bit fcntl locking... no
checking for 64 bit fcntl locking... yes
checking for st_blocks in struct stat... yes
checking for st_blksize in struct stat... yes
checking for broken nisplus include files... yes
checking whether to use smbwrapper... no
checking whether to use AFS... no
checking whether to use DCE/DFS auth... no
checking whether to use Kerberos IV... no
checking whether to use Kerberos 5... no
checking whether to use AUTOMOUNT... no
checking whether to use SMBMOUNT... no
checking whether to use PAM password database... yes
checking for pam_get_data in -lpam... yes
checking for __libc_sched_setscheduler in -lc... no
checking whether to use pam_smbpass... no
checking whether to use TDB SAM database... no
checking whether to use LDAP SAM database... no
checking whether to use NISPLUS SAM database... no
checking whether to use traditional smbpasswd file... yes
checking whether to use NISPLUS_HOME... no
checking whether to use SSL... no
checking whether to use syslog logging... no
checking whether to use profiling... no
checking whether to support disk-quotas... no
checking whether to support utmp accounting... no
checking whether to support Microsoft Dfs... no
checking whether to build the libsmbclient shared library... no
checking how to get filesystem space usage
checking statvfs64 function (SVR4)... yes
checking if large file support can be enabled... yes
checking whether to support ACLs... no
checking whether to check for support sendfile... no
checking whether to build winbind... no
checking whether or not getgroups returns EGID too many times... no
checking whether struct passwd has pw_comment... yes
checking whether struct passwd has pw_age... yes
checking for poptGetContext in -lpopt... no
checking whether to use included popt... ./popt
checking configure summary... yes
updating cache ./config.cache
creating ./config.status
creating include/stamp-h
creating Makefile
creating script/findsmb
creating include/config.h
===> Building for pam-smbpass-2.2.8anb1
Using FLAGS =  -O -O -I/usr/include -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/var/log" -DCONFIGFILE="/usr/pkg/etc/samba/smb.conf" -DLMHOSTSFILE="/usr/pkg/etc/samba/lmhosts" -DSWATDIR="/usr/pkg/share/samba/swat" -DSBINDIR="/usr/pkg/sbin" -DLOCKDIR="/var/db/samba" -DCODEPAGEDIR="/usr/pkg/share/samba/codepages" -DDRIVERFILE="/usr/pkg/etc/samba/printers.def" -DBINDIR="/usr/pkg/bin" -DPIDDIR="/var/run" -DLIBDIR="/usr/pkg/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/pkg/etc/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/pkg/etc/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O -O -I/usr/include -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/var/log" -DCONFIGFILE="/usr/pkg/etc/samba/smb.conf" -DLMHOSTSFILE="/usr/pkg/etc/samba/lmhosts" -DSWATDIR="/usr/pkg/share/samba/swat" -DSBINDIR="/usr/pkg/sbin" -DLOCKDIR="/var/db/samba" -DCODEPAGEDIR="/usr/pkg/share/samba/codepages" -DDRIVERFILE="/usr/pkg/etc/samba/printers.def" -DBINDIR="/usr/pkg/bin" -DPIDDIR="/var/run" -DLIBDIR="/usr/pkg/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/pkg/etc/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/pkg/etc/samba/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl -lpam
Compiling pam_smbpass/pam_smb_auth.c with -KPIC
"pam_smbpass/pam_smb_auth.c", line 89: warning: argument #2 is incompatible with prototype:
	prototype: pointer to pointer to char : "/usr/include/security/pam_appl.h", line 224
	argument : pointer to pointer to const char
"pam_smbpass/pam_smb_auth.c", line 94: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 103: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 113: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 121: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 129: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 139: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 147: warning: end-of-loop code not reached
"pam_smbpass/pam_smb_auth.c", line 186: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
Compiling pam_smbpass/pam_smb_passwd.c with -KPIC
"pam_smbpass/pam_smb_passwd.c", line 51: warning: implicit function declaration: make_remark
"pam_smbpass/pam_smb_passwd.c", line 111: warning: argument #2 is incompatible with prototype:
	prototype: pointer to pointer to char : "/usr/include/security/pam_appl.h", line 224
	argument : pointer to pointer to const char
"pam_smbpass/pam_smb_passwd.c", line 214: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
Compiling pam_smbpass/pam_smb_acct.c with -KPIC
"pam_smbpass/pam_smb_acct.c", line 62: warning: argument #2 is incompatible with prototype:
	prototype: pointer to pointer to char : "/usr/include/security/pam_appl.h", line 224
	argument : pointer to pointer to const char
"pam_smbpass/pam_smb_acct.c", line 90: warning: implicit function declaration: make_remark
Compiling pam_smbpass/support.c with -KPIC
"pam_smbpass/support.c", line 91: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
"pam_smbpass/support.c", line 95: warning: argument #2 is incompatible with prototype:
	prototype: pointer to pointer to struct pam_message {int msg_style, pointer to char msg} : "unknown", line 0
	argument : pointer to pointer to const struct pam_message {int msg_style, pointer to char msg}
"pam_smbpass/support.c", line 117: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"pam_smbpass/support.c", line 285: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
"pam_smbpass/support.c", line 342: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
"pam_smbpass/support.c", line 362: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "include/proto.h", line 2256
	argument : pointer to const char
"pam_smbpass/support.c", line 362: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "include/proto.h", line 2256
	argument : pointer to char
"pam_smbpass/support.c", line 384: warning: argument #1 is incompatible with prototype:
	prototype: pointer to char : "include/proto.h", line 808
	argument : pointer to const char
"pam_smbpass/support.c", line 398: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
"pam_smbpass/support.c", line 513: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
"pam_smbpass/support.c", line 607: warning: argument #3 is incompatible with prototype:
	prototype: pointer to pointer to void : "/usr/include/security/pam_appl.h", line 180
	argument : pointer to pointer to const void
Compiling lib/debug.c with -KPIC
Compiling lib/util_sid.c with -KPIC
Compiling lib/messages.c with -KPIC
Compiling lib/util_str.c with -KPIC
"lib/util_str.c", line 104: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
Compiling lib/wins_srv.c with -KPIC
Compiling lib/substitute.c with -KPIC
Compiling lib/select.c with -KPIC
Compiling lib/util.c with -KPIC
"lib/util.c", line 62: warning: initializer does not fit or is out of range: -1
Compiling nsswitch/wb_client.c with -KPIC
Compiling nsswitch/wb_common.c with -KPIC
Compiling lib/system.c with -KPIC
Compiling lib/charset.c with -KPIC
Compiling lib/util_file.c with -KPIC
Compiling lib/kanji.c with -KPIC
Compiling lib/genrand.c with -KPIC
Compiling lib/username.c with -KPIC
Compiling lib/util_getent.c with -KPIC
Compiling lib/charcnv.c with -KPIC
Compiling lib/time.c with -KPIC
Compiling lib/md4.c with -KPIC
Compiling lib/util_unistr.c with -KPIC
Compiling lib/signal.c with -KPIC
Compiling lib/talloc.c with -KPIC
Compiling lib/ms_fnmatch.c with -KPIC
Compiling lib/util_sock.c with -KPIC
Compiling lib/smbrun.c with -KPIC
Compiling lib/util_sec.c with -KPIC
Compiling lib/snprintf.c with -KPIC
Compiling ubiqx/ubi_sLinkList.c with -KPIC
Compiling libsmb/smbencrypt.c with -KPIC
Compiling libsmb/smbdes.c with -KPIC
Compiling smbd/ssl.c with -KPIC
Compiling lib/access.c with -KPIC
Compiling lib/interfaces.c with -KPIC
Compiling param/loadparm.c with -KPIC
Compiling param/params.c with -KPIC
Compiling tdb/tdb.c with -KPIC
Compiling tdb/spinlock.c with -KPIC
Compiling tdb/tdbutil.c with -KPIC
"tdb/tdbutil.c", line 46: warning: argument #1 is incompatible with prototype:
	prototype: pointer to int : "include/../tdb/tdb.h", line 130
	argument : pointer to volatile int
"tdb/tdbutil.c", line 73: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 87: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 103: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 134: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 162: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 194: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 224: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 242: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
Compiling passdb/passdb.c with -KPIC
Compiling passdb/secrets.c with -KPIC
"passdb/secrets.c", line 59: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"passdb/secrets.c", line 74: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
"passdb/secrets.c", line 76: warning: assignment type mismatch:
	pointer to char "=" pointer to const void
"passdb/secrets.c", line 89: warning: assignment type mismatch:
	pointer to char "=" pointer to const char
Compiling passdb/pass_check.c with -KPIC
"passdb/pass_check.c", line 666: warning: statement not reached
Compiling passdb/smbpassfile.c with -KPIC
Compiling passdb/machine_sid.c with -KPIC
Compiling passdb/pdb_smbpasswd.c with -KPIC
Compiling passdb/pampass.c with -KPIC
"passdb/pampass.c", line 220: warning: argument #1 is incompatible with prototype:
	prototype: pointer to pointer to const char : "include/proto.h", line 1328
	argument : pointer to pointer to char
"passdb/pampass.c", line 231: warning: argument #1 is incompatible with prototype:
	prototype: pointer to pointer to const char : "include/proto.h", line 1328
	argument : pointer to pointer to char
"passdb/pampass.c", line 418: warning: assignment type mismatch:
	pointer to function(int, pointer to pointer to struct pam_message {int msg_style, pointer to char msg}, pointer to pointer to struct pam_response {pointer to char resp, int resp_retcode}, pointer to void) returning int "=" pointer to function(int, pointer to pointer to const struct pam_message {int msg_style, pointer to char msg}, pointer to pointer to struct pam_response {pointer to char resp, int resp_retcode}, pointer to void) returning int
Compiling passdb/pdb_tdb.c with -KPIC
Compiling passdb/pdb_ldap.c with -KPIC
Compiling passdb/pdb_nisplus.c with -KPIC
Linking shared library bin/pam_smbpass.so
cc -G -O -O -I/usr/include -o bin/pam_smbpass.so pam_smbpass/pam_smb_auth.po pam_smbpass/pam_smb_passwd.po pam_smbpass/pam_smb_acct.po pam_smbpass/support.po lib/debug.po lib/util_sid.po lib/messages.po lib/util_str.po lib/wins_srv.po lib/substitute.po lib/select.po lib/util.po nsswitch/wb_client.po nsswitch/wb_common.po lib/system.po lib/charset.po lib/util_file.po lib/kanji.po lib/genrand.po lib/username.po lib/util_getent.po lib/charcnv.po lib/time.po lib/md4.po lib/util_unistr.po lib/signal.po lib/talloc.po lib/ms_fnmatch.po lib/util_sock.po lib/smbrun.po lib/util_sec.po lib/snprintf.po ubiqx/ubi_sLinkList.po libsmb/smbencrypt.po libsmb/smbdes.po smbd/ssl.po lib/access.po lib/interfaces.po param/loadparm.po param/params.po tdb/tdb.po tdb/spinlock.po tdb/tdbutil.po passdb/passdb.po passdb/secrets.po passdb/pass_check.po passdb/smbpassfile.po passdb/machine_sid.po passdb/pdb_smbpasswd.po passdb/pampass.po passdb/pdb_tdb.po passdb/pdb_ldap.po passdb/pdb_nisplus.po -L/usr/lib -R/usr/lib -R/usr/pkg/lib -lpam  -lsec -lgen -lsocket -lnsl  -ldl -lpam  -lc  -h `basename bin/pam_smbpass.so`
=> Fixing buildlink references in files-to-be-installed.
===> Installing for pam-smbpass-2.2.8anb1
===> pam-smbpass-2.2.8anb1 conflicts with installed package(s): samba-3.0.4  found.
*** They install the same files into the same place.
*** Please remove samba-3.0.4  first with pkg_delete(1).
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/pam-smbpass
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/pam-smbpass
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/pam-smbpass
BULK> pam-smbpass-2.2.8anb1 was marked as broken:
-rw-r--r--   1 root     other      30692 Jun 27 17:49 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for pam-smbpass
BULK> Marking all packages which depend upon pam-smbpass-2.2.8anb1 as broken:
BULK> Build for pam-smbpass-2.2.8anb1 was not successful, aborting.