Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id DC297634BD6 for ; Wed, 9 Jun 2010 16:29:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 05113-05 for ; Wed, 9 Jun 2010 19:29:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-yw0-f187.google.com (mail-yw0-f187.google.com [209.85.211.187]) by mail.postgresql.org (Postfix) with ESMTP id C61296345CF for ; Wed, 9 Jun 2010 16:29:47 -0300 (ADT) Received: by ywh17 with SMTP id 17so1358964ywh.1 for ; Wed, 09 Jun 2010 12:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=q6jmHhlTFaJIY/BydyESkye1oz09wZzEHsnG/9tJS3E=; b=bplovlz/vGYub52m0DYIDj3QFVym1+33MfT2BdkYecGM2mIpjYymaQPdPx9XCd5AXs CS7bU9hwJMrffENOAExMTdZMCjeHcaN5/3pYtbQo8BgfCvBzZouwfO91QvsTNq1ENrqm WeNEkFcgb03fdwMCg2mbc+pCbOHdalFqoyURU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=t4kOLw2RNJr5rP6sB2AkR3dBPfNg5HAI1HQSyeph0t2C9Ex4tW6fInZU3pe+dKVoHl nn7tiuA+HMAwiEP3HWi6+gF9DUc1zcomeIYB3zDqJQserfqHfr5QzScXpKdr+PrHkPAR ep/L9eeyycGY8s4Y/DsMSrPSdzBAhZnUKLw8Y= Received: by 10.100.243.25 with SMTP id q25mr1766071anh.165.1276110208275; Wed, 09 Jun 2010 12:03:28 -0700 (PDT) Received: from [10.80.9.152] ([97.66.93.2]) by mx.google.com with ESMTPS id f7sm6305534anb.17.2010.06.09.12.03.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Jun 2010 12:03:27 -0700 (PDT) From: Chris Ruprecht Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 9.0Beta2 Build on Mac (64 bit) of pg_upgrade fails with duplicate symbols Date: Wed, 9 Jun 2010 15:03:26 -0400 Message-Id: <324A21D0-CC16-4C38-9582-01ED132BBED2@gmail.com> To: pgsql-testers@postgresql.org Mime-Version: 1.0 (Apple Message framework v1078) X-Mailer: Apple Mail (2.1078) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.001 tagged_above=-10 required=5 tests=BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201006/17 X-Sequence-Number: 131 I'm building the contrib modules and get this: gcc -no-cpp-precomp -O3 -fno-common -arch x86_64 -Wall = -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement = -Wendif-labels -fno-strict-aliasing -fwrapv check.o controldata.o dump.o = exec.o file.o function.o info.o option.o page.o pg_upgrade.o = relfilenode.o server.o tablespace.o util.o version.o version_old_8_3.o = -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq = -L../../src/port -O3 -fno-common -arch x86_64 -Wl,-dead_strip_dylibs = -lpgport -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm -o = pg_upgrade ld: duplicate symbol _scandir_file_pattern in controldata.o and check.o My configure script looks like: export MACOSX_DEPLOYMENT_TARGET=3D10.6 export CC=3Dgcc export CPP=3D"gcc -E" export CXX=3Dg++ export CXXFLAGS=3D'-O3 -fno-common -arch x86_64' export CFLAGS=3D'-O3 -fno-common -arch x86_64' export LDFLAGS=3D'-O3 -fno-common -arch x86_64' ./configure \ --prefix=3D/usr \ --enable-integer-datetimes \ --with-tcl \ --with-perl \ --with-python \ --with-gssapi \ --with-krb5 \ --with-pam \ --with-ldap \ --with-bonjour \ --with-openssl \ --with-zlib make of the normal sources worked. But cd contrib make resulted in the error above. best regards, chris --=20 chris ruprecht specialist in obscure details