{"action":"created","issue":{"url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/283","repository_url":"https://api.github.com/repos/yonaskolb/XcodeGen","labels_url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/283/labels{/name}","comments_url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/283/comments","events_url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/283/events","html_url":"https://github.com/yonaskolb/XcodeGen/issues/283","id":310921572,"node_id":"MDU6SXNzdWUzMTA5MjE1NzI=","number":283,"title":"Homebrew installation fails","user":{"login":"tkrajacic","id":873717,"node_id":"MDQ6VXNlcjg3MzcxNw==","avatar_url":"https://avatars2.githubusercontent.com/u/873717?v=4","gravatar_id":"","url":"https://api.github.com/users/tkrajacic","html_url":"https://github.com/tkrajacic","followers_url":"https://api.github.com/users/tkrajacic/followers","following_url":"https://api.github.com/users/tkrajacic/following{/other_user}","gists_url":"https://api.github.com/users/tkrajacic/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrajacic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrajacic/subscriptions","organizations_url":"https://api.github.com/users/tkrajacic/orgs","repos_url":"https://api.github.com/users/tkrajacic/repos","events_url":"https://api.github.com/users/tkrajacic/events{/privacy}","received_events_url":"https://api.github.com/users/tkrajacic/received_events","type":"User","site_admin":false},"labels":[{"id":674013998,"node_id":"MDU6TGFiZWw2NzQwMTM5OTg=","url":"https://api.github.com/repos/yonaskolb/XcodeGen/labels/bug","name":"bug","color":"b60205","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-04-03T17:09:33Z","updated_at":"2018-06-01T10:59:58Z","closed_at":"2018-04-11T13:21:15Z","author_association":"NONE","body":"When trying to install with Homebrew, I get the following error\r\n\r\n```\r\n==> make install PREFIX=/usr/local/Cellar/xcodegen/1.8.0\r\nswift build --disable-sandbox -c release -Xswiftc -static-stdlib\r\nCompile CYaml src/writer.c\r\nCompile CYaml src/scanner.c\r\nCompile CYaml src/reader.c\r\nCompile CYaml src/emitter.c\r\nCompile CYaml src/parser.c\r\nCompile CYaml src/api.c\r\nCompile Swift Module 'PathKit' (1 sources)\r\nCompile Swift Module 'AEXML' (5 sources)\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n1 error generated.\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/libxml2/module.modulemap:1:8: error: redefinition of module 'libxml2'\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\n/usr/include/libxml2/module.modulemap:1:8: note: previously defined here\r\nmodule libxml2 [system] [extern_c] {\r\n       ^\r\nerror: terminated(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /private/tmp/xcodegen-20180403-12948-166yly2/XcodeGen-1.8.0/.build/release.yaml main output:\r\n    \r\n\r\nFetching https://github.com/kylef/PathKit.git\r\nFetching https://github.com/onevcat/Rainbow.git\r\nFetching https://github.com/kylef/Commander.git\r\nFetching https://github.com/tadija/AEXML.git\r\nFetching https://github.com/kylef/Spectre.git\r\nFetching https://github.com/jpsim/Yams.git\r\nFetching https://github.com/yonaskolb/JSONUtilities.git\r\nFetching https://github.com/xcodeswift/xcproj.git\r\nFetching https://github.com/JohnSundell/ShellOut.git\r\nCloning https://github.com/kylef/PathKit.git\r\nResolving https://github.com/kylef/PathKit.git at 0.9.1\r\nCloning https://github.com/onevcat/Rainbow.git\r\nResolving https://github.com/onevcat/Rainbow.git at 3.1.1\r\nCloning https://github.com/kylef/Commander.git\r\nResolving https://github.com/kylef/Commander.git at 0.8.0\r\nCloning https://github.com/kylef/Spectre.git\r\nResolving https://github.com/kylef/Spectre.git at 0.8.0\r\nCloning https://github.com/jpsim/Yams.git\r\nResolving https://github.com/jpsim/Yams.git at 0.6.0\r\nCloning https://github.com/tadija/AEXML.git\r\nResolving https://github.com/tadija/AEXML.git at 4.2.2\r\nCloning https://github.com/yonaskolb/JSONUtilities.git\r\nResolving https://github.com/yonaskolb/JSONUtilities.git at 3.3.8\r\nCloning https://github.com/xcodeswift/xcproj.git\r\nResolving https://github.com/xcodeswift/xcproj.git at 4.2.0\r\nCloning https://github.com/JohnSundell/ShellOut.git\r\nResolving https://github.com/JohnSundell/ShellOut.git at 2.1.0\r\nmake: *** [build] Error 1\r\n\r\n==> Formula\r\nTap: yonaskolb/xcodegen\r\nPath: /usr/local/Homebrew/Library/Taps/yonaskolb/homebrew-xcodegen/Formula/xcodegen.rb\r\n==> Configuration\r\nHOMEBREW_VERSION: 1.5.14\r\nORIGIN: https://github.com/Homebrew/brew.git\r\nHEAD: 7fd6210127f088b6ee8708a1d7f4ec2df3fc5bb4\r\nLast commit: 32 hours ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: 603231ba2b0ec137ed5d74b3e3ce1a2419a62da5\r\nCore tap last commit: 2 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION: 1\r\nHOMEBREW_NO_ANALYTICS_THIS_RUN: 1\r\nCPU: octa-core 64-bit ivybridge\r\nHomebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby\r\nClang: 9.1 build 902\r\nGit: 2.17.0 => /usr/local/bin/git\r\nCurl: 7.54.0 => /usr/bin/curl\r\nJava: 1.8.0_101\r\nmacOS: 10.13.4-x86_64\r\nCLT: 9.3.0.0.1.1521514116\r\nXcode: 9.3\r\nXQuartz: 2.7.11 => /opt/X11\r\n==> ENV\r\nHOMEBREW_CC: clang\r\nHOMEBREW_CXX: clang++\r\nMAKEFLAGS: -j8\r\nCMAKE_PREFIX_PATH: /usr/local\r\nCMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers\r\nCMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries\r\nPKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13\r\nACLOCAL_PATH: /usr/local/share/aclocal\r\nPATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/bin:/bin:/usr/sbin:/sbin\r\n\r\nError: yonaskolb/xcodegen/xcodegen 1.8.0 did not build\r\nLogs:\r\n     /Users/tkrajacic/Library/Logs/Homebrew/xcodegen/01.make\r\n     /Users/tkrajacic/Library/Logs/Homebrew/xcodegen/00.options.out\r\n     /Users/tkrajacic/Library/Logs/Homebrew/xcodegen/01.make.cc\r\nIf reporting this issue please do so to (not Homebrew/brew or Homebrew/core):\r\nyonaskolb/xcodegen\r\n\r\n/usr/local/Homebrew/Library/Homebrew/utils/github.rb:220:in `raise_api_error': curl failed!   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current (GitHub::Error)\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r\ncurl: (22) The requested URL returned error: 422 Unprocessable Entity\r\ncurl: (3) <url> malformed\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/utils/github.rb:178:in `open_api'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/utils/github.rb:278:in `search'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/utils/github.rb:225:in `search_issues'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/utils/github.rb:238:in `issues_for_formula'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/exceptions.rb:368:in `fetch_issues'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/exceptions.rb:364:in `issues'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/exceptions.rb:418:in `dump'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/brew.rb:138:in `rescue in <main>'\r\n\tfrom /usr/local/Homebrew/Library/Homebrew/brew.rb:30:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/comments/393847168","html_url":"https://github.com/yonaskolb/XcodeGen/issues/283#issuecomment-393847168","issue_url":"https://api.github.com/repos/yonaskolb/XcodeGen/issues/283","id":393847168,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzg0NzE2OA==","user":{"login":"yonaskolb","id":2393781,"node_id":"MDQ6VXNlcjIzOTM3ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/2393781?v=4","gravatar_id":"","url":"https://api.github.com/users/yonaskolb","html_url":"https://github.com/yonaskolb","followers_url":"https://api.github.com/users/yonaskolb/followers","following_url":"https://api.github.com/users/yonaskolb/following{/other_user}","gists_url":"https://api.github.com/users/yonaskolb/gists{/gist_id}","starred_url":"https://api.github.com/users/yonaskolb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonaskolb/subscriptions","organizations_url":"https://api.github.com/users/yonaskolb/orgs","repos_url":"https://api.github.com/users/yonaskolb/repos","events_url":"https://api.github.com/users/yonaskolb/events{/privacy}","received_events_url":"https://api.github.com/users/yonaskolb/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T10:59:57Z","updated_at":"2018-06-01T10:59:57Z","author_association":"OWNER","body":"Possible homebrew fix here https://github.com/Homebrew/brew/pull/4147"}}
{"actor":{"display_login":"yonaskolb"}}