Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] Add pygame package
Date: Wed, 11 Jan 2012 09:33:13 +0100	[thread overview]
Message-ID: <87sjjmbpva.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1326266671-9161-1-git-send-email-julien.boibessot@free.fr> (julien boibessot's message of "Wed, 11 Jan 2012 08:24:31 +0100")

>>>>> "julien" == julien boibessot <julien.boibessot@free.fr> writes:

 julien> From: Julien Boibessot <julien.boibessot@armadeus.com>
 julien> Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
 julien> ---
 julien>  Changes since v2:
 julien>  As requested by Peter Korsgaard:
 julien>  - autoselect sdl_* libs instead of depending of them
 julien>  - removed movie/sndarray/surfarray config check (will be re-added when
 julien>    smpeg/numpy are integrated in BR)
 julien>  - remove doc only if !BR2_HAVE_DOCUMENTATION
 julien>  Other:
 julien>  - renamed PYTHON_PYGAME_CONFIGURE_* in PYTHON_PYGAME_UNCONFIGURE_* to better
 julien>    understand that we remove modules from default build config if dependancies
 julien>    are not available

Thanks, looks good. Unfortunately it doesn't work:

building 'pygame.gfxdraw' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
creating build/temp.linux-x86_64-2.7/src/SDL_gfx
/home/peko/source/buildroot/output/host/usr/bin/arm-linux-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Os -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/SDL -I/home/peko/source/buildroot/output/host/usr/include/python2.7 -c src/gfxdraw.c -o build/temp.linux-x86_64-2.7/src/gfxdraw.o
In file included from /home/peko/source/buildroot/output/host/usr/include/python2.7/Python.h:8,
                 from src/pygame.h:80,
                 from src/gfxdraw.c:33:
/home/peko/source/buildroot/output/host/usr/include/python2.7/pyconfig.h:1136:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
In file included from /home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/limits.h:27,
                 from /opt/br/arm926t-wchar/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/include-fixed/limits.h:122,
                 from /opt/br/arm926t-wchar/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/include-fixed/syslimits.h:7,
                 from /opt/br/arm926t-wchar/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.3.6/include-fixed/limits.h:11,
                 from /home/peko/source/buildroot/output/host/usr/include/python2.7/Python.h:19,
                 from src/pygame.h:80,
                 from src/gfxdraw.c:33:
/home/peko/source/buildroot/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/features.h:219:5:
error: #error It appears you have defined
_FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file
support enabled.

Notice how it is looking at my host-python rather than target-python
(where I don't have largefile support) includes.

Any idea?

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2012-01-11  8:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  7:24 [Buildroot] [PATCH v3] Add pygame package julien.boibessot at free.fr
2012-01-11  8:33 ` Peter Korsgaard [this message]
2012-01-11  9:32   ` Julien Boibessot
2012-01-11  9:54     ` Peter Korsgaard
2012-01-11 11:09       ` Julien Boibessot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sjjmbpva.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox