From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 12 08:00:04 2007 Return-Path: Delivered-To: freebsd-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 5829A16A419 for ; Sun, 12 Aug 2007 08:00:04 +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 3609213C467 for ; Sun, 12 Aug 2007 08:00:04 +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 l7C803IP066619 for ; Sun, 12 Aug 2007 08:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7C803Mo066618; Sun, 12 Aug 2007 08:00:03 GMT (envelope-from gnats) Resent-Date: Sun, 12 Aug 2007 08:00:03 GMT Resent-Message-Id: <200708120800.l7C803Mo066618@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Andrey V. Semyonov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBA2516A417 for ; Sun, 12 Aug 2007 07:50:25 +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 BE98213C459 for ; Sun, 12 Aug 2007 07:50:25 +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 l7C7oNS5052957 for ; Sun, 12 Aug 2007 07:50:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l7C7oNoQ052956; Sun, 12 Aug 2007 07:50:23 GMT (envelope-from nobody) Message-Id: <200708120750.l7C7oNoQ052956@www.freebsd.org> Date: Sun, 12 Aug 2007 07:50:23 GMT From: "Andrey V. Semyonov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/115433: Zabbix 1.4.1_2, 1 port doesn't build with threads-enabled SQLite3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2007 08:00:04 -0000 >Number: 115433 >Category: misc >Synopsis: Zabbix 1.4.1_2,1 port doesn't build with threads-enabled SQLite3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 08:00:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Andrey V. Semyonov >Release: 6.2-STABLE >Organization: >Environment: FreeBSD freebsd.systemplanet.ru 6.2-STABLE FreeBSD 6.2-STABLE #1: Mon May 14 20:51:25 MSD 2007 wilfre@valhalla.unity-net.ru:/usr/obj/usr/src/sys/VALHALLA62 i386 >Description: If I try to build zabbix (port rev. 1.4.1_2,1) with SQLite3 option and SQLite3 port build with threads support, then zabbix don't even configure: ------- BEGIN -------- configure:9652: checking for main in -lcurl configure:9681: cc -o conftest -O2 -fno-strict-aliasing -pipe -I/usr/local/inc lude -I/usr/local/include -L/usr/local/lib -lsqlite3 -L/usr/local/lib -l iksemel -L/usr/local/lib conftest.c -lcurl -lkvm -lm >&5 /usr/local/lib/libsqlite3.so: undefined reference to `pthread_create' /usr/local/lib/libsqlite3.so: undefined reference to `pthread_equal' /usr/local/lib/libsqlite3.so: undefined reference to `pthread_join' configure:9687: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "zabbix" | #define VERSION "1.4.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SYSLOG_H 1 | #define HAVE_TIME_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_MATH_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_DIRENT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_MOUNT_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_SYS_STATVFS_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_SYS_VMMETER_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_SYSCTL_H 1 | #define HAVE_VM_VM_PARAM_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SYSCALL_H 1 | #define HAVE_SYS_PROCFS_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_PWD_H 1 | #define HAVE_SYS_PROC_H 1 | #define HAVE_RESOLV_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_SYS_DKSTAT_H 1 | #define HAVE_SYS_DISK_H 1 | #define HAVE_NLIST_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_KVM_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_REGEX_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_SEM_H 1 | #define HAVE_SYS_IPC_H 1 | #define HAVE_SYS_SHM_H 1 | #define HAVE_SYS_TIMEB_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_SYS_FILE_H 1 | #define HAVE_LIBM 1 | #define HAVE_LIBKVM 1 | #define HAVE_SEMUN 1 | #define HAVE_PROC 1 | #define HAVE_PROC_STAT 1 | #define HAVE_PROC_1_STATUS 1 | #define HAVE_PROC_LOADAVG 1 | #define HAVE_PROC_NET_DEV 1 | #define HAVE_SYS_RESOURCE_SETPRIORITY 1 | #define HAVE___VA_COPY 1 | #define HAVE_SYS_VMMETER_VMTOTAL 1 | #define HAVE_FUNCTION_SYSCTL_KERN_BOOTTIME 1 | #define HAVE_FUNCTION_SYSCTL_KERN_MAXFILES 1 | #define HAVE_FUNCTION_SYSCTL_KERN_MAXPROC 1 | #define HAVE_FUNCTION_SETEUID 1 | #define HAVE_FUNCTION_SETPROCTITLE 1 | #define RETSIGTYPE void | #define HAVE_GETLOADAVG 1 | #define HAVE_SOCKET 1 | #define HAVE_STRTOD 1 | #define HAVE_SNPRINTF 1 | #define HAVE_VASPRINTF 1 | #define HAVE_ASPRINTF 1 | #define HAVE_VSNPRINTF 1 | #define HAVE_HSTRERROR 1 | #define HAVE_ATOLL 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_SQLITE3 1 | #define HAVE_IKSEMEL 1 | #define HAVE_JABBER 1 | /* end confdefs.h. */ | | | int | main () | { | return main (); | ; | return 0; | } configure:9721: result: no configure:9729: error: Not found libcurl library --------- END -------- I tried to build the same sourcecode as shown in error log with additional `-pthread` option to cc and then it did clearly. >How-To-Repeat: Install SQLite3 (databases/sqlite3) with at least THREADS option enabled, then try to install zabbix. >Fix: >Release-Note: >Audit-Trail: >Unformatted: