[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1

2015-03-12 Thread Timo Jyrinki
_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) = (unassigned)

** Changed in: calibre (Ubuntu)
   Status: In Progress = Confirmed

** Summary changed:

- Fails to rebuild against Qt 5.4.1
+ Fails to rebuild against Qt 5.4.1 ... on powerpc

** Description changed:

+ 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://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-012/+sourcepub/4827668/+listing-archive-extra
  ---
-   File /usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py, line 757, in 
setZOrder
- getattr(self.toplevelWidget, elem.text).raise_()
+   File /usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py, line 757, in 
setZOrder
+ getattr(self.toplevelWidget, elem.text).raise_()
  TypeError: getattr(): attribute name must be string
  ---
  
  The landing PPA (see https://wiki.ubuntu.com/Touch/QtTesting) has Qt
  5.4.1 + pyqt5 5.4.1, the same that are in Debian experimental.
  
  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.

** Changed in: calibre (Ubuntu)
   Status: Confirmed = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  Fails to rebuild against Qt 5.4.1 ... on powerpc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1 ... on powerpc

2015-03-12 Thread Martin Pitt
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 changed:

- 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  FTBFS on powerpc: thread.error: can't start new thread

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1

2015-03-12 Thread Timo Jyrinki
I added a patch (remove_empty_zorder.patch) to remove the empty zorder
field from metadata.ui as suggested by pyqt upstream. It resolves the
problem and now all other archs build (https://launchpad.net/~ci-train-
ppa-service/+archive/ubuntu/landing-012/+sourcepub/4829743/+listing-
archive-extra), _but_ unfortunately there is also an unrelated powerpc
failure still happening:

https://launchpadlibrarian.net/28007/buildlog_ubuntu-vivid-powerpc.calibre_2.19.0%2Bdfsg-1ubuntu1~vivid1~test2_BUILDING.txt.gz
---
### Building extension podofo ###
Compiling podofo
Traceback (most recent call last):
  File setup.py, line 99, in module
sys.exit(main())
  File setup.py, line 85, in main
command.run_all(opts)
  File /build/buildd/calibre-2.19.0+dfsg/setup/__init__.py, line 181, in 
run_all
self.run_cmd(self, opts)
  File /build/buildd/calibre-2.19.0+dfsg/setup/__init__.py, line 178, in 
run_cmd
cmd.run(opts)
  File /build/buildd/calibre-2.19.0+dfsg/setup/extensions.py, line 398, in run
self.build(ext, dest)
  File /build/buildd/calibre-2.19.0+dfsg/setup/extensions.py, line 442, in 
build
if not parallel_build(jobs, self.info):
  File /build/buildd/calibre-2.19.0+dfsg/setup/parallel_build.py, line 32, in 
parallel_build
p = Pool(cpu_count)
  File /usr/lib/python2.7/multiprocessing/dummy/__init__.py, line 151, in Pool
return ThreadPool(processes, initializer, initargs)
  File /usr/lib/python2.7/multiprocessing/pool.py, line 718, in __init__
Pool.__init__(self, processes, initializer, initargs)
  File /usr/lib/python2.7/multiprocessing/pool.py, line 159, in __init__
self._repopulate_pool()
  File /usr/lib/python2.7/multiprocessing/pool.py, line 223, in 
_repopulate_pool
w.start()
  File /usr/lib/python2.7/multiprocessing/dummy/__init__.py, line 75, in start
threading.Thread.start(self)
  File /usr/lib/python2.7/threading.py, line 745, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
---

It's not solved by a simple rebuild.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  Fails to rebuild against Qt 5.4.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1

2015-03-12 Thread Timo Jyrinki
** Changed in: calibre (Ubuntu)
   Status: New = In Progress

** Changed in: calibre (Ubuntu)
 Assignee: (unassigned) = Timo Jyrinki (timo-jyrinki)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  Fails to rebuild against Qt 5.4.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1

2015-03-11 Thread Timo Jyrinki
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  Fails to rebuild against Qt 5.4.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1430663] Re: Fails to rebuild against Qt 5.4.1

2015-03-11 Thread Timo Jyrinki
There's a recent upstream commit claiming to fix an Qt 5.4.1 issue -
https://github.com/kovidgoyal/calibre/commit/72d47ba9377d70e786bf3d93b323544188c894bd
- but that alone does not seem to fix this build issue:
https://launchpadlibrarian.net/199907621/buildlog_ubuntu-vivid-
amd64.calibre_2.19.0%2Bdfsg-1ubuntu1~vivid1~test1_BUILDING.txt.gz

** Description changed:

  Calibre FTBFS:s when rebuilt against Qt 5.4.1:
  
  
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-012/+sourcepub/4827668/+listing-archive-extra
- TypeError: getattr(): attribute name must be string
+ ---
+   File /usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py, line 757, in 
setZOrder
+ getattr(self.toplevelWidget, elem.text).raise_()
+ TypeError: getattr(): attribute name must be string
+ ---
  
  The landing PPA (see https://wiki.ubuntu.com/Touch/QtTesting) has Qt
  5.4.1 + pyqt5 5.4.1, the same that are in Debian experimental.
  
  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1430663

Title:
  Fails to rebuild against Qt 5.4.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1430663/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs