pkgsrc-Bugs archive

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

pkg/52011: libarchive-3.3.1 fails to build on Solaris 10



>Number:         52011
>Category:       pkg
>Synopsis:       libarchive-3.3.1 fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 28 02:05:00 +0000 2017
>Originator:     Hiroshi Hakoyama
>Release:        pkgsrc current
>Organization:
FRA
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
libarchive-3.3.1 fails to build on Solaris 10.
bsdtar also fails to build. bsdtar-3.2.1 was OK.

I attach the error log and mk.conf.

# make
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing dependencies for libarchive-3.3.1
==========================================================================
The following variables will affect the build process of this package,
libarchive-3.3.1.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.2nb13
=> Build dependency gcc49>=4.9.1: found gcc49-4.9.4
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency {gcc49,gcc49-libs}>=4.9: found gcc49-4.9.4
=> Full dependency bzip2>=1.0.3: found bzip2-1.0.6nb1
=> Full dependency xz>=5.0.0: found xz-5.2.3
=> Full dependency zlib>=1.2.3: found zlib-1.2.8nb3
=> Full dependency openssl>=1.0.2gnb1: found openssl-1.0.2k
===> Overriding tools for libarchive-3.3.1
===> Extracting for libarchive-3.3.1
/bin/cp -r /usr/pkgsrc/archivers/libarchive/files /usr/pkgsrc/archivers/libarchive/work/libarchive-3.3.1
/usr/bin/chmod -R u+w /usr/pkgsrc/archivers/libarchive/work/libarchive-3.3.1
===> Patching for libarchive-3.3.1
===> Creating toolchain wrappers for libarchive-3.3.1
===> Configuring for libarchive-3.3.1
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
checking for a BSD-compatible install... /usr/pkg/bin/bsdinstall -c -o root -g root
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build/autoconf/install-sh -c -d
checking for gawk... /usr/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for sparc-sun-solaris2.10-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/sfw/bin/ggrep
checking for egrep... (cached) /usr/sfw/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/pkg/bin/nbsed
checking for fgrep... /usr/sfw/bin/ggrep -F
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/pkgsrc/archivers/libarchive/work/.tools/bin/nm -p
checking the name lister (/usr/pkgsrc/archivers/libarchive/work/.tools/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert sparc-sun-solaris2.10 file names to sparc-sun-solaris2.10 format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.10 file names to toolchain format... func_convert_file_noop
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for sparc-sun-solaris2.10-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for sparc-sun-solaris2.10-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for sparc-sun-solaris2.10-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for sparc-sun-solaris2.10-strip... no
checking for strip... strip
checking for sparc-sun-solaris2.10-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/pkgsrc/archivers/libarchive/work/.tools/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for sparc-sun-solaris2.10-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for sparc-sun-solaris2.10-strip... strip
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking copyfile.h usability... no
checking copyfile.h presence... no
checking for copyfile.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for ext2fs/ext2_fs.h... (cached) no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking whether EXT2_IOC_GETFLAGS is usable... no
checking for inttypes.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/fiemap.h usability... no
checking linux/fiemap.h presence... no
checking for linux/fiemap.h... no
checking linux/fs.h usability... no
checking linux/fs.h presence... no
checking for linux/fs.h... no
checking linux/magic.h usability... no
checking linux/magic.h presence... no
checking for linux/magic.h... no
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking whether FS_IOC_GETFLAGS is usable... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking readpassphrase.h usability... no
checking readpassphrase.h presence... no
checking for readpassphrase.h... no
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... yes
checking sys/mkdev.h presence... yes
checking for sys/mkdev.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utime.h usability... yes
checking sys/utime.h presence... yes
checking for sys/utime.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking Bcrypt.h usability... no
checking Bcrypt.h presence... no
checking for Bcrypt.h... no
checking for wincrypt.h... no
checking for winioctl.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzDecompressInit in -lbz2... yes
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for iconv... yes
checking for working iconv... no
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for iconv.h... yes
checking localcharset.h usability... no
checking localcharset.h presence... no
checking for localcharset.h... no
checking for locale_charset... no
checking for locale_charset in -lcharset... no
checking lz4.h usability... no
checking lz4.h presence... no
checking for lz4.h... no
checking lz4hc.h usability... no
checking lz4hc.h presence... no
checking for lz4hc.h... no
checking for LZ4_decompress_safe in -llz4... no
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_stream_decoder in -llzma... yes
checking whether we have multithread support in lzma... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wformat... yes
checking whether C compiler accepts -Wformat-security... yes
checking for an ANSI C-conforming const... yes
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 id_t... yes
checking for uintptr_t... yes
checking for struct tm.tm_gmtoff... no
checking for struct tm.__tm_gmtoff... no
checking for struct statfs.f_namemax... no
checking for struct statvfs.f_iosize... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtime_n... no
checking for struct stat.st_umtime... no
checking for struct stat.st_mtime_usec... no
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for uintmax_t... yes
checking for unsigned long long... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for uintmax_t... (cached) yes
checking for int64_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for uint8_t... yes
checking whether SIZE_MAX is declared... yes
checking whether INT32_MAX is declared... yes
checking whether INT32_MIN is declared... yes
checking whether INT64_MAX is declared... yes
checking whether INT64_MIN is declared... yes
checking whether UINT64_MAX is declared... yes
checking whether UINT32_MAX is declared... yes
checking whether INTMAX_MAX is declared... yes
checking whether INTMAX_MIN is declared... yes
checking whether UINTMAX_MAX is declared... yes
checking whether SSIZE_MAX is declared... yes
checking whether EFTYPE is declared... no
checking whether EILSEQ is declared... yes
checking for wchar_t... yes
checking size of wchar_t... 4
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking whether sys/types.h defines makedev... no
checking for sys/mkdev.h... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working memcmp... yes
checking whether lstat correctly handles trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether stat accepts an empty string... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for CreateHardLinkA... no
checking for arc4random_buf... no
checking for chflags... no
checking for chown... yes
checking for chroot... yes
checking for ctime_r... yes
checking for dirfd... no
checking for fchdir... yes
checking for fchflags... no
checking for fchmod... yes
checking for fchown... yes
checking for fcntl... yes
checking for fdopendir... yes
checking for fork... yes
checking for fstat... yes
checking for fstatat... yes
checking for fstatfs... yes
checking for fstatvfs... yes
checking for ftruncate... yes
checking for futimens... yes
checking for futimes... no
checking for futimesat... yes
checking for geteuid... yes
checking for getpid... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getvfsbyname... no
checking for gmtime_r... yes
checking for lchflags... no
checking for lchmod... no
checking for lchown... yes
checking for link... yes
checking for localtime_r... yes
checking for lstat... yes
checking for lutimes... no
checking for mbrtowc... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mkstemp... yes
checking for nl_langinfo... yes
checking for openat... yes
checking for pipe... yes
checking for poll... yes
checking for posix_spawnp... yes
checking for readlink... yes
checking for readlinkat... no
checking for readpassphrase... no
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for sigaction... yes
checking for statfs... yes
checking for statvfs... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncpy_s... no
checking for strrchr... yes
checking for symlink... yes
checking for timegm... no
checking for tzset... yes
checking for unsetenv... yes
checking for utime... yes
checking for utimensat... yes
checking for utimes... yes
checking for vfork... yes
checking for wcrtomb... yes
checking for wcscmp... yes
checking for wcscpy... yes
checking for wcslen... yes
checking for wctomb... yes
checking for wmemcmp... yes
checking for wmemcpy... yes
checking for wmemmove... yes
checking for _ctime64_s... no
checking for _fseeki64... no
checking for _get_timezone... no
checking for _localtime64_s... no
checking for _mkgmtime64... no
checking for cygwin_conv_path... no
checking for struct vfsconf... no
checking for struct xvfsconf... no
checking whether D_MD_ORDER is declared... no
checking for struct dirent.d_namlen... no
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking sys/xattr.h usability... no
checking sys/xattr.h presence... no
checking for sys/xattr.h... no
checking sys/ea.h usability... no
checking sys/ea.h presence... no
checking for sys/ea.h... no
checking for library containing setxattr... no
checking for extattr_get_file... no
checking for extattr_list_file... no
checking for extattr_set_fd... no
checking for extattr_set_file... no
checking for fgetxattr... no
checking for flistxattr... no
checking for fsetxattr... no
checking for getxattr... no
checking for lgetxattr... no
checking for listxattr... no
checking for llistxattr... no
checking for lsetxattr... no
checking for fgetea... no
checking for flistea... no
checking for fsetea... no
checking for getea... no
checking for lgetea... no
checking for listea... no
checking for llistea... no
checking for lsetea... no
checking whether EXTATTR_NAMESPACE_USER is declared... no
checking acl/libacl.h usability... no
checking acl/libacl.h presence... no
checking for acl/libacl.h... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for acl_get_file in -lacl... no
checking for acl_create_entry... no
checking for acl_get_fd_np... no
checking for acl_init... no
checking for acl_set_fd... no
checking for acl_set_fd_np... no
checking for acl_set_file... no
checking for acl_permset_t... no
checking for acl_get_perm_np... no
checking for acl_get_perm... no
checking for acl_get_link... no
checking for acl_get_link_np... no
checking for acl_is_trivial_np... no
checking whether ACL_TYPE_NFS4 is declared... no
checking whether ACL_USER is declared... no
checking whether ACL_TYPE_EXTENDED is declared... no
checking for acl_get in -lsec... yes
checking for aclent_t... yes
checking for ace_t... yes
checking for acl_get... yes
checking for facl_get... yes
checking for acl_set... yes
checking for facl_set... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking support for ARCHIVE_CRYPTO_MD5_LIBC... no
checking support for ARCHIVE_CRYPTO_MD5_LIBSYSTEM... no
checking support for ARCHIVE_CRYPTO_RMD160_LIBC... no
checking support for ARCHIVE_CRYPTO_SHA1_LIBC... no
checking support for ARCHIVE_CRYPTO_SHA1_LIBSYSTEM... no
checking support for ARCHIVE_CRYPTO_SHA256_LIBC... no
checking support for ARCHIVE_CRYPTO_SHA256_LIBC2... no
checking support for ARCHIVE_CRYPTO_SHA256_LIBC3... no
checking support for ARCHIVE_CRYPTO_SHA256_LIBSYSTEM... no
checking support for ARCHIVE_CRYPTO_SHA384_LIBC... no
checking support for ARCHIVE_CRYPTO_SHA384_LIBC2... no
checking support for ARCHIVE_CRYPTO_SHA384_LIBC3... no
checking support for ARCHIVE_CRYPTO_SHA384_LIBSYSTEM... no
checking support for ARCHIVE_CRYPTO_SHA512_LIBC... no
checking support for ARCHIVE_CRYPTO_SHA512_LIBC2... no
checking support for ARCHIVE_CRYPTO_SHA512_LIBC3... no
checking support for ARCHIVE_CRYPTO_SHA512_LIBSYSTEM... no
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OPENSSL_config in -lcrypto... yes
checking support for ARCHIVE_CRYPTO_MD5_OPENSSL... yes
checking support for ARCHIVE_CRYPTO_RMD160_OPENSSL... yes
checking support for ARCHIVE_CRYPTO_SHA1_OPENSSL... yes
checking support for ARCHIVE_CRYPTO_SHA256_OPENSSL... yes
checking support for ARCHIVE_CRYPTO_SHA384_OPENSSL... yes
checking support for ARCHIVE_CRYPTO_SHA512_OPENSSL... yes
checking for PKCS5_PBKDF2_HMAC_SHA1... yes
checking for EVP_CIPHER_CTX_init in -lcrypto... yes
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking ripemd.h usability... no
checking ripemd.h presence... no
checking for ripemd.h... no
checking sha.h usability... no
checking sha.h presence... no
checking for sha.h... no
checking sha256.h usability... no
checking sha256.h presence... no
checking for sha256.h... no
checking sha512.h usability... no
checking sha512.h presence... no
checking for sha512.h... no
checking for MD5Init in -lmd... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/pkgconfig/libarchive.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
libtoolT: No such file or directory
config.status: executing mkdirs commands
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
===> Building for libarchive-3.3.1
build/autoconf/install-sh -c -d libarchive/test
cat ./libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h
build/autoconf/install-sh -c -d tar/test
cat ./tar/test/test_*.c | grep '^DEFINE_TEST' > tar/test/list.h
build/autoconf/install-sh -c -d cpio/test
cat ./cpio/test/test_*.c | grep '^DEFINE_TEST' > cpio/test/list.h
cat ./cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h
/usr/pkg/bin/bmake  all-am
  CC       libarchive/archive_acl.lo
  CC       libarchive/archive_check_magic.lo
  CC       libarchive/archive_cmdline.lo
  CC       libarchive/archive_cryptor.lo
  CC       libarchive/archive_digest.lo
  CC       libarchive/archive_entry.lo
  CC       libarchive/archive_entry_copy_stat.lo
  CC       libarchive/archive_entry_link_resolver.lo
  CC       libarchive/archive_entry_sparse.lo
  CC       libarchive/archive_entry_stat.lo
  CC       libarchive/archive_entry_strmode.lo
  CC       libarchive/archive_entry_xattr.lo
  CC       libarchive/archive_getdate.lo
  CC       libarchive/archive_hmac.lo
  CC       libarchive/archive_match.lo
  CC       libarchive/archive_options.lo
  CC       libarchive/archive_pack_dev.lo
  CC       libarchive/archive_pathmatch.lo
  CC       libarchive/archive_ppmd7.lo
  CC       libarchive/archive_random.lo
  CC       libarchive/archive_rb.lo
  CC       libarchive/archive_read.lo
  CC       libarchive/archive_read_add_passphrase.lo
  CC       libarchive/archive_read_append_filter.lo
  CC       libarchive/archive_read_data_into_fd.lo
  CC       libarchive/archive_read_disk_entry_from_file.lo
libarchive/archive_read_disk_entry_from_file.c:718:38: error: 'ACE_INHERITED_ACE' undeclared here (not in a function)
  {ARCHIVE_ENTRY_ACL_ENTRY_INHERITED, ACE_INHERITED_ACE}
                                      ^
libarchive/archive_read_disk_entry_from_file.c: In function 'sun_acl_is_trivial':
libarchive/archive_read_disk_entry_from_file.c:896:10: error: dereferencing pointer to incomplete type
  if ((acl->acl_flags & ACL_IS_TRIVIAL) == 0)
          ^
libarchive/archive_read_disk_entry_from_file.c:896:10: error: request for member 'acl_flags' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:896:24: error: 'ACL_IS_TRIVIAL' undeclared (first use in this function)
  if ((acl->acl_flags & ACL_IS_TRIVIAL) == 0)
                        ^
libarchive/archive_read_disk_entry_from_file.c:896:24: note: each undeclared identifier is reported only once for each function it appears in
libarchive/archive_read_disk_entry_from_file.c:896:22: error: invalid operands to binary & (have 'const struct <anonymous> *' and 'const struct <anonymous> *')
  if ((acl->acl_flags & ACL_IS_TRIVIAL) == 0)
                      ^
libarchive/archive_read_disk_entry_from_file.c:904:9: error: dereferencing pointer to incomplete type
  if (acl->acl_type == ACLENT_T) {
         ^
libarchive/archive_read_disk_entry_from_file.c:904:9: error: request for member 'acl_type' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:904:23: error: 'ACLENT_T' undeclared (first use in this function)
  if (acl->acl_type == ACLENT_T) {
                       ^
libarchive/archive_read_disk_entry_from_file.c:905:10: error: dereferencing pointer to incomplete type
   if (acl->acl_cnt == 4)
          ^
libarchive/archive_read_disk_entry_from_file.c:905:10: error: request for member 'acl_cnt' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:905:20: warning: comparison between pointer and integer
   if (acl->acl_cnt == 4)
                    ^
libarchive/archive_read_disk_entry_from_file.c:910:9: error: dereferencing pointer to incomplete type
  if (acl->acl_type != ACE_T || acl->acl_entry_size != sizeof(ace_t))
         ^
libarchive/archive_read_disk_entry_from_file.c:910:9: error: request for member 'acl_type' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:910:23: error: 'ACE_T' undeclared (first use in this function)
  if (acl->acl_type != ACE_T || acl->acl_entry_size != sizeof(ace_t))
                       ^
libarchive/archive_read_disk_entry_from_file.c:910:35: error: dereferencing pointer to incomplete type
  if (acl->acl_type != ACE_T || acl->acl_entry_size != sizeof(ace_t))
                                   ^
libarchive/archive_read_disk_entry_from_file.c:910:35: error: request for member 'acl_entry_size' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:910:52: warning: comparison between pointer and integer
  if (acl->acl_type != ACE_T || acl->acl_entry_size != sizeof(ace_t))
                                                    ^
libarchive/archive_read_disk_entry_from_file.c:997:9: error: dereferencing pointer to incomplete type
  if (acl->acl_cnt != p)
         ^
libarchive/archive_read_disk_entry_from_file.c:997:9: error: request for member 'acl_cnt' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:997:19: warning: comparison between pointer and integer
  if (acl->acl_cnt != p)
                   ^
libarchive/archive_read_disk_entry_from_file.c:1003:24: error: dereferencing pointer to incomplete type
    ace = &((ace_t *)acl->acl_aclp)[p];
                        ^
libarchive/archive_read_disk_entry_from_file.c:1003:24: error: request for member 'acl_aclp' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1011:13: error: dereferencing pointer to incomplete type
        ((acl->acl_flags & ACL_IS_DIR) == 0 ||
             ^
libarchive/archive_read_disk_entry_from_file.c:1011:13: error: request for member 'acl_flags' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1011:27: error: 'ACL_IS_DIR' undeclared (first use in this function)
        ((acl->acl_flags & ACL_IS_DIR) == 0 ||
                           ^
libarchive/archive_read_disk_entry_from_file.c:1011:25: error: invalid operands to binary & (have 'const struct <anonymous> *' and 'const struct <anonymous> *')
        ((acl->acl_flags & ACL_IS_DIR) == 0 ||
                         ^
libarchive/archive_read_disk_entry_from_file.c: In function 'translate_acl':
libarchive/archive_read_disk_entry_from_file.c:1042:9: error: dereferencing pointer to incomplete type
  if (acl->acl_cnt <= 0)
         ^
libarchive/archive_read_disk_entry_from_file.c:1042:9: error: request for member 'acl_cnt' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1045:21: error: dereferencing pointer to incomplete type
  for (e = 0; e < acl->acl_cnt; e++) {
                     ^
libarchive/archive_read_disk_entry_from_file.c:1045:21: error: request for member 'acl_cnt' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1045:16: warning: comparison between pointer and integer
  for (e = 0; e < acl->acl_cnt; e++) {
                ^
libarchive/archive_read_disk_entry_from_file.c:1050:10: error: dereferencing pointer to incomplete type
   if (acl->acl_type == ACE_T) {
          ^
libarchive/archive_read_disk_entry_from_file.c:1050:10: error: request for member 'acl_type' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1050:24: error: 'ACE_T' undeclared (first use in this function)
   if (acl->acl_type == ACE_T) {
                        ^
libarchive/archive_read_disk_entry_from_file.c:1051:24: error: dereferencing pointer to incomplete type
    ace = &((ace_t *)acl->acl_aclp)[e];
                        ^
libarchive/archive_read_disk_entry_from_file.c:1051:24: error: request for member 'acl_aclp' in something not a structure or union
libarchive/archive_read_disk_entry_from_file.c:1104:30: error: dereferencing pointer to incomplete type
    aclent = &((aclent_t *)acl->acl_aclp)[e];
                              ^
libarchive/archive_read_disk_entry_from_file.c:1104:30: error: request for member 'acl_aclp' in something not a structure or union
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/archivers/libarchive/work/libarchive-3.3.1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/archivers/libarchive/work/libarchive-3.3.1
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/archivers/libarchive
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/archivers/libarchive


# more mk.conf

.ifdef BSD_PKG_MK       # begin pkgsrc settings

ABI=                    32
PKGSRC_COMPILER=        gcc
GCCBASE=                /usr/pkg/gcc49

PKG_DBDIR=              /usr/pkg/pkgdb
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGINFODIR=             info
PKGMANDIR=              man

TOOLS_PLATFORM.install?=        ${LOCALBASE}/bin/bsdinstall
TOOLS_PLATFORM.awk?=            ${LOCALBASE}/bin/nawk
TOOLS_PLATFORM.sed?=            ${LOCALBASE}/bin/nbsed
TOOLS_PLATFORM.sh?=             ${LOCALBASE}/bin/bash

CONFIG_SHELL=   ${LOCALBASE}/bin/bash
WRAPPER_SHELL=  ${LOCALBASE}/bin/bash

TOOLS_PLATFORM.ar=      /usr/ccs/bin/ar
TOOLS_PLATFORM.nm=      /usr/ccs/bin/nm
TOOLS_PLATFORM.ranlib=  /usr/ccs/bin/ranlib
USE_TOOLS+=             ar nm ranlib

TOOLS_PLATFORM.flex?=           ${LOCALBASE}/bin/flex
TOOLS_PLATFORM.lex?=            ${LOCALBASE}/bin/flex
TOOLS_PLATFORM.find?=            ${LOCALBASE}/bin/gfind

CFLAGS+= -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3
CXXFLAGS+= -O3 -mcpu=ultrasparc3 -mtune=ultrasparc3
DBG=                    # prevent DBG from adding default optimizer flags

PKG_OPTIONS.gcc49= gcc-c++ -gcc-fortran -gcc-go gcc-inplace-math -gcc-objc -gcc -objc++

X11_TYPE= modular
USE_INET6= no

PKG_OPTIONS.xz= -nls
PKG_OPTIONS.cvs = -kerberos
PKG_OPTIONS.groff= -x11 -groff-docs
PKG_OPTIONS.gd= -x11
PKG_OPTIONS.apache= -http2

IS_BUILTIN.zlib= yes
USE_BUILTIN.zlib= no
PREFER.zlib= pkgsrc

USE_BUILTIN.bzip2= no
PREFER.bzip2= pkgsrc
USE_BZIP2= yes

ACCEPTABLE_LICENSES+=vim-license

.endif                  # end pkgsrc settings

>How-To-Repeat:

>Fix:


Home | Main Index | Thread Index | Old Index