{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/20547","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/20547/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/20547/comments","events_url":"https://api.github.com/repos/golang/go/issues/20547/events","html_url":"https://github.com/golang/go/issues/20547","id":232850380,"number":20547,"title":"gomobile: audio failing on against latest ndk-bundle (14.1.3816874)","user":{"login":"joeblew99","id":11999859,"avatar_url":"https://avatars3.githubusercontent.com/u/11999859?v=3","gravatar_id":"","url":"https://api.github.com/users/joeblew99","html_url":"https://github.com/joeblew99","followers_url":"https://api.github.com/users/joeblew99/followers","following_url":"https://api.github.com/users/joeblew99/following{/other_user}","gists_url":"https://api.github.com/users/joeblew99/gists{/gist_id}","starred_url":"https://api.github.com/users/joeblew99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeblew99/subscriptions","organizations_url":"https://api.github.com/users/joeblew99/orgs","repos_url":"https://api.github.com/users/joeblew99/repos","events_url":"https://api.github.com/users/joeblew99/events{/privacy}","received_events_url":"https://api.github.com/users/joeblew99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-01T11:36:09Z","updated_at":"2017-06-08T07:17:46Z","closed_at":"2017-06-08T07:17:46Z","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n### What version of Go are you using (`go version`)?\r\n1.8.3 on OSX\r\n\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/apple/workspace/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/opt/go/libexec\"\r\nGOTOOLDIR=\"/usr/local/opt/go/libexec/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/go-build232777235=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nPKG_CONFIG=\"pkg-config\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\n\r\n\r\n\r\n### What did you do?\r\n\r\nthis is a full reproduction..\r\n\r\n```\r\n\r\n# Instal Android SDK\r\nbrew cask install android-sdk\r\n\r\n# Install Android NDK\r\n# NOTE: This can take 10 minutes, and there is no stdout to tell you its happening. So just wait.\r\nsdkmanager \"ndk-bundle\"\r\n\r\n# Export Paths for tooling to use.\r\nexport ANDROID_SDK=/usr/local/Caskroom/android-sdk/25.2.3\r\nexport ANDROID_NDK=$ANDROID_SDK/ndk-bundle\r\n\r\n## Check versions...\r\nsdkmanager --list\r\nWarning: File /Users/apple/.android/repositories.cfg could not be loaded.\r\nInstalled packages:\r\n  Path                 | Version      | Description                    | Location             \r\n  -------              | -------      | -------                        | -------              \r\n  build-tools;25.0.2   | 25.0.2       | Android SDK Build-Tools 25.0.2 | build-tools/25.0.2/  \r\n  emulator             | 26.0.3       | Android Emulator               | emulator/            \r\n  ndk-bundle           | 14.1.3816874 | NDK                            | ndk-bundle/          \r\n  patcher;v4           | 1            | SDK Patch Applier v4           | patcher/v4/          \r\n  platform-tools       | 25.0.6       | Android SDK Platform-Tools     | platform-tools/      \r\n  platforms;android-25 | 3            | Android SDK Platform 25        | platforms/android-25/\r\n  tools                | 26.0.2       | Android SDK Tools              | tools/   \r\n\r\n# Install gomobile\r\ngo get -u golang.org/x/mobile/cmd/gomobile\r\ngomobile version\r\ngomobile version +44a54e9 Wed May 24 10:27:38 2017 +0000 (android,ios); androidSDK=/usr/local/Caskroom/android-sdk/25.2.3/platforms/android-25\r\n\r\n\r\n\r\n# Get the golang demo app....\r\ngo get https://github.com/nobonobo/nobopiano\r\ncd $GOPATH/src/github.com/nobonobo/nobopiano\r\n\r\n\r\ngomobile build -target=android\r\ngomobile: go build -pkgdir=/Users/apple/workspace/go/pkg/gomobile/pkg_android_arm -buildmode=c-shared -o /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-143762737/lib/armeabi-v7a/libnobopiano.so github.com/nobonobo/nobopiano failed: exit status 2\r\n# golang.org/x/mobile/exp/audio/al\r\n../../../golang.org/x/mobile/exp/audio/al/al_android.go:13:10: fatal error: 'AL/al.h' file not found\r\n#include <AL/al.h>\r\n         ^\r\n1 error generated.\r\n\r\n```\r\n\r\n![ndk](https://cloud.githubusercontent.com/assets/11999859/26677367/e305765a-46cb-11e7-8097-99bb2164a4d3.png)\r\n\r\nIf possible, provide a recipe for reproducing the error.\r\nA complete runnable program is good.\r\nA link on play.golang.org is best.\r\n\r\n\r\n### What did you expect to see?\r\n\r\ncompilation :)\r\n\r\n### What did you see instead?\r\n\r\nerror..\r\n\r\n\r\n"}}
{"actor":{"display_login":"joeblew99"}}