[MacPorts] #23930: spatialite build fails

MacPorts noreply at macports.org
Thu Mar 4 11:43:18 PST 2010


#23930: spatialite build fails
------------------------------------+---------------------------------------
 Reporter:  dan@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.8.2                                
 Keywords:                          |        Port:  spatialite                           
------------------------------------+---------------------------------------
 Here's the debug output:

 mbp:~ dan$ sudo port -d install spatialite
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/spatialite
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/spatialite
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.2.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 spatialite.
 DEBUG: Requested variant i386 is not provided by port spatialite.
 DEBUG: Requested variant macosx is not provided by port spatialite.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: sqlite3 3.6.22_0 exists in the ports tree
 DEBUG: sqlite3 3.6.22_0  is the latest installed
 DEBUG: sqlite3 3.6.22_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/databases/sqlite3
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.2.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 sqlite3.
 DEBUG: Requested variant i386 is not provided by port sqlite3.
 DEBUG: Requested variant macosx is not provided by port sqlite3.
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: readline 6.1.000_1 exists in the ports tree
 DEBUG: readline 6.1.000_1 +darwin is the latest installed
 DEBUG: readline 6.1.000_1 +darwin is active
 DEBUG: Merging existing variants darwin into variants
 DEBUG: new fully merged portvariants:
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.2.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 i386 is not provided by port readline.
 DEBUG: Requested variant macosx is not provided by port readline.
 DEBUG: Executing variant darwin provides darwin
 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.2.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.2.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: No need to upgrade! readline 6.1.000_1 >= readline 6.1.000_1
 DEBUG: No need to upgrade! sqlite3 3.6.22_0 >= sqlite3 3.6.22_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/science/geos
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: geos 3.2.0_0 exists in the ports tree
 DEBUG: geos 3.2.0_0  is the latest installed
 DEBUG: geos 3.2.0_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/science/geos
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.2.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 geos.
 DEBUG: Requested variant i386 is not provided by port geos.
 DEBUG: Requested variant macosx is not provided by port geos.
 DEBUG: No need to upgrade! geos 3.2.0_0 >= geos 3.2.0_0
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/gis/proj
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: proj 4.7.0_0 exists in the ports tree
 DEBUG: proj 4.7.0_0  is the latest installed
 DEBUG: proj 4.7.0_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/gis/proj
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.2.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 proj.
 DEBUG: Requested variant i386 is not provided by port proj.
 DEBUG: Requested variant macosx is not provided by port proj.
 DEBUG: No need to upgrade! proj 4.7.0_0 >= proj 4.7.0_0
 --->  Computing dependencies for spatialite
 DEBUG: Searching for dependency: sqlite3
 DEBUG: Found Dependency: receipt exists for sqlite3
 DEBUG: Searching for dependency: geos
 DEBUG: Found Dependency: receipt exists for geos
 DEBUG: Searching for dependency: proj
 DEBUG: Found Dependency: receipt exists for proj
 DEBUG: Executing org.macports.main (spatialite)
 DEBUG: Skipping completed org.macports.fetch (spatialite)
 DEBUG: Skipping completed org.macports.checksum (spatialite)
 DEBUG: Skipping completed org.macports.extract (spatialite)
 DEBUG: Skipping completed org.macports.patch (spatialite)
 DEBUG: Skipping completed org.macports.configure (spatialite)
 --->  Building spatialite
 DEBUG: Executing org.macports.build (spatialite)
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_spatialite/work/spatialite-2.0"
 && /usr/bin/make -j2 all'
 Making all in src
 Making all in gaiageo
 make[2]: Nothing to be done for `all'.
 Making all in spatialite
 /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DPACKAGE_NAME=\"spatialite\" -DPACKAGE_TARNAME=\"spatialite\"
 -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"spatialite\ 2.0\"
 -DPACKAGE_BUGREPORT=\"a.furieri at lqt.it\" -DPACKAGE=\"spatialite\"
 -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_MATH_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1
 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1
 -DHAVE_STRSTR=1 -DHAVE_FDATASYNC=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1
 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1
 -DHAVE_STRERROR=1 -I. -O2 -arch x86_64 -I../../src/headers
 -I/opt/local/include -DOMIT_PROJ=0 -DOMIT_GEOS=0 -O2 -arch x86_64 -MT
 rtree.lo -MD -MP -MF .deps/rtree.Tpo -c -o rtree.lo rtree.c
  /usr/bin/gcc-4.2 -DPACKAGE_NAME=\"spatialite\"
 -DPACKAGE_TARNAME=\"spatialite\" -DPACKAGE_VERSION=\"2.0\"
 "-DPACKAGE_STRING=\"spatialite 2.0\""
 -DPACKAGE_BUGREPORT=\"a.furieri at lqt.it\" -DPACKAGE=\"spatialite\"
 -DVERSION=\"2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_MATH_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_DLFCN_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1
 -DHAVE_SQRT=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_STRNCASECMP=1
 -DHAVE_STRSTR=1 -DHAVE_FDATASYNC=1 -DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1
 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1
 -DHAVE_STRERROR=1 -I. -O2 -arch x86_64 -I../../src/headers
 -I/opt/local/include -DOMIT_PROJ=0 -DOMIT_GEOS=0 -O2 -arch x86_64 -MT
 rtree.lo -MD -MP -MF .deps/rtree.Tpo -c rtree.c  -fno-common -DPIC -o
 .libs/rtree.o
 rtree.c: In function 'rtreenode':
 rtree.c:2728: error: 'sqlite3_api_routines' has no member named
 '__builtin___snprintf_chk'
 rtree.c:2728: warning: passing argument 1 of '__builtin_object_size' makes
 pointer from integer without a cast
 rtree.c:2731: error: 'sqlite3_api_routines' has no member named
 '__builtin___snprintf_chk'
 rtree.c:2731: warning: passing argument 1 of '__builtin_object_size' makes
 pointer from integer without a cast
 make[2]: *** [rtree.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 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_databases_spatialite/work/spatialite-2.0"
 && /usr/bin/make -j2 all " returned error 2
 DEBUG: Backtrace: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_spatialite/work/spatialite-2.0"
 && /usr/bin/make -j2 all " returned error 2
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 9)
     invoked from within
 "$procedure $targetname"
 Warning: the following items did not execute (for spatialite):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.

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


More information about the macports-tickets mailing list