[Buildroot] [PATCH v5 6/6] New package: python-netifaces

Yegor Yefremov yegorslists at googlemail.com
Mon Jan 9 07:46:51 UTC 2012


On Sun, Jan 8, 2012 at 12:03 PM, Peter Korsgaard <jacmet at sunsite.dk> wrote:
>>>>>> "Peter" == Peter Korsgaard <jacmet at uclibc.org> writes:
>
>>>>>> "yegorslists" == yegorslists  <yegorslists at googlemail.com> writes:
>  yegorslists> From: Yegor Yefremov <yegorslists at googlemail.com>
>  yegorslists> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
>
>  Peter> Committed, thanks.
>
> It unfortunately seems broken and tries to build for the host rather
> than the target:
>
> (on a ppc64 host building for i686):
>
> creating build/lib.linux-ppc64-2.7
> /usr/lib64/ccache/gcc -pthread -shared -L/home/peko/scratch/host/lib -L/home/peko/scratch/host/usr/lib -Wl,-rpath,/home/peko/scratch/host/usr/lib -L/home/peko/scratch/host/usr/i686-unknown-linux-uclibc/sysroot/lib -L/home/peko/scratch/host/usr/i686-unknown-linux-uclibc/sysroot/usr/lib build/temp.linux-ppc64-2.7/netifaces.o -o build/lib.linux-ppc64-2.7/netifaces.so
> /usr/bin/ld: skipping incompatible /home/peko/scratch/host/usr/i686-unknown-linux-uclibc/sysroot/lib/libgcc_s.so when searching for -lgcc_s
> /usr/bin/ld: skipping incompatible /lib/libpthread.so.0 when searching for /lib/libpthread.so.0
> /usr/bin/ld: cannot find /lib/libpthread.so.0
> /usr/bin/ld: skipping incompatible /usr/lib/libpthread_nonshared.a when searching for /usr/lib/libpthread_nonshared.a
> /usr/bin/ld: cannot find /usr/lib/libpthread_nonshared.a
> collect2: ld returned 1 exit status
> error: command '/usr/lib64/ccache/gcc' failed with exit status 1
> make: *** [/home/peko/scratch/build/python-netifaces-0.6/.stamp_built] Error 1
>
> Any ideas?

My bad. I had some problems reorganizing my patches and forgot -x
option by build command. Still learning git :-( Please test the patch
I submitted.

Yegor



More information about the buildroot mailing list