You are not logged in.

#1 2015-06-26 18:13:59

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Cannot build python2 - build hangs on test

I am trying to build python2 from ABS - one that includes debug symbols (using option += (debug)). It seem to go through the process of building and then running the tests. However, it hangs on one test and never completes. I tried to let it run throughout the night with no luck in the morning. Ctrl+C exists the test, but it still hangs, and Ctrl+C again kills makepkg.

test_imap_handle_iterable_exception (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_imap_unordered (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_imap_unordered_handle_iterable_exception (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_make_pool (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_map (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_map_chunksize (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_map_unplicklable (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_terminate (test.test_multiprocessing.WithProcessesTestPool) ... ok
test_unpickleable_result (test.test_multiprocessing.WithProcessesTestPoolWorkerErrors) ... ok
test_pool_worker_lifetime (test.test_multiprocessing.WithProcessesTestPoolWorkerLifetime) ... ok
test_pool_worker_lifetime_early_close (test.test_multiprocessing.WithProcessesTestPoolWorkerLifetime) ... ok
test_active_children (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_cpu_count (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_current (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_process (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_recursion (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_sys_exit (test.test_multiprocessing.WithProcessesTestProcess) ... ok
test_terminate (test.test_multiprocessing.WithProcessesTestProcess) ... 

Even when I omit the debug symbols in PKGBUILD, this happens. Is there a way I can turn the tests off?

Here's the full output from the beginning of the previous snippet, including the 2 Ctrl+C's and the output after each: http://pastebin.com/CF29pmwC

Last edited by XtrmGmr99 (2015-06-26 18:14:49)

Offline

#2 2015-06-26 20:44:39

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Cannot build python2 - build hangs on test

man makepkg, read up on --nocheck if you just want to skip the tests.

Last edited by Mr.Elendig (2015-06-26 20:45:02)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2015-06-27 06:51:17

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Re: Cannot build python2 - build hangs on test

That allowed it to finish building, which is great. However, when I try to run the python2 debug executible, it gives me:

[ryan@archlinux ~]$ /usr/lib/debug/usr/bin/python2.7.debug
bash: /usr/lib/debug/usr/bin/python2.7.debug: cannot execute binary file: Exec format error

looking at the file list in the debug package, I do not see any other executible. How do I run the debug version?

Offline

#4 2015-06-27 13:44:51

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Cannot build python2 - build hangs on test

XtrmGmr99 wrote:

That allowed it to finish building, which is great. However, when I try to run the python2 debug executible, it gives me:

[ryan@archlinux ~]$ /usr/lib/debug/usr/bin/python2.7.debug
bash: /usr/lib/debug/usr/bin/python2.7.debug: cannot execute binary file: Exec format error

looking at the file list in the debug package, I do not see any other executible. How do I run the debug version?

Aren't those the debugging symbols only? Do you have a file named python2.7-gdb.py somewhere (and if yes, make sure it is in your PATH)? Usually you have run gdb directly, take a look here: https://wiki.python.org/moin/DebuggingW … _.60gdb.60


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

Board footer

Powered by FluxBB