Date: Sat, 8 Nov 2008 20:06:50 +0200 From: Ghirai <ghirai@ghirai.com> To: freebsd-questions@freebsd.org Subject: trouble building postgresql-client Message-ID: <20081108200650.6b472d7b.ghirai@ghirai.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081108200650.6b472d7b.ghirai>