>>> Building on sparc64-2b under net/samba BDEPENDS = [security/gnutls;devel/p5-Parse-Yapp;devel/popt;net/avahi,-libs;databases/tdb;lang/python/3;devel/libtalloc,-python;devel/bison;databases/openldap;databases/tdb,-python;lang/gcc/8;print/cups,-libs;devel/jansson;devel/cmocka;converters/libiconv;devel/libinotify;security/openpam;archivers/libarchive;textproc/docbook-xsl;devel/libtalloc;net/py-dnspython,python3] DIST = [net/samba,-docs:samba-4.20.2.tar.gz] FULLPKGNAME = samba-4.20.2v0 RDEPENDS = [converters/libiconv;security/openpam;devel/libinotify;archivers/libarchive;devel/libtalloc;net/py-dnspython,python3;print/cups,-libs;devel/jansson;devel/libtalloc,-python;databases/openldap;databases/tdb,-python;security/gnutls;databases/tdb;net/avahi,-libs;devel/popt] Woken up textproc/libxml++ Woken up textproc/libxml++ Woken up textproc/libxml++ (Junk lock failure for sparc64-2b at 1719585754.59943) Received IO (Junk lock obtained for sparc64-2b at 1719585843.14) Received IO Woken up net/samba Woken up net/samba >>> Running depends in net/samba at 1719585848.95 last junk was in multimedia/frei0r-plugins /usr/sbin/pkg_add -aI -Drepair autoconf-archive-2023.02.20 automake-1.16.5 avahi-libs-0.8p4 docbook-xsl-1.68.1p8 gnutls-3.8.5p1 jansson-2.14 libarchive-3.7.4 libinotify-20211018 libtalloc-2.4.2p0 libtool-2.4.2p2 libusb1-1.0.27 libv4l-1.24.1 openldap-client-2.6.8v0 openpam-20200510p0 p5-Parse-Yapp-1.21p2 popt-1.16p2 py3-dnspython-2.6.1p0 py3-talloc-2.4.2p0 py3-tdb-1.4.10p1 python-3.11.9p3 tdb-1.4.10p1 tiff-4.6.0p0 was: /usr/sbin/pkg_add -aI -Drepair avahi-libs-0.8p4 bison-3.8.2 cmocka-1.1.5 cups-libs-2.4.10 docbook-xsl-1.68.1p8 gcc-8.4.0p22 gnutls-3.8.5p1 jansson-2.14 libarchive-3.7.4 libiconv-1.17 libinotify-20211018 libtalloc-2.4.2p0 openldap-client-2.6.8v0 openpam-20200510p0 p5-Parse-Yapp-1.21p2 popt-1.16p2 py3-dnspython-2.6.1p0 py3-talloc-2.4.2p0 py3-tdb-1.4.10p1 python-3.11.9p3 tdb-1.4.10p1 /usr/sbin/pkg_add -aI -Drepair autoconf-archive-2023.02.20 automake-1.16.5 avahi-libs-0.8p4 docbook-xsl-1.68.1p8 gnutls-3.8.5p1 jansson-2.14 libarchive-3.7.4 libinotify-20211018 libtalloc-2.4.2p0 libtool-2.4.2p2 libusb1-1.0.27 libv4l-1.24.1 openldap-client-2.6.8v0 openpam-20200510p0 p5-Parse-Yapp-1.21p2 popt-1.16p2 py3-dnspython-2.6.1p0 py3-talloc-2.4.2p0 py3-tdb-1.4.10p1 python-3.11.9p3 tdb-1.4.10p1 tiff-4.6.0p0 The following new rcscripts were installed: /etc/rc.d/saslauthd See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/libinotify >>> Running show-prepare-results in net/samba at 1719585911.58 ===> net/samba ===> Building from scratch samba-4.20.2 ===> samba-4.20.2v0 depends on: py3-tdb-* -> py3-tdb-1.4.10p1 ===> samba-4.20.2v0 depends on: bison-* -> bison-3.8.2 ===> samba-4.20.2v0 depends on: cmocka-* -> cmocka-1.1.5 ===> samba-4.20.2v0 depends on: p5-Parse-Yapp->=1.0.5 -> p5-Parse-Yapp-1.21p2 ===> samba-4.20.2v0 depends on: py3-dnspython-* -> py3-dnspython-2.6.1p0 ===> samba-4.20.2v0 depends on: docbook-xsl-* -> docbook-xsl-1.68.1p8 ===> samba-4.20.2v0 depends on: python->=3.11,<3.12 -> python-3.11.9p3 ===> samba-4.20.2v0 depends on: gcc->=8,<9 -> gcc-8.4.0p22 ===> samba-4.20.2v0 depends on: libarchive-* -> libarchive-3.7.4 ===> samba-4.20.2v0 depends on: libiconv-* -> libiconv-1.17 ===> samba-4.20.2v0 depends on: openldap-client-* -> openldap-client-2.6.8v0 ===> samba-4.20.2v0 depends on: tdb->=1.4.10 -> tdb-1.4.10p1 ===> samba-4.20.2v0 depends on: jansson-* -> jansson-2.14 ===> samba-4.20.2v0 depends on: libinotify-* -> libinotify-20211018 ===> samba-4.20.2v0 depends on: libtalloc->=2.4.2 -> libtalloc-2.4.2p0 ===> samba-4.20.2v0 depends on: py3-talloc-* -> py3-talloc-2.4.2p0 ===> samba-4.20.2v0 depends on: popt-* -> popt-1.16p2 ===> samba-4.20.2v0 depends on: avahi-libs-* -> avahi-libs-0.8p4 ===> samba-4.20.2v0 depends on: cups-libs-* -> cups-libs-2.4.10 ===> samba-4.20.2v0 depends on: gnutls-* -> gnutls-3.8.5p1 ===> samba-4.20.2v0 depends on: openpam-* -> openpam-20200510p0 ===> Verifying specs: python3.11 archive avahi-client avahi-common cups c execinfo iconv jansson lber ldap pam popt pthread gnutls pytalloc-util.cpython-311 readline talloc tasn1 tdb z lib/inotify/inotify ===> found python3.11.0.0 archive.13.1 avahi-client.0.2 avahi-common.0.2 cups.7.3 c.100.1 execinfo.3.0 iconv.7.1 jansson.4.2 lber.16.0 ldap.16.0 pam.6.0 popt.1.0 pthread.27.1 gnutls.47.9 pytalloc-util.cpython-311.0.0 readline.5.0 talloc.1.2 tasn1.4.2 tdb.4.4 z.7.0 lib/inotify/inotify.3.0 avahi-libs-0.8p4 bison-3.8.2 cmocka-1.1.5 cups-libs-2.4.10 docbook-xsl-1.68.1p8 gcc-8.4.0p22 gnutls-3.8.5p1 jansson-2.14 libarchive-3.7.4 libiconv-1.17 libinotify-20211018 libtalloc-2.4.2p0 openldap-client-2.6.8v0 openpam-20200510p0 p5-Parse-Yapp-1.21p2 popt-1.16p2 py3-dnspython-2.6.1p0 py3-talloc-2.4.2p0 py3-tdb-1.4.10p1 python-3.11.9p3 tdb-1.4.10p1 (Junk lock released for sparc64-2b at 1719585936.77) Woken up graphics/sane-backends distfiles size=42458953 >>> Running patch in net/samba at 1719585936.92 ===> net/samba ===> Checking files for samba-4.20.2 `/usr/ports/distfiles/samba-4.20.2.tar.gz' is up to date. >> (SHA256) samba-4.20.2.tar.gz: OK ===> Extracting for samba-4.20.2 ===> Patching for samba-4.20.2 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add support for passing arguments to waf in Makefile |https://bugzilla.samba.org/show_bug.cgi?id=9886 | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-auth_auth_log_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Avoid printf("%s", NULL); | |Index: auth/auth_log.c |--- auth/auth_log.c.orig |+++ auth/auth_log.c -------------------------- Patching file auth/auth_log.c using Plan A... Hunk #1 succeeded at 833. Hunk #2 succeeded at 852. Hunk #3 succeeded at 865. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_samba_abi_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Drop fully fledged version script support, only use simpler version |scripts to limit symbol visibility. Appending a version to all symbols |breaks binutils-2.17 ld(1). | |Index: buildtools/wafsamba/samba_abi.py |--- buildtools/wafsamba/samba_abi.py.orig |+++ buildtools/wafsamba/samba_abi.py -------------------------- Patching file buildtools/wafsamba/samba_abi.py using Plan A... Hunk #1 succeeded at 170. Hunk #2 succeeded at 211. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_samba_autoconf_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |1. Sort -L flags to unbreak linking when any other version of Samba is installed. | |2. Use -Wl,-no-undefined as on other platforms. | |Index: buildtools/wafsamba/samba_autoconf.py |--- buildtools/wafsamba/samba_autoconf.py.orig |+++ buildtools/wafsamba/samba_autoconf.py -------------------------- Patching file buildtools/wafsamba/samba_autoconf.py using Plan A... Hunk #1 succeeded at 942. Hunk #2 succeeded at 1034. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_samba_conftests_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Reverse order of paths added to get reliable builds. |BUG: https://bugzilla.samba.org/show_bug.cgi?id=9890 | |Index: buildtools/wafsamba/samba_conftests.py |--- buildtools/wafsamba/samba_conftests.py.orig |+++ buildtools/wafsamba/samba_conftests.py -------------------------- Patching file buildtools/wafsamba/samba_conftests.py using Plan A... Hunk #1 succeeded at 40. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_samba_install_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Make Samba4 WAF respect OpenBSD shared libraries versioning conventions. |BUG: https://bugzilla.samba.org/show_bug.cgi?id=9774 | |Index: buildtools/wafsamba/samba_install.py |--- buildtools/wafsamba/samba_install.py.orig |+++ buildtools/wafsamba/samba_install.py -------------------------- Patching file buildtools/wafsamba/samba_install.py using Plan A... Hunk #1 succeeded at 114. Hunk #2 succeeded at 173. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_symbols_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add a bunch of common symbols to allow tests to run. Those that added in |safe_symbols initially should probably go upstream, _Jv_RegisterClasses is |a strange one (weak symbol everywhere in the whole system) and others are |coming from libgcc.a. |BUG: https://bugzilla.samba.org/show_bug.cgi?id=9892 | |Index: buildtools/wafsamba/symbols.py |--- buildtools/wafsamba/symbols.py.orig |+++ buildtools/wafsamba/symbols.py -------------------------- Patching file buildtools/wafsamba/symbols.py using Plan A... Hunk #1 succeeded at 572. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_wafsamba_py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- allow the library version to be overriden | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=9774 | |- make sure we don't clobber the version that ends up in tdb.pc | |Index: buildtools/wafsamba/wafsamba.py |--- buildtools/wafsamba/wafsamba.py.orig |+++ buildtools/wafsamba/wafsamba.py -------------------------- Patching file buildtools/wafsamba/wafsamba.py using Plan A... Hunk #1 succeeded at 289. Hunk #2 succeeded at 419. done ===> Applying OpenBSD patch patch-buildtools_wafsamba_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add a hack to force addition of -I/usr/include before any other include path discovered. | |Index: buildtools/wafsamba/wscript |--- buildtools/wafsamba/wscript.orig |+++ buildtools/wafsamba/wscript -------------------------- Patching file buildtools/wafsamba/wscript using Plan A... Hunk #1 succeeded at 145. done ===> Applying OpenBSD patch patch-lib_ldb_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |1. Force building standalone library (e.g., put headers in appropriate place). | |2. Use -Wl,no-undefined as on other platforms. | |Index: lib/ldb/wscript |--- lib/ldb/wscript.orig |+++ lib/ldb/wscript -------------------------- Patching file lib/ldb/wscript using Plan A... Hunk #1 succeeded at 68. Hunk #2 succeeded at 152. done ===> Applying OpenBSD patch patch-lib_tevent_tevent_internal_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: lib/tevent/tevent_internal.h |--- lib/tevent/tevent_internal.h.orig |+++ lib/tevent/tevent_internal.h -------------------------- Patching file lib/tevent/tevent_internal.h using Plan A... Hunk #1 succeeded at 27. done ===> Applying OpenBSD patch patch-lib_tevent_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Force building standalone library (e.g., put headers in appropriate place). | |Index: lib/tevent/wscript |--- lib/tevent/wscript.orig |+++ lib/tevent/wscript -------------------------- Patching file lib/tevent/wscript using Plan A... Hunk #1 succeeded at 42. done ===> Applying OpenBSD patch patch-lib_util_charset_wscript_configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Force-disable icu4c use for now. To be revisited if Spotlight support |is reenabled. | |Index: lib/util/charset/wscript_configure |--- lib/util/charset/wscript_configure.orig |+++ lib/util/charset/wscript_configure -------------------------- Patching file lib/util/charset/wscript_configure using Plan A... Hunk #1 succeeded at 37. done ===> Applying OpenBSD patch patch-python_samba_provision___init___py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- net/isc-bind group name | |Index: python/samba/provision/__init__.py |--- python/samba/provision/__init__.py.orig |+++ python/samba/provision/__init__.py -------------------------- Patching file python/samba/provision/__init__.py using Plan A... Hunk #1 succeeded at 2201. done ===> Applying OpenBSD patch patch-source3_lib_sysquotas_4B_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Switch back to root to call quotactl(2), our kernel has too strict |permision checks. | |Index: source3/lib/sysquotas_4B.c |--- source3/lib/sysquotas_4B.c.orig |+++ source3/lib/sysquotas_4B.c -------------------------- Patching file source3/lib/sysquotas_4B.c using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-source3_lib_sysquotas_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Avoid printf("%s", NULL); | |Index: source3/lib/sysquotas.c |--- source3/lib/sysquotas.c.orig |+++ source3/lib/sysquotas.c -------------------------- Patching file source3/lib/sysquotas.c using Plan A... Hunk #1 succeeded at 517. Hunk #2 succeeded at 532. done ===> Applying OpenBSD patch patch-source3_modules_vfs_acl_tdb_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Workaround/fix for https://bugzilla.samba.org/show_bug.cgi?id=11761 | |Index: source3/modules/vfs_acl_tdb.c |--- source3/modules/vfs_acl_tdb.c.orig |+++ source3/modules/vfs_acl_tdb.c -------------------------- Patching file source3/modules/vfs_acl_tdb.c using Plan A... Hunk #1 succeeded at 58. done ===> Applying OpenBSD patch patch-source3_torture_test_messaging_send_all_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: source3/torture/test_messaging_send_all.c |--- source3/torture/test_messaging_send_all.c.orig |+++ source3/torture/test_messaging_send_all.c -------------------------- Patching file source3/torture/test_messaging_send_all.c using Plan A... Hunk #1 succeeded at 160. done ===> Applying OpenBSD patch patch-source3_wscript Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- avoid using glib (only useful for spotlight?) |- use more generic check for OpenBSD. | |Index: source3/wscript |--- source3/wscript.orig |+++ source3/wscript -------------------------- Patching file source3/wscript using Plan A... Hunk #1 succeeded at 101. Hunk #2 succeeded at 110. Hunk #3 succeeded at 1800. done ===> Applying OpenBSD patch patch-source3_wscript_build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Hiding pdb_*_init would also hide pdb_search_init which is a public |interface used at least by pdbedit. | |Index: source3/wscript_build |--- source3/wscript_build.orig |+++ source3/wscript_build -------------------------- Patching file source3/wscript_build using Plan A... Hunk #1 succeeded at 134. done ===> Applying OpenBSD patch patch-source4_dsdb_samdb_ldb_modules_acl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Avoid printf("%s", NULL); | |Index: source4/dsdb/samdb/ldb_modules/acl.c |--- source4/dsdb/samdb/ldb_modules/acl.c.orig |+++ source4/dsdb/samdb/ldb_modules/acl.c -------------------------- Patching file source4/dsdb/samdb/ldb_modules/acl.c using Plan A... Hunk #1 succeeded at 604. done ===> Applying OpenBSD patch patch-source4_scripting_bin_samba_upgradedns Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |- net/isc-bind group name | |Index: source4/scripting/bin/samba_upgradedns |--- source4/scripting/bin/samba_upgradedns.orig |+++ source4/scripting/bin/samba_upgradedns -------------------------- Patching file source4/scripting/bin/samba_upgradedns using Plan A... Hunk #1 succeeded at 77. done find /usr/obj/ports/samba-4.20.2/samba-4.20.2 -type f -exec perl -pi -e '$. == 1 && s|^.*env +python.*$|#!/usr/local/bin/python3.11|;' -e '$. == 1 && s|^.*bin/python.*$|#!/usr/local/bin/python3.11|;' -e 'close ARGV if eof;' -- {} + find /usr/obj/ports/samba-4.20.2/samba-4.20.2/third_party/heimdal/ -name version-script.map -exec sed -i "s/^[A-Z0-9._-]* {/{/" {} + ===> Compiler link: gcc -> /usr/local/bin/egcc ===> Compiler link: cc -> /usr/local/bin/egcc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in net/samba at 1719586024.86 ===> net/samba ===> Generating configure for samba-4.20.2 ===> Configuring for samba-4.20.2 Traceback (most recent call last): File "/usr/obj/ports/samba-4.20.2/samba-4.20.2/./buildtools/bin/waf", line 146, in from waflib.Tools import ccroot, c, ar, compiler_c, gcc File "/usr/obj/ports/samba-4.20.2/samba-4.20.2/third_party/waf/waflib/Tools/ccroot.py", line 11, in from waflib import Task, Utils, Node, Errors, Logs File "/usr/obj/ports/samba-4.20.2/samba-4.20.2/third_party/waf/waflib/Task.py", line 10, in from waflib import Utils, Logs, Errors File "/usr/obj/ports/samba-4.20.2/samba-4.20.2/third_party/waf/waflib/Utils.py", line 14, in import atexit, os, sys, errno, inspect, re, datetime, platform, base64, signal, functools, time, shlex File "/usr/local/lib/python3.11/datetime.py", line 888, in timedelta.min = timedelta(-999999999) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/datetime.py", line 671, in __new__ assert abs(microseconds) < 3.1e6 ^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError *** Error 1 in net/samba (/usr/ports/infrastructure/mk/bsd.port.mk:3022 'do-configure': @cd /usr/obj/ports/samba-4.20.2/samba-4.20.2 && /usr...) *** Error 2 in net/samba (/usr/ports/infrastructure/mk/bsd.port.mk:3042 '/usr/obj/ports/samba-4.20.2/.configure_done': @cd /usr/ports/net/sa...) *** Error 2 in net/samba (/usr/ports/infrastructure/mk/bsd.port.mk:2704 'configure': @lock=samba-4.20.2; export _LOCKS_HELD=" samba-4.20.2"...) ===> Exiting net/samba with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'configure': @: ${echo_msg:=echo}; : ${target:=configure}; for i in ; ...) >>> Ended at 1719586028.63 max_stuck=67.68/waiting-for-lock #132=94.35/depends=62.61/show-prepare-results=25.30/patch=87.98/configure=3.85 Error: job failed with 512 on sparc64-2b at 1719586028