cleanbuild gets confused with directory source type
Bug #1763394 reported by
Gerry Boland
on 2018-04-12
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Snapcraft |
Medium
|
Sergio Schvezov |
Bug Description
I've got a part that points to a source directory outside the snap tree, something like
parts:
bit:
source: /path/to/my/code
This works if I snapcraft build, but cleanbuild gives me a confusing error:
Failed to pull source: unable to determine source type of '/path/to/my/code'.
Check that the URL is correct or consider specifying `source-type` for this part. See `snapcraft help sources` for more information.
A less confusing error would help!
Sergio Schvezov (sergiusens)
on 2018-04-24
Changed in snapcraft: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Sergio Schvezov (sergiusens) |
Michael Vogt (mvo) wrote : | #1 |
To post a comment you must log in.
I got the same error message and was quite confused. Fortunately Kyle helped me out - my issue was that the travis setup script did not copy all the bits from the source into the snapcraft chroot and I got this error. Having a hint lile "unable to find or determine source type of "/path/to/my/code" would be cool.