Packaging OpenStack client fails due to non-standard header
Alexander Larsson
alexl at redhat.com
Tue Dec 6 08:34:29 UTC 2016
On tis, 2016-12-06 at 09:16 +0100, Alexander Larsson wrote:
> On tis, 2016-12-06 at 11:33 +0800, Gerard Braad wrote:
> >
> > On Tue, Dec 6, 2016 at 11:14 AM, Gerard Braad <me at gbraad.nl> wrote:
> > >
> > >
> > > bash-4.3# cat /usr/include/python3.4m/pyconfig.h
> > > <snip />
> > > #include <bits/wordsize.h>
> > > <snip />
> >
> > When compiling within the flatpak environment, eg.
> >
> > flatpak build openstack-client bash
> >
> > bash-4.3# wget https://pypi.python.org/packages/a7/4c/8e0771a59fd6e
> > 55
> > aac993a7cc1b6a0db993f299514c464ae6a1ecf83b31d/netifaces-
> > 0.10.5.tar.gz#md5=5b4d1f1310ed279e6df27ef3a9b71519
> > bash-4.3# tar zxvf netifaces-0.10.5.tar.gz
> > bash-4.3# cd netifaces-0.10.5
> > bash-4.3# pip install --user .
> >
> > will fail... this is because the command that runs does not include
> > the -I/usr/include
> >
> > x86_64-unknown-linux-gcc -m64 -march=core2 -mtune=core2 -msse3
> > -mfpmath=sse -DNDEBUG -fno-inline
>
> >
> > --sysroot=/srv/sdkbuilder/work/build/x86_64/freedesktop-sdk-base-1-
> > 4/build/x86_64/tmp-glibc/sysroots/qemux86-64
>
> It is caused by this commandline argument. I wonder where pip gets
> that
> from?
It seems to be from /usr/lib/python3.4/config-3.4m/Makefile in the
runtime, so its some leftover from the yocto build. I wonder if there
is a way to avoid that.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's a deeply religious albino filmmaker on the edge. She's a
bloodthirsty kleptomaniac hooker from a family of eight older brothers.
They fight crime!
More information about the xdg-app
mailing list