{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/31483","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/31483/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/31483/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/31483/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/31483","id":354086143,"node_id":"MDU6SXNzdWUzNTQwODYxNDM=","number":31483,"title":"luajit fails to build on macOS 10.14 Mojave","user":{"login":"fxcoudert","id":1980544,"node_id":"MDQ6VXNlcjE5ODA1NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1980544?v=4","gravatar_id":"","url":"https://api.github.com/users/fxcoudert","html_url":"https://github.com/fxcoudert","followers_url":"https://api.github.com/users/fxcoudert/followers","following_url":"https://api.github.com/users/fxcoudert/following{/other_user}","gists_url":"https://api.github.com/users/fxcoudert/gists{/gist_id}","starred_url":"https://api.github.com/users/fxcoudert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxcoudert/subscriptions","organizations_url":"https://api.github.com/users/fxcoudert/orgs","repos_url":"https://api.github.com/users/fxcoudert/repos","events_url":"https://api.github.com/users/fxcoudert/events{/privacy}","received_events_url":"https://api.github.com/users/fxcoudert/received_events","type":"User","site_admin":false},"labels":[{"id":955874870,"node_id":"MDU6TGFiZWw5NTU4NzQ4NzA=","url":"https://api.github.com/repos/Homebrew/homebrew-core/labels/10.14","name":"10.14","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-26T11:11:09Z","updated_at":"2018-08-30T23:17:09Z","closed_at":"2018-08-30T23:17:09Z","author_association":"MEMBER","body":"Part of #28817 . `luajit` fails to build on macOS 10.14 Mojave. During the `make amalg` step, it errors out with:\r\n\r\n```\r\nHOSTLINK  host/minilua\r\nld: library not found for -lgcc_s.10.4\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [host/minilua] Error 1\r\n```\r\n\r\nmacOS 10.14 / Xcode 10 have removed `libgcc_s.10.4`, but I do not know why this is called because nothing specifies `-mmacosx-min`. The `clang` command is the following:\r\n\r\n```\r\nclang called with: -o host/minilua host/minilua.o -lm\r\nsuperenv added:    -pipe -w -O2 -march=native -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names\r\nsuperenv executed: clang -pipe -w -O2 -march=native -o host/minilua host/minilua.o -lm -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names\r\n```\r\n\r\nWhat is very weird is that actually running this exact command shown above, from the shell, succeeds in building `host/minilua` correctly."}}
{"actor":{"display_login":"DomT4"}}