Opened 4 years ago

Closed 4 years ago

#62540 closed defect (invalid)

gd2: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.2'

Reported by: adolfo-avella Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur Cc:
Port: gd2

Description

impossible to install gnuplot because of gd2 on macOS Big Sur

Attachments (2)

config.log (12.8 KB) - added by adolfo-avella 4 years ago.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2/config.log
main.log (175.7 KB) - added by adolfo-avella 4 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/main.log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Priority: HighNormal

Explain.

comment:2 Changed 4 years ago by Schamschula (Marius Schamschula)

Port: gd2 added

Do you have any logs?

I have gd2 @2.3.2_0+x11 installed on my M1 mac mini.

comment:3 Changed 4 years ago by adolfo-avella

--->  Fetching archive for gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.x86_64.tbz2 from http://fco.it.packages.macports.org/gd2
--->  Configuring gd2
Error: Failed to configure gd2, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_release_tarballs_ports_graphics_gd2/gd2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuplot failed
Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 4 years ago by adolfo-avella

Attachment: config.log added

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/work/libgd-2.3.2/config.log

Changed 4 years ago by adolfo-avella

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2/gd2/main.log

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added
Summary: impossible to install gnuplot because of gd2gd2: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.2'

Ok, main.log says:

configure: error: C compiler cannot create executables

and config.log says the reason for that is:

clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.2'

We have seen this in other tickets and as I recall the problem is that your Xcode command line tools are too old. Please manually install the version that matches your Xcode version (which, according to your main.log, is 12.4): https://developer.apple.com/download/more/?=Command%20Line%20Tools%20for%20Xcode%2012.4

Remember to manually update your command line tools every time you update Xcode.

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.