pkgsrc-Bugs archive

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

pkg/55487: samba4 fails to build due to unknown waf configure argument



>Number:         55487
>Category:       pkg
>Synopsis:       samba4 fails to build due to unknown waf configure argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 13 20:20:00 +0000 2020
>Originator:     Nathan Fisher
>Release:        pkgsrc stable 2020Q2
>Organization:
>Environment:
Linux gandalf.shire 5.7.7-arch1-1 #1 SMP PREEMPT Wed, 01 Jul 2020 14:53:16 +0000 x86_64 GNU/Linux
>Description:
Building samba4 fails to to passing waf and unknown configure argument.

=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for samba-4.12.3.tar.gz
=> Checksum RMD160 OK for samba-4.12.3.tar.gz
=> Checksum SHA512 OK for samba-4.12.3.tar.gz
===> Installing dependencies for samba-4.12.3nb1
==========================================================================
The supported build options for samba are:

	acl ads avahi fam ldap pam winbind

The currently selected options are:

	ads avahi ldap pam winbind

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

	PKG_OPTIONS.samba4 (not defined)

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

        * CURSES_DEFAULT = curses
        * PAM_DEFAULT = openpam
        * PYTHON_VERSION_DEFAULT = 37
        * SSLBASE = /usr
        * SSLCERTS = /etc/ssl/certs
        * SSLDIR = /etc/ssl
        * SSLKEYS = /etc/ssl/private
        * VARBASE = /var

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

        * CURSES_TYPE = curses
        * PAMBASE (defined, but empty)
        * PYPACKAGE = python37
        * TERMCAP_TYPE = curses

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 glib2-tools-[0-9]*: found glib2-tools-2.64.2
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Build dependency libxslt-[0-9]*: found libxslt-1.1.34nb2
=> Build dependency docbook-xml-[0-9]*: found docbook-xml-4.5
=> Build dependency docbook-xsl>=1.79.2: found docbook-xsl-1.79.2nb3
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency p5-Parse-Yapp>=1.05: found p5-Parse-Yapp-1.21nb2
=> Full dependency py37-dns-[0-9]*: found py37-dns-1.16.0nb1
=> Full dependency py37-expat-[0-9]*: found py37-expat-3.7.7
=> Full dependency py37-iso8601-[0-9]*: found py37-iso8601-0.1.12
=> Full dependency perl>=5.0: found perl-5.30.3
=> Full dependency openldap-client>=2.4.48nb1: found openldap-client-2.4.50
=> Full dependency openpam>=20040210: found openpam-20190224nb1
=> Full dependency avahi>=0.6.32nb21: found avahi-0.6.32nb24
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.20.2
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency zlib>=1.2.3: found zlib-1.2.11
=> Full dependency libarchive>=3.3.1: found libarchive-3.4.3
=> Full dependency ldb>=2.0.8: found ldb-2.1.3
=> Full dependency popt>=1.16nb1: found popt-1.16nb2
=> Full dependency talloc>=2.2.0: found talloc-2.3.1
=> Full dependency tevent>=0.9.37: found tevent-0.10.2
=> Full dependency lmdb>=0.9.14: found lmdb-0.9.25
=> Full dependency cmocka>=1.1.5: found cmocka-1.1.5
=> Full dependency readline>=6.0: found readline-8.0
=> Full dependency python37>=3.7: found python37-3.7.7
=> Full dependency gnutls>=3.6.13nb2: found gnutls-3.6.14
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.8.5
=> Full dependency jansson>=2.4nb1: found jansson-2.13.1
===> Checking for vulnerabilities in samba-4.12.3nb1
Package samba-4.12.3nb1 has a use-after-free vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2020-10730
Package samba-4.12.3nb1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2020-10745
Package samba-4.12.3nb1 has a use-after-free vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2020-10760
Package samba-4.12.3nb1 has a remote-denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2020-14303
===> Overriding tools for samba-4.12.3nb1
===> Extracting for samba-4.12.3nb1
/bin/cp /usr/pkgsrc/net/samba4/files/adduser.sh /usr/pkgsrc/net/samba4/files/deluser.sh /usr/pkgsrc/net/samba4/work
===> Patching for samba-4.12.3nb1
=> Applying pkgsrc patches for samba-4.12.3nb1
===> Creating toolchain wrappers for samba-4.12.3nb1
===> Configuring for samba-4.12.3nb1
=> Fixing docbook URLs.
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/docbook2pearson.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/expand-smbconfdoc.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/extract-examples.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/generate-attributions.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/generate-dependencies.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/html-common.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/latex.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/manpage-summary.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/sambadoc2pearson.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/smb.conf-html.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/strip-references.xsl".
INFO: [subst.mk:docbook] Nothing changed in "docs-xml/xslt/yodl.xsl".
=> Fixing log path.
=> Fixing paths.
=> Generating pkg-config files for builtin xz package.
=> Replacing python interpreter in buildtools/bin/waf source4/setup/wscript_build source4/scripting/bin/*.
INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/ktpass.sh.
INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/nsupdate-gss.
INFO: [replace-interpreter] Nothing changed in source4/scripting/bin/setup_dns.sh.
=> Replacing Perl interpreter in librpc/tables.pl pidl/pidl pidl/tests/*.pl script/*.pl source3/script/*.pl source4/build/pasn1/pasn1.pl source4/script/*.pl third_party/nss_wrapper/nss_wrapper.pl.
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/net/samba4
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/samba4

>How-To-Repeat:
cd /usr/pkgsrc/net/samba4 && make
>Fix:


Home | Main Index | Thread Index | Old Index