pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58721: pkgsrc/multimedia/mplayer fails to build on Darwin



>Number:         58721
>Category:       pkg
>Synopsis:       pkgsrc/multimedia/mplayer fails to build on Darwin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 06 12:25:00 +0000 2024
>Originator:     scole
>Release:        pkgsrc-2024Q3
>Organization:
none
>Environment:
Darwin XXXXX.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:36:30 PDT 2024; root:xnu-11215.1.12~1/RELEASE_X86_64 x86_64
>Description:
mplayer fails to build on Darwin. It seems to stop at the final linking step complaining about missing symbols:

clang -o mplayer command.o m_property.o mixer.o mp_fifo.o mplayer.o parser-mpcmd.o pnm_loader.o input/input.o libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libao2/audio_out.o libvo/aspect.o libvo/geometry.o libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o sub/spuenc.o input/ar.o libao2/ao_coreaudio.o libvo/vo_corevideo.o libvo/osx_common.o libvo/osx_objc_common.o libvo/vo_dga.o libvo/vo_png.o libvo/vo_gif89a.o libvo/gl_common.o libvo/vo_gl.o libvo/csputils.o libvo/vo_gl_tiled.o libvo/sdl_common.o libvo/x11_common.o libvo/vo_jpeg.o libmenu/menu.o libmenu/menu_chapsel.o libmenu/menu_cmdlist.o libmenu/menu_console.o libmenu/menu_filesel.o libmenu/menu_list.o libmenu/menu_param.o libmenu/menu_pt.o libmenu/menu_txt.o libmenu/vf_menu.o libvo/vo_matrixview.o libvo/matrixview.o libvo/vo_md5sum.o udp_sync.o libvo/vo_pnm.o libao2/ao_sdl.o libvo/vo_sdl.o libvo/vo_tga.o libvo/vo_x11.o libvo/vo_xover.o libvo/vo_xv.o libvo/vo_xvmc.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o codec-cfg.o cpu
 detect.o edl.o fmt-conversion.o m_config.o m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o parser-cfg.o path.o playtree.o playtreeparser.o subopt-helper.o libaf/af.o libaf/af_center.o libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o libaf/af_scaletempo.o libaf/af_sinesuppress.o libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o libaf/af_volume.o libaf/filter.o libaf/format.o libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o libmpcodecs/ad_alaw.o libmpcodecs/ad_dvdpcm.o libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o libmpcodecs/pullup.o libmpcodecs/vd.o libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o libmpcodecs/vd_mpeg
 pes.o libmpcodecs/vd_mtga.o libmpcodecs/vd_null.o libmpcodecs/vd_raw.o libmpcodecs/vd_sgi.o libmpcodecs/vd_black.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o libmpcodecs/vf_expand.o libmpcodecs/vf_field.o libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o libmpcodecs/vf_hue.o libmpcodecs/vf_il.o libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o libmpcodecs/vf_noformat.o
  libmpcodecs/vf_noise.o libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o libmpcodecs/vf_tile.o libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o libmpdemux/aac_hdr.o libmpdemux/asfheader.o libmpdemux/aviheader.o libmpdemux/aviprint.o libmpdemux/demuxer.o libmpdemux/demux_aac.o libmpdemux/demux_asf.o libmpdemux/demux_audio.o libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o libmpdemux/demux_film.o libmpdemux/demux_fli.o libmpdemux/demux_lmlm4.o libmpdem
 ux/demux_mf.o libmpdemux/demux_mkv.o libmpdemux/demux_mov.o libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o libmpdemux/demux_real.o libmpdemux/demux_roq.o libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o libmpdemux/demux_viv.o libmpdemux/demux_vqf.o libmpdemux/demux_y4m.o libmpdemux/ebml.o libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o libmpdemux/parse_mp4.o libmpdemux/video.o libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o osdep/getch2.o osdep/timer-darwin.o stream/open.o stream/stream.o stream/stream_bd.o stream/stream_cue.o stream/stream_file.o stream/stream_mf.o stream/stream_null.o stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o sub/vobsub.o sub/font_load.o stream/st
 ream_dvdnav.o stream/stream_dvd.o stream/stream_dvd_common.o libmpcodecs/ad_faad.o libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcac3enc.o libaf/af_lavcresample.o libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o sub/font_load_ft.o stream/stream_ftp.o libmpdemux/demux_gif.o libmpcodecs/vf_bmovl.o libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o libaf/af_ladspa.o libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o libmpcodecs/ad_libdv.o libmpcodecs/vd_libdv.o libmpdemux/demux_rawdv.o stream/stream_rtsp.o stream/freesdp/common.o stream/freesdp/errorlist.o stream/freesdp/parser.o stream/librtsp/rtsp.o stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o stream/stream_netstream.o stream/asf_mmst_streaming.o stream/asf_streaming.o stream/cookies.o stream/http.o stream/network.o stream/pnm.o stre
 am/rtp.o stream/udp.o stream/tcp.o stream/stream_rtp.o stream/stream_udp.o stream/realrtsp/asmrp.o stream/realrtsp/real.o stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o libmpcodecs/vf_pp.o libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.o stream/cache2.o stream/frequencies.o stream/stream_tv.o stream/tv.o stream/tvi_dummy.o sub/unrar_exec.o stream/stream_vcd.o libmpcodecs/vd_xanim.o osdep/shmem.o -L/Users/scole/pkg/lib -L/usr/lib -L/Users/scole/pkg/lib/ffmpeg5 -fpie -pie -liconv -lncurses -L/Users/scole/pkg/lib -lgnutls -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore -lpng -lz -ljpeg -lgif -L/Users/scole/pkg/lib -ldvdread -L/Users/scole/pkg/lib -lfreetype -lfontconfig -lfribidi -lass -lenca -lz -lbz2 -lfaad -L/Users/scole/pkg/lib/ffmpeg5 -lswscale -lswresample -lavformat -lavcodec -lavutil -L/Users/scole/pkg/lib/ffmpeg5 -lpostproc -ldv -L/Users/scole/pkg/lib -L/Users/scole/pkg/lib -ldvdnav -lpthread
  -lm -framework IOKit -framework Cocoa -lXss -lXv -lXvMC -lXvMCW -lXinerama -lXxf86vm -lXxf86dga -framework Carbon -framework Cocoa -framework QuartzCore -framework OpenGL -lSDLmain -lSDL -Wl,-framework,Cocoa -lGL -framework CoreAudio -framework AudioUnit -framework AudioToolbox
ld: warning: ignoring duplicate libraries: '-lz'
Undefined symbols for architecture x86_64:
  "_DPMSDisable", referenced from:
      _saver_off in x11_common.o
  "_DPMSEnable", referenced from:
      _saver_on in x11_common.o
  "_DPMSForceLevel", referenced from:
      _saver_on in x11_common.o
  "_DPMSInfo", referenced from:
      _saver_off in x11_common.o
      _saver_on in x11_common.o
  "_DPMSQueryExtension", referenced from:
      _saver_off in x11_common.o
      _saver_on in x11_common.o
  "_XAllocNamedColor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XChangeProperty", referenced from:
      _vo_x11_decoration in x11_common.o
      _vo_x11_classhint in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XChangeWindowAttributes", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XClearWindow", referenced from:
      _vo_x11_uninit in x11_common.o
      _set_window in vo_xover.o
  "_XCloseDisplay", referenced from:
      _vo_uninit in x11_common.o
  "_XCreateBitmapFromData", referenced from:
      _vo_hidecursor in x11_common.o
  "_XCreateColormap", referenced from:
      _mpglcontext_create_window in gl_common.o
      _vo_x11_create_colormap in x11_common.o
      _vo_x11_create_colormap in x11_common.o
      _config in vo_xover.o
  "_XCreateGC", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XCreateImage", referenced from:
      _vo_init in x11_common.o
      _getMyXImage in vo_x11.o
  "_XCreatePixmapCursor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XCreateWindow", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XDefineCursor", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_check_events in x11_common.o
      _vo_hidecursor in x11_common.o
  "_XDestroyWindow", referenced from:
      _vo_x11_uninit in x11_common.o
  "_XDisplayName", referenced from:
      _vo_init in x11_common.o
      _preinit in vo_xvmc.o
  "_XFillRectangle", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_clearwindow in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      ...
  "_XFlush", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_clearwindow in x11_common.o
      _vo_x11_fullscreen in x11_common.o
      _vo_x11_clearwindow_part in x11_common.o
      _vo_x11_set_equalizer in x11_common.o
      _set_window in vo_xover.o
      _flip_page in vo_xv.o
      ...
  "_XFree", referenced from:
      _config in vo_dga.o
      _uninit in vo_dga.o
      _setGlWindow_x11 in gl_common.o
      _setGlWindow_x11 in gl_common.o
      _setGlWindow_x11 in gl_common.o
      _setGlWindow_x11 in gl_common.o
      _releaseGlContext_x11 in gl_common.o
      ...
  "_XFreeColors", referenced from:
      _vo_hidecursor in x11_common.o
  "_XFreeCursor", referenced from:
      _vo_hidecursor in x11_common.o
  "_XFreeGC", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_uninit in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XFreePixmap", referenced from:
      _vo_hidecursor in x11_common.o
  "_XGetAtomName", referenced from:
      _handle_x11_event in x11_common.o
      _vo_x11_setlayer in x11_common.o
  "_XGetErrorText", referenced from:
      _x11_errorhandler in x11_common.o
      _x11_selectinput_errorhandler in x11_common.o
  "_XGetGeometry", referenced from:
      _vo_x11_update_geometry in x11_common.o
      _set_window in vo_xover.o
  "_XGetImage", referenced from:
      _vo_init in x11_common.o
  "_XGetVisualInfo", referenced from:
      _setGlWindow_x11 in gl_common.o
      _config_glx in vo_gl_tiled.o
      _vo_find_depth_from_visuals in x11_common.o
  "_XGetWMNormalHints", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XGetWindowAttributes", referenced from:
      _setGlWindow_x11 in gl_common.o
      _vo_init in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _config in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
      ...
  "_XGetWindowProperty", referenced from:
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_x11_decoration in x11_common.o
      _vo_x11_setlayer in x11_common.o
  "_XGrabKeyboard", referenced from:
      _config in vo_dga.o
  "_XGrabPointer", referenced from:
      _config in vo_dga.o
      _config in vo_x11.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XInstallColormap", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XInternAtom", referenced from:
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      _vo_init in x11_common.o
      ...
  "_XLookupString", referenced from:
      _check_events in vo_gl_tiled.o
      _handle_x11_event in x11_common.o
  "_XMapRaised", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XMapWindow", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XMatchVisualInfo", referenced from:
      _config in vo_x11.o
      _config in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XMoveResizeWindow", referenced from:
      _vo_x11_nofs_sizepos in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_fullscreen in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XNextEvent", referenced from:
      _check_events in vo_gl_tiled.o
      _vo_x11_uninit in x11_common.o
      _vo_x11_check_events in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XOpenDisplay", referenced from:
      _vo_init in x11_common.o
  "_XPending", referenced from:
      _check_events in vo_gl_tiled.o
      _vo_x11_check_events in x11_common.o
      _vo_x11_check_events in x11_common.o
  "_XPutBackEvent", referenced from:
      _check_events in vo_gl_tiled.o
  "_XPutImage", referenced from:
      _flip_page in vo_x11.o
  "_XRaiseWindow", referenced from:
      _vo_x11_fullscreen in x11_common.o
  "_XResetScreenSaver", referenced from:
      _xscreensaver_heartbeat in x11_common.o
  "_XSelectInput", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
  "_XSendEvent", referenced from:
      _vo_x11_ewmh_fullscreen in x11_common.o
      _vo_x11_setlayer in x11_common.o
      _vo_x11_setlayer in x11_common.o
      _vo_x11_fullscreen in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XSetBackground", referenced from:
      _set_window in vo_xover.o
  "_XSetClassHint", referenced from:
      _vo_x11_classhint in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XSetErrorHandler", referenced from:
      _vo_init in x11_common.o
      _vo_uninit in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
  "_XSetForeground", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _vo_xv_draw_colorkey in x11_common.o
      _set_window in vo_xover.o
  "_XSetInputFocus", referenced from:
      _config in vo_x11.o
      _config in vo_xv.o
      _config in vo_xvmc.o
  "_XSetStandardProperties", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XSetTransientForHint", referenced from:
      _vo_x11_decoration in x11_common.o
  "_XSetWMNormalHints", referenced from:
      _handle_x11_event in x11_common.o
      _vo_x11_nofs_sizepos in x11_common.o
      _vo_x11_sizehint in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XSetWMProtocols", referenced from:
      _vo_x11_create_smooth_window in x11_common.o
      _vo_x11_create_vo_window in x11_common.o
  "_XShmAttach", referenced from:
      _getMyXImage in vo_x11.o
      _config in vo_xv.o
      _draw_osd in vo_xvmc.o
  "_XShmCreateImage", referenced from:
      _getMyXImage in vo_x11.o
  "_XShmDetach", referenced from:
      _config in vo_x11.o
      _draw_slice in vo_x11.o
      _uninit in vo_x11.o
      _config in vo_xv.o
      _uninit in vo_xv.o
      _xvmc_free in vo_xvmc.o
  "_XShmGetEventBase", referenced from:
      _getMyXImage in vo_x11.o
  "_XShmPutImage", referenced from:
      _flip_page in vo_x11.o
  "_XShmQueryExtension", referenced from:
      _getMyXImage in vo_x11.o
      _config in vo_xv.o
      _draw_osd in vo_xvmc.o
  "_XStoreColors", referenced from:
      _vo_x11_create_colormap in x11_common.o
      _vo_x11_set_equalizer in x11_common.o
  "_XStoreName", referenced from:
      _vo_x11_create_vo_window in x11_common.o
  "_XSync", referenced from:
      _vo_x11_create_vo_window in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
      _vo_x11_selectinput_witherr in x11_common.o
      _flip_page in vo_x11.o
      _getMyXImage in vo_x11.o
      _config in vo_xover.o
      _config in vo_xv.o
      _config in vo_xv.o
      _config in vo_xv.o
      ...
  "_XTranslateCoordinates", referenced from:
      _vo_x11_update_geometry in x11_common.o
      _set_window in vo_xover.o
  "_XUngrabKeyboard", referenced from:
      _uninit in vo_dga.o
  "_XUngrabPointer", referenced from:
      _uninit in vo_dga.o
  "_XUnmapWindow", referenced from:
      _vo_x11_uninit in x11_common.o
      _vo_x11_fullscreen in x11_common.o
  "_XVisualIDFromVisual", referenced from:
      _setGlWindow_x11 in gl_common.o
      _config in vo_x11.o
  "_XWithdrawWindow", referenced from:
      _vo_x11_fullscreen in x11_common.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:751: mplayer] Error 1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Users/scole/pkgsrc/multimedia/mplayer
*** Error code 1

Stop.
bmake: stopped making "all" in /Users/scole/pkgsrc/multimedia/mplayer



~> pkg_info |grep mplayer
mplayer-fonts-20030714nb1 Fonts for mplayer and gmplayer
mplayer-share-1.5nb16 Documentation used by mplayer and gmplayer
mplayer-1.5nb4      Fast, cross-platform movie player
>How-To-Repeat:
cd pkgsrc/multimedia/mplayer && bmake
>Fix:
if I add flags -lX11 and -lXext to pkgsrc/multimedia/work/MPlayer-1.5/Makefile, the build will then successfully complete:

--- Makefile.orig	2024-10-06 19:08:51
+++ Makefile	2024-10-06 19:09:14
@@ -748,7 +748,7 @@
 mplayer$(EXESUF): $(MPLAYER_DEPS)
 mplayer$(EXESUF): EXTRALIBS += $(EXTRALIBS_MPLAYER)
 mencoder$(EXESUF) mplayer$(EXESUF):
-	$(CC) $(CC_LINK_O) $^ $(EXTRALIBS)
+	$(CC) $(CC_LINK_O) $^ $(EXTRALIBS) -lX11 -lXext
 
 codec-cfg-test$(EXESUF): HOSTCFLAGS := $(HOSTCFLAGS) -DTESTING
 codec-cfg$(EXESUF) codecs2html$(EXESUF):  HOSTCFLAGS := $(HOSTCFLAGS) -DCODECS2HTML

Also, I don't know if this related, but to play (some/all?) videos, I need to use the args '-vo corevideo' or mplayer will crash:

mplayer some.mp4
....
libavformat version 59.27.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10c654de0]Referenced QT chapter track not found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10c654de0]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  854x480  24bpp  24.000 fps  698.2 kbps (85.2 kbyte/s)
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSSingleObjectSetI CGLPixelFormatObj]: unrecognized selector sent to instance 0x600000709180'


Home | Main Index | Thread Index | Old Index