From owner-freebsd-questions@FreeBSD.ORG Sat Nov 15 22:59:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14FD0106568C for ; Sat, 15 Nov 2008 22:59:19 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from ghirai.com (ghirai.com [195.74.52.87]) by mx1.freebsd.org (Postfix) with ESMTP id 3DBA48FC13 for ; Sat, 15 Nov 2008 22:59:18 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from localhost (localhost [127.0.0.1]) by ghirai.com (Postfix) with ESMTPSA id 466D616F2A for ; Sat, 15 Nov 2008 22:59:09 +0000 (GMT) Date: Sun, 16 Nov 2008 00:59:15 +0200 From: Ghirai To: freebsd-questions@freebsd.org Message-Id: <20081116005915.dcb9bcc0.ghirai@ghirai.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: *BUMP* trouble building postgresql-client X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2008 22:59:19 -0000 Hello list, I haven't been able to upgrade PostgreSQL from 8.3.3 to 8.3.5. I'm running 7.0-RELEASE-p5, amd64. # pkg_version -vL = postgresql-client-8.3.3 < needs updating (port has 8.3.5) postgresql-server-8.3.3 < needs updating (port has 8.3.5) # After that i used portupgrade -a. Output is below. ... cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -shared -Wl,-x,-soname,libpq.so.5 fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o -L../../../src/port -L/usr/local/lib -lintl -lssl -lcrypto -lcrypt -pthread -Wl,-R'/usr/local/lib' -o libpq.so.5 /usr/bin/ld: /usr/lib/libpthread.a (thr_syscalls.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC /usr/lib/libpthread.a: could not read symbols: Bad value gmake[1]: *** [libpq.so.5] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/postgresql83-client/work/postgresql-8.3.5/src/interfaces/libpq' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/databases/postgresql83-client. *** Error code 1 Stop in /usr/ports/databases/postgresql83-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.62208.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=postgresql-client-8.3.3 UPGRADE_PORT_VER=8.3.3 make ** Fix the problem and try again. ---> Skipping 'databases/postgresql83-server' (postgresql-server-8.3.3) because a requisite package 'postgresql-client-8.3.3' (databases/postgresql83-client) failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/postgresql83-client (postgresql-client-8.3.3) (unknown build error) * databases/postgresql83-server (postgresql-server-8.3.3) However, on a roughly similar machine, the process went fine. Any ideas? -- Regards, Ghirai.