[MacPorts] #63433: gd2: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0' (was: Probably SDK error when installing a package)
MacPorts
noreply at macports.org
Wed Sep 1 20:16:07 UTC 2021
#63433: gd2: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.0'
----------------------+--------------------
Reporter: mengqiz | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: invalid | Keywords:
Port: |
----------------------+--------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => invalid
Old description:
> Hello,
>
> I tried to install gnuplot and related packages using macports 2.7.1 on
> my Macbook (Big Sur 11.5.2 with MacOSX11.1.sdk. Note that I just download
> the MacOSX11.1.sdk from internet and moved it to
> /Library/Developer/CommandLineTools/SDKs. I didn't do anything linking(?
> or do I have to?)). The following is the output. I have also attached the
> two log files mentioned below. Please have a look. May I ask how can I
> solve it? Thank you.
>
>
> sudo port install gnuplot imagemagick libav-tools smpeg-plaympeg\\
> ---> Computing dependencies for gnuplot\\
> The following dependencies will be installed:
> Xft2
> fribidi
> gd2
> graphite2
> harfbuzz
> libcaca
> libcerf
> lua
> pango
> pkgconfig
> wxWidgets-3.0
> wxWidgets-common
> wxWidgets_select
> Continue? [Y/n]: \\
> ---> Fetching archive for gd2\\
> ---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
> https://packages.macports.org/gd2\\
> ---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
> http://jog.id.packages.macports.org/macports/packages/gd2\\
> ---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
> https://pek.cn.packages.macports.org/macports/packages/gd2\\
> ---> Configuring gd2\\
> Error: Failed to configure gd2: consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2/config.log\\
> Error: Failed to configure gd2: configure failure: command execution
> failed\\
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log
> for details.\\
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.\\
> Error: Processing of port gnuplot failed
New description:
Hello,
I tried to install gnuplot and related packages using macports 2.7.1 on my
Macbook (Big Sur 11.5.2 with MacOSX11.1.sdk. Note that I just download the
MacOSX11.1.sdk from internet and moved it to
/Library/Developer/CommandLineTools/SDKs. I didn't do anything linking(?
or do I have to?)). The following is the output. I have also attached the
two log files mentioned below. Please have a look. May I ask how can I
solve it? Thank you.
{{{
sudo port install gnuplot imagemagick libav-tools smpeg-plaympeg
---> Computing dependencies for gnuplot
The following dependencies will be installed:
Xft2
fribidi
gd2
graphite2
harfbuzz
libcaca
libcerf
lua
pango
pkgconfig
wxWidgets-3.0
wxWidgets-common
wxWidgets_select
Continue? [Y/n]:
---> Fetching archive for gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
https://packages.macports.org/gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
http://jog.id.packages.macports.org/macports/packages/gd2
---> Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from
https://pek.cn.packages.macports.org/macports/packages/gd2
---> Configuring gd2
Error: Failed to configure gd2: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2/config.log
Error: Failed to configure gd2: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port gnuplot failed
}}}
--
Comment:
Replying to [ticket:63433 mengqiz]:
> Note that I just download the MacOSX11.1.sdk from internet and moved it
to /Library/Developer/CommandLineTools/SDKs.
That's not supported or recommended. Please remove it again.
There's no reason why you should want to use the old macOS 11.1 SDK when a
newer version is available. Use the latest version of the macOS 11 SDK
that comes with the latest version of the CLT that are compatible with
macOS 11.
--
Ticket URL: <https://trac.macports.org/ticket/63433#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list