snap creation lsb_release problem

Asked by Vincent Vandyck

Hi

I wanted to use Launchpad's snap capability to create a ROS snap but am running into a problem.
I followed the official tutorial to package the ROS example project as a snap (which works locally) and then uploaded it to launchpad.

When I try to build it on launchpad, it completes most of the way until it enters the catkin_make process and tries to execute lsb_release.py. Here it throws the error:
File "/build/publisher-subscriber/parts/workspace/install/usr/lib/python3/dist-packages/lsb_release.py", line 32, in get_distro_info
    csvfile = open('/usr/share/distro-info/%s.csv' % origin.lower())
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/distro-info/debian.csv'

Does anyone know what could be causing this? I don't know what the launchpad snap servers look like to fully understand if I could work around this problem or if it is a problem on Launchpad's end. I have created a pastebin of the whole build log in case it could be helpful: https://pastebin.com/MVq1anFH

Thank you
Vincent

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Colin Watson (cjwatson) said :
#2

Sorry for the delay. I was going to say that it looked as though you just need to add build-packages: [lsb-release], but I see that you did so after filing this question: https://bazaar.launchpad.net/~vince-vd/+junk/testbranch/revision/2

Can you help with this problem?

Provide an answer of your own, or ask Vincent Vandyck for more information if necessary.

To post a message you must log in.