Package Details: python2 2.7.18-11

Git Clone URL: https://aur.archlinux.org/python2.git (read-only, click to copy)
Package Base: python2
Description: A high-level scripting language
Upstream URL: https://www.python.org/
Licenses: PSF-2.0
Conflicts: python
Submitter: jelly
Maintainer: micwoj92
Last Packager: micwoj92
Votes: 74
Popularity: 1.95
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2024-06-17 22:01 (UTC)

Required by (1132)

Sources (4)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 18 Next › Last »

Noorquacker commented on 2022-11-30 17:22 (UTC)

Hi, what's with the switch from openssl to openssl-1.1? There isn't an openssl-1.1 package in the official repos or the AUR

NicolasV commented on 2022-11-30 13:21 (UTC)

I couldn't compile python2 using "makepkg -si" on Arch, because of a segfault in test_bigrepeat

OK
0:13:50 load avg: 0.80 [350/395/1] test_ttk_textonly
test_convert_stringval (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_format_elemcreate (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_format_layoutlist (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_format_mapdict (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_format_optdict (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_list_from_layouttuple (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_list_from_statespec (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_script_from_settings (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_tclobj_to_py (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_val_or_dict (test_ttk.test_functions.InternalFunctionsTest) ... ok
test_multivalues (test_ttk.test_functions.TclObjsToPyTest) ... ok
test_nosplit (test_ttk.test_functions.TclObjsToPyTest) ... ok
test_unicode (test_ttk.test_functions.TclObjsToPyTest) ... ok

----------------------------------------------------------------------
Ran 13 tests in 0.009s

OK
0:13:51 load avg: 0.80 [351/395/1] test_tuple
test_addmul (test.test_tuple.TupleTest) ... ok
test_bigrepeat (test.test_tuple.TupleTest) ... /usr/bin/xvfb-run : ligne 181 :  3921 Erreur de segmentation  (core dumped)DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@"
==> ERREUR : Une erreur s’est produite dans check().
    Abandon…

This could be related: https://lists.openembedded.org/g/openembedded-core/message/142166

micwoj92 commented on 2022-11-17 22:18 (UTC)

First, it is not ignoring your !check, because this is not being run in check(). Whether you use !check in makepkg.conf or --nocheck it only skips things ran in check() nothing more and nothing less.

Second, I don't know this build system and what it exactly does. If you want to know more you can start by reading readme section about PGO. https://github.com/python/cpython/blob/2.7/README#L177

Rulatir commented on 2022-11-17 21:58 (UTC) (edited on 2022-11-17 21:59 (UTC) by Rulatir)

@micwoj92 you mean these?

...
0:01:42 load avg: 1.14 [177/400] test_imghdr -- test_imgfile skipped
0:01:42 load avg: 1.14 [178/400] test_imp
0:01:42 load avg: 1.14 [179/400] test_import
0:01:42 load avg: 1.14 [180/400] test_import_magic
0:01:43 load avg: 1.14 [181/400] test_importhooks
0:01:43 load avg: 1.14 [182/400] test_importlib
0:01:43 load avg: 1.14 [183/400] test_index
0:01:43 load avg: 1.14 [184/400] test_inspect
0:01:44 load avg: 1.14 [185/400] test_int
0:01:45 load avg: 1.14 [186/400] test_int_literal
0:01:45 load avg: 1.14 [187/400] test_io
...

Whathever these are, every last one of them has a name that starts with "test_", so forgive me for believing that these are tests. By "these are for PGO", do you mean that this lengthy build stage is actual profile collection for PGO, or is it in fact testing something related to PGO? If the former, then I guess I'll have to wait. But if the latter, then my original assessment stands: something is ignoring my directive not to run tests.

micwoj92 commented on 2022-11-15 18:36 (UTC)

No, these are for PGO, if you want to disable that then don't run pgo. And it does not take forever.

Rulatir commented on 2022-11-15 09:08 (UTC)

This PKGBUILD doesn't honor !check in makepkg.conf's BUILDENV variable and runs tests anyway, which take forever.

micwoj92 commented on 2022-11-13 21:01 (UTC) (edited on 2022-11-13 21:10 (UTC) by micwoj92)

Maybe your mirror is out of date, website says it is available https://archlinuxarm.org/packages/aarch64/openssl-1.1

Edit: i just checked and couldn't find it on any mirror and they seemed a bit out of date, I don't know why is that, I don't have any arm devices aside from couple old android phones.

Grindle commented on 2022-11-13 20:47 (UTC)

I'm on Arch Linux ARM. For some reason openssl-1.1 wasn't available from my package database. I tried to download it from the Arch Linux ARM official packages list online, but the download was 404. I just changed it to 1.0 because it's close to 1.1 and it seemed to work fine.

Armag67 commented on 2022-11-11 18:29 (UTC)

Replacing openssl-1.1 by openssl in PKGBUILD seems enough in Manjaro. Only two errors messages during build tests:

0:11:34 load avg: 1.34 [371/400] test_urllibnet -- test_urllib2net skipped (resource denied)
0:11:35 load avg: 1.34 [372/400] test_urlparse -- test_urllibnet skipped (resource denied)

steadfasterX commented on 2022-11-11 12:06 (UTC)

supplementary to what @eduardolucioac wrote here a tiny 1-liner to "fix" that issue for those weird ;) Manjaro users:

sed -i "s/openssl-1.1/openssl/g;s/test_urllibnet//g" PKGBUILD