[MacPorts] #14619: Error when installing postgresql83 +universal on Tiger

MacPorts noreply at macports.org
Fri Mar 13 05:56:03 PDT 2009


#14619: Error when installing postgresql83 +universal on Tiger
------------------------------------+---------------------------------------
 Reporter:  tbou@…                  |       Owner:  mww@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:  Port Bugs       
Component:  ports                   |     Version:  1.6.0           
 Keywords:  postgresql83 universal  |        Port:  postgresql83    
------------------------------------+---------------------------------------

Comment(by griff.rees@…):

 I've got the same problem if I build +universal with i386 and x86_64:

 {{{
 sudo port install postgresql83 +universal
 --->  Fetching postgresql83
 --->  Verifying checksum(s) for postgresql83
 --->  Extracting postgresql83
 --->  Configuring postgresql83
 --->  Building postgresql83
 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_postgresql83/work/postgresql-8.3.6"
 && gnumake " returned error 2
 Command output: gnumake[3]: Nothing to be done for `all'.
 /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -mmacosx-version-
 min=10.5 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -I../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/opt/local/include/libxml2
 -I/opt/local/include  -c -o zic.o zic.c
 /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -mmacosx-version-
 min=10.5 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -I../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/opt/local/include/libxml2
 -I/opt/local/include  -c -o ialloc.o ialloc.c
 /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -mmacosx-version-
 min=10.5 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -I../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/opt/local/include/libxml2
 -I/opt/local/include  -c -o scheck.o scheck.c
 /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -mmacosx-version-
 min=10.5 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 zic.o ialloc.o scheck.o localtime.o -L../../src/port -L/opt/local/lib
 -arch x86_64 -arch i386 -mmacosx-version-min=10.5 -L/opt/local/lib
 -L/opt/local/lib  -lpgport -lxslt -lxml2 -lssl -lcrypto -lz -lreadline -lm
 -o zic
 gnumake -C backend all
 gnumake -C ../../src/port all
 gnumake[3]: Nothing to be done for `all'.
 prereqdir=`cd parser/ >/dev/null && pwd` && \
           cd ../../src/include/parser/ && rm -f parse.h && \
           ln -s "$prereqdir/parse.h" .
 gnumake -C utils fmgroids.h
 AWK='awk' /bin/sh Gen_fmgrtab.sh ../../../src/include/catalog/pg_proc.h
 cd ../../src/include/utils/ && rm -f fmgroids.h && \
             ln -s ../../../src/backend/utils/fmgroids.h .
 gnumake -C access all
 gnumake -C common SUBSYS.o
 /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -isysroot
 /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -arch i386 -mmacosx-version-
 min=10.5 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
 -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv
 -I../../../../src/include -I/opt/local/include -I/opt/local/include/ossp
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -I/opt/local/include/libxml2
 -I/opt/local/include  -c -o heaptuple.o heaptuple.c
 heaptuple.c: In function 'heap_fill_tuple':
 heaptuple.c:250: error: duplicate case value
 heaptuple.c:250: error: previously used here
 heaptuple.c: In function 'DataFill':
 heaptuple.c:383: error: duplicate case value
 heaptuple.c:383: error: previously used here
 lipo: can't figure out the architecture type of: /var/tmp//cciUqm4i.out
 gnumake[4]: *** [heaptuple.o] Error 1
 gnumake[3]: *** [common-recursive] Error 2
 gnumake[2]: *** [access-recursive] Error 2
 gnumake[1]: *** [all] Error 2
 gnumake: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

 I was able to get around this before by building +universal with *only*
 x86_64 enabled, but now I get (probably unrelated, but ...) :

 {{{
 --->  Configuring postgresql83
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql83/work/postgresql-8.3.6"
 && ./configure --prefix=/opt/local
 --sysconfdir=/opt/local/etc/postgresql83
 --bindir=/opt/local/lib/postgresql83/bin
 --libdir=/opt/local/lib/postgresql83
 --includedir=/opt/local/include/postgresql83
 --datadir=/opt/local/share/postgresql83 --mandir=/opt/local/share/man
 --without-docdir --with-includes=/opt/local/include --with-
 libraries=/opt/local/lib --with-openssl --with-bonjour --with-readline
 --with-zlib --with-libxml --with-libxslt --enable-thread-safety --enable-
 integer-datetimes --with-ossp-uuid --disable-dependency-tracking --host
 =unknown-apple-darwin9 --target=unknown-apple-darwin9 " returned error 1
 Command output: configure: WARNING: If you wanted to set the --build type,
 don't use --host.
     If a cross compiler is detected then cross compile mode will be used.
 checking build system type... i386-apple-darwin9.6.0
 checking host system type... Invalid configuration `unknown-apple-
 darwin9': machine `unknown-apple' not recognized
 configure: error: /bin/sh config/config.sub unknown-apple-darwin9 failed

 Error: Status 1 encountered during processing.
 }}}

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


More information about the macports-tickets mailing list