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:01 |
---|---|---|
wgrant | PhoenixMage: Can you link to the build? | 07:02 |
PhoenixMage | https://code.launchpad.net/~phoenixmage/+snap/samba-dc/+build/63416 | 07:03 |
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:04 |
wgrant | PhoenixMage: The failure doesn't look armhf-specific. | 07:05 |
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:06 |
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:07 |
wgrant | See https://snapcraft.io/docs/build-snaps/syntax | 07:08 |
PhoenixMage | thankyou | 07:09 |
PhoenixMage | Thanks again wgrant, compiled successfully now | 08: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!