FreeBSD Port: ports-mgmt/pkg

spin at abi.ck.ua spin at abi.ck.ua
Mon May 23 08:24:07 UTC 2016


Hello.
System: FreeBSD 8.4-STABLE #0 r258868M: Tue Dec  3 18:11:24 EET 2013
Got problem with compiling a new pkg. Currently installed version: pkg-1.7.2
Trying to install a new 1.8.0 with portmaster
log in file "portmaster pkg err.txt"

Also "make clean" doesn't help
Then going to
cd /usr/ports/ports-mgmt/pkg
  make clean
  make MAKE_JOBS_UNSAFE=yes
log in file "make unsafe err.txt"

Thanks for help.
P.S. I've got a few more server with same problem when making new pkg_1.8
-------------- next part --------------
root at gw:/usr/ports/ports-mgmt/pkg # make clean
===>  Cleaning for pkg-1.8.0
root at gw:/usr/ports/ports-mgmt/pkg # make MAKE_JOBS_UNSAFE=yes
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.8.0 for building
===>  Extracting for pkg-1.8.0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.8.0 for building
=> SHA256 Checksum OK for pkg-1.8.0.tar.xz.
===>  Patching for pkg-1.8.0
===>  Configuring for pkg-1.8.0
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cc option to accept ISO C99... -std=gnu99
checking build system type... i386-portbld-freebsd8.4
checking host system type... i386-portbld-freebsd8.4
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i386-portbld-freebsd8.4 file names to i386-portbld-freebsd8.4 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd8.4 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu99 static flag -static works... yes
checking if cc -std=gnu99 supports -c -o file.o... yes
checking if cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking CFLAGS for maximum warnings... -Wall -Wno-unused-function
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
checking whether ln -s works... yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for elf-hints.h... yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for machine/endian.h... yes
checking for endian.h... no
checking for sys/endian.h... yes
checking for dlfcn.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/elf_common.h... yes
checking for link.h... yes
checking for stddef.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for stdint.h... (cached) yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for limits.h... (cached) yes
checking for libgen.h... (cached) yes
checking for stdio.h... (cached) yes
checking for float.h... (cached) yes
checking for math.h... (cached) yes
checking for readpassphrase.h... (cached) yes
checking for osreldate.h... yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netinet/in6.h... no
checking for sys/statfs.h... no
checking for sys/statvfs.h... (cached) yes
checking for dirent.h... (cached) yes
checking for sys/capability.h... no
checking for sys/capsicum.h... no
checking for bsd/stdlib.h... no
checking for bsd/string.h... no
checking for bsd/stdio.h... no
checking for bsd/readpassphrase.h... no
checking for bsd/libutil.h... no
checking for bsd/err.h... no
checking for bsd/unistd.h... no
checking for bsd/sys/cdefs.h... no
checking for sys/procctl.h... no
checking for off_t... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for GCC atomic builtins... yes
checking if LD -Wl,--version-script works... yes
checking for regex.h... yes
checking for strtofflags... yes
checking for posix_fallocate... yes
checking for usleep... (cached) yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strerror_r... (cached) yes
checking for strtonum... (cached) yes
checking for strnstr... yes
checking for funopen... yes
checking for fopencookie... no
checking for sysctlbyname... yes
checking for __res_setservers... yes
checking for eaccess... (cached) yes
checking for closefrom... (cached) yes
checking for dirfd... no
checking for sysconf... (cached) yes
checking whether fstatat is declared... (cached) yes
checking whether openat is declared... (cached) yes
checking whether unlinkat is declared... (cached) yes
checking whether readlinkat is declared... (cached) yes
checking whether faccessat is declared... (cached) yes
checking whether be16dec is declared... yes
checking whether be32dec is declared... yes
checking whether be64dec is declared... yes
checking whether le16dec is declared... yes
checking whether le32dec is declared... yes
checking whether le64dec is declared... yes
checking whether be16enc is declared... yes
checking whether be32enc is declared... yes
checking whether be64enc is declared... yes
checking whether le16enc is declared... yes
checking whether le32enc is declared... yes
checking whether le64enc is declared... yes
checking for struct in6_addr.s6_addr32... no
checking for struct in6_addr.s6_addr16... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for struct sockaddr_storage.ss_len... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for IPv6 support... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for git... no

no
checking for library containing lzma_version_string... -llzma
checking for library containing BZ2_bzReadOpen... -lbz2
checking for library containing zlibVersion... -lz
checking for library containing archive_read_open... -larchive
checking for library containing __res_query... none required
checking archive.h usability... yes
checking archive.h presence... yes
checking for archive.h... yes
checking for library containing jail_getid... -ljail
checking for library containing getprogname... none required
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking for Elf_Note... yes
checking for gelf_getehdr in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking for Elf_Note... (cached) yes
checking for gelf_getehdr in -lelf... (cached) yes
checking for cap_sandboxed... no
checking for arc4random_uniform... (cached) yes
checking for arc4random_stir... yes
checking for humanize_number... no
checking for BSD dirname(const char *)... (cached) yes
checking for BSD statfs(const char *path, struct statfs *buf)... (cached) yes
checking for chflags... yes
checking for chflagsat... no
checking for utimensat... no
checking for futimesat... yes
checking for basename_r... no
checking for BSD basename(const char *)... yes
checking for /proc/pid/fd directory... no
checking whether F_CLOSEM is declared... no
checking whether we should only build the static version of pkg... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Kyuafile
config.status: creating src/Makefile
config.status: creating external/Makefile
config.status: creating external/blake2/Makefile
config.status: creating scripts/Makefile
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/Kyuafile
config.status: creating tests/frontend/Kyuafile
config.status: creating tests/frontend/test_environment.sh
config.status: creating compat/Makefile
config.status: creating libpkg/Makefile
config.status: creating libpkg/repo/Makefile
config.status: creating libpkg/pkg.h
config.status: creating libpkg/pkg.pc
config.status: creating scripts/periodic/400.status-pkg
config.status: creating scripts/periodic/410.pkg-audit
config.status: creating scripts/periodic/411.pkg-backup
config.status: creating scripts/periodic/460.pkg-checksum
config.status: creating scripts/periodic/490.status-pkg-changes
config.status: creating scripts/sbin/pkg2ng
config.status: creating scripts/completion/_pkg.bash
config.status: creating scripts/completion/_pkg
config.status: creating libpkg/repo/binary/Makefile
config.status: creating pkg_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing pkg_repos.h commands
config.status: executing mkdir commands
===>  Building for pkg-1.8.0
/usr/bin/make  all-recursive
Making all in compat
  CC       libbsd_compat_la-basename.lo
  CC       libbsd_compat_la-closefrom.lo
  CC       libbsd_compat_la-dirname.lo
  CC       libbsd_compat_la-file_at.lo
  CC       libbsd_compat_la-humanize_number.lo
  CC       libbsd_compat_la-strtonum.lo
  CC       libbsd_compat_la-strnstr.lo
  CC       libbsd_compat_la-funopen.lo
  CCLD     libbsd_compat.la
Making all in external
./libelf/native-elf-format > libelf/native-elf-format.h
    M4     libelf/libelf_convert.c
    M4     libelf/libelf_fsize.c
    M4     libelf/libelf_msize.c
/usr/bin/make  all-recursive
Making all in blake2
  CC       libblake2_la-blake2b-ref.lo
  CCLD     libblake2.la
  CC       libblake2_static_la-blake2b-ref.lo
  CCLD     libblake2_static.la
  CC       libucl/src/libucl_static_la-ucl_emitter.lo
  CC       libucl/src/libucl_static_la-ucl_emitter_utils.lo
  CC       libucl/src/libucl_static_la-ucl_emitter_streamline.lo
  CC       libucl/src/libucl_static_la-ucl_hash.lo
  CC       libucl/src/libucl_static_la-ucl_parser.lo
  CC       libucl/src/libucl_static_la-ucl_schema.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:914: warning: 'ret' may be used uninitialized in this function
  CC       libucl/src/libucl_static_la-ucl_util.lo
  CC       libucl/src/libucl_static_la-ucl_msgpack.lo
  CC       libucl/src/libucl_static_la-ucl_sexp.lo
  CC       libucl/src/libucl_static_la-xxhash.lo
  CCLD     libucl_static.la
  CC       sqlite/libsqlite_static_la-sqlite3.lo
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:55862: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:60268: warning: unused variable 'key'
  CC       sqlite/libsqlite_static_la-shell.lo
  CCLD     libsqlite_static.la
  CC       expat/lib/libexpat_static_la-xmlparse.lo
  CC       expat/lib/libexpat_static_la-xmlrole.lo
  CC       expat/lib/libexpat_static_la-xmltok.lo
  CCLD     libexpat_static.la
  CC       libsbuf/libsbuf_static_la-subr_sbuf.lo
  CCLD     libsbuf_static.la
  CC       picosat/libpicosat_static_la-picosat.lo
  CC       picosat/libpicosat_static_la-version.lo
  CCLD     libpicosat_static.la
  CC       libfetch/libfetch_static_la-common.lo
libfetch/common.c: In function 'fetch_ssl':
libfetch/common.c:845: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from pointer target type
  CC       libfetch/libfetch_static_la-fetch.lo
  CC       libfetch/libfetch_static_la-file.lo
  CC       libfetch/libfetch_static_la-ftp.lo
libfetch/ftp.c: In function 'ftp_request':
libfetch/ftp.c:789: warning: 'sslen' may be used uninitialized in this function
libfetch/ftp.c:789: note: 'sslen' was declared here
  CC       libfetch/libfetch_static_la-http.lo
  CCLD     libfetch_static.la
  CC       linenoise/linenoise.lo
  CCLD     liblinenoise_static.la
  CC       libucl/src/libucl_la-ucl_emitter.lo
  CC       libucl/src/libucl_la-ucl_emitter_utils.lo
  CC       libucl/src/libucl_la-ucl_emitter_streamline.lo
  CC       libucl/src/libucl_la-ucl_hash.lo
  CC       libucl/src/libucl_la-ucl_parser.lo
  CC       libucl/src/libucl_la-ucl_schema.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:914: warning: 'ret' may be used uninitialized in this function
  CC       libucl/src/libucl_la-ucl_util.lo
  CC       libucl/src/libucl_la-ucl_msgpack.lo
  CC       libucl/src/libucl_la-ucl_sexp.lo
  CC       libucl/src/libucl_la-xxhash.lo
  CCLD     libucl.la
  CC       sqlite/libsqlite_la-sqlite3.lo
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:55862: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:60268: warning: unused variable 'key'
  CC       sqlite/libsqlite_la-shell.lo
  CCLD     libsqlite.la
  CC       expat/lib/libexpat_la-xmlparse.lo
  CC       expat/lib/libexpat_la-xmlrole.lo
  CC       expat/lib/libexpat_la-xmltok.lo
  CCLD     libexpat.la
  CC       libsbuf/libsbuf_la-subr_sbuf.lo
  CCLD     libsbuf.la
  CC       picosat/libpicosat_la-picosat.lo
  CC       picosat/libpicosat_la-version.lo
  CCLD     libpicosat.la
  CC       libfetch/libfetch_la-common.lo
libfetch/common.c: In function 'fetch_ssl':
libfetch/common.c:845: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from pointer target type
  CC       libfetch/libfetch_la-fetch.lo
  CC       libfetch/libfetch_la-file.lo
  CC       libfetch/libfetch_la-ftp.lo
libfetch/ftp.c: In function 'ftp_request':
libfetch/ftp.c:789: warning: 'sslen' may be used uninitialized in this function
libfetch/ftp.c:789: note: 'sslen' was declared here
  CC       libfetch/libfetch_la-http.lo
  CCLD     libfetch.la
  CC       linenoise/liblinenoise_la-linenoise.lo
  CCLD     liblinenoise.la
Making all in libpkg
Making all in repo
Making all in binary
  CC       librepo_binary_static_la-binary.lo
  CC       librepo_binary_static_la-common.lo
  CC       librepo_binary_static_la-fetch.lo
  CC       librepo_binary_static_la-init.lo
  CC       librepo_binary_static_la-query.lo
  CC       librepo_binary_static_la-update.lo
  CCLD     librepo_binary_static.la
  CC       librepo_binary_la-binary.lo
  CC       librepo_binary_la-common.lo
  CC       librepo_binary_la-fetch.lo
  CC       librepo_binary_la-init.lo
  CC       librepo_binary_la-query.lo
  CC       librepo_binary_la-update.lo
  CCLD     librepo_binary.la
Making all in .
  CC       libpkg_static_la-pkg.lo
  CC       libpkg_static_la-backup.lo
  CC       libpkg_static_la-clean_cache.lo
  CC       libpkg_static_la-dns_utils.lo
  CC       libpkg_static_la-fetch.lo
  CC       libpkg_static_la-packing.lo
  CC       libpkg_static_la-pkg_add.lo
pkg_add.c: In function 'set_attrs':
pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type
pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type
pkg_add.c: In function 'fill_timespec_buf':
pkg_add.c:287: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:288: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:289: error: 'const struct stat' has no member named 'st_mtim'
pkg_add.c:290: error: 'const struct stat' has no member named 'st_mtim'
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.8.0/libpkg.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.8.0/libpkg.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.8.0.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.8.0.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1

-------------- next part --------------
portmaster -ad
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates
===>>> Launching child to update pkg-1.7.2 to pkg-1.8.0

===>>> All >> pkg-1.7.2 (1/1)

===>>> Currently installed version: pkg-1.7.2
===>>> Port directory: /usr/ports/ports-mgmt/pkg

===>>> Launching 'make checksum' for ports-mgmt/pkg in background
===>>> Gathering dependency list for ports-mgmt/pkg from ports
===>>> No dependencies for ports-mgmt/pkg

===>>> Returning to update check of installed ports


===>>> All >> (1)

===>>> The following actions will be taken if you choose to proceed:
        Upgrade pkg-1.7.2 to pkg-1.8.0

===>>> Proceed? y/n [y] y


===>>> Starting build for ports that need updating <<<===

===>>> Launching child to install ports-mgmt/pkg

===>>> All >> ports-mgmt/pkg (1/1)

===>>> Currently installed version: pkg-1.7.2
===>>> Port directory: /usr/ports/ports-mgmt/pkg

===>>> Starting check for build dependencies
===>>> Gathering dependency list for ports-mgmt/pkg from ports
===>>> No dependencies for ports-mgmt/pkg

===>  Cleaning for pkg-1.8.0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.8.0 for building
===>  Extracting for pkg-1.8.0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by pkg-1.8.0 for building
=> SHA256 Checksum OK for pkg-1.8.0.tar.xz.
===>  Patching for pkg-1.8.0
===>  Configuring for pkg-1.8.0
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking for cc option to accept ISO C99... -std=gnu99
checking build system type... i386-portbld-freebsd8.4
checking host system type... i386-portbld-freebsd8.4
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i386-portbld-freebsd8.4 file names to i386-portbld-freebsd8.4 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd8.4 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc -std=gnu99 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for cc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if cc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if cc -std=gnu99 static flag -static works... yes
checking if cc -std=gnu99 supports -c -o file.o... yes
checking if cc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the cc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.4 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking CFLAGS for maximum warnings... -Wall -Wno-unused-function
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking for memmove... (cached) yes
checking for bcopy... (cached) yes
checking whether ln -s works... yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for elf-hints.h... yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for machine/endian.h... yes
checking for endian.h... no
checking for sys/endian.h... yes
checking for dlfcn.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/elf_common.h... yes
checking for link.h... yes
checking for stddef.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdbool.h... (cached) yes
checking for stdint.h... (cached) yes
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking for limits.h... (cached) yes
checking for libgen.h... (cached) yes
checking for stdio.h... (cached) yes
checking for float.h... (cached) yes
checking for math.h... (cached) yes
checking for readpassphrase.h... (cached) yes
checking for osreldate.h... yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for netinet/in6.h... no
checking for sys/statfs.h... no
checking for sys/statvfs.h... (cached) yes
checking for dirent.h... (cached) yes
checking for sys/capability.h... no
checking for sys/capsicum.h... no
checking for bsd/stdlib.h... no
checking for bsd/string.h... no
checking for bsd/stdio.h... no
checking for bsd/readpassphrase.h... no
checking for bsd/libutil.h... no
checking for bsd/err.h... no
checking for bsd/unistd.h... no
checking for bsd/sys/cdefs.h... no
checking for sys/procctl.h... no
checking for off_t... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for GCC atomic builtins... yes
checking if LD -Wl,--version-script works... yes
checking for regex.h... yes
checking for strtofflags... yes
checking for posix_fallocate... yes
checking for usleep... (cached) yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strerror_r... (cached) yes
checking for strtonum... (cached) yes
checking for strnstr... yes
checking for funopen... yes
checking for fopencookie... no
checking for sysctlbyname... yes
checking for __res_setservers... yes
checking for eaccess... (cached) yes
checking for closefrom... (cached) yes
checking for dirfd... no
checking for sysconf... (cached) yes
checking whether fstatat is declared... (cached) yes
checking whether openat is declared... (cached) yes
checking whether unlinkat is declared... (cached) yes
checking whether readlinkat is declared... (cached) yes
checking whether faccessat is declared... (cached) yes
checking whether be16dec is declared... yes
checking whether be32dec is declared... yes
checking whether be64dec is declared... yes
checking whether le16dec is declared... yes
checking whether le32dec is declared... yes
checking whether le64dec is declared... yes
checking whether be16enc is declared... yes
checking whether be32enc is declared... yes
checking whether be64enc is declared... yes
checking whether le16enc is declared... yes
checking whether le32enc is declared... yes
checking whether le64enc is declared... yes
checking for struct in6_addr.s6_addr32... no
checking for struct in6_addr.s6_addr16... no
checking for struct sockaddr_in.sin_len... yes
checking for struct sockaddr_in6.sin6_len... yes
checking for struct sockaddr_storage.ss_len... yes
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for IPv6 support... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for git... no

no
checking for library containing lzma_version_string... -llzma
checking for library containing BZ2_bzReadOpen... -lbz2
checking for library containing zlibVersion... -lz
checking for library containing archive_read_open... -larchive
checking for library containing __res_query... none required
checking archive.h usability... yes
checking archive.h presence... yes
checking for archive.h... yes
checking for library containing jail_getid... -ljail
checking for library containing getprogname... none required
checking gelf.h usability... yes
checking gelf.h presence... yes
checking for gelf.h... yes
checking for Elf_Note... yes
checking for gelf_getehdr in -lelf... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking for Elf_Note... (cached) yes
checking for gelf_getehdr in -lelf... (cached) yes
checking for cap_sandboxed... no
checking for arc4random_uniform... (cached) yes
checking for arc4random_stir... yes
checking for humanize_number... no
checking for BSD dirname(const char *)... (cached) yes
checking for BSD statfs(const char *path, struct statfs *buf)... (cached) yes
checking for chflags... yes
checking for chflagsat... no
checking for utimensat... no
checking for futimesat... yes
checking for basename_r... no
checking for BSD basename(const char *)... yes
checking for /proc/pid/fd directory... no
checking whether F_CLOSEM is declared... no
checking whether we should only build the static version of pkg... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Kyuafile
config.status: creating src/Makefile
config.status: creating external/Makefile
config.status: creating external/blake2/Makefile
config.status: creating scripts/Makefile
config.status: creating docs/Makefile
config.status: creating tests/Makefile
config.status: creating tests/Kyuafile
config.status: creating tests/frontend/Kyuafile
config.status: creating tests/frontend/test_environment.sh
config.status: creating compat/Makefile
config.status: creating libpkg/Makefile
config.status: creating libpkg/repo/Makefile
config.status: creating libpkg/pkg.h
config.status: creating libpkg/pkg.pc
config.status: creating scripts/periodic/400.status-pkg
config.status: creating scripts/periodic/410.pkg-audit
config.status: creating scripts/periodic/411.pkg-backup
config.status: creating scripts/periodic/460.pkg-checksum
config.status: creating scripts/periodic/490.status-pkg-changes
config.status: creating scripts/sbin/pkg2ng
config.status: creating scripts/completion/_pkg.bash
config.status: creating scripts/completion/_pkg
config.status: creating libpkg/repo/binary/Makefile
config.status: creating pkg_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing pkg_repos.h commands
config.status: executing mkdir commands
===>  Building for pkg-1.8.0
/usr/bin/make  all-recursive
Making all in compat
  CC       libbsd_compat_la-basename.lo
  CC       libbsd_compat_la-closefrom.lo
  CC       libbsd_compat_la-dirname.lo
  CC       libbsd_compat_la-file_at.lo
  CC       libbsd_compat_la-humanize_number.lo
  CC       libbsd_compat_la-strtonum.lo
  CC       libbsd_compat_la-strnstr.lo
  CC       libbsd_compat_la-funopen.lo
  CCLD     libbsd_compat.la
Making all in external
./libelf/native-elf-format > libelf/native-elf-format.h
M4     libelf/libelf_convert.c
M4     libelf/libelf_fsize.c
    M4     libelf/libelf_msize.c
/usr/bin/make  all-recursive
Making all in blake2
  CC       libblake2_la-blake2b-ref.lo
  CC       libblake2_static_la-blake2b-ref.lo
  CCLD     libblake2_static.la
  CCLD     libblake2.la
  CC       libucl/src/libucl_la-ucl_emitter.lo
CC       libucl/src/libucl_la-ucl_emitter_utils.lo
  CC       libucl/src/libucl_la-ucl_emitter_streamline.lo
  CC       libucl/src/libucl_la-ucl_hash.lo
  CC       libucl/src/libucl_la-ucl_parser.lo
  CC       libucl/src/libucl_la-ucl_schema.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:914: warning: 'ret' may be used uninitialized in this function
CC       libucl/src/libucl_la-ucl_util.lo
CC       libucl/src/libucl_la-ucl_msgpack.lo
  CC       libucl/src/libucl_la-ucl_sexp.lo
  CC       libucl/src/libucl_la-xxhash.lo
  CC       libucl/src/libucl_static_la-ucl_emitter.lo
  CC       libucl/src/libucl_static_la-ucl_emitter_utils.lo
  CC       libucl/src/libucl_static_la-ucl_emitter_streamline.lo
CC       libucl/src/libucl_static_la-ucl_hash.lo
  CC       libucl/src/libucl_static_la-ucl_parser.lo
CC       libucl/src/libucl_static_la-ucl_schema.lo
libucl/src/ucl_schema.c: In function 'ucl_schema_validate':
libucl/src/ucl_schema.c:914: warning: 'ret' may be used uninitialized in this function
  CC       libucl/src/libucl_static_la-ucl_util.lo
  CC       libucl/src/libucl_static_la-ucl_msgpack.lo
CC       libucl/src/libucl_static_la-ucl_sexp.lo
  CC       libucl/src/libucl_static_la-xxhash.lo
  CC       sqlite/libsqlite_la-sqlite3.lo
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:55862: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:60268: warning: unused variable 'key'
  CC       sqlite/libsqlite_la-shell.lo
  CC       sqlite/libsqlite_static_la-sqlite3.lo
sqlite/sqlite3.c: In function 'sqlite3BtreeBeginTrans':
sqlite/sqlite3.c:55862: warning: unused variable 'pBlock'
sqlite/sqlite3.c: In function 'balance_nonroot':
sqlite/sqlite3.c:60268: warning: unused variable 'key'
  CC       sqlite/libsqlite_static_la-shell.lo
  CC       expat/lib/libexpat_la-xmlparse.lo
  CC       expat/lib/libexpat_la-xmlrole.lo
CC       expat/lib/libexpat_la-xmltok.lo
CC       expat/lib/libexpat_static_la-xmlparse.lo
CC       expat/lib/libexpat_static_la-xmlrole.lo
  CC       expat/lib/libexpat_static_la-xmltok.lo
  CC       libsbuf/libsbuf_la-subr_sbuf.lo
  CC       libsbuf/libsbuf_static_la-subr_sbuf.lo
  CC       picosat/libpicosat_la-picosat.lo
  CC       picosat/libpicosat_la-version.lo
  CC       picosat/libpicosat_static_la-picosat.lo
  CC       picosat/libpicosat_static_la-version.lo
  CC       libfetch/libfetch_la-common.lo
libfetch/common.c: In function 'fetch_ssl':
libfetch/common.c:845: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from pointer target type
CC       libfetch/libfetch_la-fetch.lo
  CC       libfetch/libfetch_la-file.lo
  CC       libfetch/libfetch_la-ftp.lo
  CC       libfetch/libfetch_la-http.lo
libfetch/ftp.c: In function 'ftp_request':
libfetch/ftp.c:789: warning: 'sslen' may be used uninitialized in this function
libfetch/ftp.c:789: note: 'sslen' was declared here
CC       libfetch/libfetch_static_la-common.lo
libfetch/common.c: In function 'fetch_ssl':
libfetch/common.c:845: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from pointer target type
  CC       libfetch/libfetch_static_la-fetch.lo
  CC       libfetch/libfetch_static_la-file.lo
  CC       libfetch/libfetch_static_la-ftp.lo
CC       libfetch/libfetch_static_la-http.lo
libfetch/ftp.c: In function 'ftp_request':
libfetch/ftp.c:789: warning: 'sslen' may be used uninitialized in this function
libfetch/ftp.c:789: note: 'sslen' was declared here
CC       linenoise/liblinenoise_la-linenoise.lo
  CC       linenoise/linenoise.lo
CCLD     libucl.la
  CCLD     libucl_static.la
  CCLD     libsqlite.la
CCLD     libsqlite_static.la
CCLD     libexpat.la
  CCLD     libsbuf.la
  CCLD     libsbuf_static.la
  CCLD     libexpat_static.la
  CCLD     libpicosat.la
  CCLD     libpicosat_static.la
  CCLD     libfetch.la
  CCLD     libfetch_static.la
CCLD     liblinenoise.la
  CCLD     liblinenoise_static.la
Making all in libpkg
Making all in repo
Making all in binary
  CC       librepo_binary_la-binary.lo
  CC       librepo_binary_static_la-binary.lo
  CC       librepo_binary_la-common.lo
  CC       librepo_binary_static_la-common.lo
  CC       librepo_binary_la-fetch.lo
  CC       librepo_binary_static_la-fetch.lo
  CC       librepo_binary_la-init.lo
  CC       librepo_binary_static_la-init.lo
  CC       librepo_binary_la-query.lo
  CC       librepo_binary_static_la-query.lo
  CC       librepo_binary_la-update.lo
  CC       librepo_binary_static_la-update.lo
  CCLD     librepo_binary_static.la
  CCLD     librepo_binary.la
Making all in .
  CC       libpkg_la-pkg.lo
  CC       libpkg_static_la-pkg.lo
CC       libpkg_la-backup.lo
  CC       libpkg_static_la-backup.lo
  CC       libpkg_la-clean_cache.lo
  CC       libpkg_static_la-clean_cache.lo
  CC       libpkg_la-dns_utils.lo
  CC       libpkg_static_la-dns_utils.lo
  CC       libpkg_la-fetch.lo
  CC       libpkg_static_la-fetch.lo
  CC       libpkg_la-packing.lo
  CC       libpkg_static_la-packing.lo
  CC       libpkg_la-pkg_add.lo
  CC       libpkg_static_la-pkg_add.lo
pkg_add.c: In function 'set_attrs':
pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type
pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type
pkg_add.c: In function 'fill_timespec_buf':
pkg_add.c:287: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:288: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:289: error: 'const struct stat' has no member named 'st_mtim'
pkg_add.c:290: error: 'const struct stat' has no member named 'st_mtim'
pkg_add.c: In function 'set_attrs':
pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type
pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type
pkg_add.c: In function 'fill_timespec_buf':
pkg_add.c:287: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:288: error: 'const struct stat' has no member named 'st_atim'
pkg_add.c:289: error: 'const struct stat' has no member named 'st_mtim'
pkg_add.c:290: error: 'const struct stat' has no member named 'st_mtim'
*** Error code 1
*** Error code 1
2 errors
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg.

===>>> make build failed for ports-mgmt/pkg
===>>> Aborting update

===>>> Update for ports-mgmt/pkg failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> ports-mgmt/pkg



More information about the freebsd-pkg mailing list