Opened 4 years ago

Closed 3 years ago

#62854 closed defect (fixed)

mpv @0.33.1_1 configure failure: C11 atomics are required

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: mavericks Cc: i0ntempest
Port: mpv

Description

Hello ,

on a fresh installation of Mpv on Mac OS Mavericks i get the following error

--->  Attempting to fetch mpv-0.33.1_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39+rubberband+x11.darwin_13.x86_64.tbz2 from https://cph.dk.packages.macports.org/mpv
--->  Configuring mpv
Warning: reinplace s/@@NETWORK@@// didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS/config-maintainer
Warning: reinplace s/@@HWDEC@@// didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS/config-maintainer
Warning: reinplace s/@@HWDEC_CUDA@@// didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS/config-maintainer
Warning: reinplace s/@@BACKEND@@/cocoa/ didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS/config-maintainer
Error: Failed to configure mpv: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a 

Please let me know how i can correct this, thank you very much.

(i used macports 2.7 beta)

Attachments (1)

log.log (491.4 KB) - added by mrkapqa 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by mrkapqa

Attachment: log.log added

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Cc: i0ntempest added
Keywords: mpv removed
Owner: set to Ionic
Status: newassigned
Summary: (10.9 - mpv) Warning: reinplace s/@@NETWORK@@// didn't change anything in /opt/local/var/macports/build/_mpv @0.33.1_1 configure failure: C11 atomics are required

comment:2 Changed 4 years ago by i0ntempest

I believe atomics is in Xcode 7 and later and your OS supports up to Xcode 5, so I don't think it's possible to build mpv there. A earlier version might build fine but mpv is already hard to maintain with only one version.

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

Has duplicate #63753.

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Atomics are a feature of the compiler, no? So it should be buildable on older systems by using a newer compiler, which MacPorts will do automatically due to [8222cfaa4124483d2faad4f35a209885d440dd61/macports-ports] (which was committed months before this ticket was filed...)

We do already show successful builds on the buildbot on Snow Leopard, and I filed a PR today to fix build failure on Lion, so building on older systems should work fine. There is still an open ticket about a build failure on Mavericks which needs a separate fix.

Note: See TracTickets for help on using tickets.