==> Synchronizing chroot copy [/chroot/i686/root] -> [build]...done
==> Making package: python-scandir 1.10.0-2 (Thu Mar 11 08:37:51 2021)
==> Retrieving sources...
  -> Found scandir-1.10.0.tar.gz
==> Validating source files with sha512sums...
    scandir-1.10.0.tar.gz ... Passed
==> Making package: python-scandir 1.10.0-2 (Thu 11 Mar 2021 08:37:53 AM EST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

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

Total Installed Size:  75.58 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
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

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

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...
==> 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-x86_64-3.9
copying scandir.py -> build/lib.linux-x86_64-3.9
running build_ext
building '_scandir' extension
creating build/temp.linux-x86_64-3.9
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=i686 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=i686 -mtune=generic -O3 -pipe -fno-plt -march=i686 -mtune=generic -O3 -pipe -fno-plt -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c _scandir.c -o build/temp.linux-x86_64-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-x86_64-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/tmp1_q399j3.py'
/usr/bin/python /tmp/tmp1_q399j3.py
removing /tmp/tmp1_q399j3.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 08:37:59 AM EST)
==> 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.0  python-3.9.2-1.0  python-appdirs-1.4.4-3.1
             python-ordered-set-4.0.2-3.1  python-packaging-20.9-1.0
             python-pyparsing-2.4.7-3.1  python-setuptools-1:52.0.0-1.0
             python-six-1.15.0-3.1

Total Removed Size:  79.69 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...