Public bug reported: A debian control files in pyqt5 5.2.1 source in trusty has a minor problem.
It debian/control indicate dependency for python3-all-dev (>=3.2.3-6~) that is a version which debian released before. Now debian/rules use 'python$*-config --configdir' to retrive configuration directory, but '--configdir' option is supported from python3.3. So debian/control should specify python3-all-dev (>=3.3) or similar. There is no problem in Trusty because it is distributed with python3.3. I found it when I try to back port it to precise for my PPA. Here is my idea to detect python version in debian/rules : --- a/debian/rules 2014-03-21 15:53:50.000000000 +0900 +++ b/debian/rules 2014-09-05 11:59:17.487988243 +0900 @@ -52,7 +52,7 @@ dh_testdir mkdir -p build-$* cd build-$* && python$* ../configure.py $(SHARED_CONFIGURE_OPTIONS) \ - -m $(shell python$*-config --configdir) \ + -m $(if $(filter 3.2, $*),/usr/lib/python$*/config,$(shell python$*-config --configdir)) \ -d /usr/lib/python$*/dist-packages \ --dbus /usr/include/dbus-1.0 \ $(if $(filter $(DEFAULT_PYTHON),$*),,--no-designer-plugin --no-qml-plugin ) ** Affects: pyqt5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1365814 Title: minor problem in debian rules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pyqt5/+bug/1365814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs