Opened 4 years ago
Closed 4 years ago
#61000 closed defect (fixed)
mpv @0.32.0: sh: /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
Hello ,
on a fresh install of Mac OS X Yosemite the build of mpv fails
with command line tools installed (only) and with xcode 6.2 + command line tools installed (also).
error code is
:debug:configure Executing org.macports.configure (mpv) :debug:configure Environment: :debug:configure CC='/usr/bin/clang' :debug:configure CC_PRINT_OPTIONS='YES' :debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/.CC_PRINT_OPTIONS' :debug:configure CFLAGS='-pipe -Os -I/opt/local/include/LegacySupport -arch x86_64' :debug:configure CPLUS_INCLUDE_PATH='/opt/local/include/LegacySupport' :debug:configure CPPFLAGS='-isystem/opt/local/include -I/opt/local/include/LegacySupport' :debug:configure CXX='/usr/bin/clang++' :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64' :debug:configure C_INCLUDE_PATH='/opt/local/include/LegacySupport' :debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:configure F90FLAGS='-pipe -Os -m64' :debug:configure FCFLAGS='-pipe -Os -m64' :debug:configure FFLAGS='-pipe -Os -m64' :debug:configure INSTALL='/usr/bin/install -c' :debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch x86_64' :debug:configure MACOSX_DEPLOYMENT_TARGET='10.10' :debug:configure OBJC='/usr/bin/clang' :debug:configure OBJCFLAGS='-pipe -Os -arch x86_64' :debug:configure OBJCXX='/usr/bin/clang++' :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -arch x86_64' :info:configure Executing: 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 :debug:configure system: 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 :info:configure sh: /opt/local/bin/python2.7: No such file or directory :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 :info:configure Exit code: 127 :error:configure Failed to configure mpv: 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/mpv/main.log for details.
Attachments (1)
Change History (6)
Changed 4 years ago by mrkapqa
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | i0ntempest added |
---|---|
Keywords: | mpv yosemite removed |
Owner: | set to Ionic |
Status: | new → assigned |
Summary: | (10.10, mpv) Error: failed to configure → mpv @0.32.0: sh: /opt/local/bin/python2.7: No such file or directory |
Version: | → 2.6.3 |
comment:2 Changed 4 years ago by jmroot (Joshua Root)
comment:3 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!
comment:5 Changed 4 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Looks like it needs to either change waf.python or not overwrite the dependency added by the waf portgroup.