Opened 15 years ago

Closed 13 years ago

#22178 closed defect (fixed)

pine fails to build on 10.6

Reported by: ellanosv@… Owned by: har5ha
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc: BlackFrog1, raimue (Rainer Müller)
Port: pine

Description (last modified by tobypeterson)

ek9:~ ellanos$ sudo port -d install pine
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/pine
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/pine
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.0.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port pine.
DEBUG: Requested variant i386 is not provided by port pine.
DEBUG: Requested variant macosx is not provided by port pine.
--->  Computing dependencies for pine
DEBUG: Executing org.macports.main (pine)
DEBUG: Skipping completed org.macports.fetch (pine)
DEBUG: Skipping completed org.macports.checksum (pine)
DEBUG: Skipping completed org.macports.extract (pine)
DEBUG: Skipping completed org.macports.patch (pine)
DEBUG: Skipping completed org.macports.configure (pine)
--->  Building pine
DEBUG: Executing org.macports.build (pine)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled 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'
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=nopwd SPECIALS=SSLDIR=/System/Library/OpenSSL oxp
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd 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=nopwd 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=nopwd 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 " 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       |
+---------------------------------------------+


DEBUG: Backtrace: 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 " 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       |
+---------------------------------------------+


    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
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.

Attachments (2)

Portfile-pine.diff (1.0 KB) - added by BlackFrog1 13 years ago.
Patch ui_error message and added checksum for sha1 and rmd160
Portfile-pine.2.diff (1.3 KB) - added by BlackFrog1 13 years ago.
Changed maintainer, license, checksum

Download all attachments as: .zip

Change History (10)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)

comment:2 Changed 15 years ago by tobypeterson

Keywords: c-client pine removed
Milestone: MacPorts 1.8.2
Owner: changed from macports-tickets@… to sean@…

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Keywords: snowleopard added
Summary: bug report on PINEpine fails to build on 10.6

comment:4 Changed 13 years ago by BlackFrog1

This defect will never be fixed upstream because development on Pine has cease. I have created a patch to the Portfile to better convey that information to anyone trying to install it on Snow Leopard. Once this patch has been applied, I feel this ticket should be closed.

Changed 13 years ago by BlackFrog1

Attachment: Portfile-pine.diff added

Patch ui_error message and added checksum for sha1 and rmd160

comment:5 Changed 13 years ago by BlackFrog1

Cc: blackfrog1@… added

Cc Me!

comment:6 Changed 13 years ago by raimue (Rainer Müller)

Cc: raimue@… added

Cc Me!

Changed 13 years ago by BlackFrog1

Attachment: Portfile-pine.2.diff added

Changed maintainer, license, checksum

comment:7 Changed 13 years ago by raimue (Rainer Müller)

Owner: sean@… deleted

Port abandoned, nomaintainer in r76782.

comment:8 Changed 13 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Other parts of the patch committed in r76783, r76784 and r76785.

Note: See TracTickets for help on using tickets.