Opened 4 years ago

Closed 4 years ago

#62057 closed defect (invalid)

sshpass: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.1'

Reported by: saenara (Oleg Evdokimov) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: sshpass

Description (last modified by ryandesign (Ryan Carsten Schmidt))

sshpass build fails at configuration step

--->  Configuring sshpass
Error: Failed to configure sshpass, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_sshpass/sshpass/work/sshpass-1.06/config.log
Error: Failed to configure sshpass: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_sshpass/sshpass/main.log for details.

But if you go to the build directory and run

sudo ./configure --prefix=/opt/local

it will succeeded.

Attachments (3)

main.log (73.3 KB) - added by saenara (Oleg Evdokimov) 4 years ago.
config.log (8.7 KB) - added by saenara (Oleg Evdokimov) 4 years ago.
config.succeeded.log (31.9 KB) - added by saenara (Oleg Evdokimov) 4 years ago.
config.log resulted by manual execution of sudo ./configure --prefix=/opt/local

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by saenara (Oleg Evdokimov)

Attachment: main.log added

Changed 4 years ago by saenara (Oleg Evdokimov)

Attachment: config.log added

Changed 4 years ago by saenara (Oleg Evdokimov)

Attachment: config.succeeded.log added

config.log resulted by manual execution of sudo ./configure --prefix=/opt/local

comment:1 Changed 4 years ago by saenara (Oleg Evdokimov)

% cc -v
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

comment:2 Changed 4 years ago by kencu (Ken)

configure:3249: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 conftest.c  >&5
97	clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.1'

comment:3 Changed 4 years ago by saenara (Oleg Evdokimov)

% xcrun --show-sdk-version
11.1

comment:4 Changed 4 years ago by saenara (Oleg Evdokimov)

Fixed by reinstalling CLT from scratch & removing port build directory.

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

Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: sshpass won't buildsshpass: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.1'

Ok. Remember to keep your CLT and Xcode updated in the future.

Note: See TracTickets for help on using tickets.