Packaging OpenStack client fails due to non-standard header

Alexander Larsson alexl at redhat.com
Tue Dec 6 08:16:48 UTC 2016


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/8e0771a59fd6e55
> 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?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an immortal crooked gangster plagued by the memory of his family's 
brutal murder. She's a supernatural winged hooker in the wrong place at 
the wrong time. They fight crime! 



More information about the xdg-app mailing list