Mailinglist Archive: opensuse-kde (352 mails)
| < Previous | Next > |
Re: [opensuse-kde] python-qt4 fails to build for SLE_11_SP1 when I add "BuildRequires: phonon-devel" to the spec file
- From: Joseph Mulloy <jdmulloy@xxxxxxxxx>
- Date: Mon, 17 Oct 2011 09:07:19 -0400
- Message-id: <CABYAtyXAjoEnZy5Usb3LuZXndcvs8s8bpVvCsHdbHvU7qd+7WA@mail.gmail.com>
I thought it might be something like this. I considered trying a check
like you suggested that would prevent the SLE build from pulling in
Phonon. It would work, but then SLE users still won't have Phonon
support in python-qt4. I'll add a link to your email to the bug
report. Thanks for the help.
Joseph Mulloy
jdmulloy@xxxxxxxxx
On Mon, Oct 17, 2011 at 7:36 AM, todd rme <toddrme2178@xxxxxxxxx> wrote:
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kde+owner@xxxxxxxxxxxx
like you suggested that would prevent the SLE build from pulling in
Phonon. It would work, but then SLE users still won't have Phonon
support in python-qt4. I'll add a link to your email to the bug
report. Thanks for the help.
Joseph Mulloy
jdmulloy@xxxxxxxxx
On Mon, Oct 17, 2011 at 7:36 AM, todd rme <toddrme2178@xxxxxxxxx> wrote:
On Mon, Oct 17, 2011 at 1:17 PM, Joseph Mulloy <jdmulloy@xxxxxxxxx> wrote:--
In order to run OpenLP I had to rebuild python-qt4 with phonon-devel
installed. I figured out how to do this on OBS by adding
"BuildRequires: phonon-devel" to the spec file. I submitted a bug
report to try to get this added to the packaged shipped in 12.1. The
developer who is handling my bug gave me instructions on how to branch
the package and submit my packages back through OBS. I've made the
change and it build for 11.3, 11.4 and Factory but it fails for
SLE_11_SP1. I'm assuming that I shouldn't submit a change that causes
this breakage. I can't figure out what the problem is. I don't know if
there is some other dependency I need to add to the spec file or if
there is an error in the source code somewhere.
This is where the OBS project is located:
https://build.opensuse.org/project/show?project=home%3Ajdmulloy%3Abranches%3AKDE%3AQt
This is the bug I submitted:
https://bugzilla.novell.com/show_bug.cgi?id=655152
This is the error I get
/usr/src/packages/BUILD/PyQt-x11-gpl-4.8.5/phonon/sipphononPhononVideoWidget.cpp:
In function 'PyObject* meth_Phonon_VideoWidget_snapshot(PyObject*,
PyObject*)':
/usr/src/packages/BUILD/PyQt-x11-gpl-4.8.5/phonon/sipphononPhononVideoWidget.cpp:1724:
error: 'class Phonon::VideoWidget' has no member named 'snapshot'
make[1]: *** [sipphononPhononVideoWidget.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/usr/src/packages/BUILD/PyQt-x11-gpl-4.8.5/phonon'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.390 (%build)
RPM build errors:
cannot open Pubkeys index using db3 - No such file or directory (2)
Bad exit status from /var/tmp/rpm-tmp.390 (%build)
[ 775.759097] Power down.
Any help in debugging this would be appreciated as I can't figure out
what the problem is.
The problem is that there is no phonon package in KDE:Qt. Phonon is
built in the KDE:Distro repositories rather than the KDE:Qt
repositories. This means that python-qt4, which is being built
against the KDE:Qt repository, uses the default version of phonon
shipped with each distribution, rather than the updated version
shipped with, say, KDE:Distro:Factory. The version of phonon shipped
with SLE-11 SP1 is apparently ancient, version 4.3 while supported
openSUSE versions ship with 4.4 and Factory/12.1will ship with 4.5. I
would suspect that the very recent python-qt4 in KDE:Qt is not
compatible with the ancient phonon version shipped with SLE-11 SP1.
How to handle this, however, I don't know. You could always add a
check that disables using phonon for SLE-11. Something like:
%if 0%{?sles_version} <= 11
BuildRequires: phonon-devel
%endif
However, this means that KDF will have python-qt4 compiled against an
old version of phonon. A better solution might be to move python-qt4
to the KDE:Distro repositories. All the other qt bindings are built
there. This would allow it to build against the proper version of
phonon.
-Todd
--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kde+owner@xxxxxxxxxxxx
To unsubscribe, e-mail: opensuse-kde+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-kde+owner@xxxxxxxxxxxx
| < Previous | Next > |