[Tour] 20-PARTS-PLUGINS/01-reusable-part: missing g++ dependency

Bug #1650087 reported by David Callé
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Kyle Fazzari

Bug Description

Copied from https://github.com/ubuntudesign/snapcraft.io/issues/230:

Process

- Spin up droplet on digital ocean with 16.04 (no idea if they use the standard server image)
- Follow the steps in the tour
- Run snapcraft in 20-PARTS-PLUGINS/01-reusable-part
- Get an error when running the part hello-world: No CMAKE_CXX_COMPILER could be found.
- Be confused why the tutorial does not work perfectly.
- Think about it and install build-essentials manually (g++ should be enough)

Current and expected result

Current: Does not create snap.

Expected: Creates snap without manual intervention.

Tags: bitesize tour
David Callé (davidc3)
description: updated
Leo Arias (elopio)
tags: added: bitesize tour
Revision history for this message
Leo Arias (elopio) wrote :

This can be reproduced in docker.

We usually hit the same problem when building the snaps in travis using a docker container.

Changed in snapcraft:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: Confirmed → In Progress
assignee: nobody → Kyle Fazzari (kyrofa)
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Fix Committed
milestone: none → 2.26
Changed in snapcraft:
status: Fix Committed → Fix Released
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.