From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 17 19:40:02 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D71816A418 for ; Mon, 17 Sep 2007 19:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 020B813C467 for ; Mon, 17 Sep 2007 19:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8HJe116085001 for ; Mon, 17 Sep 2007 19:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8HJe16T085000; Mon, 17 Sep 2007 19:40:01 GMT (envelope-from gnats) Resent-Date: Mon, 17 Sep 2007 19:40:01 GMT Resent-Message-Id: <200709171940.l8HJe16T085000@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Julien Cigar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D92F16A420 for ; Mon, 17 Sep 2007 19:38:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7B513C468 for ; Mon, 17 Sep 2007 19:38:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8HJc8hh086317 for ; Mon, 17 Sep 2007 19:38:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8HJc8w5086316; Mon, 17 Sep 2007 19:38:08 GMT (envelope-from nobody) Message-Id: <200709171938.l8HJc8w5086316@www.freebsd.org> Date: Mon, 17 Sep 2007 19:38:08 GMT From: Julien Cigar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/116423: postgresql82-server (8.2.5) failed to built with LDAP support (-pthread missing ?) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 19:40:02 -0000 >Number: 116423 >Category: ports >Synopsis: postgresql82-server (8.2.5) failed to built with LDAP support (-pthread missing ?) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 17 19:40:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Julien Cigar >Release: 6.2-RELEASE >Organization: >Environment: mordor# uname -a FreeBSD mordor.lan 6.2-RELEASE-p7 FreeBSD 6.2-RELEASE-p7 #0: Mon Aug 6 23:18:49 CEST 2007 mage@mordor.lan:/usr/obj/usr/src/sys/MORDOR i386 >Description: gmake[1]: Leaving directory `/usr/ports/databases/postgresql82-server/work/postgresql-8.2.5/src/port' cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -DFRONTEND -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include -I/usr/local/include -c -o initdb.o initdb.c cc -O2 -fno-strict-aliasing -pipe -O3 -funroll-loops -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing initdb.o -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-R'/usr/local/lib' -lpgport -lintl -lpam -lssl -lcrypto -lz -lreadline -lcrypt -lm -o initdb /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_destroy' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_create' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_init' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_exit' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_equal' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_setconcurrency' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_kill' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_setstacksize' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_attr_setdetachstate' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_join' /usr/local/lib/libldap_r-2.3.so.2: undefined reference to `pthread_getconcurrency' gmake: *** [initdb] Error 1 *** Error code 2 Stop in /usr/ports/databases/postgresql82-server. *** Error code 1 Stop in /usr/ports/databases/postgresql82-server. ===>>> make failed for databases/postgresql82-server ===>>> Aborting update >How-To-Repeat: #> portmaster -vd postgresql-server-8.2.4 The problem appears only when linking PostgreSQL to LDAP. >Fix: I guess a missing -pthread ... ? ps: my openldap libraries have been compiled with thread support (the Shell backend has not been enabled) >Release-Note: >Audit-Trail: >Unformatted: