Opened 17 years ago

Closed 15 years ago

#13878 closed defect (worksforme)

Problem building mail/pine

Reported by: dolom@… Owned by: sean@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: pine

Description

Here's what happens...


magellano:~ marco$ sudo port -v install pine +ssl_plain
Password:
--->  Building pine with target osx
make args are CC=cc  osx

Including LDAP functionality
  File /System/Library/OpenSSL/certs/factory.pem is missing
  This might indicate that CA certs did not get properly
  installed.  If you get certificate validation failures
  in Pine, this might be the reason for them.

Including SSL functionality
Making c-client library, imapd, and ipopd
eval make CC=cc SSLTYPE=unix SPECIALS=SSLDIR=/System/Library/OpenSSL oxp
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=4 EXTRASPECIALS='' BUILDTYPE=osx \
	IP=6 EXTRAAUTHENTICATORS=" gss" \
	SPECIALS="SSLDIR=/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib PAMLDFLAGS=-lpam" \
	PASSWDTYPE=pam \
	EXTRACFLAGS=" -DMAC_OSX_KLUDGE=1"
Building c-client for osx...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make osx EXTRACFLAGS='-DMAC_OSX_KLUDGE=1'\
	 EXTRALDFLAGS=''\
	 EXTRADRIVERS='mbox'\
	 EXTRAAUTHENTICATORS='gss'\
	 PASSWDTYPE=pam SSLTYPE=unix IP=6\
	 SSLDIR=/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib PAMLDFLAGS=-lpam 
make build EXTRACFLAGS='-DMAC_OSX_KLUDGE=1' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam SSLTYPE=unix IP=6 `cat SPECIALS` OS=osx \
	 CRXTYPE=nfs \
	 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
	 BASECFLAGS="-g -O -Wno-pointer-sign"
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O -Wno-pointer-sign '-DMAC_OSX_KLUDGE=1' > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
	 -DMAILSPOOL=\"/var/mail\" \
	 -DANONYMOUSHOME=\"/var/mail/anonymous\" \
	 -DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
	 -DRSHPATH=\"/usr/ucb/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo   > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.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;ranlib c-client.a" > ARCHIVE
echo osx > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths gss md5 pla log
echo -I/usr/local/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name >> OSCFLAGS
sh -c '(test -f /usr/local/lib/libk5crypto.a) && echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
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
ln: ip_unix.c: File exists
make[3]: *** [onceenv] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_pine/work/pine4.64" && sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_pine/work/pine4.64/build osx SSLTYPE=unix " returned error 2
Command output: 	 -DANONYMOUSHOME=\"/var/mail/anonymous\" \
	 -DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
	 -DRSHPATH=\"/usr/ucb/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo   > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.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;ranlib c-client.a" > ARCHIVE
echo osx > OSTYPE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths gss md5 pla log
echo -I/usr/local/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name >> OSCFLAGS
sh -c '(test -f /usr/local/lib/libk5crypto.a) && echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
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
ln: ip_unix.c: File exists
make[3]: *** [onceenv] Error 1
make[2]: *** [osx] Error 2
make[1]: *** [OSTYPE] Error 2
make: *** [oxp] Error 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+


Warning: the following items did not execute (for pine): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
magellano:~ marco$ 


Change History (4)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sean@… added

Cc'ing the maintainer of pine.

comment:2 Changed 16 years ago by blb@…

Cc: sean@… removed
Keywords: pine removed
Owner: changed from macports-tickets@… to sean@…
Port: pine added

Can't reproduce here, is this still an issue? If so, what OS and Xcode version?

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Closing as per comment:2.

Note: See TracTickets for help on using tickets.