[07:01] <PhoenixMage> Hi all, I am trying to compile a snap on launchpad but despite me having installed python-dev I am getting a build error saying Python.h cant be found
[07:02] <wgrant> PhoenixMage: Can you link to the build?
[07:03] <PhoenixMage> https://code.launchpad.net/~phoenixmage/+snap/samba-dc/+build/63416
[07:04] <wgrant> PhoenixMage: Have you tried it with "snapcraft cleanbuild" locally?
[07:04] <PhoenixMage> wgrant: I havent tried on a local pi as I expect it will take forever
[07:05] <wgrant> PhoenixMage: The failure doesn't look armhf-specific.
[07:06] <PhoenixMage> hmmm, will give it a go on a local ubuntu instance then
[07:06] <wgrant> PhoenixMage: You should be able to reproduce with "snapcraft cleanbuild" on a host of any architecture. But for starters, I suspect you want all the -dev bits to be in build-packages, not stage-packages.
[07:06] <PhoenixMage> Didnt think of that
[07:06] <wgrant> stage-packages are for things that should end up in the final snap -- probably not what you want for library headers.
[07:07] <PhoenixMage> ah, wasnt aware of that, just starting out with snap
[07:07] <PhoenixMage> Thanks for the tip
[07:07] <wgrant> PhoenixMage: stage-packages puts them in the snap (but doesn't install them in the build environment), while build-packages installs them in the build environment.
[07:08] <wgrant> See https://snapcraft.io/docs/build-snaps/syntax
[07:09] <PhoenixMage> thankyou
[08:02] <PhoenixMage> Thanks again wgrant, compiled successfully now