pkgsrc-Bugs archive

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

pkg/55961: net/bind916 9.16.10 compilation failure on i386



>Number:         55961
>Category:       pkg
>Synopsis:       net/bind916 9.16.10 compilation failure on i386
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 28 16:00:00 +0000 2021
>Originator:     Showta Ishizaki
>Release:        NetBSD 9.1 i386 on pkgsrc-2020Q4
>Organization:
SAKURA Internet Inc.
>Environment:
NetBSD bambi.snowrabbit.org 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
# ( cd /usr/pkgsrc/net/bind916/ ; make package )
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for bind-9.16.10.tar.xz
=> Checksum RMD160 OK for bind-9.16.10.tar.xz
=> Checksum SHA512 OK for bind-9.16.10.tar.xz
===> Installing dependencies for bind-9.16.10
==========================================================================
The supported build options for bind are:

	bind-dig-sigchase bind-json-statistics-server
	bind-xml-statistics-server blacklist blocklist
	dlz-filesystem dnstap geoip ldap lmdb mysql
	pgsql pkcs11 readline threads tuning

The currently selected options are:

	blacklist readline threads

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.bind916 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
bind-9.16.10.  Their current value is shown below:

        * BIND_DIR = /var/chroot/named
        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = readline
        * SSLBASE (defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency autoconf>=2.50: found autoconf-2.70
=> Tool dependency perl>=5.0: found perl-5.32.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency readline>=6.0: found readline-8.0
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1i
=> Full dependency libuv>=1.6: found libuv-1.40.0
=> Full dependency zlib>=1.2.3: found zlib-1.2.11
===> Checking for vulnerabilities in bind-9.16.10
===> Overriding tools for bind-9.16.10
===> Extracting for bind-9.16.10
===> Patching for bind-9.16.10
=> Applying pkgsrc patches for bind-9.16.10
No such line 5583 in input file, ignoring
===> Creating toolchain wrappers for bind-9.16.10
===> Configuring for bind-9.16.10
cd /usr/.github/pkgsrc/net/bind916/work/bind-9.16.10 && autoconf -f
configure.ac:18: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:18: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:18: the top level
configure.ac:47: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:47: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:47: the top level
configure.ac:374: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:374: You should run autoupdate.
./lib/autoconf/c.m4:1621: AC_PROG_CC_C99 is expanded from...
configure.ac:374: the top level
configure.ac:395: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:395: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:395: the top level
configure.ac:496: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:496: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:496: the top level
configure.ac:524: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:524: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
configure.ac:524: the top level
configure.ac:646: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
configure.ac:646: the top level
configure.ac:745: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:745: You should run autoupdate.
m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
configure.ac:745: the top level
configure.ac:1020: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:1020: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
configure.ac:1020: the top level
configure.ac:1174: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:1174: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
configure.ac:1174: the top level
configure.ac:1843: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:1843: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
configure.ac:1843: the top level
configure.ac:1959: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:1959: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
configure.ac:1959: the top level
configure.ac:1976: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:1976: You should run autoupdate.
./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from...
configure.ac:1976: the top level
=> 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
configure: WARNING: unrecognized options: --disable-atomic
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking for i486--netbsdelf-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/.github/pkgsrc/net/bind916/work/.cwrapper/bin/ld
checking if the linker (/usr/.github/pkgsrc/net/bind916/work/.cwrapper/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 i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /usr/.github/pkgsrc/net/bind916/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/awk
checking command to parse /usr/bin/nm -B output from gcc 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 i486--netbsdelf-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... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/.github/pkgsrc/net/bind916/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_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 for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking for a POSIX-compatible shell... /bin/sh
checking for a race-free mkdir -p... ./install-sh -c -d
checking pkg-config is at least version 0.9.0... yes
checking whether to enable fuzzing mode... no
checking whether to emulate atomics with mutexes... no
checking for ar... /usr/bin/ar
checking for w3m... /usr/pkg/bin/w3m
checking for pandoc... pandoc
checking for perl5... /usr/pkg/bin/perl
checking for Python support... disabled
checking for pytest-3... no
checking for py.test-3... no
checking for pytest... no
checking for pytest-pypy... no
configure: WARNING: pytest not found, some system tests will be skipped
checking for i486--netbsdelf-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking for egrep... (cached) /usr/bin/egrep
checking for fcntl.h... yes
checking for regex.h... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/mman.h... yes
checking for sys/sockio.h... yes
checking for sys/select.h... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... yes
checking for net/if6.h... no
checking for sys/socket.h... yes
checking for net/route.h... yes
checking for linux/netlink.h... no
checking for linux/rtnetlink.h... no
checking for threads.h... yes
checking for C11 Thread-Local Storage using thread_local... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for flexible array members... yes
checking for sysctlbyname... yes
checking for mmap... yes
checking for seteuid... yes
checking for setresuid... no
checking for setegid... yes
checking for setresgid... no
checking for size_t... yes
checking for ssize_t... yes
checking for uintptr_t... yes
checking for uname... yes
checking for GCC noreturn attribute... yes
checking for kqueue... yes
checking for epoll_create1... no
checking for sys/devpoll.h... no
checking for devpoll.h... no
checking whether byte ordering is bigendian... no
checking for libmaxminddb... no
checking for arc4random... yes
checking for arc4random_buf... yes
checking for arc4random_uniform... yes
checking for getrandom... no
checking how to run the C preprocessor... gcc -E
checking for pthread_join using gcc  -pthread  ... yes
checking whether gcc is Clang... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pthread_attr_getstacksize... yes
checking for pthread_attr_setstacksize... yes
checking for PTHREAD_MUTEX_ADAPTIVE_NP... using standard lock type
checking for sched.h... yes
checking for library containing sched_yield... none required
checking for sched_yield... yes
checking for pthread_yield... no
checking for pthread_yield_np... no
checking for sys/cpuset.h... no
checking for sys/procset.h... no
checking for pthread_setaffinity_np... yes
checking for cpuset_setaffinity... no
checking for processor_bind... no
checking for sched_setaffinity... no
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for pthread_np.h... no
checking for libblocklist... checking for blocklist.h... no
checking for libblacklist... checking for blacklist.h... yes
checking for blacklist in -lblacklist... yes
checking for libuv... checking for libuv >= 1.0.0... yes
checking for uv_handle_get_data... yes
checking for uv_handle_set_data... yes
checking for uv_import... no
checking for flockfile... yes
checking for getc_unlocked... yes
checking for sysconf... yes
checking for libtool... yes
checking for libcrypto... yes
checking for OpenSSL >= 1.0.0 or LibreSSL... yes
checking for CRYPTO_zalloc... yes
checking for EVP_CIPHER_CTX_new... yes
checking for EVP_CIPHER_CTX_free... yes
checking for EVP_MD_CTX_new... yes
checking for EVP_MD_CTX_free... yes
checking for EVP_MD_CTX_reset... yes
checking for HMAC_CTX_new... yes
checking for HMAC_CTX_free... yes
checking for HMAC_CTX_reset... yes
checking for HMAC_CTX_get_md... yes
checking for ECDSA_sign... yes
checking for ECDSA_verify... yes
checking for ECDSA P-256 support... yes
checking for ECDSA P-384 support... yes
checking for Ed25519 support... yes
checking for Ed448 support... yes
checking for EVP_sha1... yes
checking for EVP_sha224... yes
checking for EVP_sha256... yes
checking for EVP_sha384... yes
checking for EVP_sha512... yes
checking for EVP_aes_128_ecb... yes
checking for EVP_aes_192_ecb... yes
checking for EVP_aes_256_ecb... yes
checking for DH_get0_key... yes
checking for ECDSA_SIG_get0... yes
checking for RSA_set0_key... yes
checking whether to enable FIPS mode in OpenSSL library... no
checking for PKCS11 for Public-Key Cryptography... no
checking for clock_gettime... yes
checking for GSSAPI library... looking in /usr/lib
checking for gssapi.h... yes
checking for gssapi/gssapi.h... yes
checking for gssapi_krb5.h... no
checking for gssapi/gssapi_krb5.h... yes
checking for krb5.h... yes
checking for krb5/krb5.h... yes
checking for kerberosv5/krb5.h... no
checking linking as -lgssapi_krb5... no
checking linking as -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err... no
checking linking as -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv... no
checking linking as -lgssapi... yes
using GSSAPI from /usr/lib and /usr/include
checking for lmdb library... no
configure: WARNING: --with-libjson is DEPRECATED and will be removed in a future release, use --with-json-c instead
checking for zlib... yes
checking for smf_enable_instance in -lscf... no
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -Werror -fno-delete-null-pointer-checks... yes
checking for socket in -lsocket... no
checking for inet_addr in -lnsl... no
checking whether to use purify... no
checking whether to use gperftools profiler... no
configure: WARNING: Internal symbol table does not work with libtool.  Disabling symbol table.
checking for IPv6 structures... yes
checking for strlcpy... yes
checking for strlcat... yes
configure: checking for readline with -ledit
checking for readline... yes
checking for editline/readline.h... no
checking for edit/readline/readline.h... no
checking for edit/readline/history.h... no
checking for readline/readline.h... yes
checking for readline/history.h... yes
using SPNEGO from lib/dns
checking for chroot... yes
checking whether to enable Linux capabilities... no
checking for sys/un.h... yes
checking for tzset... yes
checking for optarg declaration... yes
checking for st_mtim.tv_nsec... checking for if_nametoindex... yes
checking for nanosleep... yes
checking for usleep... yes
checking for explicit_bzero... no
checking for stdatomic.h... yes
checking for memory model aware atomic operations... stdatomic.h
checking whether -latomic is needed for 64-bit stdatomic.h functions... configure: error: in `/usr/.github/pkgsrc/net/bind916/work/bind-9.16.10':
configure: error: libatomic needed, but linking with -latomic failed, please fix your toolchain.
See `config.log' for more details
*** Error code 1

Stop.
make[1]: stopped in /usr/.github/pkgsrc/net/bind916
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/bind916
>How-To-Repeat:
# ( cd /usr/pkgsrc/net/bind916/ ; make package )
>Fix:
BIND can be built on NetBSD/i386 after applying the following patch.

diff --git a/net/bind916/Makefile b/net/bind916/Makefile
index 5d479fcc8e6..36923bc460a 100644
--- a/net/bind916/Makefile
+++ b/net/bind916/Makefile
@@ -83,6 +83,7 @@ post-install:
 .endfor

 .include "../../security/openssl/buildlink3.mk"
+.include "../../devel/libatomic/buildlink3.mk"
 .include "../../devel/libuv/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index