Opened 11 years ago

Closed 10 years ago

#27041 closed defect (fixed)

phonon @4.4.2 Configure error - glib2 required

Reported by: emanuel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: michaelld (Michael Dickens), nerdling (Jeremy Lavergne), sharky@…
Port: phonon


I'm running MacOS 10.6.4 and Xcode 3.2.4.

I get a build error while configuring phonon (r72588).

I started with a clean system (no macports installed):

  1. MacPorts 1.9.1 installed
  2. sudo selfupdate
  3. sudo port install phonon
--->  Computing dependencies for phonon
--->  Dependencies to be installed: automoc cmake libidn gettext
 expat libiconv gperf ncurses ncursesw openssl zlib pkgconfig
 qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8
 m4 automake libtool jpeg libmng lcms tiff libpng sqlite3 readline


--->  Fetching phonon
--->  Attempting to fetch phonon-4.4.2.tar.bz2 from
--->  Verifying checksum(s) for phonon
--->  Extracting phonon
--->  Configuring phonon
Error: Target org.macports.configure returned: configure failure: shell command failed
Log for phonon is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/main.log
Error: Status 1 encountered during processing.

Log file attached. Log shows that could not find OPTIONAL packages GLIB2 and PulseAudio.

Check installed ports:

$ port installed
The following ports are currently installed:
  autoconf @2.68_0 (active)
  automake @1.11.1_0 (active)
  automoc @0.9.88_3 (active)
  cmake @2.8.2_4 (active)
  dbus @1.2.24_1 (active)
  expat @2.0.1_1 (active)
  gettext @ (active)
  gperf @3.0.4_0 (active)
  help2man @1.38.2_0 (active)
  jpeg @8b_0 (active)
  lcms @1.19_2 (active)
  libiconv @1.13.1_0 (active)
  libidn @1.19_0 (active)
  libmng @1.0.10_2 (active)
  libpng @1.2.44_0 (active)
  libtool @2.4_0 (active)
  m4 @1.4.15_0 (active)
  ncurses @5.7_1 (active)
  ncursesw @5.7_1 (active)
  openssl @1.0.0a_0 (active)
  p5-locale-gettext @1.05_3 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  pkgconfig @0.25_1 (active)
  qt4-mac @4.7.0_0+quartz (active)
  readline @6.1.002_0 (active)
  sqlite3 @3.7.3_0 (active)
  tiff @3.9.4_0 (active)

Test: Install glib2 and try to install phonon again:

  1. sudo port install glib2
  2. sudo port install phonon

=> phonon is installed successfully!

Attachments (1)

phonon-configure-log.txt (7.5 KB) - added by emanuel@… 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by emanuel@…

Attachment: phonon-configure-log.txt added

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: michaelld@… snc@… sharky@… added

comment:2 Changed 11 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

Good catch, thanks!

comment:3 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Fixed in r72872.

comment:4 Changed 11 years ago by solstice.dhiver@…

Resolution: fixed
Status: closedreopened

I don't quite understand the big picture here, but I'll just make a few simple remark. Just re-close the bug if you feel that's the way to deal with my comment

So glib2 is a deps of phonon, now. That's a huge one. I was said it is for the pulseaudio backend. But the pulseaudio package is not a deps of phonon. So the backend is compiled but never used ? how could it be if no pulseaudio is installed ? is there a native one ?

Could you deactivate the pulseaudio support ? and remove glib2 deps ?

or at least that glib2 would not be compiled if it is not needed on 32-bits if quicktime backend could be used ?

comment:5 Changed 11 years ago by nerdling (Jeremy Lavergne)

Owner: changed from snc@… to macports-tickets@…
Status: reopenednew

comment:6 Changed 10 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Removed the lib dep in r84347, since it really isn't used at runtime. This doesn't buy you much though as pkgconfig still depends on glib2.

Note: See TracTickets for help on using tickets.