{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44378","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44378/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44378/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44378/events","html_url":"https://github.com/Homebrew/homebrew/issues/44378","id":108529202,"number":44378,"title":"QEMU: --enable-sdl not compatible with --enable-cocoa when installing HEAD","user":{"login":"samvv","id":2771691,"avatar_url":"https://avatars.githubusercontent.com/u/2771691?v=3","gravatar_id":"","url":"https://api.github.com/users/samvv","html_url":"https://github.com/samvv","followers_url":"https://api.github.com/users/samvv/followers","following_url":"https://api.github.com/users/samvv/following{/other_user}","gists_url":"https://api.github.com/users/samvv/gists{/gist_id}","starred_url":"https://api.github.com/users/samvv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvv/subscriptions","organizations_url":"https://api.github.com/users/samvv/orgs","repos_url":"https://api.github.com/users/samvv/repos","events_url":"https://api.github.com/users/samvv/events{/privacy}","received_events_url":"https://api.github.com/users/samvv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-27T10:54:24Z","updated_at":"2015-10-03T02:46:46Z","closed_at":null,"body":"When installing qemu with `--with-sdl`, the default `--enable-cocoa`-flag should be disabled. No idea if it is possible, though. Maybe by making cocoa optional?\r\n\r\n    $ brew install qemu --HEAD --with-sdl\r\n    ==> Installing dependencies for qemu: glib\r\n    ==> Installing qemu dependency: glib\r\n    ==> Downloading https://homebrew.bintray.com/bottles/glib-2.46.0.yosemite.bottle.tar.gz\r\n    Already downloaded: /Library/Caches/Homebrew/glib-2.46.0.yosemite.bottle.tar.gz\r\n    ==> Pouring glib-2.46.0.yosemite.bottle.tar.gz\r\n    🍺  /usr/local/Cellar/glib/2.46.0: 416 files, 18M\r\n    ==> Installing qemu\r\n    ==> Cloning git://git.qemu-project.org/qemu.git\r\n    Cloning into '/Library/Caches/Homebrew/qemu--git'...\r\n    remote: Counting objects: 4576, done.\r\n    remote: Compressing objects: 100% (3777/3777), done.\r\n    remote: Total 4576 (delta 985), reused 2404 (delta 706)\r\n    Receiving objects: 100% (4576/4576), 11.81 MiB | 1.39 MiB/s, done.\r\n    Resolving deltas: 100% (985/985), done.\r\n    Checking connectivity... done.\r\n    ==> Checking out branch master\r\n    ==> ./configure --prefix=/usr/local/Cellar/qemu/HEAD --cc=clang --host-cc=clang --enable-cocoa --disa\r\n    Last 15 lines from /Users/samvv/Library/Logs/Homebrew/qemu/01.configure:\r\n    ./configure\r\n    --prefix=/usr/local/Cellar/qemu/HEAD\r\n    --cc=clang\r\n    --host-cc=clang\r\n    --enable-cocoa\r\n    --disable-bsd-user\r\n    --disable-guest-agent\r\n    --enable-sdl\r\n    --disable-vde\r\n    --disable-gtk\r\n    --disable-libssh2\r\n\r\n    ERROR: Cocoa and SDL UIs cannot both be enabled at once\r\n\r\n    READ THIS: https://git.io/brew-troubleshooting\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/145195098","html_url":"https://github.com/Homebrew/homebrew/issues/44378#issuecomment-145195098","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44378","id":145195098,"user":{"login":"dunn","id":985416,"avatar_url":"https://avatars.githubusercontent.com/u/985416?v=3","gravatar_id":"","url":"https://api.github.com/users/dunn","html_url":"https://github.com/dunn","followers_url":"https://api.github.com/users/dunn/followers","following_url":"https://api.github.com/users/dunn/following{/other_user}","gists_url":"https://api.github.com/users/dunn/gists{/gist_id}","starred_url":"https://api.github.com/users/dunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dunn/subscriptions","organizations_url":"https://api.github.com/users/dunn/orgs","repos_url":"https://api.github.com/users/dunn/repos","events_url":"https://api.github.com/users/dunn/events{/privacy}","received_events_url":"https://api.github.com/users/dunn/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T02:46:46Z","updated_at":"2015-10-03T02:46:46Z","body":"That can definitely be done, but we should only do it for HEAD builds; stable `--with-sdl` works."}}