ports/189133: mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port

Dewayne dewayne at heuristicsystems.com.au
Wed Apr 30 09:20:01 UTC 2014


>Number:         189133
>Category:       ports
>Synopsis:       mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 30 09:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Dewayne
>Release:        FreeBSD 9.2Stable
>Organization:
>Environment:
FreeBSD b1.hs 9.2-STABLE FreeBSD 9.2-STABLE #0: Thu Apr 24 22:50:37 EST 2014     root@:/usr/obj/usr/src/sys/hqdev-amd64-padlock-smp-vga i386
>Description:
During the configuration of dovecot2, the gcc compiler is tested for the option 
cc -qversion
cc: unrecognized option '-qversion'

The port doesn't discover the gssapi from the heimdal port, please refer to my earlier PR to provide a sense of what is required to address the absent gssapi libraries when using the heimdal port:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187721

The following is extracted from 
"/var/ports/usr/ports/mail/dovecot2/work/dovecot-2.2.12/config.log":
..
configure:4699: $? = 0
configure:4688: /usr/local/libexec/ccache/cc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
configure:4699: $? = 0
configure:4688: /usr/local/libexec/ccache/cc -V >&5
cc: '-V' option must have argument
configure:4699: $? = 1
configure:4688: /usr/local/libexec/ccache/cc -qversion >&5
cc: unrecognized option '-qversion'
cc: No input files specified
configure:4699: $? = 1
configure:4719: checking whether the C compiler works
configure:4741: /usr/local/libexec/ccache/cc -O2 -pipe -pipe -O2  -march=pentium3 -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include  -L/usr/local/lib -lgssapi_krb5 conftest.c  >&5
/usr/bin/ld: cannot find -lgssapi_krb5
configure:4745: $? = 1
configure:4783: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Dovecot"

>How-To-Repeat:
On a 9.2Stable system using Gcc and pkg_* tools, the following fails:
make -DBATCH clean deinstall package
>Fix:


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


More information about the freebsd-ports-bugs mailing list