Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 21:29:09 GMT
From:      Darcy Buskermolen <darcy@wavefire.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/88098: Unable to build postgresql-contrib when postgresql-server built with kerb5
Message-ID:  <200510272129.j9RLT99n024489@www.freebsd.org>
Resent-Message-ID: <200510272130.j9RLULsn087579@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88098
>Category:       ports
>Synopsis:       Unable to build postgresql-contrib when postgresql-server built with kerb5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 27 21:30:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Darcy Buskermolen
>Release:        5.4-STABLE
>Organization:
Wavefire Technologies Corp.
>Environment:
FreeBSD db 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Jul 26 16:21:05 PDT 2005     root@db:/usr/obj/usr/src/sys/PG  amd64

>Description:
cc -O -pipe -march=k8 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wold-style-definition -Wendif-labels -fno-strict-aliasing dbf.o dbf2pg.o endian.o -L../../src/port -lpgport -L../../src/interfaces/libpq -lpq -L../../src/port -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib  -L/usr/local/lib -Wl,-R/usr/local/lib -lpgport -lssl -lcrypto -lz -lreadline -lcrypt -lcompat -lm -lutil  -o dbf2pg
/usr/lib/libkrb5.so.7: undefined reference to `length_PA_ENC_TS_ENC'
/usr/lib/libkrb5.so.7: undefined reference to `length_KDC_REQ_BODY'
/usr/lib/libkrb5.so.7: undefined reference to `free_Principal'
/usr/lib/libkrb5.so.7: undefined reference to `bswap16'
/usr/lib/libkrb5.so.7: undefined reference to `length_EncKrbCredPart'
/usr/lib/libkrb5.so.7: undefined reference to `copy_Realm'
/usr/lib/libkrb5.so.7: undefined reference to `strlwr'
/usr/lib/libkrb5.so.7: undefined reference to `length_TGS_REQ'
..........
>How-To-Repeat:
Build postgresql 8 server with kerb5, then try to install postgresql-contrib, you will get undefined refrences to kerb5
>Fix:
*** ports/databases/postgresql-contrib/Makefile Thu Oct 27 14:19:17 2005
--- ports/databases/postgresql-contrib/Makefile.fix     Thu Oct 27 14:18:36 2005
***************
*** 26,31 ****
--- 26,32 ----
  # Setting/finding PostgreSQL version we want.
  .if exists(${LOCALBASE}/bin/pg_config)
  PGSQL_VER!=   ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p'
+ CONFIGURE_ARGS!=${LOCALBASE}/bin/pg_config --configure
  .else
  PGSQL_VER=    ${DEFAULT_PGSQL_VER}
  .endif

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510272129.j9RLT99n024489>