Your first snap: snapcraft clean needed before second snapcraft stage

Bug #1578170 reported by Jamie Bennett
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Snapcraft
Invalid
Undecided
Unassigned
Ubuntu Developer Portal
Invalid
Undecided
Unassigned

Bug Description

https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/

After the first snapcraft stage the docs tell you to add a dependency (fswebcam). After doing this and calling snapcraft stage again fswebcam is not downloaded, instead all steps are skipped.

  Skipping pull cam (already ran)
  Skipping build cam (already ran)
  Skipping stage cam (already ran)

A snapcraft clean is needed before the second snapcraft stage for this to function as expected.

Tags: snap-docs
tags: added: snap-docs
Revision history for this message
Leo Arias (elopio) wrote :

The first snap doc is different now: https://snapcraft.io/docs/build-snaps/your-first-snap

Changed in snapcraft:
status: New → Invalid
Changed in developer-ubuntu-com:
status: New → Invalid
Revision history for this message
dmiller309 (dmiller309) wrote :

Is this a duplicate of https://bugs.launchpad.net/snapcraft/+bug/1799925? Snapcraft updated and now "snapcraft cleanbuild" doesn't work, so I have to run "snapcraft clean; snapcraft" to build.

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.