You are not logged in.

#1 2013-03-10 21:20:21

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

[SOLVED] Python-PySide errors about phonon

I'm trying to install Python-PySide from the AUR. From time to time, during making the package, it promped:

Generating class model...                    [OK]
Generating enum model...                     [WARNING]
        enum 'SP_CustomTabVideos' does not have a type entry or is not an enum

but the process was proceeding. Then, it went crazy two times in a row (exact output):

Detecting inconsistencies in class model...  [OK]
[OK]
        type 'Phonon::VolumeFaderInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::BackendInterface::Class' is specified in typesystem, but not declared
        enum 'Phonon::AddonInterface::SubtitleCommand' is specified in typesystem, but not declared
        type 'Phonon::AbstractVideoOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::CaptureCategory' is specified in typesystem, but not declared
        type 'Phonon::AudioOutputDeviceModel' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::ObjectDescriptionModel' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::DiscType' is specified in typesystem, but not declared
        enum 'Phonon::AddonInterface::TitleCommand' is specified in typesystem, but not declared
        type 'Phonon::AbstractAudioOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::PlatformPlugin' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::ErrorType' is specified in typesystem, but not declared
        type 'Phonon::MediaObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::MediaObjectInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::VolumeFaderEffect::FadeCurve' is specified in typesystem, but not declared
        enum 'Phonon::AddonInterface::ChapterCommand' is specified in typesystem, but not declared
        type 'Phonon::MediaController' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::VideoWidgetInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::AddonInterface::Interface' is specified in typesystem, but not declared
        type 'Phonon::AbstractMediaStream' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::StreamInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::VolumeFaderEffect' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::AddonInterface::AngleCommand' is specified in typesystem, but not declared
        type 'Phonon::Effect' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::MediaController::Feature' is specified in typesystem, but not declared
        enum 'Phonon::MediaSource::Type' is specified in typesystem, but not declared
        type 'Phonon::EffectDescriptionModel' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::Category' is specified in typesystem, but not declared
        type 'Phonon::EffectInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::AddonInterface::NavigationCommand' is specified in typesystem, but not declared
        type 'Phonon::EffectWidget' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::Path' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::MetaData' is specified in typesystem, but not declared
        enum 'Phonon::VideoWidget::ScaleMode' is specified in typesystem, but not declared
        type 'Phonon::BackendInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::MediaNode' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::SeekSlider' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::State' is specified in typesystem, but not declared
        type 'Phonon::MediaSource' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::AudioOutput' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::VolumeSlider' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::VideoPlayer' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::EffectParameter::Hint' is specified in typesystem, but not declared
        enum 'Phonon::AddonInterface::AudioChannelCommand' is specified in typesystem, but not declared
        enum 'Phonon::VideoWidget::AspectRatio' is specified in typesystem, but not declared
        type 'Phonon::AddonInterface' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::VideoWidget' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        type 'Phonon::EffectParameter' is specified in typesystem, but not defined. This could potentially lead to compilation errors.
        enum 'Phonon::MediaController::NavigationMenu' is specified in typesystem, but not declared



        signature 'Phonon::BackendCapabilities::NotifierWrapper(Phonon::BackendCapabilities::Notifier*)' for function modification in 'Phonon::BackendCapabilities::NotifierWrapper' not found. Possible candidates: 


Done, 51 warnings (972 known issues)
[ 93%] Building CXX object PySide/phonon/CMakeFiles/phonon.dir/PySide/phonon/phonon_abstractaudiooutput_wrapper.cpp.o
c++: error: /home/sms/Builds/python-pyside/src/pyside-qt4.8+1.1.2/build/PySide/phonon/PySide/phonon/phonon_abstractaudiooutput_wrapper.cpp: No such file or directory
c++: fatal error: no input files
compilation terminated.
make[2]: *** [PySide/phonon/CMakeFiles/phonon.dir/PySide/phonon/phonon_abstractaudiooutput_wrapper.cpp.o] Error 1
make[1]: *** [PySide/phonon/CMakeFiles/phonon.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Can I do anything about it? I can't use PyQt because of licence limitations... I was truly suprised that the package isn't present in official repository - it's second time I had to use AUR and second time - unsucesfull. ;c

Awaiting your answers.

Edit: I'm using KDE DE so I have phonon installed, up and running.

Last edited by smsware (2013-03-10 23:18:35)

Offline

#2 2013-03-10 23:18:19

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Python-PySide errors about phonon

Needed to change PKGBUILD to target /usr/include/qt4/phonon, not /usr/include/phonon. Solved myself! ^^'

Offline

#3 2013-03-11 16:03:41

ed0
Member
Registered: 2010-05-27
Posts: 6

Re: [SOLVED] Python-PySide errors about phonon

Thanks for the tip !

Offline

#4 2013-03-11 18:17:21

nanosun
Member
Registered: 2013-03-11
Posts: 1

Re: [SOLVED] Python-PySide errors about phonon

Thanks!

Offline

#5 2013-03-11 20:22:48

smsware
Member
From: Szczecin, Poland
Registered: 2012-08-14
Posts: 149
Website

Re: [SOLVED] Python-PySide errors about phonon

If anyone wants to use Qt Creator with Python, there is py-qtcreator-reborn-git package in the AUR but the PKGBUILD lacks of boost and boost-build packages in the dependencies so they have to be installed before proceeding.

Offline

Board footer

Powered by FluxBB