Created attachment 1561037 [details] Full log from Copr apx-0.1-21.fc31 fails to build on Python 3.8: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AUNFGt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/apx-0.1-21.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/apx-0.1-21.fc31.x86_64 ++ dirname /builddir/build/BUILDROOT/apx-0.1-21.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/apx-0.1-21.fc31.x86_64 + cd apx-0.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/apx-0.1-21.fc31.x86_64 running install Traceback (most recent call last): File "setup.py", line 38, in <module> setup( File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.8/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.8/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib64/python3.8/distutils/dist.py", line 984, in run_command cmd_obj.ensure_finalized() File "/usr/lib64/python3.8/distutils/cmd.py", line 107, in ensure_finalized self.finalize_options() File "setup.py", line 16, in finalize_options platform.linux_distribution()[0].lower() in special_cases): AttributeError: module 'platform' has no attribute 'linux_distribution' Full log attached. https://docs.python.org/3.7/library/platform.html#platform.linux_distribution platform.linux_distribution is deprecated since Python 3.5 and removed in 3.8.
Fixed in master. Please retest. https://src.fedoraproject.org/rpms/apx/c/6a1c54f7c11e6e052efbc2039c29150cdef31170?branch=master
I cannot get the sources from lookaside cache.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.m6xDHu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7 + /usr/bin/gzip -dc /builddir/build/SOURCES/apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7 /var/tmp/rpm-tmp.m6xDHu: line 38: cd: apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7: No such file or directory
A mock build with the copr repo worked. No idea what's b0rken now, I'll try another build later.
Still at: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TFB2Ot + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7 + /usr/bin/gzip -dc /builddir/build/SOURCES/apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7 /var/tmp/rpm-tmp.TFB2Ot: line 39: cd: apx-722c52e819e98ed8b88a26f9891d4b6b0983bcb7: No such file or directory Any news here?
Uploaded new sources. Please retry. Sorry for the delay.
Thanks.