Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2012 10:00:16 GMT
From:      Marcin Cieslak <saper@saper.info>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pgsql@FreeBSD.org
Subject:   ports/166868: databases/postgresql84-client: compile error with Heimdal Kerberos
Message-ID:  <201204121000.q3CA0G4p074096@l.saper.info>
Resent-Message-ID: <201204121000.q3CA0TEA028164@freefall.freebsd.org>

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

>Number:         166868
>Category:       ports
>Synopsis:       databases/postgresql84-client: compile error with Heimdal Kerberos
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 10:00:28 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Cieslak <saper@saper.info>
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
saper.info
>Environment:
System: FreeBSD l.saper.info 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Dec 19 22:13:54 UTC 2011 root@l.saper.info:/usr/obj/usr/src/sys/IPSEC amd64

# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for postgresql-client-8.4.11
_OPTIONS_READ=postgresql-client-8.4.11
WITHOUT_NLS=true
WITHOUT_DTRACE=true
WITH_GSSAPI=true
WITH_XML=true
WITH_TZDATA=true
WITH_ICU=true
WITHOUT_PAM=true
WITHOUT_LDAP=true
WITHOUT_MIT_KRB5=true
WITH_HEIMDAL_KRB5=true
WITH_OPTIMIZED_CFLAGS=true
WITHOUT_DEBUG=true
WITH_INTDATE=true
WITH_SSL=true

heimdal-1.4_1 installed from ports

>Description:

cc -O2 -pipe -march=nocona -O3 -funroll-loops -fno-strict-aliasing -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../../src/port -I../../../src/port -DSO_MAJOR_VERSION=5  -c -o fe-auth.o fe-auth.c
fe-auth.c:66: error: static declaration of 'krb5_free_unparsed_name' follows non-static declaration
/usr/local/include/krb5-protos.h:1922: error: previous declaration of 'krb5_free_unparsed_name' was here

>How-To-Repeat:

Compile the port using environment above.

>Fix:

Workaround:

echo '#define HAVE_KRB5_FREE_UNPARSED_NAME' > src/include/pg_config_manual.h

Somehow this function does not get autodetected 
(might be a problem with base system Heimdal and proper -I's)


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



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