Opened 12 years ago

Closed 12 years ago

#37146 closed defect (fixed)

mplayer2 @2.0-20121108: fatal error: 'cdio/cdda.h' file not found

Reported by: leojrfs@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mplayer2

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

stream/stream_cdda.c:20:10: fatal error: 'cdio/cdda.h' file not found
#include <cdio/cdda.h>
         ^
1 error generated.
make: *** [stream/stream_cdda.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20121108'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20121108" && /usr/bin/make -j2 -w mplayer V=1 
Exit code: 2
Error: org.macports.build for port mplayer2 returned: command execution failed
Warning: targets not executed for mplayer2: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port mplayer2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mplayer2/mplayer2/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mplayer2 failed

Attachments (3)

main.log (134.7 KB) - added by leojrfs@… 12 years ago.
Portfile (8.6 KB) - added by ii343hbka 12 years ago.
dirty fix for libcdio
changes.patch (3.2 KB) - added by ii343hbka 12 years ago.
diff for Portfiles

Download all attachments as: .zip

Change History (12)

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

Description: modified (diff)
Keywords: mplayer2 removed
Owner: changed from macports-tickets@… to cal@…
Summary: mplayer2 @2.0-20121108 Processing of port failed.mplayer2 @2.0-20121108: fatal error: 'cdio/cdda.h' file not found

Please attach the main.log file.

Changed 12 years ago by leojrfs@…

Attachment: main.log added

comment:2 Changed 12 years ago by leojrfs@…

done, sorry

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

Status: newassigned

The problem is the recent update of libcdio, which stopped shipping the paranoia part that installed this header previously. Instead, this header is available in libcido-paranoia from https://github.com/rocky/libcdio-paranoia. The fix would be to create a port for that (and hope it's API-compatible, and if it's not, wait for mplayer2 upstream to adapt).

comment:4 Changed 12 years ago by jorge@…

is it possible to install this port without libcdio?

comment:5 Changed 12 years ago by ii343hbka

as a temporary workaround u can delete --enable-libcdio option in the Portfile

Changed 12 years ago by ii343hbka

Attachment: Portfile added

dirty fix for libcdio

comment:6 Changed 12 years ago by ii343hbka

i've attached edited Portfile which builds mplayer2 successfully

comment:7 Changed 12 years ago by mf2k (Frank Schima)

Please attach a unified diff of the portfile against trunk so we can easily see what changes you made.

Changed 12 years ago by ii343hbka

Attachment: changes.patch added

diff for Portfiles

comment:8 Changed 12 years ago by ii343hbka

done

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

Resolution: fixed
Status: assignedclosed

Commited in r100176. I'll just wait for somebody to complain about missing libcdio-support, because I don't have time to port libcdio-paranoia.

Note: See TracTickets for help on using tickets.