From owner-freebsd-ports@FreeBSD.ORG Thu Feb 23 14:14:42 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 2C4DA1065670 for ; Thu, 23 Feb 2012 14:14:42 +0000 (UTC) (envelope-from ntarmos@ceid.upatras.gr) Received: from poseidon.ceid.upatras.gr (poseidon.ceid.upatras.gr [150.140.141.169]) by mx1.freebsd.org (Postfix) with ESMTP id 94F608FC16 for ; Thu, 23 Feb 2012 14:14:41 +0000 (UTC) Received: from mail.ceid.upatras.gr (mail.ceid.upatras.gr [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 9546FEB5053; Thu, 23 Feb 2012 15:52:56 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 649F62A3990; Thu, 23 Feb 2012 15:52:56 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wD_CCDiXyfLe; Thu, 23 Feb 2012 15:52:56 +0200 (EET) Received: from diogenis.ceid.upatras.gr (unknown [10.1.0.181]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 43E072A062A; Thu, 23 Feb 2012 15:52:56 +0200 (EET) Received: by diogenis.ceid.upatras.gr (Postfix, from userid 21001) id 069A0A150C; Thu, 23 Feb 2012 15:52:53 +0200 (EET) Date: Thu, 23 Feb 2012 15:52:53 +0200 From: Nikos Ntarmos To: Ivan Klymenko Message-ID: <20120223135253.GD20841@Alien.Universe> References: <4F46110C.6060508@gmail.com> <20120223152625.35396f19@nonamehost.> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120223152625.35396f19@nonamehost.> Organization: Computer Engineering and Informatics Dept., U. of Patras, Greece WWW-Homepage: http://ntarmos.dyndns.org/ X-PGP-Fingerprint: 9680 60A7 DE60 0298 B1F0 9B22 9BA2 7569 CF95 160A GPS-Info: 38.28457N, 21.78848E User-Agent: Mutt/1.5.21 (2010-09-15) Cc: kron , freebsd-ports@freebsd.org Subject: Re: 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 14:14:42 -0000 On Thu, Feb 23, 2012 at 03:26:25PM +0200, Ivan Klymenko wrote: > В Thu, 23 Feb 2012 11:12:28 +0100 > kron пишет: > > > 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 > > > > check out new patches Thanks for the patches mate. Unfortunately I'm in ENOTIME state till the end of the month. I hope you guys can wait until then. Sorry about that. \n\n