Package: ctypes
Version: 1.0.0-1
Arm is explicitly not supported in debian/control
Code for arm exists in the package. However it does not currently
build (which is presumably why it is not enabled).
Does upstream expect the arm support to be functional so it is merely
a matter of fixing the build problems? Or is there more to it than that?
Ctpyes is needed by python-ctypes which is needed by quodlibet which is
currently uninstallable on arm in etch. If this is not too hard to fix then
we should.
Here is the current build log:
$ debuild
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp build-python*
rm -rf build dist
rm -f ctypes/*.pyc
dh_clean
dpkg-source -b ctypes-1.0.0
dpkg-source: building ctypes using existing ctypes_1.0.0.orig.tar.gz
dpkg-source: building ctypes in ctypes_1.0.0-1.1.diff.gz
dpkg-source: building ctypes in ctypes_1.0.0-1.1.dsc
debian/rules build
dh_testdir
python2.4 setup.py build
running build
running build_py
creating build
creating build/lib.linux-armv5tel-2.4
creating build/lib.linux-armv5tel-2.4/ctypes
copying ctypes/_endian.py -> build/lib.linux-armv5tel-2.4/ctypes
copying ctypes/__init__.py -> build/lib.linux-armv5tel-2.4/ctypes
copying ctypes/wintypes.py -> build/lib.linux-armv5tel-2.4/ctypes
copying ctypes/util.py -> build/lib.linux-armv5tel-2.4/ctypes
creating build/lib.linux-armv5tel-2.4/ctypes/macholib
copying ctypes/macholib/framework.py ->
build/lib.linux-armv5tel-2.4/ctypes/macholib
copying ctypes/macholib/__init__.py ->
build/lib.linux-armv5tel-2.4/ctypes/macholib
copying ctypes/macholib/dylib.py -> build/lib.linux-armv5tel-2.4/ctypes/macholib
copying ctypes/macholib/dyld.py -> build/lib.linux-armv5tel-2.4/ctypes/macholib
creating build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_init.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_checkretval.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_find.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_strings.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_prototypes.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/__init__.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_funcptr.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_buffers.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_cast.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_random_things.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_refcounts.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_structures.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_win32.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_unaligned_structures.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_repr.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_functions.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_parameters.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_cfuncs.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_objects.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_incomplete.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_stringptr.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_bitfields.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/runtests.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_anon.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_simplesubclasses.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_arrays.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_libc.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_errcheck.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_memfunctions.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_numbers.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_slicing.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_unicode.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_returnfuncptrs.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_loading.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_internals.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_macholib.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_array_in_pointer.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_python_api.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_callbacks.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_keeprefs.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_byteswap.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_struct_fields.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_varsize_struct.py ->
build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_values.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_sizes.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_pointers.py -> build/lib.linux-armv5tel-2.4/ctypes/test
copying ctypes/test/test_integers.py -> build/lib.linux-armv5tel-2.4/ctypes/test
running build_ext
creating build/temp.linux-armv5tel-2.4
creating build/temp.linux-armv5tel-2.4/libffi
checking build system type... armv5tel-unknown-linux-gnu
checking host system type... armv5tel-unknown-linux-gnu
checking target system type... armv5tel-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 8
checking whether byte ordering is bigendian... no
checking whether .eh_frame section should be read-only... no
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/ffi.h
config.status: creating fficonfig.py
config.status: creating fficonfig.h
config.status: linking
/home/wookey/ctypes-1.0.0/source/libffi/src/arm/ffitarget.h to
include/ffitarget.h
config.status: linking
/home/wookey/ctypes-1.0.0/source/libffi/include/ffi_common.h to
include/ffi_common.h
config.status: executing include commands
config.status: executing src commands
Configuring static FFI library:
cd build/temp.linux-armv5tel-2.4/libffi && env CFLAGS=''
'/home/wookey/ctypes-1.0.0/source/libffi/configure'
building '_ctypes' extension
creating build/temp.linux-armv5tel-2.4/source
creating build/temp.linux-armv5tel-2.4/home
creating build/temp.linux-armv5tel-2.4/home/wookey
creating build/temp.linux-armv5tel-2.4/home/wookey/ctypes-1.0.0
creating build/temp.linux-armv5tel-2.4/home/wookey/ctypes-1.0.0/source
creating build/temp.linux-armv5tel-2.4/home/wookey/ctypes-1.0.0/source/libffi
creating
build/temp.linux-armv5tel-2.4/home/wookey/ctypes-1.0.0/source/libffi/src
creating
build/temp.linux-armv5tel-2.4/home/wookey/ctypes-1.0.0/source/libffi/src/arm
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes
-fPIC -Ibuild/temp.linux-armv5tel-2.4/libffi/include
-Ibuild/temp.linux-armv5tel-2.4/libffi
-I/home/wookey/ctypes-1.0.0/source/libffi/src -I/usr/include/python2.4 -c
source/_ctypes.c -o build/temp.linux-armv5tel-2.4/source/_ctypes.o
In file included from source/_ctypes.c:126:
source/ctypes.h:69: error: expected specifier-qualifier-list before
'ffi_closure'
source/_ctypes.c: In function 'CFuncPtr_clear':
source/_ctypes.c:3267: error: 'ffi_info' has no member named 'pcl'
error: command 'gcc' failed with exit status 1
make: *** [build-python2.4] Error 1
debuild: fatal error at line 1224:
debian/rules build failed
Not sure what's going on there - ffi_closure not defined perhaps.
Wookey
--
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/ play: http://wookware.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]