@CarstenG linux-api-headers
is already a dependency of glibc
so I don't know how this can be a build issue.
@patriot-8891I regurarly rebuild this package both on my laptop env and in clean chroot. No issues here.
Search Criteria
Package Details: python2 2.7.18-12
Package Actions
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: | 0.25 |
First Submitted: | 2022-09-23 10:01 (UTC) |
Last Updated: | 2025-04-30 23:56 (UTC) |
Dependencies (18)
- bzip2 (bzip2-gitAUR)
- expat (expat-gitAUR)
- gdbm (gdbm-gitAUR)
- libffi (libffi-gitAUR)
- libnsl (libnsl-gitAUR)
- libxcrypt (libxcrypt-gitAUR)
- openssl-1.1
- sqlite (sqlite-fossilAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- bluez-libs (bluez-gitAUR) (make)
- tk (tk-fossilAUR) (make)
- file (file-gitAUR) (check)
- gdb (gdb-gitAUR, gdb-debug-gitAUR) (check)
- xorg-server-xvfb (xorg-server-xvfb-gitAUR) (check)
- xterm (xterm-alacritty-symlinkAUR, kitty-xterm-symlinksAUR, xterm-gitAUR, xterm-alacritty-smooth-cursor-symlinkAUR) (check)
- python2-pipAUR (optional)
- python2-setuptoolsAUR (optional)
- tk (tk-fossilAUR) (optional) – for IDLE
Required by (920)
- appleseed-git
- archivemail
- archutil
- arduino-git (optional)
- armory
- arpreply-git
- axoloti-runtime-git
- balena-cli (make)
- balena-cli (optional)
- balena-cli-bin (optional)
- bapctools-git (optional)
- bash-it-git (optional)
- basilisk (make)
- bcash-git (make)
- bcoin-git (make)
- bdelta-git (make)
- bdflib-git
- beaker-browser (make)
- beast-git (make)
- bittornado
- Show 900 more...
Sources (4)
micwoj92 commented on 2025-05-28 22:21 (UTC) (edited on 2025-05-28 22:21 (UTC) by micwoj92)
patriot-8891 commented on 2025-05-28 19:56 (UTC) (edited on 2025-05-28 19:56 (UTC) by patriot-8891)
What's wrong?
== Tests result: FAILURE ==
364 tests OK.
2 tests failed:
test_urllib2 test_urllibnet
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
CarstenG commented on 2025-05-28 10:29 (UTC)
You may install linux-api-headers to provide the missing audio/sound definitions.
Maybe this package can be added to the build dependencies also.
Nyyr commented on 2025-05-19 17:20 (UTC)
Tried to update today:
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:62:17: error: ‘AFMT_MU_LAW’ undeclared here (not in a function)
62 | { 8, AFMT_MU_LAW, "logarithmic mu-law 8-bit audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:63:17: error: ‘AFMT_A_LAW’ undeclared here (not in a function)
63 | { 8, AFMT_A_LAW, "logarithmic A-law 8-bit audio" },
| ^~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:64:17: error: ‘AFMT_U8’ undeclared here (not in a function)
64 | { 8, AFMT_U8, "linear unsigned 8-bit audio" },
| ^~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:65:17: error: ‘AFMT_S8’ undeclared here (not in a function)
65 | { 8, AFMT_S8, "linear signed 8-bit audio" },
| ^~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:66:17: error: ‘AFMT_U16_BE’ undeclared here (not in a function)
66 | { 16, AFMT_U16_BE, "linear unsigned 16-bit big-endian audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:67:17: error: ‘AFMT_U16_LE’ undeclared here (not in a function)
67 | { 16, AFMT_U16_LE, "linear unsigned 16-bit little-endian audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:68:17: error: ‘AFMT_S16_BE’ undeclared here (not in a function)
68 | { 16, AFMT_S16_BE, "linear signed 16-bit big-endian audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:69:17: error: ‘AFMT_S16_LE’ undeclared here (not in a function)
69 | { 16, AFMT_S16_LE, "linear signed 16-bit little-endian audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:70:17: error: ‘AFMT_S16_NE’ undeclared here (not in a function)
70 | { 16, AFMT_S16_NE, "linear signed 16-bit native-endian audio" },
| ^~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘newladobject’:
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:127:40: error: ‘SNDCTL_DSP_NONBLOCK’ undeclared (first use in this function)
127 | if (imode == O_WRONLY && ioctl(fd, SNDCTL_DSP_NONBLOCK, NULL) == -1) {
| ^~~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:127:40: note: each undeclared identifier is reported only once for each function it appears in
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:132:19: error: ‘SNDCTL_DSP_GETFMTS’ undeclared (first use in this function)
132 | if (ioctl(fd, SNDCTL_DSP_GETFMTS, &afmts) == -1) {
| ^~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_setparameters’:
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:288:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
288 | if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT,
| ^~~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:293:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
293 | if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, &nchannels) == -1) {
| ^~~~~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:297:27: error: ‘SNDCTL_DSP_SPEED’ undeclared (first use in this function)
297 | if (ioctl(self->x_fd, SNDCTL_DSP_SPEED, &rate) == -1) {
| ^~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘_ssize’:
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:312:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
312 | if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT, &fmt) < 0)
| ^~~~~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:328:10: error: ‘AFMT_MPEG’ undeclared (first use in this function)
328 | case AFMT_MPEG:
| ^~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:329:10: error: ‘AFMT_IMA_ADPCM’ undeclared (first use in this function)
329 | case AFMT_IMA_ADPCM:
| ^~~~~~~~~~~~~~
/home/user/.cache/yay/python2/src/Python-2.7.18/Modules/linuxaudiodev.c:333:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
and so on...
ferrvittorio commented on 2025-05-14 06:17 (UTC)
@tuxayo with yay, I was able with passing these parameters:
yay python2 --mflags "--nocheck"
Thanks
tuxayo commented on 2025-05-13 10:37 (UTC)
@ferrvittorio this fully depend on your AUR helper. So it's --help, man, wikipage, repository are the place to know. And some when build fails offer in the message how to skip check().
ferrvittorio commented on 2025-05-13 05:22 (UTC) (edited on 2025-05-13 05:22 (UTC) by ferrvittorio)
How to build without checks? (1 test failed: test_urllib2) Thanks
joaocandre commented on 2025-04-05 23:52 (UTC)
Currently failing in test_argparse
----------------------------------------------------------------------
Ran 54 tests in 1.651s
OK
== Tests result: FAILURE ==
365 tests OK.
1 test failed:
test_argparse
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: 10 min 25 sec
Tests result: FAILURE
AngelitoKun commented on 2025-02-24 21:26 (UTC)
Hello!
I have an Issue with this package:
Python-2.7.18.tar.xz ... HA FALLADO (clave pública desconocida 04C367C218ADD4FF)
It says that one of the PGP signatures could not be verified.
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.
Pinned Comments