[MacPorts] #25148: py-ctypes install failure when instaling py-opengl

MacPorts noreply at macports.org
Sat Jun 5 20:45:39 PDT 2010


#25148: py-ctypes install failure when instaling py-opengl
-------------------------------------+--------------------------------------
 Reporter:  IgnitusBoyone@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.8.2                                
 Keywords:                           |        Port:  py-ctypes                            
-------------------------------------+--------------------------------------
Changes (by jmr@…):

  * port:  => py-ctypes


Old 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 at 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.

New 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. #22418

 Any help is appreciated.
 {{{
 ignitus at 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.
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, and to fill in the Port
 field.

-- 
Ticket URL: <http://trac.macports.org/ticket/25148#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list