Opened 10 months ago

Closed 10 months ago

Last modified 10 months ago

#69260 closed defect (duplicate)

mpv-legacy @0.36.0: C11 atomics are required; you may need a newer compiler

Reported by: mrkapqa Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: mountainlion mavericks Cc: barracuda156
Port: mpv-legacy

Description

Hello ,

on installing Mountain Lion and mpv-legacy via macports receiving this error

:info:configure Checking for pthread runtime debugging wrappers                           : disabled 
:info:configure Checking for C11 stdatomic.h                                              : no 
:info:configure C11 atomics are required; you may need a newer compiler
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv-legacy/mpv-legacy/work/mpv-0.36.0" && /opt/local/bin/python3.11 ./waf configure --prefix=/opt/local --disable-cocoa --enable-cplugins --enable-manpage-build --disable-swift --enable-zlib --disable-android --disable-audiounit --disable-coreaudio --disable-cuda-hwaccel --disable-direct3d --disable-dvbin --disable-egl-angle-lib --disable-egl-angle-win32 --disable-egl-drm --disable-html-build --disable-ios-gl --disable-opensles --disable-rpi --disable-videotoolbox-gl --disable-caca --enable-cdda --disable-clang-database --disable-debug-build --enable-dvdnav --disable-egl-x11 --enable-gl --disable-gl-cocoa --enable-gl-x11 --disable-jack --disable-javascript --disable-jpeg --enable-libarchive --disable-openal --disable-pdf-build --disable-pulse --enable-rubberband --disable-tv --disable-uchardet --disable-vapoursynth --enable-x11 --enable-xv --enable-lua --lua=52fbsd 
:info:configure Exit code: 1
:error:configure Failed to configure mpv-legacy: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv-legacy/mpv-legacy/main.log for details.

thank you very much

Attachments (2)

mpv0legacy.log (315.7 KB) - added by mrkapqa 10 months ago.
mavericks.log (254.7 KB) - added by mrkapqa 10 months ago.

Download all attachments as: .zip

Change History (6)

Changed 10 months ago by mrkapqa

Attachment: mpv0legacy.log added

comment:1 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: barracuda156 added
Keywords: mountainlion mavericks added; mpv-legacy mountain lion atomics removed
Resolution: duplicate
Status: newclosed
Summary: (mpv-legacy,10.8.5) C11 atomics are required; you may need a newer compilermpv-legacy @0.36.0: C11 atomics are required; you may need a newer compiler

Duplicate of #67166.

Changed 10 months ago by mrkapqa

Attachment: mavericks.log added

comment:2 Changed 10 months ago by mrkapqa

getting similar error for 10.9.5 mavericks, thank you.

comment:3 Changed 10 months ago by mrkapqa

build would function for yosemite 10.10.5, however, the build "mpv-legacy" seems lacking function, since i am not able to switch audio channels inside a .mkv which clearly has several audio present.

using an older pre0build mpv 28 from mpv.io let me easily switch audio channels via pressing "#" key.

 mpv
mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on Fri Feb 02 01:34:06 2024
FFmpeg version: 4.4.4
FFmpeg library versions:
   libavutil       56.70.100
   libavcodec      58.134.100
   libavformat     58.76.100
   libswscale      5.9.100
   libavfilter     7.110.100
   libswresample   3.9.100

Usage:   mpv [options] [url|path/]filename

Basic options:
 --start=<time>    seek to given (percent, seconds, or hh:mm:ss) position
 --no-audio        do not play sound
 --no-video        do not play video
 --fs              fullscreen playback
 --sub-file=<file> specify subtitle file to use
 --playlist=<file> specify playlist file

 --list-options    list all mpv options
 --h=<string>      print options which contain the given string in their name

richs-Mac-mini:~ rich$ mpv /Volumes/Video/LOTR\ Trilogy/The\ Lord\ of\ the\ Rings-\ The\ Return\ of\ the\ King_t00.mkv 
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
File tags:
 Title: The Lord of the Rings: The Return of the King
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/xv] No Xvideo support found.
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
Could not open/initialize audio device -> no sound.
Audio: no audio
VO: [x11] 1920x796 yuv420p
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
V: 00:00:02 / 03:21:01 (0%) Cache: 296s/150MB
Track switched:
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
AV: 00:00:02 / 03:21:01 (0%) A-V:  0.000 Cache: 0.0s
Could not open/initialize audio device -> no sound.
Audio: no audio
V: 00:00:02 / 03:21:01 (0%) Dropped: 2 Cache: 295s/150MB
Track switched:
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
AV: 00:00:02 / 03:21:01 (0%) A-V:  0.000 Dropped: 2 Cache: 0.0s
Could not open/initialize audio device -> no sound.
Audio: no audio
V: 00:00:03 / 03:21:01 (0%) Dropped: 2 Cache: 295s/150MB
Track switched:
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
AV: 00:00:03 / 03:21:01 (0%) A-V:  0.000 Dropped: 2 Cache: 0.0s
Could not open/initialize audio device -> no sound.
Audio: no audio
V: 00:00:03 / 03:21:01 (0%) Dropped: 2 Cache: 232s/122MB
Track switched:
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
AV: 00:00:03 / 03:21:01 (0%) A-V:  0.000 Dropped: 2 Cache: ???/78KB
Could not open/initialize audio device -> no sound.
Audio: no audio
V: 00:00:03 / 03:21:01 (0%) Dropped: 2 Cache: 258s/135MB
Track switched:
 (+) Video --vid=1 (*) (h264 1920x796 23.976fps)
 (+) Audio --aid=1 --alang=ita (*) 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=2 --alang=ita 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=3 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
     Audio --aid=4 --alang=eng 'Surround 5.1' (aac 2ch 48000Hz)
 (*) Subs  --sid=1 --slang=ita [F] (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=eng (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=eng (hdmv_pgs_subtitle)
AV: 00:00:03 / 03:21:01 (0%) A-V:  0.000 Dropped: 2 Cache: ???/45KB
Could not open/initialize audio device -> no sound.
Audio: no audio
V: 00:00:04 / 03:21:01 (0%) Dropped: 2 Cache: 294s/150MB

Exiting... (Quit)
richs-Mac-mini:~ rich$ 

comment:4 Changed 10 months ago by barracuda156

Thank you for reporting, I will look into this.

Note: See TracTickets for help on using tickets.