[MacPorts] #54633: ffmpeg, ffmpeg-devel: not distributable on Snow Leopard
MacPorts
noreply at macports.org
Sat May 15 16:21:35 UTC 2021
#54633: ffmpeg, ffmpeg-devel: not distributable on Snow Leopard
-----------------------------------+----------------------
Reporter: ryandesign | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: ffmpeg, ffmpeg-devel |
-----------------------------------+----------------------
Comment (by mascguy):
Well, the output of `port licensecheck` shows us the dependency chain, so
there's no longer a mystery:
{{{
license "GPL" conflicts with license "OpenSSL": librsvg -> glib2 ->
python27 -> openssl
license "GPL" conflicts with license "SSLeay": librsvg -> glib2 ->
python27 -> openssl
}}}
Taking this a step further, and reviewing the dependencies of `glib2`:
{{{
$ port deps glib2 os.major=10
Full Name: glib2 @2.58.3_1+x11
Extract Dependencies: xz
Build Dependencies: autoconf, automake, libtool, libxml2, pkgconfig,
clang-3.7
Library Dependencies: gettext, libffi, libiconv, pcre, zlib, python27,
libcxx
$ port deps glib2 os.major=11
Full Name: glib2 @2.58.3_1+x11
Extract Dependencies: xz
Build Dependencies: autoconf, automake, libtool, libxml2, pkgconfig,
clang-3.7
Library Dependencies: gettext, libffi, libiconv, pcre, zlib
}}}
We can see that `glib2` has a lib dependency on `python27`, that only
exists for 10.6. And per the `glib2` portfile:
{{{
if {${os.platform} eq "darwin" && ${os.major} <= 10} {
# Requires python 2.7 as of 2.53.4
# See https://bugzilla.gnome.org/show_bug.cgi?id=785193
depends_lib-append port:python27
configure.python ${prefix}/bin/python2.7
}
}}}
So I think that's our answer. Ryan, does `glib2` truly have a lib
dependency on `python27`? Or is it build-time only?
--
Ticket URL: <https://trac.macports.org/ticket/54633#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list