You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Tried go get and failed with the following output below. I made sure I had required libs, thought I'd share what happened here.
To Reproduce
Steps to reproduce the behavior:
Get Ubuntu 18.10 machine
Install golang 1.11.2
sudo apt install libgl1-mesa-dev xorg-dev
go get -u github.com/liamg/aminal
See error
Expected behavior
I was expecting the repo to download and compile without errors. I'm a casual drive-by tire kicker, apologies if this is a known/routine issue!
Screenshots
○ → go get -u github.com/liamg/aminal
# github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw
In file included from ../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/c_glfw_linbsd.go:24:
../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/linux_joystick.c: In function ‘_glfwInitJoysticksLinux’:
../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/linux_joystick.c:224:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 9 [-Wformat-truncation=]
snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
^~~~~~~
In file included from /usr/include/stdio.h:873,
from /usr/include/X11/Xcursor/Xcursor.h:26,
from ../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/x11_platform.h:39,
from ../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/internal.h:169,
from ../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/glfw/src/x11_init.c:28,
from ../go/src/github.com/liamg/aminal/vendor/github.com/go-gl/glfw/v3.2/glfw/c_glfw_linbsd.go:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 20
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Environment (please complete the following information):
OS + Version: Ubuntu 18.10
Go Version: 1.11.2
Shell: Bash
Additional context
Just curious and trying to run go get and this is the result. Logs
NOTE: You spelled 'debug' as 'deug' in the template, might want to fix that:
"Run aminal with the --debug flag, then paste the relevant deug logs here."
The text was updated successfully, but these errors were encountered:
Whilst this is indeed an error, it should continue to build. The error you see there will be resolved in GLFW 3.3, which is close to being complete, and I will shortly be using here.
Do you get any further output? It may take a while to build the first time.
Describe the bug
Tried
go get
and failed with the following output below. I made sure I had required libs, thought I'd share what happened here.To Reproduce
Steps to reproduce the behavior:
sudo apt install libgl1-mesa-dev xorg-dev
go get -u github.com/liamg/aminal
Expected behavior
I was expecting the repo to download and compile without errors. I'm a casual drive-by tire kicker, apologies if this is a known/routine issue!
Screenshots
Environment (please complete the following information):
Additional context
Just curious and trying to run
go get
and this is the result.Logs
"Run aminal with the
--debug
flag, then paste the relevant deug logs here."The text was updated successfully, but these errors were encountered: