Did you just upgrade your Mac OSX? I think you need to install the right version of Xcode to fix the issue.
Willem Jiang Twitter: willemjiang Weibo: 姜宁willem On Tue, Dec 24, 2019 at 2:25 PM Juan Pan <[email protected]> wrote: > > Hi > > > LICENSE, NOTICE, Checksums and PGP signatures have no problems, however when > i installed this release, some exceptions threw up as follows. Does anyone > run into this similar situation? > > > ------------- > xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer > directory '/Library/Developer/CommandLineTools' is a command line tools > instance > xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer > directory '/Library/Developer/CommandLineTools' is a command line tools > instance > Traceback (most recent call last): > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", > line 16, in <module> > sys.exit(gyp.script_main()) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", > line 545, in script_main > return main(sys.argv[1:]) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", > line 538, in main > return gyp_main(args) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", > line 523, in gyp_main > generator.GenerateOutput(flat_list, targets, data, params) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", > line 2170, in GenerateOutput > part_of_all=qualified_target in needed_targets) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", > line 795, in Write > self.Pchify)) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", > line 1190, in WriteSources > cflags = self.xcode_settings.GetCflags(configname) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", > line 551, in GetCflags > archs = self.GetActiveArchs(self.configname) > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", > line 420, in GetActiveArchs > xcode_archs_default = GetXcodeArchsDefault() > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", > line 118, in GetXcodeArchsDefault > xcode_version, _ = XcodeVersion() > File > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", > line 1265, in XcodeVersion > version = re.match(r'(\d\.\d\.?\d*)', version).groups()[0] > AttributeError: 'NoneType' object has no attribute 'groups' > gyp ERR! configure error > gyp ERR! stack Error: `gyp` failed with exit code: 1 > gyp ERR! stack at ChildProcess.onCpExit > (/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16) > gyp ERR! stack at emitTwo (events.js:106:13) > gyp ERR! stack at ChildProcess.emit (events.js:191:7) > gyp ERR! stack at Process.ChildProcess._handle.onexit > (internal/child_process.js:215:12) > gyp ERR! System Darwin 17.7.0 > gyp ERR! command > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node" > > "/Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" > "rebuild" > gyp ERR! cwd > /Users/trista/Downloads/apache-shardingsphere-incubating-4.0.0-src-release/sharding-ui/sharding-ui-frontend/node_modules/fsevents > gyp ERR! node -v v6.10.0 > gyp ERR! node-gyp -v v3.4.0 > gyp ERR! not ok > ---------- > > > > > Juan Pan (Trista) > > Senior DBA & PPMC of Apache ShardingSphere(Incubating) > E-mail: [email protected] > > > > > On 12/23/2019 21:15,[email protected]<[email protected]> wrote: > Hello ShardingSphere Community, > > This is a call for vote to release Apache ShardingSphere (Incubating) > version 4.0.0 > > Release notes: > https://github.com/apache/incubator-shardingsphere/blob/dev/RELEASE-NOTES.md > > The release candidates: > https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/4.0.0/ > > Maven 2 staging repository: > https://repository.apache.org/content/repositories/orgapacheshardingsphere-1028/org/apache/shardingsphere/ > > Git tag for the release: > https://github.com/apache/incubator-shardingsphere/tree/4.0.0/ > > Release Commit ID: > https://github.com/apache/incubator-shardingsphere/commit/76d011b310554d1c03540038173f03841706d623 > > Keys to verify the Release Candidate: > https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/KEYS > > Look at here for how to verify this release candidate: > https://shardingsphere.apache.org/community/en/contribute/release/ > > The vote will be open for at least 72 hours or until necessary number of > votes are reached. > > Please vote accordingly: > > [ ] +1 approve > > [ ] +0 no opinion > > [ ] -1 disapprove with the reason > > Checklist for reference: > > [ ] Download links are valid. > > [ ] Checksums and PGP signatures are valid. > > [ ] DISCLAIMER is included. > > [ ] Source code artifacts have correct names matching the current release. > > [ ] LICENSE and NOTICE files are correct for each ShardingSphere repo. > > [ ] All files have license headers if necessary. > > [ ] No compiled archives bundled in source archive. > > ------------------ > > Liang Zhang (John) > Apache ShardingSphere & Dubbo
