Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34979 closed defect (fixed)

mplayer2 fails if cdparanoia is installed — at Version 8

Reported by: ville.aakko@… Owned by: cal@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: perry@…
Port: mplayer2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

Installing mplayer2 fails if cdparanoia is installed. Uninstalling cdparanoia allows mplayer2 to install.

Other mplayer ports (mplayer-devel, MPlayer) disable cdparanoia explicitly in configure phase. Modifying the port file in the same fashion allows mplayer2 to install even with cdparanoia installed.

The way the build fails is:

:info:build Undefined symbols:
:info:build   "_cdda_identify_scsi", referenced from:
:info:build       _open_cdda in stream_cdda.o
:info:build   "_cdda_identify", referenced from:
:info:build       _open_cdda in stream_cdda.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make[1]: *** [mplayer] Error 1

I will provide the full log if needed.

Cheers!

Change History (8)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

Keywords: mplayer2 cdparanoia removed
Owner: changed from macports-tickets@… to cal@…
Status: newassigned

comment:2 Changed 12 years ago by pmetzger (Perry E. Metzger)

I can confirm that this is an actual problem, and the solution appears to indeed be disabling cdparanoia during configure.

comment:3 Changed 12 years ago by pmetzger (Perry E. Metzger)

(In particular, adding --disable-cdparanoia to set mplayercflags seems to fix things.)

comment:4 Changed 12 years ago by pmetzger (Perry E. Metzger)

(On the other hand, that was perhaps too hasty -- the resulting binary doesn't actually work. :(

It prints a bunch of code for some pre-initialized C structs (!?!?) and exits.)

comment:5 Changed 12 years ago by pmetzger (Perry E. Metzger)

Cc: perry@… added

Cc Me!

comment:6 Changed 12 years ago by neverpanic (Clemens Lang)

After having an in-depth look it seems the output comes from libopenjpeg.dylib, which contains a _main symbol. I've removed this in r94803. See http://code.google.com/p/openjpeg/issues/detail?id=152 for an upstream report of this.

comment:7 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

Disabled as suggested in r94829.

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.