[MacPorts] #50565: MPlayer 1.2_1 dvd support missing

MacPorts noreply at macports.org
Wed Aug 10 18:08:13 PDT 2016


#50565: MPlayer 1.2_1 dvd support missing
-----------------------------+------------------------
  Reporter:  franck.bonin@…  |      Owner:  jeremyhu@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  MPlayer         |
-----------------------------+------------------------

Comment (by from.macports@…):

 OK, I think I figured out how to get '''main.log''' despite it being
 deleted by '''port install'''.  I used '''port selfupdate''', which does
 all the work of '''port install''' except for the final installation step.

 {{{
 % sudo port destroot MPlayer @1.1_8
 Password:
 --->  Computing dependencies for MPlayer
 --->  Fetching distfiles for MPlayer
 --->  Attempting to fetch MPlayer-1.3.0.tar.xz from
 http://sea.us.distfiles.macports.org/macports/distfiles/MPlayer
 --->  Verifying checksums for MPlayer
 --->  Extracting MPlayer
 --->  Applying patches to MPlayer
 --->  Configuring MPlayer
 --->  Building MPlayer
 --->  Staging MPlayer into destroot
 % port logfile MPlayer
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/MPlayer/main.log
 % port installed MPlayer
 The following ports are currently installed:
   MPlayer @1.3.0_0 (active)
 }}}

 I have attached to this ticket the '''main.log''' file resulting from this
 build.

 Looking at that main.log, here are some lines which I think might be
 interesting:

 {{{
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_MPlayer/MPlayer/work/MPlayer-1.3.0"
 && ./configure --prefix=/opt/local --extra-
 cflags="-I/opt/local/include/lzo -I/opt/local/include" --extra-
 ldflags="-L/opt/local/lib -L/opt/local/lib/samba3"
 --datadir=/opt/local/share/MPlayer --confdir=/opt/local/etc/MPlayer
 --mandir=/opt/local/share/man --enable-png --enable-jpeg --enable-liblzo
 --enable-theora --enable-libvorbis --enable-libopus --enable-mad
 --disable-smb --disable-live --disable-cdparanoia --disable-freetype
 --disable-fontconfig --disable-fribidi --disable-enca --disable-libcdio
 --disable-xvid --disable-x264 --disable-speex --disable-faac --disable-
 libdv --disable-toolame --disable-twolame --disable-xmms --disable-
 musepack --disable-sdl --disable-aa --disable-caca --disable-x11
 --disable-gl --disable-arts --disable-esd --disable-lirc --disable-mng
 --disable-libdirac-lavc --disable-libschroedinger-lavc --disable-liba52
 --disable-gif --disable-qtx --target=x86_64-Darwin
 ....
 :info:configure Checking for dvdread ... yes
 ....
 :info:configure Checking for DVD support (libdvdnav) ... yes
 ....
 :info:configure   Enabled optional drivers:
 :info:configure     Input: dvdnav ftp tv librtmp dvdread bluray vcd
 networking
 :info:configure     Codecs: libvpx ffmpeg(internal) real xanim libopus
 faad2 libdca mpg123 libtheora libvorbis libmad liblzo
 :info:configure     Audio output: coreaudio openal jack pulse
 mpegpes(file)
 :info:configure     Video output: pnm jpeg corevideo mpegpes(file)
 yuv4mpeg md5sum tga
 :info:configure
 :info:configure   Disabled optional drivers:
 :info:configure     Input: vstream pvr radio tv-v4l2 tv-v4l1 tv-dshow
 live555 nemesi cddb cdda dvb smb
 :info:configure     Codecs: libschroedinger libdirac x264 xvid crystalhd
 libdv libopencore_amrwb libopencore_amrnb qtx win32 ilbc faac musepack
 libmpeg2 liba52 libgsm speex toolame twolame gif OpenJPEG
 :info:configure     Audio output: sndio sun alsa nas esd arts oss v4l2
 ivtv dxr2 sdl
 :info:configure     Video output: zr zr2 v4l2 ivtv dxr3 dxr2 matrixview
 opengl sdl vesa gif89a mng quartz fbdev svga caca aa ggi xvidix winvidix
 cvidix 3dfx xmga dga vdpau xvmc xv x11 directfb dfbmga bl xvr100 tdfx_vid
 wii s3fb tdfxfb mga
 ....
 :info:build /opt/local/include/dvdread/ifo_types.h:69:3: warning: unknown
 attribute 'gcc_struct' ignored [-Wunknown-attributes]
 :info:build } ATTRIBUTE_PACKED dvd_time_t;
 :info:build   ^
 :info:build /opt/local/include/dvdread/ifo_types.h:36:49: note: expanded
 from macro 'ATTRIBUTE_PACKED'
 :info:build #define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
 .... [many repetitions of the above pattern]
 :info:build /usr/bin/clang -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2
 -march=corei7-avx -pipe -fno-asynchronous-unwind-tables
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
 -mdynamic-no-pic -I/opt/local/include/lzo -I/opt/local/include -fpie -DPIC
 -I/opt/local/include -I/opt/local/include/p11-kit-1 -I/opt/local/include
 -D_REENTRANT -I/opt/local/include -I/opt/local/include -DZLIB_CONST
 -I/opt/local/include/opus -I/opt/local/include -c -o libvo/aspect.o
 libvo/aspect.c
 :info:build mplayer.c:1965:63: warning: passing 'char *' to parameter of
 type 'const unsigned char *' converts between pointers to integer types
 with different sign [-Wpointer-sign]
 :info:build         dvdsub_lang_id = mp_dvdnav_sid_from_lang(ctx->stream,
 dvdsub_lang);
 :info:build
 ^~~~~~~~~~~
 :info:build ./stream/stream_dvdnav.h:34:68: note: passing argument to
 parameter 'language' here
 :info:build int mp_dvdnav_sid_from_lang(stream_t *stream, const unsigned
 char *language);
 :info:build
 ^
 ....
 build /usr/bin/clang -o mplayer command.o ... -ldvdread ... -ldvdnav
 -lpthread ...
 ....
 }}}

 No error messages about libdvdnav failing, as far as I could see.

-- 
Ticket URL: <https://trac.macports.org/ticket/50565#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list