From owner-freebsd-ports@FreeBSD.ORG Tue Aug 4 09:15:16 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF7EF106566B for ; Tue, 4 Aug 2009 09:15:16 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7E06B8FC17 for ; Tue, 4 Aug 2009 09:15:16 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id 0EB8434D434; Tue, 4 Aug 2009 10:15:05 +0100 (BST) From: David Southwell Organization: Voice & Vision To: Doug Barton Date: Tue, 4 Aug 2009 10:15:04 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) References: <200908030934.37876.david@vizion2000.net> <4A7727B3.9000909@FreeBSD.org> In-Reply-To: <4A7727B3.9000909@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908041015.04954.david@vizion2000.net> Cc: freebsd-ports@freebsd.org Subject: Re: Compile error mail/alpine X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 09:15:17 -0000 > FYI, In the future you're likely to get faster results if you send > your problem report to the port's maintainer as well as the > freebsd-ports@ list. Thanks Doug see below for replies > > David Southwell wrote: > > FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64- > > builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > on intel quad core > > > > > > cc -std=gnu99 -g -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe - > > DLDAP_DEPRECATED -rpath=/usr/local/lib -o alpine addrbook.o adrbkcmd.o > > after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o > > dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o > > ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o > > pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o > > setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o -lcrypt > > -lpam -L/usr/lib - L/usr/local/openssl/lib -L/usr/local/lib > > ../pico/libpico.a > > ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a > > ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a > > /usr/local/lib/libldap.so -lcrypto -ltinfo /usr/local/lib/liblber.so > > -lssl - Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib > > ../c-client/c-client.a(osdep.o)(.text+0x68a1): In function > > `ssl_onceonlyinit': > > /usr/ports/mail/alpine/work/alpine-2.00/imap/c-client/osdep.c:335: > > warning: warning: tmpnam() possibly used unsafely; consider using > > mkstemp() after.o(.text+0x36d): In function `start_after': > > /usr/ports/mail/alpine/work/alpine-2.00/alpine/after.c:77: undefined > > reference to `pthread_create' > > *** Error code 1 > > I just tried building it on a 7.2-STABLE amd64 from June 13th > (r194101) and didn't have any problems. Can you please post the > contents of /var/db/ports/alpine/options? Also, do you have any > options related to thread libraries in /etc/make.conf, and are you > using openssl from the ports, or in the base? > > > Doug /var/db/ports/alpine/options: I have tried with: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for alpine-2.00_1 _OPTIONS_READ=alpine-2.00_1 WITH_THREADS=true WITH_MOUSE=true WITHOUT_NLS=true WITHOUT_ISPELL=true WITHOUT_NOSPELL=true WITH_PICO=true WITH_IPV6=true WITH_LDAP=true WITHOUT_PASSFILE=true WITH_CONS25=true WITHOUT_QUOTA=true WITH_MAILDIR=true AND # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for alpine-2.00_1 _OPTIONS_READ=alpine-2.00_1 WITH_THREADS=true WITH_MOUSE=true WITHOUT_NLS=true WITHOUT_ISPELL=true WITHOUT_NOSPELL=true WITH_PICO=true WITHOUT_IPV6=true WITH_LDAP=true WITHOUT_PASSFILE=true WITH_CONS25=true WITHOUT_QUOTA=true WITH_MAILDIR=true With the same results openssl: dns1# pkg_info |grep openssl openssl-0.9.8k_2 SSL and crypto library php5-openssl-5.2.10 The openssl shared extension for php py26-openssl-0.8_1 Python interface to the OpenSSL library I also recompiled openssl to make sure all was well. make.conf: dns1# cat /etc/make.conf # added by use.perl 2009-07-30 10:53:48 PERL_VERSION=5.8.9 latest error messages: cc -std=gnu99 -g -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe - DLDAP_DEPRECATED -rpath=/usr/local/lib -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o -lcrypt -lpam -L/usr/lib - L/usr/local/openssl/lib -L/usr/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a /usr/local/lib/libldap.so -lcrypto -ltinfo /usr/local/lib/liblber.so -lssl - Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib ../c-client/c-client.a(osdep.o)(.text+0x68a1): In function `ssl_onceonlyinit': /usr/ports/mail/alpine/work/alpine-2.00/imap/c-client/osdep.c:335: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() after.o(.text+0x36d): In function `start_after': /usr/ports/mail/alpine/work/alpine-2.00/alpine/after.c:77: undefined reference to `pthread_create' *** Error code 1 Stop in /usr/ports/mail/alpine/work/alpine-2.00/alpine. *** Error code 1 Stop in /usr/ports/mail/alpine/work/alpine-2.00/alpine. *** Error code 1 Stop in /usr/ports/mail/alpine/work/alpine-2.00/alpine. *** Error code 1 Stop in /usr/ports/mail/alpine/work/alpine-2.00. *** Error code 1 Stop in /usr/ports/mail/alpine/work/alpine-2.00. *** Error code 1 Stop in /usr/ports/mail/alpine. *** Error code 1 Stop in /usr/ports/mail/alpine. Thanks for your reply David