Opened 11 years ago
Closed 11 years ago
#40470 closed defect (worksforme)
libass configure error
Reported by: | cae51 | Owned by: | coax@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
Port: | libass |
Description
sudo port install ffmpeg fails with
Failed to configure libass, consult /opt/...libass-0.10.config.log Error: org.macports.configure for port libass returned: configure failure: command execution failed
port version: 2.2.0
clang version 4.2 (clang-425.0.28)
target: x86-64-apple-darwin
xcode 4.6.3
Problem started when doing a port upgrade outdated.
Did a sudo port clean ffmpeg --- same error
Un-installed all of MacPorts, downloaded new package and installed --- same error
Attachments (2)
Change History (8)
Changed 11 years ago by cae51
Attachment: | config.log added |
---|
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | jeremyhu@… added |
---|---|
Keywords: | configure error build failure removed |
Owner: | changed from macports-tickets@… to devans@… |
Summary: | ffmpeg configure error - build failure → ffmpeg configure error |
Changed 11 years ago by cae51
comment:2 Changed 11 years ago by cae51
commands sequence at cli; and attached main.log. Thanks.
MacBook-Air:~ cae$ sudo port clean ffmpeg Password: ---> Cleaning ffmpeg MacBook-Air:~ cae$ find /opt/local/ -name main.log /opt/local//var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmake/gmake/main.log /opt/local//var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/main.log MacBook-Air:~ cae$ sudo port install ffmpeg Password: ---> Computing dependencies for ffmpeg ---> Dependencies to be installed: libass libbluray libmodplug libopus libsdl xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 db_select libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvpx openjpeg15 jbigkit lcms2 jpeg tiff schroedinger orc speex x264 ---> Configuring libass Error: Failed to configure libass, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/work/libass-0.10.1/config.log Error: org.macports.configure for port libass returned: configure failure: command execution failed Error: Failed to install libass Please see the log file for port libass for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/main.log Error: The following dependencies were not installed: libass libbluray libmodplug libopus libsdl xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db46 db_select libedit openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-xextproto xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvpx openjpeg15 jbigkit lcms2 jpeg tiff schroedinger orc speex x264 Error: Processing of port ffmpeg failed
comment:3 Changed 11 years ago by mf2k (Frank Schima)
Owner: | changed from devans@… to coax@… |
---|---|
Port: | libass added; ffmpeg removed |
Summary: | ffmpeg configure error → libass configure error |
The error is in libass.
:info:configure checking for pkg-config... no :info:configure checking for FREETYPE... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/work/libass-0.10.1': :info:configure configure: error: The pkg-config script could not be found or is too old. Make sure it :info:configure is in your PATH or set the PKG_CONFIG environment variable to the full :info:configure path to pkg-config.
What is the output of the following?
port installed pkgconfig
comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
It's listed as a build dependency of libass.
comment:5 Changed 11 years ago by cae51
Apologies for the delay in replying.
MacBook-Air:~ cae$ port installed pkgconfig The following ports are currently installed: pkgconfig @0.28_0 (active)
HOWEVER, this info may not be relevant, because a couple of day back I deleted MacPorts completely (which I've done before) but this time I also deleted /opt/local. Then downloaded a fresh copy of the installer and installed it. Then I tried sudo port install ffmpeg, with success. Perhaps the new install corrected the problem with libass or pkgconfig? Whatever it was, ffmpeg now works fine.
Thanks again for the help.
comment:6 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Thanks for the ticket. In the future, please Cc relevant port maintainers (
port info --maintainers
).Please clean, try again, and attach the main.log.