Opened 14 years ago

Last modified 14 years ago

#25148 closed defect

py-ctypes install failure when instaling py-opengl — at Initial Version

Reported by: IgnitusBoyone@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py-ctypes

Description

I am trying to reinstall my dev involvement after a hard drive failure and I have run in to the following problem when installing py-opengl.

I have seen only once simi recent ticket regarding py-ctypes, but the output does not seem to be related to this error.

https://trac.macports.org/ticket/22418

Any help is appreciated.

ignitus@eclipse: ttys001: 13 files 304b ~ -> sudo port install -d py-opengl ---> Computing dependencies for py-opengl ---> Building py-ctypes Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-ctypes/work/ctypes-1.0.1" && /opt/local/bin/python2.4 setup.py build " returned error 1 Command output: running build running build_py running build_ext building '_ctypes' extension /usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Isource/darwin -Ibuild/temp.macosx-10.6-i386-2.4/libffi/include -Ibuild/temp.macosx-10.6-i386-2.4/libffi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-ctypes/work/ctypes-1.0.1/source/libffi/src -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c source/malloc_closure.c -o build/temp.macosx-10.6-i386-2.4/source/malloc_closure.o source/malloc_closure.c: In function 'more_core': source/malloc_closure.c:51: warning: implicit declaration of function 'getpagesize' source/malloc_closure.c:70: error: 'MAP_ANONYMOUS' undeclared (first use in this function) source/malloc_closure.c:70: error: (Each undeclared identifier is reported only once source/malloc_closure.c:70: error: for each function it appears in.) error: command '/usr/bin/gcc-4.2' failed with exit status 1

Error: The following dependencies failed to build: py-ctypes py-numpy fftw-3 py-nose py-setuptools Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (0)

Note: See TracTickets for help on using tickets.