Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61051 closed defect (duplicate)

mpv @0.32.0_1 configure failure: /opt/local/bin/python2.7: No such file or directory

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

Description (last modified by mrkapqa)

Hello ,

on a fresh installation of Mac Osx Lion (10.7.4) with Xcode 4.6.3 and Command Line Tools installed,

following error occurs

--->  Configuring mpv
Error: Failed to configure mpv: configure failure: command execution failed

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by mrkapqa

Attachment: log.log added

comment:1 Changed 4 years ago by mrkapqa

Description: modified (diff)

comment:2 Changed 4 years ago by mrkapqa

the last lines from the log are like

:info:configure sh: /opt/local/bin/python2.7: No such file or directory
2700	:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.32.0" && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --enable-manpage-build --enable-libass --enable-coreaudio --disable-cocoa --enable-cplugins --enable-zlib --disable-swift --disable-html-build --disable-videotoolbox-gl --disable-cuda-hwaccel --disable-opensles --disable-egl-drm --disable-egl-angle-lib --disable-egl-angle-win32 --disable-audiounit --disable-ios-gl --disable-direct3d --disable-android --disable-rpi --disable-dvbin --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-libsmbclient --disable-openal --disable-pdf-build --disable-pulse --enable-rubberband --disable-test --disable-tv --disable-uchardet --disable-vapoursynth --enable-x11 --enable-xv --enable-lua --lua=52fbsd --enable-libass-osd
2701	:info:configure Exit code: 127
2702	:error:configure Failed to configure mpv: configure failure: command execution failed
2703	:debug:configure Error code: NONE
2704	:debug:configure Backtrace: configure failure: command execution failed
2705	:debug:configure     while executing
2706	:debug:configure "$procedure $targetname"
2707	:error:configure 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.

Thank you very much

comment:3 Changed 4 years ago by kencu (Ken)

It is very hard to decipher exactly what all the python code in mpv is attempting to accomplish, but to solve your immediate problem, install python-2.7 and try your build again and you should be good to go.

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

Cc: i0ntempest added
Keywords: mpv lion removed
Owner: set to Ionic
Status: newassigned
Summary: (mpv,lion) configure failure: command execution failedmpv @0.32.0_1 configure failure: /opt/local/bin/python2.7: No such file or directory

Looks like it needs to either change waf.python or not overwrite the dependency added by the waf portgroup.

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

Resolution: duplicate
Status: assignedclosed

comment:6 Changed 4 years ago by mrkapqa

Thank you very much, this has been solved.

i did

sudo port install python27 

but without

sudo port select --set python python27

as has been suggested by macports;

afterwards,

sudo port install mpv

ran through with

--->  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.32.0/TOOLS/config-maintainer
Warning: reinplace /@@HWDEC@@/d 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.32.0/TOOLS/config-maintainer
Warning: reinplace /@@HWDEC_CUDA@@/d 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.32.0/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.32.0/TOOLS/config-maintainer
--->  Building mpv
--->  Staging mpv into destroot
--->  Installing mpv @0.32.0_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python38+rubberband+x11
--->  Activating mpv @0.32.0_1+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python38+rubberband+x11
--->  Cleaning mpv
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
--->  Some of the ports you installed have notes:
  mpv has the following notes:
    The maintainer ships his personal config file in
    * /opt/local/share/doc/mpv/examples/config-maintainer.
    
    You are strongly encouraged to copy this file to either
    * /opt/local/etc/mpv/mpv.conf (globally for all users of the system) or
    * ~/.config/mpv/config (only for your current user)
    and adjust it to your needs.
    
    If you previously had your configuration file in
    * ~/.mpv/config
    please migrate it to
    * ~/.config/mpv/config
    which is the location preferred by upstream.
    Sadly, your system is incapable of utilizing mpv's hardware decoding
    features.
    
    The example config file will not include a hardware decoding option. Consult
    ``man mpv'' for further information.
    
    To play Bluray discs with AACS encryption, decryption key database file
    "keydb.cfg" needs to be placed at:
    * ~/Library/Preferences/aacs/ (on macOS, or)
    * ~/.config/aacs/ (on other darwin).
    You can easily find this file on the internet.

very fond of this program!

EDIT: don't know if

sudo port install python27

was necessary or not but now it is installed mpv for lion 10.7.4

Note: See TracTickets for help on using tickets.