Failed to compile this lib Reproducible: Always Steps to Reproduce: 1.emerge libmapi 2. 3. libmapi/IMSProvider.c: In function ‘RfrGetNewDSA’: libmapi/IMSProvider.c:157: warning: passing argument 1 of ‘dcerpc_RfrGetNewDSA’ from incompatible pointer type ./gen_ndr/ndr_exchange_c.h:124: note: expected ‘struct dcerpc_binding_handle *’ but argument is of type ‘struct dcerpc_pipe *’ libmapi/IMSProvider.c:157: warning: passing argument 3 of ‘dcerpc_RfrGetNewDSA’ makes integer from pointer without a cast ./gen_ndr/ndr_exchange_c.h:124: note: expected ‘uint32_t’ but argument is of type ‘struct RfrGetNewDSA *’ libmapi/IMSProvider.c:157: error: too few arguments to function ‘dcerpc_RfrGetNewDSA’ libmapi/IMSProvider.c: In function ‘RfrGetFQDNFromLegacyDN’: libmapi/IMSProvider.c:209: warning: passing argument 1 of ‘dcerpc_RfrGetFQDNFromLegacyDN’ from incompatible pointer type ./gen_ndr/ndr_exchange_c.h:154: note: expected ‘struct dcerpc_binding_handle *’ but argument is of type ‘struct dcerpc_pipe *’ libmapi/IMSProvider.c:209: warning: passing argument 3 of ‘dcerpc_RfrGetFQDNFromLegacyDN’ makes integer from pointer without a cast ./gen_ndr/ndr_exchange_c.h:154: note: expected ‘uint32_t’ but argument is of type ‘struct RfrGetFQDNFromLegacyDN *’ libmapi/IMSProvider.c:209: error: too few arguments to function ‘dcerpc_RfrGetFQDNFromLegacyDN’ make: *** [libmapi/IMSProvider.po] Error 1 emake failed
Created attachment 249603 [details] emerge --info output
from /usr/portage/profiles/package.mask # Robert Piasek <dagger@gentoo.org> (23 Feb 2010) # Masking libmapi as it depends on masked samba4 =net-libs/libmapi-0.9
(In reply to comment #2) > from /usr/portage/profiles/package.mask > > # Robert Piasek <dagger@gentoo.org> (23 Feb 2010) > # Masking libmapi as it depends on masked samba4 > =net-libs/libmapi-0.9 > I unmasked samba4, and successfully passed the configure step.
Sorry, the error message should be: exchange.idl:721: warning: [out] argument `szDNPrefix' not a pointer exchange.idl:721: warning: top-level [out] pointer `szDNPrefix' is not a [ref] pointer exchange.idl:722: warning: [out] argument `szDisplayName' not a pointer exchange.idl:722: warning: top-level [out] pointer `szDisplayName' is not a [ref] pointer exchange.idl:3752: warning: [out] argument `size' not a pointer exchange.idl:3753: warning: [out] argument `offset' not a pointer exchange.idl:4176: warning: [out] argument `szDNPrefix' not a pointer exchange.idl:4176: warning: top-level [out] pointer `szDNPrefix' is not a [ref] pointer exchange.idl:4177: warning: [out] argument `szDisplayName' not a pointer exchange.idl:4177: warning: top-level [out] pointer `szDisplayName' is not a [ref] pointer exchange.idl:4210: warning: [out] argument `size' not a pointer exchange.idl:4211: warning: [out] argument `offset' not a pointer exchange.idl:3752: error: EcDoRpc: [out] argument 'size' is not a pointer or array, skip client functions exchange.idl:4210: error: EcDoRpcExt2: [out] argument 'size' is not a pointer or array, skip client functions
Created attachment 293717 [details] emerge --info =net-libs/libmapi-0.9
Created attachment 293721 [details] What compilation complains about...
The same problem... (or i suppose it is)
libmapi 1.0 is now in the portage tree and builds fine against portage provided samba4 ebuild.