Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2010 01:44:14 +0200
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        delphij@FreeBSD.org
Subject:   ports/147456: openldap24-client build failure on 6.4 AMD64 
Message-ID:  <E1OKK58-0000IK-8K@apollo.emma.line.org>
Resent-Message-ID: <201006032350.o53No29e090381@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147456
>Category:       ports
>Synopsis:       openldap24-client build failure on 6.4 AMD64
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 03 23:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #15: Wed Jun 2 21:02:32 CEST 2010 root@apollo.emma.line.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
OpenLDAP fails to build on 6.4 AMD64 in a Tinderbox that can otherwise
build ports happily.  Apparently the pthread build flag detection is
broken, and comes up without proper library flags added, so that there
are linker errors.

Tinderbox errors:
threads (1)
389	checking for pthread link with -lpthread -lmach -lexc -lc_r...  no

linker_error (22)
1125	./.libs/libldap_r.so: undefined reference to `pthread_attr_destroy'
1126	./.libs/libldap_r.so: undefined reference to `pthread_attr_destroy'
1127	./.libs/libldap_r.so: undefined reference to `pthread_create'
1128	./.libs/libldap_r.so: undefined reference to `pthread_attr_init'
1129	./.libs/libldap_r.so: undefined reference to `pthread_exit'
1130	./.libs/libldap_r.so: undefined reference to `pthread_create'
1131	./.libs/libldap_r.so: undefined reference to `pthread_attr_init'
1132	./.libs/libldap_r.so: undefined reference to `pthread_exit'
1133	./.libs/libldap_r.so: undefined reference to `pthread_equal'
1134	./.libs/libldap_r.so: undefined reference to `pthread_equal'
1135	./.libs/libldap_r.so: undefined reference to `pthread_setconcurrency'
1136	./.libs/libldap_r.so: undefined reference to `pthread_kill'
1137	./.libs/libldap_r.so: undefined reference to `pthread_setconcurrency'
1138	./.libs/libldap_r.so: undefined reference to `pthread_kill'
1139	./.libs/libldap_r.so: undefined reference to `pthread_attr_setstacksize'
1140	./.libs/libldap_r.so: undefined reference to `pthread_attr_setstacksize'
1141	./.libs/libldap_r.so: undefined reference to `pthread_attr_setdetachstate'
1142	./.libs/libldap_r.so: undefined reference to `pthread_attr_setdetachstate'
1143	./.libs/libldap_r.so: undefined reference to `pthread_join'
1144	./.libs/libldap_r.so: undefined reference to `pthread_join'
1145	./.libs/libldap_r.so: undefined reference to `pthread_getconcurrency'
1146	./.libs/libldap_r.so: undefined reference to `pthread_getconcurrency'

The full log is (< 12 kB compressed, ~119 kB uncompressed) at
http://homepages.uni-paderborn.de/mandree/openldap-client-2.4.22.log.gz
	
>How-To-Repeat:
build openldap24-client in a tinderbox for FreeBSD 6.4
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OKK58-0000IK-8K>