==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [build_0f3dc6b8-e2f1-4b20-bb25-8d53e07ca8f3]...done ==> Making package: pyalpm 0.10.6-5.1 (Thu May 25 11:20:34 2023) ==> Retrieving sources... -> Cloning pyalpm git repo... Cloning into bare repository '/data/alhp-workspace/build/x86-64-v2/pyalpm-0.10.6-5/pyalpm'... ==> Validating source files with sha512sums... pyalpm ... Skipped ==> Making package: pyalpm 0.10.6-5.1 (Thu May 25 11:20:37 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (2) libnsl-2.0.0-3 python-3.11.3-1 Total Installed Size: 75.33 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (25) perl-error-0.17029-4 perl-mailtools-2.21-6 perl-timedate-2.33-4 python-autocommand-2.2.2-4 python-fastjsonschema-2.17.1-1 python-inflect-6.0.4-2 python-iniconfig-2.0.0-4 python-jaraco.context-4.3.0-3 python-jaraco.functools-3.6.0-3 python-jaraco.text-3.11.1-3 python-more-itertools-9.1.1-4 python-ordered-set-4.1.0-4 python-packaging-23.1-1 python-platformdirs-3.5.1-1 python-pluggy-1.0.0-4 python-pydantic-1.10.7-4 python-tomli-2.0.1-3 python-trove-classifiers-2023.5.22-1 python-typing_extensions-4.6.0-1 python-validate-pyproject-0.13-1 git-2.40.1-1 python-pkgconfig-1.5.5-5 python-pytest-7.3.1-4 python-pytest-pacman-0.1.1-1 python-setuptools-1:67.7.2-1 Total Installed Size: 57.81 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui 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-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https 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] installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-pkgconfig... installing python-pytest-pacman... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of pyalpm git repo... Cloning into 'pyalpm'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... /usr/lib/python3.11/site-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. running build running build_py creating build creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/pycman copying pycman/transaction.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_database.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_sync.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/pkginfo.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/config.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_upgrade.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_deptest.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_remove.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_version.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/action_query.py -> build/lib.linux-x86_64-cpython-311/pycman copying pycman/__init__.py -> build/lib.linux-x86_64-cpython-311/pycman running build_ext building 'pyalpm' extension creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/src gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/db.c -o build/temp.linux-x86_64-cpython-311/src/db.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/handle.c -o build/temp.linux-x86_64-cpython-311/src/handle.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/options.c -o build/temp.linux-x86_64-cpython-311/src/options.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/package.c -o build/temp.linux-x86_64-cpython-311/src/package.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/pyalpm.c -o build/temp.linux-x86_64-cpython-311/src/pyalpm.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/transaction.c -o build/temp.linux-x86_64-cpython-311/src/transaction.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 -fPIC -I/usr/include/python3.11 -c src/util.c -o build/temp.linux-x86_64-cpython-311/src/util.o -Wall -Wextra -Werror -Wno-unused-parameter -Wno-incompatible-pointer-types -Wno-error=missing-field-initializers -std=c99 -D_FILE_OFFSET_BITS=64 -DVERSION=\"0.10.6\" gcc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -falign-functions=32 -march=x86-64-v2 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/pyalpm -flto=auto -falign-functions=32 build/temp.linux-x86_64-cpython-311/src/db.o build/temp.linux-x86_64-cpython-311/src/handle.o build/temp.linux-x86_64-cpython-311/src/options.o build/temp.linux-x86_64-cpython-311/src/package.o build/temp.linux-x86_64-cpython-311/src/pyalpm.o build/temp.linux-x86_64-cpython-311/src/transaction.o build/temp.linux-x86_64-cpython-311/src/util.o -L/usr/lib -lalpm -o build/lib.linux-x86_64-cpython-311/pyalpm.cpython-311-x86_64-linux-gnu.so src/handle.c:166:6: warning: type of ‘pyalpm_eventcb’ does not match original declaration [-Wlto-type-mismatch] 166 | void pyalpm_eventcb(void *ctx, alpm_event_t event, void* data1, void *data2); | ^ src/transaction.c:34:6: note: type mismatch in parameter 2 34 | void pyalpm_eventcb(void *ctx, alpm_event_t *event) { | ^ src/transaction.c:34:6: note: ‘pyalpm_eventcb’ was previously declared here src/transaction.c:34:6: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used running build_scripts creating build/scripts-3.11 copying and adjusting scripts/lsoptdepends -> build/scripts-3.11 copying and adjusting scripts/pycman-database -> build/scripts-3.11 copying and adjusting scripts/pycman-deptest -> build/scripts-3.11 copying and adjusting scripts/pycman-query -> build/scripts-3.11 copying and adjusting scripts/pycman-remove -> build/scripts-3.11 copying and adjusting scripts/pycman-sync -> build/scripts-3.11 copying and adjusting scripts/pycman-upgrade -> build/scripts-3.11 copying and adjusting scripts/pycman-version -> build/scripts-3.11 changing mode of build/scripts-3.11/lsoptdepends from 644 to 755 changing mode of build/scripts-3.11/pycman-database from 644 to 755 changing mode of build/scripts-3.11/pycman-deptest from 644 to 755 changing mode of build/scripts-3.11/pycman-query from 644 to 755 changing mode of build/scripts-3.11/pycman-remove from 644 to 755 changing mode of build/scripts-3.11/pycman-sync from 644 to 755 changing mode of build/scripts-3.11/pycman-upgrade from 644 to 755 changing mode of build/scripts-3.11/pycman-version from 644 to 755 ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /startdir/src/pyalpm plugins: pacman-0.1.1 collected 97 items test/test_alpm.py ............ [ 12%] test/test_db.py ............... [ 27%] test/test_handle.py .............................. [ 58%] test/test_package.py .................. [ 77%] test/test_pycman.py ... [ 80%] test/test_refcounting.py .....FF. [ 88%] test/test_transaction.py ........... [100%] =================================== FAILURES =================================== ________________________ test_db_grpcache_pkg_segfault _________________________ def test_db_grpcache_pkg_segfault(): > pkg = get_grpcache_pkg() test/test_refcounting.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_grpcache_pkg(): syncdb = get_syncdb() syncdb.update(False) # Returns a tuple > return syncdb.grpcache[0][1][0] E IndexError: list index out of range test/test_refcounting.py:47: IndexError _______________________________ test_db_read_grp _______________________________ def test_db_read_grp(): > pkg = get_read_grp() test/test_refcounting.py:106: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_read_grp(): syncdb = get_syncdb() syncdb.update(False) # return pkg > return syncdb.read_grp('base-devel')[1][0] E TypeError: 'NoneType' object is not subscriptable test/test_refcounting.py:54: TypeError =========================== short test summary info ============================ FAILED test/test_refcounting.py::test_db_grpcache_pkg_segfault - IndexError: ... FAILED test/test_refcounting.py::test_db_read_grp - TypeError: 'NoneType' obj... ========================= 2 failed, 95 passed in 0.34s ========================= ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/build_0f3dc6b8-e2f1-4b20-bb25-8d53e07ca8f3/build