So, just retried this locally with a clean environment, I see the same
issue: The stuff that was downloaded in "pull()" is deleted before
"build()".

Please advise on where to put stuff during "pull()", so that it is found
during "build()". The natural place would be parts/<partname> -- but
that is deleted. There obviously needs to be a place were the stuff gets
put in "pull()", so that it can be picked up during "build()", best
without needing yet-another-copy. That place also needs to be clearly
documented.

In the best case this is just a trivial documentation change, so I allow
myself the liberty to set this to priority high as this is blocking
LibreOffice snapping.

** Summary changed:

- snapcraft local run differs from launchpad run
+ stuff downloaded during "pull()" is deleted before "build()"

** Description changed:

  Building:
-  
https://git.launchpad.net/~bjoern-michaelsen/df-libreoffice/+git/libreoffice-snap-playground/tree/?h=xenial&id=d1b909a03e2ec4ac224babb75606fc4fcb70f5ce
+  
https://git.launchpad.net/~bjoern-michaelsen/df-libreoffice/+git/libreoffice-snap-playground/tree/?h=xenial&id=d1b909a03e2ec4ac224babb75606fc4fcb70f5ce
  
  on launchpad failed with a link error/missing symbols. Trying to
  reproduce on a local xenial system, I find this failing as -- while the
  pull() phase is executed -- the parts/ dirs are cleared for some reason,
  leaving the machine without any source when it starts with the build
  phase.
  
  I worked around that by adding a self.pull() at the start of def
  build(): but surely this is not how this is supposed to work.

** Changed in: snapcraft (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1649620

Title:
  stuff downloaded during "pull()" is deleted before "build()"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1649620/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to