Compile error mail/alpine
David Southwell
david at vizion2000.net
Tue Aug 4 09:15:17 UTC 2009
> 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 at 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
More information about the freebsd-ports
mailing list