Package Details: python37 3.7.17-1

Git Clone URL: https://aur.archlinux.org/python37.git (read-only, click to copy)
Package Base: python37
Description: Major release 3.7 of the Python high-level programming language
Upstream URL: https://www.python.org/
Keywords: python python3
Licenses: custom
Provides: python
Submitter: 5long
Maintainer: greut (jrd)
Last Packager: greut
Votes: 33
Popularity: 0.013719
First Submitted: 2019-11-14 21:23 (UTC)
Last Updated: 2023-06-14 07:53 (UTC)

Dependencies (16)

Required by (13302)

Sources (6)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

javi12 commented on 2020-07-10 10:32 (UTC) (edited on 2020-07-10 10:47 (UTC) by javi12)

Build also fails here...

{{... PYTHONPATH=/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 \ ./python -E -Wi /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/compileall.py \ -d /usr/lib/python3.7/site-packages -f \ -x badsyntax /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Listing '/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages'... PYTHONPATH=/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 \ ./python -E -Wi -O /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/compileall.py \ -d /usr/lib/python3.7/site-packages -f \ -x badsyntax /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Listing '/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages'... PYTHONPATH=/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 \ ./python -E -Wi -OO /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/compileall.py \ -d /usr/lib/python3.7/site-packages -f \ -x badsyntax /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Listing '/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/site-packages'... PYTHONPATH=/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 \ ./python -E -m lib2to3.pgen2.driver /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar.txt ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Generating grammar tables from /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar.txt Writing grammar tables to /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/Grammar3.7.8.final.0.pickle PYTHONPATH=/var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7 LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 \ ./python -E -m lib2to3.pgen2.driver /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar.txt ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Generating grammar tables from /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar.txt Writing grammar tables to /var/tmp/pamac-build-momo/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar3.7.8.final.0.pickle if test "xupgrade" != "xno" ; then \ case upgrade in \ upgrade) ensurepip="--altinstall --upgrade" ;; \ install|*) ensurepip="--altinstall" ;; \ esac; \ LD_LIBRARY_PATH=/var/tmp/pamac-build-momo/python37/src/Python-3.7.8 ./python -E -m ensurepip \ $ensurepip --root=/var/tmp/pamac-build-momo/python37/pkg/python37/ ; \ fi ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Looking in links: /tmp/tmp2qn8a9bg Processing /tmp/tmp2qn8a9bg/setuptools-47.1.0-py3-none-any.whl Processing /tmp/tmp2qn8a9bg/pip-20.1.1-py2.py3-none-any.whl Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 41.2.0 Uninstalling setuptools-41.2.0: ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/bin/easy_install' Consider using the --user option or check the permissions.

make: *** [Makefile:1152: altinstall] Error 1 ==> ERROR: A failure occurred in package(). Aborting...}}

<deleted-account> commented on 2020-07-09 21:42 (UTC)

Build fails for me with following error:

...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Looking in links: /tmp/tmp_ig5xwy3
Processing /tmp/tmp_ig5xwy3/setuptools-47.1.0-py3-none-any.whl
Processing /tmp/tmp_ig5xwy3/pip-20.1.1-py2.py3-none-any.whl
Installing collected packages: setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 41.2.0
    Uninstalling setuptools-41.2.0:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/bin/easy_install'
Consider using the `--user` option or check the permissions.

make: *** [Makefile:1152: altinstall] Error 1

fakeroot package is installed, so libfakeroot.so is available.

kiengcan9999 commented on 2020-05-07 19:38 (UTC)

I failed to install python37 on Manjaro 20.0 Lysia because of error

gpg: keyserver receive failed: general error

I fixed it by

gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D

wjhandley commented on 2020-05-07 14:18 (UTC) (edited on 2020-05-07 14:51 (UTC) by wjhandley)

Currently my build fails with

make[1]: Leaving directory '...' /usr/bin/xvfb-run: line 186: kill: (107983) - No such process

Could you advise which dependency is missing?

Edit: It seems to work with xorg-server-xvfb-dev -- perhaps this should be added as a dependency?

EreTIk commented on 2020-04-27 15:02 (UTC) (edited on 2020-04-27 15:03 (UTC) by EreTIk)

Please add aarch64 architecture (arm64 support):

git diff PKGBUILD 
diff --git a/PKGBUILD b/PKGBUILD
index 35f296c..8aba60b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,8 @@ pkgrel=2
 _pybasever=${pkgver%.*}
 _pymajver=3
 pkgdesc="Major release 3.7 of the Python high-level programming language"
-arch=('x86_64')
+arch=('x86_64'
+      'aarch64')
 license=('custom')
 url="https://www.python.org/"
 depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib' 'libnsl')

Test: Ok

sponrad commented on 2020-04-24 20:14 (UTC) (edited on 2020-04-24 20:20 (UTC) by sponrad)

EDIT I take it back, yay -S python37 --rebuild did fix this for me, if anyone else stumbles on this.

I'm having a similar issue to @somini ever since libffi was updated on 2020-04-11. Rebuilding as is has not helped me fix this one I think we do need a bump here?

>>> import ctypes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.7/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.6: cannot open shared object file: No such file or directory

somini commented on 2020-04-17 21:55 (UTC) (edited on 2020-04-17 21:55 (UTC) by somini)

@5long Of course I can (I did), but for people with the old version this will break, and rebuilding doesn't help since the pkgrel doesn't change.

5long commented on 2020-04-14 10:26 (UTC)

@craynic: The PGP key in PKGBUILD is correct. PKGBUILD requires validpgpkeys to be an array of PGP fingerprints, while 2D347EA6AA65421D is the ID (not fingerprint) of the correct key.

@somini: you can just rebuild manually. See: https://wiki.archlinux.org/index.php/Arch_User_Repository#Installing_packages

somini commented on 2020-04-13 15:14 (UTC)

This needs a pkgrel bump since libffi was updated.

craynic commented on 2020-04-11 15:19 (UTC)

The PGP key declared in the PKGBUILD seems invalid. The correct one is 2D347EA6AA65421D. Ref: https://www.python.org/downloads/#pubkeys