Package Details: python26 2.6.9-12

Git Clone URL: https://aur.archlinux.org/python26.git (read-only)
Package Base: python26
Description: Legacy version Python 2.6 of the high-level scripting language
Upstream URL: https://www.python.org/
Licenses: PSF
Provides: python2=2.6.9
Submitter: None
Maintainer: SpotlightKid (yan12125)
Last Packager: yan12125
Votes: 58
Popularity: 0.938524
First Submitted: 2010-10-14 18:27
Last Updated: 2017-10-05 16:00

Dependencies (13)

Required by (1000)

Sources (16)

Latest Comments

yan12125 commented on 2017-10-05 16:24

I added -w flag to the test command so that failed tests are re-run in verbose mode. That should help people debugging failed tests. I didn't bump pkgrel this time, so please update PKGBUILD manually.

@sproberts92: I built in clean chroots, so it's not a problem :)

sproberts92 commented on 2017-10-05 15:06

@sanerb, I get similar - slightly different failures and skips though. Mabybe @yan12125 has an extra dependency that we don't?

329 tests OK.
1 test failed:
test_urllib2
37 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_dl test_gl test_imageop test_imgfile test_kqueue
test_linuxaudiodev test_macos test_macostools test_normalization
test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
test_smtpnet test_socketserver test_startfile test_sunaudiodev
test_timeout test_urllib2net test_urllibnet test_winreg
test_winsound test_zipfile64
2 skips unexpected on linux2:
test_bsddb test_bsddb3
make: *** [Makefile:701: test] Error 1
==> ERROR: A failure occurred in check().
Aborting...

yan12125 commented on 2017-09-30 09:49

@sanerb: Works fine for me with either makepkg or pacaur

sanerb commented on 2017-09-30 08:43

is anyone else getting failures during the tests?

328 tests OK.
1 test failed:
test_tcl
38 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_dl test_gl test_imageop test_imgfile test_ioctl test_kqueue
test_linuxaudiodev test_macos test_macostools test_normalization
test_ossaudiodev test_pep277 test_py3kwarn test_scriptpackages
test_smtpnet test_socketserver test_startfile test_sunaudiodev
test_timeout test_urllib2net test_urllibnet test_winreg
test_winsound test_zipfile64
3 skips unexpected on linux2:
test_bsddb test_bsddb3 test_ioctl
make: *** [Makefile:701: test] Error 1
==> ERROR: A failure occurred in check().
Aborting...

==> ERROR: the build failed
-> Status
failed (1): python26

yan12125 commented on 2017-07-22 16:48

Updated! Thanks for pointing out the problem.

Leryan commented on 2017-07-22 15:59

Hello,

The newer makepkg.conf adds -fno-plt to CFLAGS and CXXFLAGS.

This option isn't supported by GCC5, could you check CFLAGS and CXXFLAGS and remove this unsupported option?

Thanks

SpotlightKid commented on 2017-02-03 10:20

@vita_cell: Sorry, I can not reproduce this error. There seems to be something wrong with your environment. Your build tries to link with /usr/local/lib/libpython2.6.a instead of the library built by the package. Please check your environment whether you have any CFLAGS, LDFLAGS or similar in there.

vita_cell commented on 2017-02-03 06:38

I tryed everything, and it won't compile. Only throws errors. Here is output:

http://dpaste.com/3GJRPXH

---------------------------------------------------------------------------
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 124, in <module>
import cStringIO
ImportError: No module named cStringIO
make: [Makefile:700: test] Error 1 (no tiene efecto)
LD_LIBRARY_PATH=/home/vita/Desktop/python26/src/Python-2.6.9: ./python -E -tt ./Lib/test/regrtest.py -l
Traceback (most recent call last):
File "./Lib/test/regrtest.py", line 124, in <module>
import cStringIO
ImportError: No module named cStringIO
make: *** [Makefile:701: test] Error 1
--------------------------------------------------------------------------

Also I tryed compile the raw source with CC=gcc-5 CXX=g++-5 CPP=cpp-5. Can someone to fix it? can not to do more.

yan12125 commented on 2016-11-26 13:11

Thanks for that doc. ChangeLog updated.

SpotlightKid commented on 2016-11-26 12:56

@yan12125: Sorry, the errors were due to a left-over debugging statement in my PKGBUILD. Everything compiles cleanly here now too.

You might want to update/correct the Changelog with the next release:

https://gist.github.com/SpotlightKid/d59bc43e03bdb917dd917ab83668d86d

All comments