From owner-freebsd-questions@FreeBSD.ORG Tue Mar 12 14:07:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D39EBA39 for ; Tue, 12 Mar 2013 14:07:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 92142B23 for ; Tue, 12 Mar 2013 14:07:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UFPrK-00061I-6S for freebsd-questions@freebsd.org; Tue, 12 Mar 2013 15:07:18 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Mar 2013 15:07:18 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Mar 2013 15:07:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Pan-0.139 won't compile Date: Tue, 12 Mar 2013 14:06:35 +0000 (UTC) Lines: 31 Message-ID: References: <44zjy8lorr.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Cc: freebsd-gnome@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2013 14:07:03 -0000 On Tue, 12 Mar 2013 09:40:40 -0400, Lowell Gilbert wrote: > Walter Hurry writes: > >> Trying to upgrade /usr/ports/news/pan I get this: >> ___________________________________________________________________ >> mime-utils.cc: In function 'char* pan::__g_mime_iconv_strndup(void*, >> const char*, size_t, const char*)': >> mime-utils.cc:80: error: invalid conversion from 'char**' to 'const >> char**' >> mime-utils.cc:80: error: initializing argument 2 of 'size_t libiconv >> (void*, const char**, size_t*, char**, size_t*)' >> gmake[3]: *** [mime-utils.o] Error 1 gmake[3]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan/ usenet-utils' >> gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139/pan' gmake[1]: *** [all-recursive] >> Error 1 gmake[1]: Leaving directory >> `/usr/ports/news/pan/work/pan-0.139' gmake: *** [all] Error 2 *** >> [do-build] Error code 1 >> >> Stop in /usr/ports/news/pan. >> *** [build] Error code 1 >> ___________________________________________________________________ >> >> What should I do next? > > Hmm. Interesting; looks like a compiler issue (the error strikes me as > likely bogus). What compiler were you using? Well, this is 9.1-RELEASE on amd64, and I'm using the default, which I believe is the cc1plus in gcc-4.2.1