Date: Sun, 5 Jan 2003 22:17:46 +0100 (CET) From: Xavier Beaudouin <kiwi@oav.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46789: Missing -pthread flag needed by libfiredns to mail/messagewall aovoid linking binary Message-ID: <20030105211746.6AB621575E@kaneda.oav.net>
next in thread | raw e-mail | index | archive | help
>Number: 46789 >Category: ports >Synopsis: Missing -pthread flag needed by libfiredns to mail/messagewall aovoid linking binary >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 05 13:20:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Xavier Beaudouin >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: The Caudium Group >Environment: System: FreeBSD kaneda.oav.net 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Sat Nov 23 17:12:25 CET 2002 root@kaneda.oav.net:/usr/src/sys/compile/KANEDA i386 Port tree collection from today 01/05/2003 >Description: Lib firedns includes at its compilation so messagewall needs it and forgot it. Here is some extract of the result : cc -O -pipe -march=pentiumpro -march=pentiumpro -I/usr/local/include -I/usr/loca l/ssl/include -I/usr/local/openssl/include -DCONFDIR=\"/usr/local/etc\" -DBINDIR =\"/usr/local/bin\" -o virus.o -c virus.c cc -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/openssl/lib -L/usr/ucb/li b -o messagewall auth.o client.o dbase.o dnsbl.o dnsdcc.o md5.o messagewall.o mi me.o rdns.o rfc822.o rmx.o security.o smtp.o tls.o virus.o -lfirestring -lfired ns -lssl -lcrypto -lcrypt /usr/local/lib/libfiredns.so: undefined reference to `pthread_mutex_unlock' /usr/local/lib/libfiredns.so: undefined reference to `pthread_mutex_lock' *** Error code 1 Stop in /usr/ports/mail/messagewall/work/messagewall. *** Error code 1 Stop in /usr/ports/mail/messagewall. >How-To-Repeat: Use the current port from disk with firedns and firestring *NOT* installed on the machine. >Fix: Use the following patch fix this bug and upgrade to 1.0.8 as well : diff -u --recursive --new-file messagewall.old/Makefile messagewall/Makefile --- messagewall.old/Makefile Sun Jan 5 21:46:14 2003 +++ messagewall/Makefile Sun Jan 5 21:52:00 2003 @@ -6,7 +6,7 @@ # PORTNAME= messagewall -PORTVERSION= 1.0.6 +PORTVERSION= 1.0.8 CATEGORIES= mail MASTER_SITES= http://www.messagewall.org/download/ DISTNAME= messagewall-${PORTVERSION} diff -u --recursive --new-file messagewall.old/distinfo messagewall/distinfo --- messagewall.old/distinfo Sun Jan 5 21:46:14 2003 +++ messagewall/distinfo Sun Jan 5 21:52:06 2003 @@ -1 +1 @@ -MD5 (messagewall-1.0.6.tar.gz) = 136cffcf0427c5620925a5793c92b5a6 +MD5 (messagewall-1.0.8.tar.gz) = c8bb5538b4f004b56ba680d50c549b8f diff -u --recursive --new-file messagewall.old/files/patch-aa messagewall/files/patch-aa --- messagewall.old/files/patch-aa Thu Jan 1 01:00:00 1970 +++ messagewall/files/patch-aa Sun Jan 5 21:54:30 2003 @@ -0,0 +1,13 @@ +--- configure.orig Sun Jan 5 21:53:01 2003 ++++ configure Sun Jan 5 21:53:30 2003 +@@ -236,8 +236,8 @@ + if test "$SYSNAME" = "FreeBSD"; then + $ECHO "compiling on FreeBSD:" + if test "$USES_CRYPT" = "yes"; then +- $ECHO " \$LIBS add \"-lcrypt\"" +- INLIBS="$INLIBS -lcrypt" ++ $ECHO " \$LIBS add \"-lcrypt -pthread\"" ++ INLIBS="$INLIBS -lcrypt -pthread" + fi + else + $ECHO "no" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030105211746.6AB621575E>