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.054858
First Submitted: 2019-11-14 21:23 (UTC)
Last Updated: 2023-06-14 07:53 (UTC)

Dependencies (16)

Required by (13033)

Sources (6)

Latest Comments

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

manofsteal123 commented on 2020-07-12 22:25 (UTC)

"I got the permission denied error reported below when attempting an upgrade but removing the package and reinstalling it worked for me."

I had to remove python37-pillow & python37 in that order and used "makepkg -s" to build the Download snapshot of python37 & python37-pillow in that order

depieri.carlo commented on 2020-07-12 10:29 (UTC)

If it's an upgrade issue, my current package version could help: 3.7.5-2.

mjakob422 commented on 2020-07-12 09:50 (UTC)

I got the permission denied error reported below when attempting an upgrade but removing the package and reinstalling it worked for me.

depieri.carlo commented on 2020-07-11 17:36 (UTC) (edited on 2020-07-11 17:38 (UTC) by depieri.carlo)

The build is failing for me too, both with makepkg and with yay. Can confirm that --with-ensurepip is already there in the PKGBUILD.

ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Generating grammar tables from /home/username/.cache/yay/python37/pkg/python37/usr/lib/python3.7/lib2to3/PatternGrammar.txt
Writing grammar tables to /home/username/.cache/yay/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=/home/username/.cache/yay/python37/src/Python-3.7.8:/usr/local/lib ./python -E -m ensurepip \
                $ensurepip --root=/home/username/.cache/yay/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/tmppsnsv3pb
Processing /tmp/tmppsnsv3pb/setuptools-47.1.0-py3-none-any.whl
Processing /tmp/tmppsnsv3pb/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...
error making: %!s(func() string=0x55f1734c1e80)

seyn6gk commented on 2020-07-11 05:36 (UTC)

@5long I've got the PKGBUILD per pikaur -G command, this could be the issue.

5long commented on 2020-07-11 04:22 (UTC)

@seyn6gk: this is confusing. I've already enabled the --with-ensurepip option back in 2019.12. The patch you've attached shouldn't even apply.

seyn6gk commented on 2020-07-10 17:46 (UTC) (edited on 2020-07-10 17:46 (UTC) by seyn6gk)

apply the patch to make python37 to build again, get the idea from python38 package.

--- PKGBUILD    2020-07-10 19:11:46.901072504 +0200
+++ python37/PKGBUILD   2020-07-10 19:41:37.546043677 +0200
@@ -71,7 +71,7 @@
               --with-system-ffi \
               --with-system-libmpdec \
               --enable-loadable-sqlite-extensions \
-              --without-ensurepip
+              --with-ensurepip

   # Obtain next free server number for xvfb-run; this even works in a chroot environment.
   export servernum=99

seyn6gk commented on 2020-07-10 17:09 (UTC)

build with makepkg and pikaur both failed with the error

if test "xupgrade" != "xno"  ; then \
    case upgrade in \
        upgrade) ensurepip="--altinstall --upgrade" ;; \
        install|*) ensurepip="--altinstall" ;; \
    esac; \
    LD_LIBRARY_PATH=/home/username/src/abs/python37/src/Python-3.7.8 ./python -E -m ensurepip \
        $ensurepip --root=/home/username/src/abs/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/tmpeenbp60f
Processing /tmp/tmpeenbp60f/setuptools-47.1.0-py3-none-any.whl
Processing /tmp/tmpeenbp60f/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.

5long commented on 2020-07-10 14:51 (UTC)

Hi, @maln0ir and @javi12

I've verified building this package on my machine with:

1) Raw makepkg -si without any AUR helpers 2) yay -S python37. Yay is a pretty popular AUR helper that I've used before. 3) aur sync -c python37. The aur command is part of aurutils which is what I'm using right now.

all of which works fine. I did notice the object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded error message but the build process eventually finished without problems.

I've noticed that @javi12 is building with pamac, which is an AUR helper that I'm not familiar with at all. You might want to ask for help elsewhere.

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...}}