Opened 3 months ago
#70608 new defect
imap-uw fails to build: error: dereferencing pointer to incomplete type
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | imap-uw |
Description
Building c-client for osx... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make osx EXTRACFLAGS=''\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ SSLINCLUDE=/opt/local/include/openssl SSLLIB=/opt/local/lib SSLCERTS=/opt/local/etc/openssl/certs SSLKEYS=/opt/local/etc/openssl/private GSSINCLUDE=/opt/local/include GSSLIB=/opt/local/lib make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=osx \ CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign" make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign '' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo osx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' echo -I/opt/local/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /opt/local/lib/libk5crypto.a) && echo -L/opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/opt/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_osx.h osdep.h ln -s os_osx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_std.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/opt/local/include/openssl -I/opt/local/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/opt/local/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/opt/local/etc/openssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/opt/local/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make osx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c osdep.c: In function ‘ssl_start_work’: osdep.c:363: warning: ‘TLSv1_client_method’ is deprecated (declared at /opt/local/include/openssl/ssl.h:2065) osdep.c:413: error: dereferencing pointer to incomplete type osdep.c:415: error: dereferencing pointer to incomplete type osdep.c: In function ‘ssl_validate_cert’: osdep.c:465: error: dereferencing pointer to incomplete type osdep.c:467: error: dereferencing pointer to incomplete type osdep.c: In function ‘ssl_server_init’: osdep.c:846: warning: ‘TLSv1_server_method’ is deprecated (declared at /opt/local/include/openssl/ssl.h:2064) osdep.c:861: warning: ‘SSL_CTX_use_RSAPrivateKey_file’ is deprecated (declared at /opt/local/include/openssl/ssl.h:1729) osdep.c: In function ‘ssl_genkey’: osdep.c:917: warning: ‘RSA_generate_key’ is deprecated (declared at /opt/local/include/openssl/rsa.h:266) make[3]: *** [osdep.o] Error 1 make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' make[2]: *** [osx] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_mail_imap-uw/imap-uw/work/imap-2007f' make: *** [osx] Error 2
Note: See
TracTickets for help on using
tickets.