==> Retrieving sources... -> Found v1.10.0.tar.gz ==> Generating checksums for source files... ==> Making package: python-scandir 1.10.0-5 (Wed 20 Nov 2024 12:29:58 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/mpdecimal 4.0.0-2 0.32 MiB core/python 3.12.7-1 70.07 MiB Total Installed Size: 70.39 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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 :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (10) New Version Net Change extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-jaraco.collections 5.0.1-1 0.10 MiB extra/python-jaraco.context 5.3.0-1 0.04 MiB extra/python-jaraco.functools 4.0.2-1 0.07 MiB extra/python-jaraco.text 4.0.0-1 0.08 MiB extra/python-more-itertools 10.3.0-1 0.63 MiB extra/python-packaging 24.2-1 0.66 MiB extra/python-platformdirs 4.3.6-1 0.24 MiB extra/python-wheel 0.45.0-1 0.28 MiB extra/python-setuptools 1:75.2.0-2 7.99 MiB Total Installed Size: 10.18 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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-packaging... 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-setuptools... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found v1.10.0.tar.gz ==> Validating source files with sha512sums... v1.10.0.tar.gz ... Passed ==> Extracting sources... -> Extracting v1.10.0.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build/lib.linux-x86_64-cpython-312 copying scandir.py -> build/lib.linux-x86_64-cpython-312 running build_ext building '_scandir' extension creating build/temp.linux-x86_64-cpython-312 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -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 -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=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -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 -g -ffile-prefix-map=/src/packages/libs/python/python-scandir/src=/usr/src/debug/python-scandir -flto=auto -fPIC -I/usr/include/python3.12 -c _scandir.c -o build/temp.linux-x86_64-cpython-312/_scandir.o _scandir.c:663:7: error: conflicting type qualifiers for ‘PyStructSequence_UnnamedField’ 663 | char *PyStructSequence_UnnamedField = "unnamed field"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:85, from _scandir.c:14: /usr/include/python3.12/structseq.h:22:32: note: previous declaration of ‘PyStructSequence_UnnamedField’ with type ‘const char * const’ 22 | PyAPI_DATA(const char * const) PyStructSequence_UnnamedField; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _scandir.c: In function ‘DirEntry_fetch_stat’: _scandir.c:980:28: error: storage size of ‘st’ isn’t known 980 | struct _Py_stat_struct st; | ^~ _scandir.c:980:28: warning: unused variable ‘st’ [-Wunused-variable] _scandir.c:1028:1: warning: control reaches end of non-void function [-Wreturn-type] 1028 | } | ^ /src/packages/libs/python/python-scandir/src/scandir-1.10.0/setup.py:46: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn("building the %s failed with %s", ext.name, exception) building the _scandir failed with ==> Starting check()... test_traversal (test_walk.TestWalk.test_traversal) ... ok test_symlink_to_directory (test_walk.TestWalkSymlink.test_symlink_to_directory) ... ok test_symlink_to_file (test_walk.TestWalkSymlink.test_symlink_to_file) ... ok test_iter_returns_dir_entry (test_scandir.TestScandirDirEntry.test_iter_returns_dir_entry) ... ok test_basic (test_scandir.TestScandirGeneric.test_basic) ... ok test_bytes (test_scandir.TestScandirGeneric.test_bytes) ... ok test_dir_entry (test_scandir.TestScandirGeneric.test_dir_entry) ... ok test_file_attributes (test_scandir.TestScandirGeneric.test_file_attributes) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirGeneric.test_path) ... ok test_returns_iter (test_scandir.TestScandirGeneric.test_returns_iter) ... ok test_stat (test_scandir.TestScandirGeneric.test_stat) ... ok test_symlink (test_scandir.TestScandirGeneric.test_symlink) ... ok test_unicode (test_scandir.TestScandirGeneric.test_unicode) ... ok test_walk_unicode_handling (test_scandir.TestScandirGeneric.test_walk_unicode_handling) ... ok test_basic (test_scandir.TestScandirOS.test_basic) ... ok test_bytes (test_scandir.TestScandirOS.test_bytes) ... ok test_dir_entry (test_scandir.TestScandirOS.test_dir_entry) ... ok test_file_attributes (test_scandir.TestScandirOS.test_file_attributes) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirOS.test_path) ... ok test_returns_iter (test_scandir.TestScandirOS.test_returns_iter) ... ok test_stat (test_scandir.TestScandirOS.test_stat) ... ok test_symlink (test_scandir.TestScandirOS.test_symlink) ... ok test_unicode (test_scandir.TestScandirOS.test_unicode) ... ok test_walk_unicode_handling (test_scandir.TestScandirOS.test_walk_unicode_handling) ... ok test_basic (test_scandir.TestScandirPython.test_basic) ... ok test_bytes (test_scandir.TestScandirPython.test_bytes) ... ok test_dir_entry (test_scandir.TestScandirPython.test_dir_entry) ... ok test_file_attributes (test_scandir.TestScandirPython.test_file_attributes) ... skipped 'st_file_attributes not supported' test_path (test_scandir.TestScandirPython.test_path) ... ok test_returns_iter (test_scandir.TestScandirPython.test_returns_iter) ... ok test_stat (test_scandir.TestScandirPython.test_stat) ... ok test_symlink (test_scandir.TestScandirPython.test_symlink) ... ok test_unicode (test_scandir.TestScandirPython.test_unicode) ... ok test_walk_unicode_handling (test_scandir.TestScandirPython.test_walk_unicode_handling) ... ok ---------------------------------------------------------------------- Ran 34 tests in 0.008s OK (skipped=3) ==> Entering fakeroot environment... ==> Starting package()... running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build running build_py running build_ext building '_scandir' extension gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -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 -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=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -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 -g -ffile-prefix-map=/src/packages/libs/python/python-scandir/src=/usr/src/debug/python-scandir -flto=auto -fPIC -I/usr/include/python3.12 -c _scandir.c -o build/temp.linux-x86_64-cpython-312/_scandir.o _scandir.c:663:7: error: conflicting type qualifiers for ‘PyStructSequence_UnnamedField’ 663 | char *PyStructSequence_UnnamedField = "unnamed field"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:85, from _scandir.c:14: /usr/include/python3.12/structseq.h:22:32: note: previous declaration of ‘PyStructSequence_UnnamedField’ with type ‘const char * const’ 22 | PyAPI_DATA(const char * const) PyStructSequence_UnnamedField; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _scandir.c: In function ‘DirEntry_fetch_stat’: _scandir.c:980:28: error: storage size of ‘st’ isn’t known 980 | struct _Py_stat_struct st; | ^~ _scandir.c:980:28: warning: unused variable ‘st’ [-Wunused-variable] _scandir.c:1028:1: warning: control reaches end of non-void function [-Wreturn-type] 1028 | } | ^ /src/packages/libs/python/python-scandir/src/scandir-1.10.0/setup.py:46: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead logging.warn("building the %s failed with %s", ext.name, exception) building the _scandir failed with running install_lib creating /src/packages/libs/python/python-scandir/pkg/python-scandir/usr/lib/python3.12/site-packages copying build/lib.linux-x86_64-cpython-312/scandir.py -> /src/packages/libs/python/python-scandir/pkg/python-scandir/usr/lib/python3.12/site-packages byte-compiling /src/packages/libs/python/python-scandir/pkg/python-scandir/usr/lib/python3.12/site-packages/scandir.py to scandir.cpython-312.pyc writing byte-compilation script '/tmp/tmpsd6hvlmp.py' /usr/sbin/python /tmp/tmpsd6hvlmp.py removing /tmp/tmpsd6hvlmp.py running install_egg_info running egg_info creating scandir.egg-info writing scandir.egg-info/PKG-INFO writing dependency_links to scandir.egg-info/dependency_links.txt writing top-level names to scandir.egg-info/top_level.txt writing manifest file 'scandir.egg-info/SOURCES.txt' reading manifest file 'scandir.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'scandir.egg-info/SOURCES.txt' Copying scandir.egg-info to /src/packages/libs/python/python-scandir/pkg/python-scandir/usr/lib/python3.12/site-packages/scandir-1.10.0-py3.12.egg-info running install_scripts ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "python-scandir"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: python-scandir 1.10.0-5 (Wed 20 Nov 2024 12:30:06 PM UTC) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: git optionally requires python: git svn & git p4 :: iproute2 optionally requires python: for routel :: libevent optionally requires python: event_rpcgen.py :: libxml2 optionally requires python: Python bindings :: rsync optionally requires python: for rrsync :: util-linux-libs optionally requires python: python bindings to libmount Package (12) Old Version Net Change mpdecimal 4.0.0-2 -0.32 MiB python 3.12.7-1 -70.07 MiB python-autocommand 2.2.2-6 -0.08 MiB python-jaraco.collections 5.0.1-1 -0.10 MiB python-jaraco.context 5.3.0-1 -0.04 MiB python-jaraco.functools 4.0.2-1 -0.07 MiB python-jaraco.text 4.0.0-1 -0.08 MiB python-more-itertools 10.3.0-1 -0.63 MiB python-packaging 24.2-1 -0.66 MiB python-platformdirs 4.3.6-1 -0.24 MiB python-setuptools 1:75.2.0-2 -7.99 MiB python-wheel 0.45.0-1 -0.28 MiB Total Removed Size: 80.58 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing python-setuptools... removing python-wheel... removing python-platformdirs... removing python-packaging... removing python-jaraco.collections... removing python-jaraco.text... removing python-jaraco.functools... removing python-more-itertools... removing python-jaraco.context... removing python-autocommand... removing python... removing mpdecimal... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...