Script started on Fri 24 Jun 2011 11:35:28 PM EDT $ ls -laR rpmbuild/ rpmbuild/: total 36 drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ./ drwxr-xr-x. 48 wpollock wpollock 12288 Jun 24 23:35 ../ drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:32 BUILD/ drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:31 RPMS/ drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:35 SOURCES/ drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:35 SPECS/ drwxr-x---. 2 wpollock wpollock 4096 Jun 24 22:37 SRPMS/ rpmbuild/BUILD: total 8 drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:32 ./ drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ../ rpmbuild/RPMS: total 8 drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:31 ./ drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ../ rpmbuild/SOURCES: total 8 drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:35 ./ drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ../ rpmbuild/SPECS: total 8 drwxr-x---. 2 wpollock wpollock 4096 Jun 24 23:35 ./ drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ../ rpmbuild/SRPMS: total 4128 drwxr-x---. 2 wpollock wpollock 4096 Jun 24 22:37 ./ drwxr-x---. 7 wpollock wpollock 4096 Jun 24 23:32 ../ -rw-rw-r--. 1 wpollock wpollock 4216742 Jun 24 22:37 pine-4.64-1.src.rpm $ cat .rpmmacros %_topdir %(echo $HOME)/rpmbuild %_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\ && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\ if [ "$RPM_BUILD_NCPUS" -gt 16 ]; then echo "-j16"; \\\ elif [ "$RPM_BUILD_NCPUS" -gt 3 ]; then echo "-j$RPM_BUILD_NCPUS"; \\\ else echo "-j3"; fi) %__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot %packager Wayne Pollock %_signature gpg %_gpg_name 779190A0 $ cd rpmbuild/SRPMS/ $ rpm -Uvh pine-4.64-1.src.rpm 1:pine warning: user jpf does not exist - using root warning: group pinedev does not exist - using root warning: user jpf does not exist - using root warning: group pinedev does not exist - using root ########################################### [100%] $ cd ../SPECS/ $ ls pine.spec $ rpmlint pine.spec pine.spec:5: W: obsolete-tag Copyright pine.spec:6: W: non-standard-group Applications/Mail pine.spec:10: W: hardcoded-packager-tag Pine pine.spec: E: specfile-error error: line 5: Unknown tag: Copyright: see file CPYRIGHT pine.spec: E: specfile-error error: query of specfile pine.spec failed, can't parse 0 packages and 1 specfiles checked; 2 errors, 3 warnings. $cp pine.spec pine.spec-orig $ vi pine.spec "pine.spec" 66L, 2462C written $ rpmlint pine.spec pine.spec:6: W: non-standard-group Applications/Mail pine.spec:10: W: hardcoded-packager-tag Pine 0 packages and 1 specfiles checked; 0 errors, 2 warnings. $ cat /usr/share/doc/rpm-4.8.1/GROUPS Amusements/Games Amusements/Graphics Applications/Archiving Applications/Communications Applications/Databases Applications/Editors Applications/Emulators Applications/Engineering Applications/File Applications/Internet Applications/Multimedia Applications/Productivity Applications/Publishing Applications/System Applications/Text Development/Debuggers Development/Languages Development/Libraries Development/System Development/Tools Documentation System Environment/Base System Environment/Daemons System Environment/Kernel System Environment/Libraries System Environment/Shells User Interface/Desktops User Interface/X User Interface/X Hardware Support $ vi pine.spec "pine.spec" 66L, 2466C written $ rpmlint pine.spec pine.spec:10: W: hardcoded-packager-tag Pine 0 packages and 1 specfiles checked; 0 errors, 1 warnings. $ diff pine.spec-orig pine.spec 5,6c5,6 < Copyright: see file CPYRIGHT < Group: Applications/Mail --- > License: see file CPYRIGHT > Group: Applications/Internet $ rpmbuild -bb pine.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x4uNnC + umask 022 + cd /home/wpollock/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/wpollock/rpmbuild/BUILD + rm -rf pine4.64 + /bin/tar -xf - + /usr/bin/gzip -dc /home/wpollock/rpmbuild/SOURCES/pine4.64.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pine4.64 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l6dB30 + umask 022 + cd /home/wpollock/rpmbuild/BUILD + cd pine4.64 + LANG=C + export LANG + unset DISPLAY + ./build lrh make args are CC=cc lrh Including LDAP functionality Making c-client library, imapd, and ipopd +-----------------------------------------------------------+ | It appears that you do not have OpenSSL or equivalent | | installed on this system. | | | | Building PINE without SSL support will possibly introduce | | problems when communicating with IMAP, POP3, or SMTP | | servers that require TLS or SSL authentication. | | In addition, your password may be vulnerable to a | | snooping attack since it may be sent over the network | | unencrypted. | +-----------------------------------------------------------+ Do you want to continue this build anyway? Type y or n please: y Building without SSL ... eval make CC=cc SSLTYPE=none SPECIALS= lrh make sslnone make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' make[1]: `sslnone' is up to date. make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=none IP=4 EXTRASPECIALS='' BUILDTYPE=lnp \ SPECIALS="GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock" \ EXTRACFLAGS=" -I/usr/kerberos/include" make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-I/usr/kerberos/include'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=none IP=4\ GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' make build EXTRACFLAGS='-I/usr/kerberos/include' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=none IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -fno-omit-frame-pointer -O2" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' 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 -fno-omit-frame-pointer -O2 '-I/usr/kerberos/include' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" > OSCFLAGS echo -lpam -ldl > 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 lnx > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building without SSL support ln -s ssl_none.c osdepssl.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 lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c `cat CCTYPE` -c `cat CFLAGS` mbx.c `cat CCTYPE` -c `cat CFLAGS` mmdf.c `cat CCTYPE` -c `cat CFLAGS` tenex.c `cat CCTYPE` -c `cat CFLAGS` mtx.c `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_open': news.c:347:3: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' news.c:347:3: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_ping': mh.c:688:5: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mh.c:688:5: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' mh.c: In function 'mh_append': mh.c:938:3: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mh.c:938:3: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function 'mx_ping': mx.c:647:5: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mx.c:647:5: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' sh -c 'rm -rf c-client.a || true' 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 make[3]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest' cc -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c cc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` mtest.o: In function `smtptest': /home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest/mtest.c:767: warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest' cd ipopd;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/ipopd' cc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c cc -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` cc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c cc -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/ipopd' cd imapd;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/imapd' cc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c cc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/imapd' cd mailutil;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mailutil' cc -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c cc -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mailutil' cd mlock;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mlock' cc `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:53:3: warning: incompatible implicit declaration of built-in function '_exit' mlock.c: In function 'main': mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' mlock.c:123:2: warning: incompatible implicit declaration of built-in function '_exit' cc `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mlock' cd dmail;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/dmail' cc -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c cc -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/dmail' cd tmail;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/tmail' cc -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c cc -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/tmail' make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Making Pico and Pilot make CC=cc -f makefile.lnx rm -f os.h ln -s osdep/os-lnx.h os.h cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o main.o main.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o attach.o attach.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o basic.o basic.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o bind.o bind.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o browse.o browse.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o buffer.o buffer.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o composer.o composer.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o display.o display.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o file.o file.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o fileio.o fileio.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o line.o line.c cd osdep; make includer os-lnx.c; cd .. make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pico/osdep' cc -o includer includer.c includer.c: In function 'main': includer.c:25:7: warning: incompatible implicit declaration of built-in function 'exit' includer.c:30:2: warning: incompatible implicit declaration of built-in function 'exit' includer.c:35:3: warning: incompatible implicit declaration of built-in function 'exit' includer.c: In function 'readfile': includer.c:53:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:59:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:64:17: warning: incompatible implicit declaration of built-in function 'exit' ./includer < os-lnx.ic > os-lnx.c make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pico/osdep' rm -f pico_os.c ln -s osdep/os-lnx.c pico_os.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pico_os.o pico_os.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pico.o pico.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o random.o random.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o region.o region.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o search.o search.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o window.o window.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o word.o word.c ar ru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico_os.o pico.o random.o region.o search.o window.o word.o ar: creating libpico.a ranlib libpico.a cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.a -lncurses -o pico cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pilot.o pilot.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE pilot.o libpico.a -lncurses -o pilot Making Pine and rpload/rpdump. rm: cannot remove `.pine.sedargs': No such file or directory make CC=cc LDAPLIBS=-lldap LDAPCFLAGS=-DENABLE_LDAP LOCALPINECFLAGS=-DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -f makefile.lnx rm -f os.h ln -s osdep/os-lnx.h os.h ./cmplhlp2.sh < pine.hlp > helptext.h cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o addrbook.o addrbook.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o adrbkcmd.o adrbkcmd.c adrbkcmd.c: In function 'compose_to_ldap_entry': adrbkcmd.c:6810:10: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6814:14: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6818:8: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6822:15: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6826:8: warning: assignment makes pointer from integer without a cast adrbkcmd.c: In function 'prep_ldap_for_viewing': adrbkcmd.c:7010:11: warning: assignment makes pointer from integer without a cast adrbkcmd.c:7014:11: warning: assignment makes pointer from integer without a cast adrbkcmd.c: In function 'url_local_ldap': adrbkcmd.c:7442:12: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o adrbklib.o adrbklib.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o args.o args.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o bldaddr.o bldaddr.c bldaddr.c: In function 'ldap_lookup': bldaddr.c:5388:12: warning: assignment makes pointer from integer without a cast bldaddr.c: In function 'address_from_ldap': bldaddr.c:6009:8: warning: assignment makes pointer from integer without a cast bldaddr.c:6022:8: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o context.o context.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o filter.o filter.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o folder.o folder.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o help.o help.c ./cmplhelp.sh < pine.hlp > helptext.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o helptext.o helptext.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o imap.o imap.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o init.o init.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailcap.o mailcap.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailcmd.o mailcmd.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailindx.o mailindx.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailpart.o mailpart.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailview.o mailview.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o newmail.o newmail.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o other.o other.c other.c: In function 'ldap_addr_select': other.c:3906:12: warning: assignment makes pointer from integer without a cast other.c:3915:14: warning: assignment makes pointer from integer without a cast other.c:3919:13: warning: assignment makes pointer from integer without a cast other.c:3923:14: warning: assignment makes pointer from integer without a cast other.c:3927:15: warning: assignment makes pointer from integer without a cast other.c:3942:9: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o pine.o pine.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o reply.o reply.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o screen.o screen.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o send.o send.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o signals.o signals.c signals.c: In function 'alrm_signal_block': signals.c:801:7: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:196) signals.c: In function 'alrm_signal_unblock': signals.c:817:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:199) cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o status.o status.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o strings.o strings.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o takeaddr.o takeaddr.c takeaddr.c: In function 'save_ldap_entry': takeaddr.c:5147:8: warning: assignment makes pointer from integer without a cast takeaddr.c:5151:10: warning: assignment makes pointer from integer without a cast takeaddr.c:5155:14: warning: assignment makes pointer from integer without a cast takeaddr.c:5159:10: warning: assignment makes pointer from integer without a cast takeaddr.c:5163:8: warning: assignment makes pointer from integer without a cast takeaddr.c:5167:15: warning: assignment makes pointer from integer without a cast takeaddr.c:5171:15: warning: assignment makes pointer from integer without a cast takeaddr.c:5175:11: warning: assignment makes pointer from integer without a cast cd osdep; make includer os-lnx.c; cd .. make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pine/osdep' cc -o includer includer.c includer.c: In function 'main': includer.c:25:7: warning: incompatible implicit declaration of built-in function 'exit' includer.c:30:2: warning: incompatible implicit declaration of built-in function 'exit' includer.c:35:3: warning: incompatible implicit declaration of built-in function 'exit' includer.c: In function 'readfile': includer.c:53:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:59:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:64:17: warning: incompatible implicit declaration of built-in function 'exit' ./includer < os-lnx.ic > os-lnx.c make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pine/osdep' rm -f os.c ln -s osdep/os-lnx.c os.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o os.o os.c echo "char datestamp[]="\"`date`\"";" > date.c echo "char hoststamp[]="\"`hostname`\"";" >> date.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o pine addrbook.o adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o takeaddr.o os.o date.c ../pico/libpico.a ../c-client/c-client.a -lldap -lncurses `cat ../c-client/LDFLAGS` /usr/bin/ld: adrbkcmd.o: undefined reference to symbol 'ber_pvt_opt_on' /usr/bin/ld: note: 'ber_pvt_opt_on' is defined in DSO /usr/lib/liblber-2.4.so.2 so try adding it to the linker command line /usr/lib/liblber-2.4.so.2: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: *** [pine] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.l6dB30 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.l6dB30 (%build) $ # error was: /usr/bin/ld: adrbkcmd.o: undefined reference to symbol 'ber_pvt_opt_on' $ # /usr/bin/ld: note: 'ber_pvt_opt_on' is defined in DSO /usr/lib/liblber-2.4.so.2 so try adding it to the linker command line $ locate liblber /usr/lib/liblber-2.4.so.2 /usr/lib/liblber-2.4.so.2.5.6 /usr/lib/liblber.so /usr/lib/evolution-openldap/lib/liblber.a $ export LDFLAGS='-llber' $ rpmbuild -bb pine.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WA2h1L + umask 022 + cd /home/wpollock/rpmbuild/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/wpollock/rpmbuild/BUILD + rm -rf pine4.64 + /bin/tar -xf - + /usr/bin/gzip -dc /home/wpollock/rpmbuild/SOURCES/pine4.64.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pine4.64 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mc0HA0 + umask 022 + cd /home/wpollock/rpmbuild/BUILD + cd pine4.64 + LANG=C + export LANG + unset DISPLAY + ./build lrh make args are CC=cc lrh Including LDAP functionality Making c-client library, imapd, and ipopd +-----------------------------------------------------------+ | It appears that you do not have OpenSSL or equivalent | | installed on this system. | | | | Building PINE without SSL support will possibly introduce | | problems when communicating with IMAP, POP3, or SMTP | | servers that require TLS or SSL authentication. | | In addition, your password may be vulnerable to a | | snooping attack since it may be sent over the network | | unencrypted. | +-----------------------------------------------------------+ Do you want to continue this build anyway? Type y or n please: y Building without SSL ... eval make CC=cc SSLTYPE=none SPECIALS= lrh make sslnone make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' make[1]: `sslnone' is up to date. make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=none IP=4 EXTRASPECIALS='' BUILDTYPE=lnp \ SPECIALS="GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock" \ EXTRACFLAGS=" -I/usr/kerberos/include" make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-I/usr/kerberos/include'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=none IP=4\ GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' make build EXTRACFLAGS='-I/usr/kerberos/include' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=none IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -fno-omit-frame-pointer -O2" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' 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 -fno-omit-frame-pointer -O2 '-I/usr/kerberos/include' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" > OSCFLAGS echo -lpam -ldl > 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 lnx > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building without SSL support ln -s ssl_none.c osdepssl.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 lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c `cat CCTYPE` -c `cat CFLAGS` mail.c `cat CCTYPE` -c `cat CFLAGS` misc.c `cat CCTYPE` -c `cat CFLAGS` newsrc.c `cat CCTYPE` -c `cat CFLAGS` smanager.c `cat CCTYPE` -c `cat CFLAGS` utf8.c `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c `cat CCTYPE` -c `cat CFLAGS` nntp.c `cat CCTYPE` -c `cat CFLAGS` smtp.c `cat CCTYPE` -c `cat CFLAGS` imap4r1.c `cat CCTYPE` -c `cat CFLAGS` pop3.c `cat CCTYPE` -c `cat CFLAGS` unix.c `cat CCTYPE` -c `cat CFLAGS` mbx.c `cat CCTYPE` -c `cat CFLAGS` mmdf.c `cat CCTYPE` -c `cat CFLAGS` tenex.c `cat CCTYPE` -c `cat CFLAGS` mtx.c `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_open': news.c:347:3: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' news.c:347:3: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' `cat CCTYPE` -c `cat CFLAGS` phile.c `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_ping': mh.c:688:5: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mh.c:688:5: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' mh.c: In function 'mh_append': mh.c:938:3: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mh.c:938:3: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function 'mx_ping': mx.c:647:5: warning: passing argument 3 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' mx.c:647:5: warning: passing argument 4 of 'scandir' from incompatible pointer type /usr/include/dirent.h:252:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' sh -c 'rm -rf c-client.a || true' 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 make[3]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest' cc -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c cc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` mtest.o: In function `smtptest': /home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest/mtest.c:767: warning: the `gets' function is dangerous and should not be used. make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mtest' cd ipopd;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/ipopd' cc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c cc -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` cc -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c cc -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/ipopd' cd imapd;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/imapd' cc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c cc -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/imapd' cd mailutil;make make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mailutil' cc -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c cc -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mailutil' cd mlock;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mlock' cc `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:53:3: warning: incompatible implicit declaration of built-in function '_exit' mlock.c: In function 'main': mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' mlock.c:123:2: warning: incompatible implicit declaration of built-in function '_exit' cc `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/mlock' cd dmail;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/dmail' cc -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c cc -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/dmail' cd tmail;make || true make[2]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/tmail' cc -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c cc -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` make[2]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap/tmail' make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/imap' Making Pico and Pilot make CC=cc -f makefile.lnx rm -f os.h ln -s osdep/os-lnx.h os.h cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o main.o main.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o attach.o attach.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o basic.o basic.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o bind.o bind.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o browse.o browse.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o buffer.o buffer.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o composer.o composer.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o display.o display.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o file.o file.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o fileio.o fileio.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o line.o line.c cd osdep; make includer os-lnx.c; cd .. make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pico/osdep' cc -o includer includer.c includer.c: In function 'main': includer.c:25:7: warning: incompatible implicit declaration of built-in function 'exit' includer.c:30:2: warning: incompatible implicit declaration of built-in function 'exit' includer.c:35:3: warning: incompatible implicit declaration of built-in function 'exit' includer.c: In function 'readfile': includer.c:53:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:59:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:64:17: warning: incompatible implicit declaration of built-in function 'exit' ./includer < os-lnx.ic > os-lnx.c make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pico/osdep' rm -f pico_os.c ln -s osdep/os-lnx.c pico_os.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pico_os.o pico_os.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pico.o pico.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o random.o random.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o region.o region.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o search.o search.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o window.o window.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o word.o word.c ar ru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico_os.o pico.o random.o region.o search.o window.o word.o ar: creating libpico.a ranlib libpico.a cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE main.o libpico.a -lncurses -o pico cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE -c -o pilot.o pilot.c cc -g -DDEBUG -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE pilot.o libpico.a -lncurses -o pilot Making Pine and rpload/rpdump. rm: cannot remove `.pine.sedargs': No such file or directory make CC=cc LDAPLIBS=-lldap LDAPCFLAGS=-DENABLE_LDAP LOCALPINECFLAGS=-DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -f makefile.lnx rm -f os.h ln -s osdep/os-lnx.h os.h ./cmplhlp2.sh < pine.hlp > helptext.h cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o addrbook.o addrbook.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o adrbkcmd.o adrbkcmd.c adrbkcmd.c: In function 'compose_to_ldap_entry': adrbkcmd.c:6810:10: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6814:14: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6818:8: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6822:15: warning: assignment makes pointer from integer without a cast adrbkcmd.c:6826:8: warning: assignment makes pointer from integer without a cast adrbkcmd.c: In function 'prep_ldap_for_viewing': adrbkcmd.c:7010:11: warning: assignment makes pointer from integer without a cast adrbkcmd.c:7014:11: warning: assignment makes pointer from integer without a cast adrbkcmd.c: In function 'url_local_ldap': adrbkcmd.c:7442:12: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o adrbklib.o adrbklib.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o args.o args.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o bldaddr.o bldaddr.c bldaddr.c: In function 'ldap_lookup': bldaddr.c:5388:12: warning: assignment makes pointer from integer without a cast bldaddr.c: In function 'address_from_ldap': bldaddr.c:6009:8: warning: assignment makes pointer from integer without a cast bldaddr.c:6022:8: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o context.o context.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o filter.o filter.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o folder.o folder.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o help.o help.c ./cmplhelp.sh < pine.hlp > helptext.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o helptext.o helptext.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o imap.o imap.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o init.o init.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailcap.o mailcap.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailcmd.o mailcmd.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailindx.o mailindx.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailpart.o mailpart.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o mailview.o mailview.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o newmail.o newmail.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o other.o other.c other.c: In function 'ldap_addr_select': other.c:3906:12: warning: assignment makes pointer from integer without a cast other.c:3915:14: warning: assignment makes pointer from integer without a cast other.c:3919:13: warning: assignment makes pointer from integer without a cast other.c:3923:14: warning: assignment makes pointer from integer without a cast other.c:3927:15: warning: assignment makes pointer from integer without a cast other.c:3942:9: warning: assignment makes pointer from integer without a cast cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o pine.o pine.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o reply.o reply.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o screen.o screen.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o send.o send.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o signals.o signals.c signals.c: In function 'alrm_signal_block': signals.c:801:7: warning: 'sigblock' is deprecated (declared at /usr/include/signal.h:196) signals.c: In function 'alrm_signal_unblock': signals.c:817:2: warning: 'sigsetmask' is deprecated (declared at /usr/include/signal.h:199) cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o status.o status.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o strings.o strings.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o takeaddr.o takeaddr.c takeaddr.c: In function 'save_ldap_entry': takeaddr.c:5147:8: warning: assignment makes pointer from integer without a cast takeaddr.c:5151:10: warning: assignment makes pointer from integer without a cast takeaddr.c:5155:14: warning: assignment makes pointer from integer without a cast takeaddr.c:5159:10: warning: assignment makes pointer from integer without a cast takeaddr.c:5163:8: warning: assignment makes pointer from integer without a cast takeaddr.c:5167:15: warning: assignment makes pointer from integer without a cast takeaddr.c:5171:15: warning: assignment makes pointer from integer without a cast takeaddr.c:5175:11: warning: assignment makes pointer from integer without a cast cd osdep; make includer os-lnx.c; cd .. make[1]: Entering directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pine/osdep' cc -o includer includer.c includer.c: In function 'main': includer.c:25:7: warning: incompatible implicit declaration of built-in function 'exit' includer.c:30:2: warning: incompatible implicit declaration of built-in function 'exit' includer.c:35:3: warning: incompatible implicit declaration of built-in function 'exit' includer.c: In function 'readfile': includer.c:53:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:59:17: warning: incompatible implicit declaration of built-in function 'exit' includer.c:64:17: warning: incompatible implicit declaration of built-in function 'exit' ./includer < os-lnx.ic > os-lnx.c make[1]: Leaving directory `/home/wpollock/rpmbuild/BUILD/pine4.64/pine/osdep' rm -f os.c ln -s osdep/os-lnx.c os.c cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o os.o os.c echo "char datestamp[]="\"`date`\"";" > date.c echo "char hoststamp[]="\"`hostname`\"";" >> date.c cc -llber -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o pine addrbook.o adrbkcmd.o adrbklib.o args.o bldaddr.o context.o filter.o folder.o help.o helptext.o imap.o init.o mailcap.o mailcmd.o mailindx.o mailpart.o mailview.o newmail.o other.o pine.o reply.o screen.o send.o signals.o status.o strings.o takeaddr.o os.o date.c ../pico/libpico.a ../c-client/c-client.a -lldap -lncurses `cat ../c-client/LDFLAGS` cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o rpload.o rpload.c cc -llber -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o rpload rpload.o ../pico/libpico.a ../c-client/c-client.a -lldap -lncurses `cat ../c-client/LDFLAGS` cc -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -c -o rpdump.o rpdump.c cc -llber -g -DDEBUG -DDEBUGJOURNAL -DENABLE_LDAP -DSYSTEM_PINERC=\"/etc/pine.conf\" -DSYSTEM_PINERC_FIXED=\"/etc/pine.conf.fixed\" -DSYSTEM_PINE_INFO_PATH=\"/etc/pine.info\" -DLNX -DSYSTYPE=\"LNX\" -DMOUSE -o rpdump rpdump.o ../pico/libpico.a ../c-client/c-client.a -lldap -lncurses `cat ../c-client/LDFLAGS` making local docs sed -e s/\/usr\/local\/lib\/pine.conf/\/etc\/pine.conf/ -e s/\/usr\/local\/lib\/pine.info/\/etc\/pine.info/ -e s/\/usr\/lib\/sendmail/\/usr\/sbin\/sendmail/ -e s/\/usr\/spool\/news/\/var\/spool\/news/ -e s/\/usr\/spool\/mail/\/var\/spool\/mail/ -e s/\/bin\/passwd/\/usr\/bin\/passwd/ < ../doc/pine.1 > pine.1 sed -e s/\/usr\/local\/lib\/pine.conf/\/etc\/pine.conf/ -e s/\/usr\/local\/lib\/pine.info/\/etc\/pine.info/ -e s/\/usr\/lib\/sendmail/\/usr\/sbin\/sendmail/ -e s/\/usr\/spool\/news/\/var\/spool\/news/ -e s/\/usr\/spool\/mail/\/var\/spool\/mail/ -e s/\/bin\/passwd/\/usr\/bin\/passwd/ < ../doc/tech-notes.txt > tech-notes.txt Links to executables are in bin directory: text data bss dec hex filename 3739124 298832 692356 4730312 482dc8 bin/pine 690172 7448 2688 700308 aaf94 bin/mtest 729208 7504 67456 804168 c4548 bin/imapd 193512 5220 2852 201584 31370 bin/pico 190971 5060 2884 198915 30903 bin/pilot 869500 11740 4472 885712 d83d0 bin/rpdump 871484 11740 4472 887696 d8b90 bin/rpload 687704 7440 1692 696836 aa204 bin/mailutil 686470 7444 2720 696634 aa13a bin/ipop2d 690556 7440 1824 699820 aadac bin/ipop3d Done + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BiDG5H + umask 022 + cd /home/wpollock/rpmbuild/BUILD + '[' /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 '!=' / ']' + rm -rf /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 ++ dirname /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 + mkdir -p /home/wpollock/rpmbuild/BUILDROOT + mkdir /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 + cd pine4.64 + LANG=C + export LANG + unset DISPLAY + '[' /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 '!=' / ']' + rm -rf /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 + install -D -m755 bin/pine /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pine + install -D -m755 bin/pico /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pico + install -D -m755 bin/pilot /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pilot + install -D -m755 bin/rpload /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/rpload + install -D -m755 bin/rpdump /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/rpdump + install -D -m755 bin/mailutil /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/mailutil + install -D -m2755 -gmail imap/mlock/mlock /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/sbin/mlock install: cannot change ownership of `/home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/sbin/mlock': Operation not permitted + install -D -m755 imap/mlock/mlock /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/sbin/mlock + echo '*** DO NOT FORGET TO DO THE FOLLOWING BY HAND while root: *** chgrp mail /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/etc/mlock *** echo chmod 2755 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/etc/mlock' *** DO NOT FORGET TO DO THE FOLLOWING BY HAND while root: *** chgrp mail /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/etc/mlock *** echo chmod 2755 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/etc/mlock + install -D -m644 bin/pine.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/pine.1 + install -D -m644 doc/pico.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/pico.1 + install -D -m644 doc/pilot.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/pilot.1 + install -D -m644 doc/rpload.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/rpload.1 + install -D -m644 doc/rpdump.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/rpdump.1 + install -D -m644 imap/src/mailutil/mailutil.1 /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/man/man1/mailutil.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /home/wpollock/rpmbuild/BUILD/pine4.64 extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pico extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/rpload extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/rpdump extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/mailutil extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pine extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/bin/pilot extracting debug info from /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/sbin/mlock 19475 blocks + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: pine-4.64-1.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NKA5WJ + umask 022 + cd /home/wpollock/rpmbuild/BUILD + cd pine4.64 + DOCDIR=/home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/doc/pine-4.64 + export DOCDIR + rm -rf /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/doc/pine-4.64 + /bin/mkdir -p /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/doc/pine-4.64 + cp -pr README CPYRIGHT bin/tech-notes.txt /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386/usr/share/doc/pine-4.64 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libdl.so.2 liblber-2.4.so.2 libldap-2.4.so.2 libncurses.so.5 libpam.so.0 libpam.so.0(LIBPAM_1.0) libtinfo.so.5 rtld(GNU_HASH) Processing files: pine-debuginfo-4.64-1.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 Wrote: /home/wpollock/rpmbuild/RPMS/i686/pine-4.64-1.i686.rpm Wrote: /home/wpollock/rpmbuild/RPMS/i686/pine-debuginfo-4.64-1.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sjnCSa + umask 022 + cd /home/wpollock/rpmbuild/BUILD + cd pine4.64 + '[' /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 '!=' / ']' + rm -rf /home/wpollock/rpmbuild/BUILDROOT/pine-4.64-1.i386 + exit 0 $ $ cd ../RPMS/i686/ $ ls -l total 6464 -rw-r--r--. 1 wpollock wpollock 2582208 Jun 24 23:41 pine-4.64-1.i686.rpm -rw-r--r--. 1 wpollock wpollock 4031608 Jun 24 23:41 pine-debuginfo-4.64-1.i686.rpm $ sudo rpm -Uvh pine-4.64-1.i686.rpm Preparing... (100%) 1:pine ########################################### [100%] $ exit exit Script done on Fri 24 Jun 2011 11:42:05 PM EDT ======================================================= $ wget http://wpollock.com/AUnix2/pine-4.64-maildir.patch.gz $ gunzip pine-4.64-maildir.patch.gz $ mv pine-4.64-maildir.patch ~/rpmbuild/SOURCES/ $ cd ~rpmbuild/SPECS $ cp pine.spec pine.spec.orig $ vi pine.spec $ diff pine.spec.orig pine.spec 5,6c5,6 < Copyright: see file CPYRIGHT < Group: Applications/Mail --- > License: see file CPYRIGHT > Group: Applications/Internet 11a12 > Patch0: pine-4.64-maildir.patch 22a24 > %patch0 -p1 25c27 < ./build lrh --- > ./build EXTRALDFLAGS='-llber' lrh CC=gcc $