First of all, I’m an absolute beginner, and this is my first time with Snapcraft. I also don’t know if this is the right place to look for help.
I’m trying to build my first project, basically so I can learn, but I’m having a mistake with scons. When you finish compiling and have to install it shows me the following message:
Checking for C++ header file bullet/btBulletDynamicsCommon.h... (cached) yes sh: 1: svnversion: not found TypeError: exceptions must be old-style classes or derived from BaseException, not str: File "/root/parts/my-part/build/SConstruct", line 515: raise 'VDrift data not found. Please make sure data is placed in vdrift directory. See README.md and http://wiki.vdrift.net.' Failed to run 'scons install' for 'my-part': Exited with code 2. Verify that the part is using the correct parameters and try again. Run the same command again with --debug to shell into the environment if you wish to introspect this failure. An error occurred when trying to execute 'sudo -i snapcraft snap' with 'multipass': returned exit code 2.
When I compile this project normally, not for snap, I need to use this options:
scons arch=a64 release=1 extbullet=1 prefix=[/installation/directory/]
I try to add it with “scons-options” but I think I’m not doing it right because I get a syntax error.
Can someone help me please?