[MacPorts] #25148: py-ctypes: error: 'MAP_ANONYMOUS' undeclared

MacPorts noreply at macports.org
Tue Jun 8 11:37:51 PDT 2010


#25148: py-ctypes: error: 'MAP_ANONYMOUS' undeclared
-------------------------------------+--------------------------------------
 Reporter:  IgnitusBoyone@…          |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.8.2                                
 Keywords:                           |        Port:  py-ctypes                            
-------------------------------------+--------------------------------------

Comment(by IgnitusBoyone@…):

 I was wondering about that. I included the full debug output below.  This
 could be my ignorance, but I could not figure out how to tell py-opengl to
 use Python 2.6 or preferably, but possibly not an option 3.1.  I had
 assumed that python_select python26 would do the trick and I would just
 need to clean py-opengl and try again, but When it didn't work I looked in
 to the documentation and from what I could find the port decides which
 version of python it uses.  If I am wrong about this I am more then
 willing to try anything. For now I have manually installed py-opengl, but
 would prefer to figure out the cause of this problem.

 {{{
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-opengl
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-opengl
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python24-1.0.tcl
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port py-opengl.
 DEBUG: Requested variant i386 is not provided by port py-opengl.
 DEBUG: Requested variant macosx is not provided by port py-opengl.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: python24 2.4.6_4 exists in the ports tree
 DEBUG: python24 2.4.6_4 +darwin+darwin_10+macosx is the latest installed
 DEBUG: python24 2.4.6_4 +darwin+darwin_10+macosx is active
 DEBUG: Merging existing variants darwin darwin_10 macosx into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant i386 is not provided by port python24.
 DEBUG: Executing variant macosx provides macosx
 DEBUG: Executing variant darwin provides darwin
 DEBUG: Executing variant darwin_10 provides darwin_10
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: gettext 0.18_0 exists in the ports tree
 DEBUG: gettext 0.18_0  is the latest installed
 DEBUG: gettext 0.18_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/archcheck-1.0.tcl
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port gettext.
 DEBUG: Requested variant i386 is not provided by port gettext.
 DEBUG: Requested variant macosx is not provided by port gettext.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: libiconv 1.13.1_0 exists in the ports tree
 DEBUG: libiconv 1.13.1_0  is the latest installed
 DEBUG: libiconv 1.13.1_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port libiconv.
 DEBUG: Requested variant i386 is not provided by port libiconv.
 DEBUG: Requested variant macosx is not provided by port libiconv.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: gperf 3.0.4_0 exists in the ports tree
 DEBUG: gperf 3.0.4_0  is the latest installed
 DEBUG: gperf 3.0.4_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port gperf.
 DEBUG: Requested variant i386 is not provided by port gperf.
 DEBUG: Requested variant macosx is not provided by port gperf.
 DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0
 DEBUG: No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: ncurses 5.7_0 exists in the ports tree
 DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed
 DEBUG: ncurses 5.7_0 +darwin_10 is active
 DEBUG: Merging existing variants darwin_10 into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port ncurses.
 DEBUG: Requested variant i386 is not provided by port ncurses.
 DEBUG: Requested variant macosx is not provided by port ncurses.
 DEBUG: Executing variant darwin_10 provides darwin_10
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: ncursesw 5.7_0 exists in the ports tree
 DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed
 DEBUG: ncursesw 5.7_0 +darwin_10 is active
 DEBUG: Merging existing variants darwin_10 into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port ncursesw.
 DEBUG: Requested variant i386 is not provided by port ncursesw.
 DEBUG: Requested variant macosx is not provided by port ncursesw.
 DEBUG: Executing variant darwin_10 provides darwin_10
 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0
 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: expat 2.0.1_0 exists in the ports tree
 DEBUG: expat 2.0.1_0  is the latest installed
 DEBUG: expat 2.0.1_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: Requested variant darwin is not provided by port expat.
 DEBUG: Requested variant i386 is not provided by port expat.
 DEBUG: Requested variant macosx is not provided by port expat.
 DEBUG: No need to upgrade! expat 2.0.1_0 >= expat 2.0.1_0
 DEBUG: No need to upgrade! gettext 0.18_0 >= gettext 0.18_0
 DEBUG: No need to upgrade! python24 2.4.6_4 >= python24 2.4.6_4
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-numpy
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: py-numpy 1.4.1_0 exists in the ports tree
 DEBUG: py-numpy 1.4.1_0  is the latest installed
 DEBUG: py-numpy 1.4.1_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-numpy
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python24-1.0.tcl
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port py-numpy.
 DEBUG: Requested variant i386 is not provided by port py-numpy.
 DEBUG: Requested variant macosx is not provided by port py-numpy.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/math/fftw-3
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: fftw-3 3.2.2_0 exists in the ports tree
 DEBUG: fftw-3 3.2.2_0 +i386 is the latest installed
 DEBUG: fftw-3 3.2.2_0 +i386 is active
 DEBUG: Merging existing variants i386 into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/fftw-3
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: Reading variant descriptions from
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
 DEBUG: universal variant already exists, so not adding the default one
 DEBUG: Requested variant darwin is not provided by port fftw-3.
 DEBUG: Requested variant macosx is not provided by port fftw-3.
 DEBUG: Executing variant i386 provides i386
 DEBUG: No need to upgrade! fftw-3 3.2.2_0 >= fftw-3 3.2.2_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-nose
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: py-nose 0.10.4_0 exists in the ports tree
 DEBUG: py-nose 0.10.4_0  is the latest installed
 DEBUG: py-nose 0.10.4_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-nose
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python24-1.0.tcl
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port py-nose.
 DEBUG: Requested variant i386 is not provided by port py-nose.
 DEBUG: Requested variant macosx is not provided by port py-nose.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-setuptools
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: py-setuptools 0.6c11_0 exists in the ports tree
 DEBUG: py-setuptools 0.6c11_0  is the latest installed
 DEBUG: py-setuptools 0.6c11_0  is active
 DEBUG: Merging existing variants  into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-setuptools
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python24-1.0.tcl
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port py-setuptools.
 DEBUG: Requested variant i386 is not provided by port py-setuptools.
 DEBUG: Requested variant macosx is not provided by port py-setuptools.
 DEBUG: No need to upgrade! py-setuptools 0.6c11_0 >= py-setuptools
 0.6c11_0
 DEBUG: No need to upgrade! py-nose 0.10.4_0 >= py-nose 0.10.4_0
 DEBUG: No need to upgrade! py-numpy 1.4.1_0 >= py-numpy 1.4.1_0
 --->  Computing dependencies for py-opengl
 DEBUG: Searching for dependency: python24
 DEBUG: Found Dependency: receipt exists for python24
 DEBUG: Searching for dependency: py-ctypes
 DEBUG: Didn't find receipt, going to depspec regex for: py-ctypes
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-ctypes
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python
 /py-ctypes
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.3.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.unload registered provides 'unload', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/python24-1.0.tcl
 DEBUG: not using configure, so not adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port py-ctypes.
 DEBUG: Requested variant i386 is not provided by port py-ctypes.
 DEBUG: Requested variant macosx is not provided by port py-ctypes.
 DEBUG: Searching for dependency: py-numpy
 DEBUG: Found Dependency: receipt exists for py-numpy
 DEBUG: Searching for dependency: py-setuptools
 DEBUG: Found Dependency: receipt exists for py-setuptools
 DEBUG: Searching for dependency: python24
 DEBUG: Found Dependency: receipt exists for python24
 DEBUG: Searching for dependency: libffi
 DEBUG: Found Dependency: receipt exists for libffi
 DEBUG: Executing org.macports.main (py-ctypes)
 DEBUG: Skipping completed org.macports.fetch (py-ctypes)
 DEBUG: Skipping completed org.macports.checksum (py-ctypes)
 DEBUG: Skipping completed org.macports.extract (py-ctypes)
 DEBUG: Skipping completed org.macports.patch (py-ctypes)
 DEBUG: Skipping completed org.macports.configure (py-ctypes)
 --->  Building py-ctypes
 DEBUG: Executing org.macports.build (py-ctypes)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' CC='/usr/bin/gcc-4.2'
 CPP='/usr/bin/cpp-4.2'
 DEBUG: Assembled 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'
 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: 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
 DEBUG: Backtrace: 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
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for py-ctypes):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: The following dependencies failed to build: py-ctypes
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

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


More information about the macports-tickets mailing list