[MacPorts] #21076: postgresql-devel fails to build on Snow Lep

MacPorts noreply at macports.org
Fri Sep 4 00:42:35 PDT 2009


#21076: postgresql-devel fails to build on Snow Lep
------------------------------+---------------------------------------------
 Reporter:  permezel@…        |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.8.0                                
 Keywords:  postgres          |        Port:                                       
------------------------------+---------------------------------------------
 {{{
 # port install postgresql-server-devel
 --->  Computing dependencies for postgresql-server-devel
 --->  Fetching bison
 --->  Verifying checksum(s) for bison
 --->  Extracting bison
 --->  Configuring bison
 --->  Building bison
 --->  Staging bison into destroot
 --->  Installing bison @2.4.1_0
 --->  Activating bison @2.4.1_0
 --->  Cleaning bison
 --->  Fetching ossp-uuid
 --->  Attempting to fetch uuid-1.6.2.tar.gz from
 http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ossp-uuid
 --->  Verifying checksum(s) for ossp-uuid
 --->  Extracting ossp-uuid
 --->  Applying patches to ossp-uuid
 --->  Configuring ossp-uuid
 --->  Building ossp-uuid
 --->  Staging ossp-uuid into destroot
 --->  Installing ossp-uuid @1.6.2_0
 --->  Activating ossp-uuid @1.6.2_0
 --->  Cleaning ossp-uuid
 --->  Fetching postgresql-devel
 --->  Verifying checksum(s) for postgresql-devel
 --->  Extracting postgresql-devel
 --->  Configuring postgresql-devel
 --->  Building postgresql-devel
 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_postgresql-devel/work/pgsql" &&
 /usr/bin/gnumake -j5 " returned error 2
 Command output: rm -f libecpg_compat.dylib
 ln -s libecpg_compat.3.1.dylib libecpg_compat.dylib
 /usr/bin/gnumake -C preproc all
 /usr/bin/gnumake -C ../../../../src/port all
 "/opt/local/bin/perl" ./parse.pl . < ../../../../src/backend/parser/gram.y
 > preproc.y
 /usr/bin/flex  -o'pgc.c' pgc.l
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o type.o type.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o ecpg.o ecpg.c
 gnumake[5]: Nothing to be done for `all'.
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o output.o
 output.c
 rm -f kwlookup.c && ln -s ../../../../src/backend/parser/kwlookup.c .
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o descriptor.o
 descriptor.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o variable.o
 variable.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o kwlookup.o
 kwlookup.c
 bison -d  -o preproc.c preproc.y
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o preproc.o
 preproc.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o parser.o
 parser.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o keywords.o
 keywords.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o c_keywords.o
 c_keywords.c
 /usr/bin/gcc-4.2 -no-cpp-precomp -O2 -arch x86_64 -Wall -Wmissing-
 prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels
 -fno-strict-aliasing -fwrapv -Kthread -kthread -pthread -pthreads
 -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -DECPG_COMPILE
 -I../include -I../../../../src/interfaces/ecpg/include -I.
 -DMAJOR_VERSION=4 -DMINOR_VERSION=5 -DPATCHLEVEL=0
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -I/opt/local/include/libxml2  -I/opt/local/include  -c -o ecpg_keywords.o
 ecpg_keywords.c
 In file included from preproc.y:11945:
 pgc.c:161: error: conflicting types for 'yyleng'
 extern.h:43: error: previous declaration of 'yyleng' was here
 pgc.c:288: error: conflicting types for 'yyleng'
 extern.h:43: error: previous declaration of 'yyleng' was here
 gnumake[4]: *** [preproc.o] Error 1
 gnumake[3]: *** [all] Error 2
 gnumake[2]: *** [all] Error 2
 gnumake[1]: *** [all] Error 2
 gnumake: *** [all] Error 2

 Error: The following dependencies failed to build: postgresql-devel
 Error: Status 1 encountered during processing.
 #
 }}}

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


More information about the macports-tickets mailing list