==> Synchronizing chroot copy [/chroot/armv8/root] -> [build]...done
==> Making package: python-scandir 1.10.0-2 (Thu Mar 11 13:52:04 UTC 2021)
==> Retrieving sources...
  -> Found scandir-1.10.0.tar.gz
==> Validating source files with sha512sums...
    scandir-1.10.0.tar.gz ... Passed
Host and machine ids are equal (b6eac563832547c9ad9408127b1b4375): refusing to link journals
==> Making package: python-scandir 1.10.0-2 (Thu 11 Mar 2021 01:52:11 PM UTC)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (2) libnsl-1.3.0-1  python-3.9.2-1

Total Installed Size:  53.25 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
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (6) python-appdirs-1.4.4-3  python-ordered-set-4.0.2-3  python-packaging-20.9-1  python-pyparsing-2.4.7-3  python-six-1.15.0-3  python-setuptools-1:53.1.0-1

Total Installed Size:  4.10 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 python-appdirs...
installing python-pyparsing...
installing python-six...
installing python-packaging...
installing python-ordered-set...
installing python-setuptools...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found scandir-1.10.0.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting scandir-1.10.0.tar.gz with bsdtar
==> Starting build()...
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.9
copying scandir.py -> build/lib.linux-aarch64-3.9
running build_ext
building '_scandir' extension
creating build/temp.linux-aarch64-3.9
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=armv8-a -O3 -pipe -fno-plt -fno-semantic-interposition -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O3 -pipe -fno-plt -march=armv8-a -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c _scandir.c -o build/temp.linux-aarch64-3.9/_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.9/Python.h:128,
                 from _scandir.c:14:
/usr/include/python3.9/structseq.h:22:27: note: previous declaration of ‘PyStructSequence_UnnamedField’ was here
   22 | extern const char * const PyStructSequence_UnnamedField;
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/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)
WARNING:root:building the _scandir failed with <class 'distutils.errors.CompileError'>
==> Entering fakeroot environment...
==> Starting package()...
running install
running install_lib
creating /build/python-scandir/pkg/python-scandir/usr
creating /build/python-scandir/pkg/python-scandir/usr/lib
creating /build/python-scandir/pkg/python-scandir/usr/lib/python3.9
creating /build/python-scandir/pkg/python-scandir/usr/lib/python3.9/site-packages
copying build/lib.linux-aarch64-3.9/scandir.py -> /build/python-scandir/pkg/python-scandir/usr/lib/python3.9/site-packages
byte-compiling /build/python-scandir/pkg/python-scandir/usr/lib/python3.9/site-packages/scandir.py to scandir.cpython-39.pyc
writing byte-compilation script '/tmp/tmpragzy78i.py'
/usr/bin/python /tmp/tmpragzy78i.py
removing /tmp/tmpragzy78i.py
running install_egg_info
running 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
reading manifest file 'scandir.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'scandir.egg-info/SOURCES.txt'
Copying scandir.egg-info to /build/python-scandir/pkg/python-scandir/usr/lib/python3.9/site-packages/scandir-1.10.0-py3.9.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-2 (Thu 11 Mar 2021 01:52:43 PM UTC)
==> Cleaning up...
==> Removing installed dependencies...
checking dependencies...
:: glib2 optionally requires python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report
:: util-linux optionally requires python: python bindings to libmount

Packages (8) libnsl-1.3.0-1  python-3.9.2-1  python-appdirs-1.4.4-3  python-ordered-set-4.0.2-3  python-packaging-20.9-1  python-pyparsing-2.4.7-3  python-setuptools-1:53.1.0-1  python-six-1.15.0-3

Total Removed Size:  57.35 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
removing python-setuptools...
removing python-packaging...
removing python-six...
removing python-pyparsing...
removing python-ordered-set...
removing python-appdirs...
removing python...
removing libnsl...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...