New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30885 (closed defect: wontfix)

Opened 21 months ago

Last modified 11 months ago

phonon 4.4.2r3 does not build

Reported by: greisberger@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: phonon

Description

First, the compilation fails (I have qt4-mac 4.7.3)

There is an error in phonon/pulsesupport.cpp :

#include <QTimer>

should be

#include <QtCore/QTimer>

Then, there is an error linking libphonon_qt7.dylib : -lphonon is not found.

:info:build /Developer/usr/bin/llvm-g++-4.2 -headerpad_max_install_names -arch x86_64 -single_module -dynamiclib -Xarch_x86_64 -mmacosx-version-min=10.6 -o libphonon_qt7.dylib quicktimevideoplayer.o backendheader.o medianodevideopart.o medianodeevent.o audiooutput.o backendinfo.o audiosplitter.o audioeffects.o quicktimestreamreader.o medianode.o backend.o mediaobject.o mediaobjectaudionode.o audiomixer.o quicktimeaudioplayer.o videoframe.o quicktimemetadata.o audiodevice.o audioconnection.o audiograph.o audionode.o videowidget.o  -F/opt/local/lib  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_phonon/phonon/work/phonon-4.4.2/build/lib -lphonon -framework AppKit -framework AudioUnit -framework AudioToolbox -framework CoreAudio -framework QuartzCore -framework QTKit -L/opt/local/lib -framework QtOpenGL -F/opt/local/lib -framework QtGui -framework QtCore -framework OpenGL -framework AGL -Xarch_x86_64 -framework -Xarch_x86_64 QuickTime  
:info:build ld: library not found for -lphonon

I checked in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_phonon/phonon/work/phonon-4.4.2/build/lib/
There is a phonon.la

I have no idea what I could try now.

For info:
OS: Snow Leopard 10.6.8
Arch: x86_64
FS: case sensitive
XCode: 4.0.2
Variant: -universal

Attachments

main.log (64.7 KB) - added by greisberger@… 21 months ago.
Error without patching pulsesupport.cpp
main2.log (73.9 KB) - added by greisberger@… 21 months ago.
Error after patching pulsesupport.cpp

Change History

comment:1 Changed 21 months ago by greisberger@…

I found that the problem could be the one from Ticket #27611 but I cannot activate qt4-mac:

$ sudo qt4_select qt4-mac
version "qt4-mac" is invalid!

$ sudo qt4_select -l
Available versions:
none

qt4-mac is of course installed.

comment:2 Changed 21 months ago by greisberger@…

I followed the other ticket and put "portdbformat sqlite" in macports.conf
I now have more versions:

$ sudo qt4_select -l
Available versions:
current none

But selecting fails:

$ sudo qt4_select current
Selecting version "current" for qt4
rm: /opt/local/share/doc/qt4: is a directory
rm: /opt/local/share/qt4: is a directory
there were 2 errors selecting version "current"!

I tried tweaking (renaming these directories) and qt4_select does not fail anymore.
But these 2 folders are not replaced with links and /opt/local/bin/qmake & other are gone...
I tried to switch between none and current, but nothing happens.

I'll install a new variant of qt4-mac and I hope to have qt4 back.

There must be something wrong in qt4_select or in qt4-mac.

comment:3 Changed 21 months ago by macsforever2000@…

Please attach the build log.

comment:4 Changed 21 months ago by greisberger@…

I'll as soon as I have a working qt4-mac again. It's still building.

Changed 21 months ago by greisberger@…

Error without patching pulsesupport.cpp

Changed 21 months ago by greisberger@…

Error after patching pulsesupport.cpp

comment:5 Changed 21 months ago by greisberger@…

Hi, any news? I would like to install kde 4 but I'm stuck with phonon...

comment:6 Changed 21 months ago by greisberger@…

I installed today qt-mac with -framework and now phonon builds. Strange.

comment:7 Changed 11 months ago by jmr@…

  • Owner changed from macports-tickets@… to michaelld@…

comment:8 Changed 11 months ago by michaelld@…

  • Status changed from new to closed
  • Resolution set to wontfix

Phonon has been upgraded to 4.6.0_0 a while ago, and it uses a very different build method compared with 4.4.2. I'm closing this ticket since it's no longer applicable. After doing a "selfupdate" and then "upgrade outdated": If the new Phonon has a similar issue, then please create a new ticket or join on to an existing one.

Note: See TracTickets for help on using tickets.