Bug 204912 - net/samba43: error: unknown type name 'GSSAPI_CPP_START'
Summary: net/samba43: error: unknown type name 'GSSAPI_CPP_START'
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Timur I. Bakeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 11:55 UTC by O. Hartmann
Modified: 2016-04-13 08:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2015-11-30 11:55:00 UTC
Build of port net/samba43 fails due to the error shown bewlow.

[...]
In file included from In file included from ../lib/addns/dnssock.c:26:
In file included from ../lib/addns/dns.h:31:
In file included from ../lib/replace/system/gssapi.h:47:
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type name 'GSSAPI_CPP_START'
GSSAPI_CPP_START
^
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected identifier or '('
extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
^
../lib/addns/dnsrecord.c:24:
In file included from ../lib/addns/dns.h:31:
In file included from ../lib/replace/system/gssapi.h:47:
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type name 'GSSAPI_CPP_START'
GSSAPI_CPP_START
^
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:49:1: error: expected identifier or '('
extern GSSAPI_LIB_VARIABLE gss_OID_desc __gss_spnego_mechanism_oid_desc;
^
In file included from ../lib/addns/dnsmarshall.c:23:
In file included from ../lib/addns/dns.h:31:
In file included from ../lib/replace/system/gssapi.h:47:
../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h:41:1: error: unknown type name 'GSSAPI_CPP_START'
GSSAPI_CPP_START
Comment 1 Timur I. Bakeyev freebsd_committer freebsd_triage 2015-11-30 12:33:04 UTC
Works for me :)

Well, I need more info about environment. What flags were used to compile, would be nice to enable DEBUG flag, what packages are installed in the system.

I'd guess that there is an old version of samba4* laying around somewhere. Or, maybe, Heimdal or KRB5 is installed into the /usr/local/. Please, provide more info.
Comment 2 O. Hartmann 2015-11-30 14:03:37 UTC
net/samba42 is, of course, already installed and is about to be replaced by net/samba43 - a very usual upgrade path!

Also installed ist security/krb5 - I guess wireshark is relying on this package as others, I recall.
Comment 3 O. Hartmann 2015-11-30 14:21:44 UTC
deleting first samba 4.2 solves the problem. This is obviosly not a very smooth update path.