From owner-freebsd-ports@FreeBSD.ORG Thu Feb 23 10:36:58 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFEDB1065672 for ; Thu, 23 Feb 2012 10:36:58 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7F98FC08 for ; Thu, 23 Feb 2012 10:36:57 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so1171415bkc.13 for ; Thu, 23 Feb 2012 02:36:57 -0800 (PST) Received-SPF: pass (google.com: domain of kron24@gmail.com designates 10.204.156.18 as permitted sender) client-ip=10.204.156.18; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kron24@gmail.com designates 10.204.156.18 as permitted sender) smtp.mail=kron24@gmail.com; dkim=pass header.i=kron24@gmail.com Received: from mr.google.com ([10.204.156.18]) by 10.204.156.18 with SMTP id u18mr405648bkw.32.1329993417150 (num_hops = 1); Thu, 23 Feb 2012 02:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=wvPPMgBrOF5AaSORAKt69HWPz+TdgGlIsNsQSqzUc5M=; b=VZx1mwmufx0Ru3mDlsuV70CeCBZJr5+ELad0nIBhB+6dqBCjASqYvdTF/aRiu4ygyU Oej8w2Mq2msIB7N+Pmy6dFXoCctOsGfA+3yiFI27CvywKFRKedW7ZvfaN/ishSn0i7lC Z6zW+bQ65b8vQYZigF7qoqH0kYeUg6dt1qkKg= Received: by 10.204.156.18 with SMTP id u18mr310663bkw.32.1329991952638; Thu, 23 Feb 2012 02:12:32 -0800 (PST) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id ez5sm1663448bkc.15.2012.02.23.02.12.29 (version=SSLv3 cipher=OTHER); Thu, 23 Feb 2012 02:12:31 -0800 (PST) Message-ID: <4F46110C.6060508@gmail.com> Date: Thu, 23 Feb 2012 11:12:28 +0100 From: kron User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 23 Feb 2012 12:34:54 +0000 Cc: ntarmos@cs.uoi.gr Subject: conky does not build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 10:36:58 -0000 Hi, conky does not build on 9-STABLE: ... cc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/local/lib/conky\" -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -Wall -W -O2 -pipe -march=nocona -fno-strict-aliasing -MT conky-freebsd.o -MD -MP -MF .deps/conky-freebsd.Tpo -c -o conky-freebsd.o `test -f 'freebsd.c' || echo './'`freebsd.c freebsd.c:286:46: error: operator '<' has no left operand freebsd.c: In function 'get_cpu_count': freebsd.c:303: warning: unused variable 'cpu_count_len' gmake[2]: *** [conky-freebsd.o] Error 1 gmake[2]: Leaving directory `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/sysutils/conky. *** Error code 1 Stop in /usr/ports/sysutils/conky. There are other people with the same problem [1]. It seems related to __FreeBSD_kernel__ (missing macro?). I didn't go deeper (ENOTIME), maybe someone on the list knows more... While speaking about conky I'd like mention another issue - very low MAX_NET_INTERFACES value. When I run VirtualBox, conky crashes due to increased number of network interfaces on the host. What about the following patch? (I know it doesn't cure the the cause... but yet does help a bit) diff -Naur conky-1.8.1/configure conky-1.8.1-patched/configure --- configure.orig +++ configure @@ -16102,7 +16102,7 @@ $as_echo "#define DEFAULT_TEXT_BUFFER_SIZE 256" >>confdefs.h -$as_echo "#define MAX_NET_INTERFACES 16" >>confdefs.h +$as_echo "#define MAX_NET_INTERFACES 64" >>confdefs.h (CC'd to MAINTAINER) Best regards, Oli [1] http://forums.freebsd.org/showthread.php?t=29128