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: 75
Popularity: 0.58
First Submitted: 2022-09-23 10:01 (UTC)
Last Updated: 2024-06-17 22:01 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 19 Next › Last »

micwoj92 commented on 2025-02-11 21:45 (UTC)

Not issue with this package again. I don't understand whether you built this package or not, so I won't add this architecture for of now. Again, please use code blocks in your comments.

kit20a commented on 2025-02-10 19:21 (UTC)

yay python2 ... ==> ==> ERROR: python2 is not available for the 'armv7h' architecture. -> error downloading sources: /home/alarm/.cache/yay/python2 context: exit status 12


Linux RPi3-Archi 6.12.11-3-rpi #1 SMP Fri Jan 31 18:11:20 MST 2025 armv7l GNU/Linux

micwoj92 commented on 2025-02-10 17:52 (UTC)

Not issue with this package. In future please use codeblocks for better readibility and build with -C to clean srcdir prior to build.

kit20a commented on 2025-02-09 15:16 (UTC)

Error BUILD

build_log.txt https://limewire.com/d/1b6d92fe-4316-406c-91ee-bd687eba61aa#_mjj1Rx2A41nSXBflAIxEu0n2tbqQnrEcl1cvgdlIV4


Setting /etc/makepkg.conf CPPFLAGS="" CFLAGS="-march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ -fstack-clash-protection \ -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \ -Wl,-z,pack-relative-relocs"

micwoj92 commented on 2025-02-09 02:55 (UTC)

Please post entire build log

kit20a commented on 2025-02-09 01:29 (UTC)

makepkg -sric --skippgpcheck --skipchecksums

/usr/bin/ld: warning: -z pack-relative-relocs ignored gcc: fatal error: Killed signal terminated program as compilation terminated. lto-wrapper: fatal error: gcc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status ln: failed to access 'libpython2.7.so.1.0': No such file or directory make[2]: *** [Makefile:586: libpython2.7.so] Error 1 make[2]: Leaving directory '/home/alarm/pkgs_tenp/python2-2.7.18-11/python2/src/Python-2.7.18' make[1]: *** [Makefile:453: build_all_generate_profile] Error 2 make[1]: Leaving directory '/home/alarm/pkgs_tenp/python2-2.7.18-11/python2/src/Python-2.7.18' make: *** [Makefile:438: profile-opt] Error 2 ==> ERROR: A failure occurred in build(). Aborting...


  1. /etc/ld.so.conf add path/to/libpython2.7.so.1.0 => not build error!
  2. LDFLAGS="-Wl,--rpath=/usr/local/lib -Wl => not build error!

hardware: Raspberry Pi Arch Linux aarch64 uname -a Linux RPi3B-Arch 6.13.0-2-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Wed Jan 22 07:01:59 MST 2025 aarch64 GNU/Linux

Jack12816 commented on 2024-11-28 11:18 (UTC)

I get errors, too:

== Tests result: FAILURE ==

364 tests OK.

2 tests failed:
    test_argparse test_socket

28 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_cd test_cl test_dl test_gl test_imageop
    test_imgfile test_kqueue test_linuxaudiodev test_macos
    test_macostools test_msilib test_nis test_py3kwarn
    test_scriptpackages test_startfile test_sunaudiodev test_tcl
    test_ttk_textonly test_turtle test_winreg test_winsound
    test_zipfile64
5 skips unexpected on linux2:
    test_bsddb test_bsddb3 test_tcl test_ttk_textonly test_turtle

Total duration: 6 min 34 sec
Tests result: FAILURE
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python2-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python2 - exit status 4

CabalCrow commented on 2024-10-13 09:38 (UTC) (edited on 2024-10-13 09:39 (UTC) by CabalCrow)

When trying to sync this package I get this error

== Tests result: FAILURE ==

365 tests OK.
        >>> raise ValueError, 'message' #doctest: +IGNORE_EXCEPTION_DETAIL
1 test failed:
    test_distutils

28 tests skipped:
    test_aepack test_al test_applesingle test_bsddb test_bsddb185
    test_bsddb3 test_cd test_cl test_dl test_gl test_imageop
    test_imgfile test_kqueue test_linuxaudiodev test_macos
    test_macostools test_msilib test_nis test_py3kwarn
    test_scriptpackages test_startfile test_sunaudiodev test_tcl
    test_ttk_textonly test_turtle test_winreg test_winsound
    test_zipfile64
5 skips unexpected on linux2:
    test_bsddb test_bsddb3 test_tcl test_ttk_textonly test_turtle

Total duration: 6 min 45 sec
Tests result: FAILURE
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python2-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python2 - exit status 4

Been getting it for a while. Anyone else with a similar problem?