==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_c6c6fdd7-b0f1-4ad4-876e-6791c9df594f]...done
==> Making package: python-pycares 5.0.1-1.1 (Thu Apr 30 15:10:14 2026)
==> Retrieving sources...
  -> Cloning pycares git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/python-pycares-5.0.1-1/pycares'...
==> Validating source files with b2sums...
    pycares ... Passed
==> Making package: python-pycares 5.0.1-1.1 (Thu Apr 30 13:10:23 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (5)             New Version  Net Change

core/mpdecimal          4.0.1-3        0.32 MiB
core/python             3.14.4-1      72.32 MiB
extra/python-pycparser  3.00-1         0.71 MiB
extra/c-ares            1.34.6-1       0.51 MiB
extra/python-cffi       2.0.0-2        1.38 MiB

Total Installed Size:  75.24 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing c-ares...
installing mpdecimal...
installing python...
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
installing python-pycparser...
installing python-cffi...
Optional dependencies for python-cffi
    python-setuptools: "limited api" version checking in cffi.setuptools_ext
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (25)                     New Version  Net Change

extra/perl-error                 0.17030-3      0.04 MiB
extra/perl-mailtools             2.22-3         0.10 MiB
extra/perl-timedate              2.35-1         0.15 MiB
extra/python-autocommand         2.2.2-9        0.08 MiB
extra/python-iniconfig           2.3.0-1        0.07 MiB
extra/python-jaraco.collections  5.1.0-3        0.11 MiB
extra/python-jaraco.context      6.1.2-1        0.06 MiB
extra/python-jaraco.functools    4.1.0-3        0.07 MiB
extra/python-jaraco.text         4.0.0-4        0.08 MiB
extra/python-more-itertools      11.0.2-1       0.76 MiB
extra/python-packaging           26.2-1         1.23 MiB
extra/python-pkg_resources       81.0.0-1       0.50 MiB
extra/python-platformdirs        4.9.6-1        0.40 MiB
extra/python-pluggy              1.6.0-3        0.23 MiB
extra/python-pygments            2.20.0-1      15.36 MiB
extra/python-pyproject-hooks     1.2.0-6        0.11 MiB
extra/python-typing_extensions   4.15.0-3       0.52 MiB
extra/zlib-ng                    2.3.3-1        0.28 MiB
extra/git                        2.54.0-1      30.26 MiB
extra/python-build               1.4.3-1        0.26 MiB
extra/python-idna                3.13-1         0.85 MiB
extra/python-installer           1.0.0-1        0.20 MiB
extra/python-pytest              1:9.0.3-1      4.86 MiB
extra/python-setuptools          1:82.0.1-1     7.35 MiB
extra/python-wheel               0.47.0-1       0.33 MiB

Total Installed Size:  64.25 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
installing python-packaging...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
    python-pip: to use as the Python package installer (default)
    python-uv: to use as the Python package installer
    python-virtualenv: to use virtualenv for build isolation
installing python-installer...
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
    python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
    python-keyring: for wheel.signatures
    python-xdg: for wheel.signatures
    python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-typing_extensions...
installing python-pkg_resources...
installing python-setuptools...
installing python-idna...
installing python-iniconfig...
installing python-pluggy...
installing python-pygments...
installing python-pytest...
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 969.
Creating user 'git' (git daemon user) with UID 969 and GID 969.
(2/3) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of pycares git repo...
Cloning into 'pycares'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-314/pycares
copying src/pycares/__main__.py -> build/lib.linux-x86_64-cpython-314/pycares
copying src/pycares/_version.py -> build/lib.linux-x86_64-cpython-314/pycares
copying src/pycares/errno.py -> build/lib.linux-x86_64-cpython-314/pycares
copying src/pycares/utils.py -> build/lib.linux-x86_64-cpython-314/pycares
copying src/pycares/__init__.py -> build/lib.linux-x86_64-cpython-314/pycares
running egg_info
creating src/pycares.egg-info
writing src/pycares.egg-info/PKG-INFO
writing dependency_links to src/pycares.egg-info/dependency_links.txt
writing requirements to src/pycares.egg-info/requires.txt
writing top-level names to src/pycares.egg-info/top_level.txt
writing manifest file 'src/pycares.egg-info/SOURCES.txt'
reading manifest file 'src/pycares.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'deps/c-ares'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
warning: no previously-included files matching '*.[ao]' found under directory '*'
warning: no previously-included files matching '*.so' found under directory '*'
no previously-included directories found matching 'docs/_build'
adding license file 'LICENSE'
writing manifest file 'src/pycares.egg-info/SOURCES.txt'
copying src/pycares/py.typed -> build/lib.linux-x86_64-cpython-314/pycares
running build_ext
generating cffi module 'build/temp.linux-x86_64-cpython-314/_cares.c'
creating build/temp.linux-x86_64-cpython-314
building '_cares' extension
creating build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314
gcc -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-pycares -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.14 -c build/temp.linux-x86_64-cpython-314/_cares.c -o build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/_cares.o
gcc -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32 -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/python-pycares -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-314/build/temp.linux-x86_64-cpython-314/_cares.o -L/usr/lib -lcares -o build/lib.linux-x86_64-cpython-314/pycares/_cares.abi3.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pycares
copying build/lib.linux-x86_64-cpython-314/pycares/__main__.py -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/_version.py -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/errno.py -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/utils.py -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/__init__.py -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/py.typed -> build/bdist.linux-x86_64/wheel/./pycares
copying build/lib.linux-x86_64-cpython-314/pycares/_cares.abi3.so -> build/bdist.linux-x86_64/wheel/./pycares
running install_egg_info
Copying src/pycares.egg-info to build/bdist.linux-x86_64/wheel/./pycares-5.0.1-py3.14.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pycares-5.0.1.dist-info/WHEEL
creating '/startdir/src/pycares/dist/.tmp-lcozwq3g/pycares-5.0.1-cp314-cp314-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pycares/__init__.py'
adding 'pycares/__main__.py'
adding 'pycares/_cares.abi3.so'
adding 'pycares/_version.py'
adding 'pycares/errno.py'
adding 'pycares/py.typed'
adding 'pycares/utils.py'
adding 'pycares-5.0.1.dist-info/licenses/LICENSE'
adding 'pycares-5.0.1.dist-info/METADATA'
adding 'pycares-5.0.1.dist-info/WHEEL'
adding 'pycares-5.0.1.dist-info/top_level.txt'
adding 'pycares-5.0.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pycares-5.0.1-cp314-cp314-linux_x86_64.whl
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.14.4, pytest-9.0.3, pluggy-1.6.0 -- /startdir/src/pycares/test-env/bin/python
cachedir: .pytest_cache
rootdir: /startdir/src/pycares
configfile: pyproject.toml
collecting ... collected 71 items / 6 deselected / 65 selected

tests/test_all.py::DNSTest::test_channel_local_ip PASSED                 [  1%]
tests/test_all.py::DNSTest::test_channel_local_ip2 PASSED                [  3%]
tests/test_all.py::DNSTest::test_channel_nameservers PASSED              [  4%]
tests/test_all.py::DNSTest::test_channel_nameservers2 PASSED             [  6%]
tests/test_all.py::DNSTest::test_channel_nameservers3 PASSED             [  7%]
tests/test_all.py::DNSTest::test_channel_timeout PASSED                  [  9%]
tests/test_all.py::DNSTest::test_custom_resolvconf FAILED                [ 10%]
tests/test_all.py::DNSTest::test_errorcode_dict PASSED                   [ 12%]
tests/test_all.py::DNSTest::test_getaddrinfo PASSED                      [ 13%]
tests/test_all.py::DNSTest::test_getaddrinfo2 PASSED                     [ 15%]
tests/test_all.py::DNSTest::test_getaddrinfo3 PASSED                     [ 16%]
tests/test_all.py::DNSTest::test_getaddrinfo4 PASSED                     [ 18%]
tests/test_all.py::DNSTest::test_getaddrinfo5 PASSED                     [ 20%]
tests/test_all.py::DNSTest::test_idna2008_encoding PASSED                [ 21%]
tests/test_all.py::DNSTest::test_idna_encoding PASSED                    [ 23%]
tests/test_all.py::DNSTest::test_idna_encoding_query_a PASSED            [ 24%]
tests/test_all.py::DNSTest::test_import_errno PASSED                     [ 26%]
tests/test_all.py::DNSTest::test_lookup PASSED                           [ 27%]
tests/test_all.py::DNSTest::test_query_a PASSED                          [ 29%]
tests/test_all.py::DNSTest::test_query_a_bad PASSED                      [ 30%]
tests/test_all.py::DNSTest::test_query_a_rotate PASSED                   [ 32%]
tests/test_all.py::DNSTest::test_query_aaaa PASSED                       [ 33%]
tests/test_all.py::DNSTest::test_query_any SKIPPED (ANY type does not
work on Mac.)                                                            [ 35%]
tests/test_all.py::DNSTest::test_query_bad_type PASSED                   [ 36%]
tests/test_all.py::DNSTest::test_query_caa PASSED                        [ 38%]
tests/test_all.py::DNSTest::test_query_cancelled PASSED                  [ 40%]
tests/test_all.py::DNSTest::test_query_class_chaos FAILED                [ 41%]
tests/test_all.py::DNSTest::test_query_class_invalid PASSED              [ 43%]
tests/test_all.py::DNSTest::test_query_cname PASSED                      [ 44%]
tests/test_all.py::DNSTest::test_query_https PASSED                      [ 46%]
tests/test_all.py::DNSTest::test_query_mx PASSED                         [ 47%]
tests/test_all.py::DNSTest::test_query_naptr PASSED                      [ 49%]
tests/test_all.py::DNSTest::test_query_ns PASSED                         [ 50%]
tests/test_all.py::DNSTest::test_query_onion PASSED                      [ 52%]
tests/test_all.py::DNSTest::test_query_ptr PASSED                        [ 53%]
tests/test_all.py::DNSTest::test_query_ptr_ipv6 PASSED                   [ 55%]
tests/test_all.py::DNSTest::test_query_soa PASSED                        [ 56%]
tests/test_all.py::DNSTest::test_query_srv PASSED                        [ 58%]
tests/test_all.py::DNSTest::test_query_timeout FAILED                    [ 60%]
tests/test_all.py::DNSTest::test_query_tlsa PASSED                       [ 61%]
tests/test_all.py::DNSTest::test_query_txt PASSED                        [ 63%]
tests/test_all.py::DNSTest::test_query_txt_bytes1 PASSED                 [ 64%]
tests/test_all.py::DNSTest::test_query_txt_bytes2 XFAIL                  [ 66%]
tests/test_all.py::DNSTest::test_query_txt_multiple_chunked PASSED       [ 67%]
tests/test_all.py::DNSTest::test_query_txt_multiple_chunked_with_non_ascii_content XFAIL [ 69%]
tests/test_all.py::DNSTest::test_reinit PASSED                           [ 70%]
tests/test_all.py::DNSTest::test_result_not_ascii SKIPPED (The site used
for this test no longer returns a non-ascii SOA.)                        [ 72%]
tests/test_all.py::DNSTest::test_search PASSED                           [ 73%]
tests/test_all.py::DNSTest::test_strerror_str PASSED                     [ 75%]
tests/test_all.py::ChannelCloseTest::test_automatic_cleanup_different_thread_with_shutdown_thread PASSED [ 76%]
tests/test_all.py::ChannelCloseTest::test_automatic_cleanup_same_thread PASSED [ 78%]
tests/test_all.py::ChannelCloseTest::test_close_from_different_thread PASSED [ 80%]
tests/test_all.py::ChannelCloseTest::test_close_from_different_thread_safe PASSED [ 81%]
tests/test_all.py::ChannelCloseTest::test_close_from_same_thread PASSED  [ 83%]
tests/test_all.py::ChannelCloseTest::test_close_idempotent PASSED        [ 84%]
tests/test_all.py::ChannelCloseTest::test_close_with_active_queries_from_different_thread PASSED [ 86%]
tests/test_all.py::ChannelCloseTest::test_concurrent_close_multiple_channels PASSED [ 87%]
tests/test_all.py::ChannelCloseTest::test_multiple_closes_from_different_threads PASSED [ 89%]
tests/test_all.py::ChannelCloseTest::test_no_crash_on_interpreter_shutdown PASSED [ 90%]
tests/test_all.py::ChannelCloseTest::test_query_after_close_raises PASSED [ 92%]
tests/test_all.py::ChannelCloseTest::test_rapid_channel_creation_and_close PASSED [ 93%]
tests/test_all.py::ChannelCloseTest::test_stops_large_domain_name_attack PASSED [ 95%]
tests/test_all.py::ChannelCloseTest::test_threadsafe_close PASSED        [ 96%]
tests/test_all.py::ChannelCloseTest::test_threadsafe_close_with_pending_queries PASSED [ 98%]
tests/test_all.py::EventThreadTest::test_query_a PASSED                  [100%]

=================================== FAILURES ===================================
________________________ DNSTest.test_custom_resolvconf ________________________

self = <tests.test_all.DNSTest testMethod=test_custom_resolvconf>

    @unittest.skipIf(sys.platform == "win32", "skipped on Windows")
    @unittest.skipIf(
        sys.platform == "darwin",
        "skipped on MacOS since resolver may work even if resolv.conf is broken",
    )
    def test_custom_resolvconf(self):
        self.result, self.errorno = None, None
    
        def cb(result, errorno):
            self.result, self.errorno = result, errorno
    
        self.channel = pycares.Channel(
            tries=1,
            timeout=2.0,
            resolvconf_path=os.path.join(FIXTURES_PATH, "badresolv.conf")
        )
        self.channel.query("google.com", pycares.QUERY_TYPE_A, callback=cb)
        self.wait()
>       self.assertEqual(self.result, None)
E       AssertionError: DNSResult(answer=[DNSRecord(name='google.[625 chars]l=[]) != None

tests/test_all.py:839: AssertionError
________________________ DNSTest.test_query_class_chaos ________________________

self = <tests.test_all.DNSTest testMethod=test_query_class_chaos>

    def test_query_class_chaos(self):
        self.result, self.errorno = None, None
    
        def cb(result, errorno):
            self.result, self.errorno = result, errorno
    
        self.channel.servers = ["199.7.83.42"]  # l.root-servers.net
        self.channel.query(
            "id.server", pycares.QUERY_TYPE_TXT, query_class=pycares.QUERY_CLASS_CHAOS, callback=cb
        )
        self.wait()
>       self.assertNoError(self.errorno)

tests/test_all.py:438: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_all.py:44: in assertNoError
    self.assertEqual(errorno, None)
E   AssertionError: 12 != None
__________________________ DNSTest.test_query_timeout __________________________

self = <tests.test_all.DNSTest testMethod=test_query_timeout>

    def test_query_timeout(self):
        self.result, self.errorno = None, None
    
        def cb(result, errorno):
            self.result, self.errorno = result, errorno
    
        self.channel.servers = ["1.2.3.4"]
        self.channel.query("google.com", pycares.QUERY_TYPE_A, callback=cb)
        self.wait()
>       self.assertEqual(self.result, None)
E       AssertionError: DNSResult(answer=[DNSRecord(name='google.[625 chars]l=[]) != None

tests/test_all.py:613: AssertionError
=========================== short test summary info ============================
FAILED tests/test_all.py::DNSTest::test_custom_resolvconf - AssertionError: DNSResult(answer=[DNSRecord(name='google.[625 chars]l=[]) != None
FAILED tests/test_all.py::DNSTest::test_query_class_chaos - AssertionError: 12 != None
FAILED tests/test_all.py::DNSTest::test_query_timeout - AssertionError: DNSResult(answer=[DNSRecord(name='google.[625 chars]l=[]) != None
======= 3 failed, 58 passed, 2 skipped, 6 deselected, 2 xfailed in 5.80s =======
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_c6c6fdd7-b0f1-4ad4-876e-6791c9df594f/build
