snapcraft doesn't work

Bug #1723965 reported by Mark Weston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Invalid
Undecided
Unassigned

Bug Description

Repository: https://github.com/Mark-Weston/stopwatch

After installing the snap and issuing the `stopwatch` command, this error happens:
`bash: /usr/local/bin/stopwatch: No such file or directory`

If you run the program using `snap run stopwatch` then the program starts, even though it fails to locate drivers:

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
stopwatch: /build/glfw3-KYdbSD/glfw3-3.2.1/src/input.c:493: glfwSetMouseButtonCallback: Assertion `window != NULL' failed.
Aborted (core dumped)

even though I specified to install the drivers by requiring xserver-xorg-video-all package and opengl and x11 interfaces.

What do I do to fix this?

Revision history for this message
John Lenton (chipaca) wrote :

I talked with Mark on IRC; this bug in particular was just bash caching the location of an older version of stopwatch they had installed in /usr/local.

Changed in snapcraft:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.