FTBFS on powerpc: thread.error: can't start new thread
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | calibre (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
Update 2015-03-12:
After two cherry-picked fixes, the remaining problem is that powerpc fails while other archs work. It might be a python problem.
--- original bug report ---
Calibre FTBFS:s when rebuilt against Qt 5.4.1:
https:/
---
File "/usr/lib/
getattr(
TypeError: getattr(): attribute name must be string
---
The landing PPA (see https:/
It has not been rebuilt against Debian experimental in Debian, but the same Calibre version 2.19.0 did rebuild successfully against Ubuntu's Qt 5.4.0 + pyqt5 5.4.0, so this bug is probably something changed in pyqt5 5.4.0 -> 5.4.1.
| Timo Jyrinki (timo-jyrinki) wrote : | #2 |
As a pointer, even the 2.20.0 + the patch gives the same build failure, even though eg. Arch has pyqt5 5.4.1 + calibre 2.20.0 built.
| Changed in calibre (Ubuntu): | |
| status: | New → In Progress |
| assignee: | nobody → Timo Jyrinki (timo-jyrinki) |
| Timo Jyrinki (timo-jyrinki) wrote : | #3 |
I added a patch (remove_
https:/
---
####### Building extension podofo #######
Compiling podofo
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.
File "setup.py", line 85, in main
command.
File "/build/
self.
File "/build/
cmd.run(opts)
File "/build/
self.build(ext, dest)
File "/build/
if not parallel_
File "/build/
p = Pool(cpu_count)
File "/usr/lib/
return ThreadPool(
File "/usr/lib/
Pool.
File "/usr/lib/
self.
File "/usr/lib/
w.start()
File "/usr/lib/
threading.
File "/usr/lib/
_start_
thread.error: can't start new thread
---
It's not solved by a simple rebuild.
_Second_ rebuild however fixed the problem. If it was not unstable before, possibly related to multiprocessing fix in the latest python2.7 upload.
| Changed in calibre (Ubuntu): | |
| assignee: | Timo Jyrinki (timo-jyrinki) → nobody |
| status: | In Progress → Confirmed |
| summary: |
- Fails to rebuild against Qt 5.4.1 + Fails to rebuild against Qt 5.4.1 ... on powerpc |
| description: | updated |
| Changed in calibre (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| Martin Pitt (pitti) wrote : | #5 |
Right, calibre is unstable on powerpc right now, also on earlier versions, so that's nothing new. Let's use that bug to track this then.
| summary: |
- Fails to rebuild against Qt 5.4.1 ... on powerpc + FTBFS on powerpc: thread.error: can't start new thread |
| Changed in calibre (Ubuntu): | |
| status: | Fix Committed → Triaged |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package calibre - 2.19.0+
---------------
calibre (2.19.0+
* Rebuild against Qt 5.4.1
* Cherry-pick a 5.4.1 fix from upstream:
- debian/
(LP: #1430663)
-- Timo Jyrinki <email address hidden> Sat, 14 Mar 2015 06:41:11 +0000
| Changed in calibre (Ubuntu): | |
| status: | Triaged → Fix Released |


There's a recent upstream commit claiming to fix an Qt 5.4.1 issue - https:/ /github. com/kovidgoyal/ calibre/ commit/ 72d47ba9377d70e 786bf3d93b32354 4188c894bd - but that alone does not seem to fix this build issue: https:/ /launchpadlibra rian.net/ 199907621/ buildlog_ ubuntu- vivid-amd64. calibre_ 2.19.0% 2Bdfsg- 1ubuntu1~ vivid1~ test1_BUILDING. txt.gz