[MacPorts] #45387: mplayer2: build fails after upgrade of libdvdnav to version 5.0.1

MacPorts noreply at macports.org
Tue Oct 14 07:45:18 PDT 2014


#45387: mplayer2: build fails after upgrade of libdvdnav to version 5.0.1
----------------------+----------------------
 Reporter:  devans@…  |      Owner:  cal@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.3.1
 Keywords:            |       Port:  mplayer2
----------------------+----------------------
 Apparently libdvdnav @5.0.1 introduces some API changes that break the
 build of mplayer2:
 {{{
 :info:build /usr/bin/clang -MD -MP  -D_ISOC99_SOURCE -D_BSD_SOURCE -pipe
 -Os -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I.  -I/opt/local/include
 -I/opt/local/include/freetype2 -Os -arch x86_64 -Wno-pointer-sign
 -I/opt/local/include -I/opt/local/include/freetype2 -DPIC
 -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/freetype2   -c -o stream/stream_dvdnav.o
 stream/stream_dvdnav.c
 :info:build timeline/tl_matroska.c:104:39: warning: '&&' within '||'
 [-Wlogical-op-parentheses]
 :info:build           opts->stream_cache_size < 0 &&
 (*stream)->cache_size))
 :info:build           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
 :info:build timeline/tl_matroska.c:104:39: note: place parentheses around
 the '&&' expression to silence this warning
 :info:build           opts->stream_cache_size < 0 &&
 (*stream)->cache_size))
 :info:build                                       ^
 :info:build           (
 )
 :info:build stream/stream_dvdnav.c:718:8: error: use of undeclared
 identifier 'DVDNAV_FORMAT_AC3'; did you mean 'DVD_AUDIO_FORMAT_AC3'?
 :info:build   case DVDNAV_FORMAT_AC3:
 :info:build        ^~~~~~~~~~~~~~~~~
 :info:build        DVD_AUDIO_FORMAT_AC3
 :info:build /opt/local/include/dvdnav/dvd_types.h:71:3: note:
 'DVD_AUDIO_FORMAT_AC3' declared here
 :info:build   DVD_AUDIO_FORMAT_AC3        = 0,
 :info:build   ^
 :info:build /usr/bin/clang -MD -MP -D_ISOC99_SOURCE -D_BSD_SOURCE -pipe
 -Os -arch x86_64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE64_SOURCE -mdynamic-no-pic -I.  -I/opt/local/include
 -I/opt/local/include/freetype2 -Os -arch x86_64 -Wno-pointer-sign
 -I/opt/local/include -I/opt/local/include/freetype2 -DPIC
 -I/usr/X11/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include
 -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/freetype2   -c -o stream/stream_dvd.o
 stream/stream_dvd.c
 :info:build stream/stream_dvdnav.c:720:8: error: use of undeclared
 identifier 'DVDNAV_FORMAT_DTS'; did you mean 'DVD_AUDIO_FORMAT_DTS'?
 :info:build   case DVDNAV_FORMAT_DTS:
 :info:build        ^~~~~~~~~~~~~~~~~
 :info:build        DVD_AUDIO_FORMAT_DTS
 :info:build /opt/local/include/dvdnav/dvd_types.h:77:3: note:
 'DVD_AUDIO_FORMAT_DTS' declared here
 :info:build   DVD_AUDIO_FORMAT_DTS        = 6,
 :info:build   ^
 :info:build stream/stream_dvdnav.c:722:8: error: use of undeclared
 identifier 'DVDNAV_FORMAT_LPCM'; did you mean 'DVD_AUDIO_FORMAT_LPCM'?
 :info:build   case DVDNAV_FORMAT_LPCM:
 :info:build        ^~~~~~~~~~~~~~~~~~
 :info:build        DVD_AUDIO_FORMAT_LPCM
 :info:build /opt/local/include/dvdnav/dvd_types.h:75:3: note:
 'DVD_AUDIO_FORMAT_LPCM' declared here
 :info:build   DVD_AUDIO_FORMAT_LPCM       = 4,
 :info:build   ^
 :info:build stream/stream_dvdnav.c:724:8: error: use of undeclared
 identifier 'DVDNAV_FORMAT_MPEGAUDIO'
 :info:build   case DVDNAV_FORMAT_MPEGAUDIO:
 :info:build        ^
 :info:build 4 errors generated.
 :info:build make: *** [stream/stream_dvdnav.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build 1 warning generated.
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_macports_trunk_dports_multimedia_mplayer2/mplayer2/work/mplayer2-2.0-20131009'
 }}}

 Full main.log attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/45387>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list