/srv/irclogs.ubuntu.com/2017/08/03/#launchpad.txt

PhoenixMageHi 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 found07:01
wgrantPhoenixMage: Can you link to the build?07:02
PhoenixMagehttps://code.launchpad.net/~phoenixmage/+snap/samba-dc/+build/6341607:03
wgrantPhoenixMage: Have you tried it with "snapcraft cleanbuild" locally?07:04
PhoenixMagewgrant: I havent tried on a local pi as I expect it will take forever07:04
wgrantPhoenixMage: The failure doesn't look armhf-specific.07:05
PhoenixMagehmmm, will give it a go on a local ubuntu instance then07:06
wgrantPhoenixMage: 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
PhoenixMageDidnt think of that07:06
wgrantstage-packages are for things that should end up in the final snap -- probably not what you want for library headers.07:06
PhoenixMageah, wasnt aware of that, just starting out with snap07:07
PhoenixMageThanks for the tip07:07
wgrantPhoenixMage: 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:07
wgrantSee https://snapcraft.io/docs/build-snaps/syntax07:08
PhoenixMagethankyou07:09
PhoenixMageThanks again wgrant, compiled successfully now08:02
=== hloeung is now known as hloeung_
=== dobey_ is now known as dobey
=== nacc_ is now known as nacc

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!