Bug 189133 - mail/dovecot2 configure cc option invalid & reminder fix to use security/heimdal port
Summary: mail/dovecot2 configure cc option invalid & reminder fix to use security/heim...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 10:20 UTC by dewayne
Modified: 2014-07-01 08:33 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dewayne 2014-04-30 10:20:00 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-30 10:20:04 UTC
Maintainer of mail/dovecot2,

Please note that PR ports/189133 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/189133

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-30 10:20:05 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 John Marino freebsd_committer freebsd_triage 2014-06-29 15:37:00 UTC
Maybe I'm not understanding this correctly, but this appears like a second PR on the same problem (and also the maintainer did not respond to this one either).

*** This bug has been marked as a duplicate of bug 187721 ***
Comment 4 dewayne 2014-07-01 03:16:22 UTC
Thanks John.  Please close this, the problem is no longer reproducible.
Comment 5 John Marino freebsd_committer freebsd_triage 2014-07-01 08:33:14 UTC
Great!  It was already closed, but it is good to have confirmation that was the correct disposition.
Comment 6 John Marino freebsd_committer freebsd_triage 2014-07-01 08:33:58 UTC
ah, it was closed afterwards I see from the history. :)