Subject: pkg/28464: gpgme won't build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@research.att.com>
List: pkgsrc-bugs
Date: 11/29/2004 15:27:00
>Number:         28464
>Category:       pkg
>Synopsis:       gpgme won't build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 29 15:27:00 +0000 2004
>Originator:     Steven M. Bellovin
>Release:        NetBSD 2.99.10
>Organization:
	
>Environment:
	
	
System: NetBSD chadash.machshav.com 2.99.10 NetBSD 2.99.10 (GENERIC.MPACPI) #0: Tue Nov 23 20:58:14 EST 2004 smb@pacific.research.att.com:/usr/BUILD/obj/sys/arch/i386/compile/GENERIC.MPACPI i386
Architecture: i386
Machine: i386
>Description:
	security/gpgme won't build, which prevents kde3 from building.
	The problem is some thread-related calls in the autoconfig
	secript; here are the relevant lines from config.log:
	configure:2384: gcc -v </dev/null >&5
	Using built-in specs.
	Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf : (reconfigured) /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf --target=i386--netbsdelf
	Thread model: posix
	gcc version 3.3.3 (NetBSD nb3 20040520)
	configure:2387: $? = 0
	configure:2389: gcc -V </dev/null >&5
	gcc: couldn't run `/usr/bin/i386--netbsdelf-gcc--I/usr/pkgsrc/security/gpgme/work/.buildlink/include': No such file or directory
	configure:2392: $? = 1
	configure:2415: checking for C compiler default output file name
	configure:2418: gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lrfuncs conftest.c  -lintl >&5
	/usr/pkgsrc/security/gpgme/work/.buildlink/lib/librfuncs.so: undefined reference to `pthread_mutex_unlock'
	/usr/pkgsrc/security/gpgme/work/.buildlink/lib/librfuncs.so: undefined reference to `pthread_mutex_lock'
	configure:2421: $? = 1
	configure: failed program was:
	| /* confdefs.h.  */
	| 
	| #define PACKAGE_NAME "gpgme"
	| #define PACKAGE_TARNAME "gpgme"
	| #define PACKAGE_VERSION "1.0.1"
	| #define PACKAGE_STRING "gpgme 1.0.1"
	| #define PACKAGE_BUGREPORT "bug-gpgme@gnupg.org"
	| #define PACKAGE "gpgme"
	| #define VERSION "1.0.1"
	| /* end confdefs.h.  */
	| 
	| int
	| main ()
	| {
	| 
	|   ;
	|   return 0;
	| }
	configure:2459: error: C compiler cannot create executables
	See `config.log' for more details.

>How-To-Repeat:
	cd /usr/pkgsrc/security/gpgme && make clean && make
>Fix:
	None known

>Unformatted: