From owner-freebsd-current@FreeBSD.ORG Fri Sep 27 18:17:25 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4C13811F for ; Fri, 27 Sep 2013 18:17:25 +0000 (UTC) (envelope-from gondim@bsdinfo.com.br) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [67.212.89.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1F11C2207 for ; Fri, 27 Sep 2013 18:17:24 +0000 (UTC) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) by mail.bsdinfo.com.br (Postfix) with ESMTP id 3D9D9139A4 for ; Fri, 27 Sep 2013 15:17:19 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bsdinfo.com.br; h=content-transfer-encoding:content-type:content-type:subject :subject:to:mime-version:user-agent:from:from:date:date :message-id; s=dkim; t=1380305838; x=1381169839; bh=Lc/9yenVvVf1 Jp5s1RdHmbqhLgpRVn0iIXeflZx2Ux0=; b=hnhSfLjKJ629kbys8usB4hrQR0Fs 4qSWpfYQ9E9yxdWxPB/8vpm9uokbhcooZHdGjz0PlB2OmvEfIXlQsRI1xkx2aNjD tc7oYxDU4xu/Rj1oH2I9/VNf8pyk1qbM8EOBq4HUtSWujBv8qvLSfnWU8z03+pJW Nay3ReN8aEtR5/Y= X-Virus-Scanned: amavisd-new at mail.bsdinfo.com.br Received: from mail.bsdinfo.com.br ([127.0.0.1]) by mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zuKgvfLvqCdo for ; Fri, 27 Sep 2013 15:17:18 -0300 (BRT) Received: from MacBook-de-Gondim-2.local (unknown [186.193.48.8]) by mail.bsdinfo.com.br (Postfix) with ESMTPSA id DE36A13989 for ; Fri, 27 Sep 2013 15:17:17 -0300 (BRT) Message-ID: <5245CBAB.5070702@bsdinfo.com.br> Date: Fri, 27 Sep 2013 15:17:15 -0300 From: Marcelo Gondim User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: devel/glib20 compile error Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 18:17:25 -0000 Hi all, Compiling devel/glib20 I got this error: gmake[6]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib/update-pcre' Making all in . gmake[6]: Entering directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' CC libglib_2_0_la-gallocator.lo CC libglib_2_0_la-gcache.lo CC libglib_2_0_la-gcompletion.lo CC libglib_2_0_la-grel.lo CC libglib_2_0_la-gthread-deprecated.lo CC libglib_2_0_la-garray.lo CC libglib_2_0_la-gasyncqueue.lo CC libglib_2_0_la-gatomic.lo gatomic.c:392:10: warning: incompatible integer to pointer conversion passing 'gssize' (aka 'long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] return g_atomic_pointer_add ((volatile gpointer *) atomic, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:170:46: note: expanded from macro 'g_atomic_pointer_add' (gssize) __sync_fetch_and_add ((atomic), (val)); \ ^~~~~ gatomic.c:416:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] return g_atomic_pointer_and ((volatile gpointer *) atomic, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:177:45: note: expanded from macro 'g_atomic_pointer_and' (gsize) __sync_fetch_and_and ((atomic), (val)); \ ^~~~~ gatomic.c:440:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] return g_atomic_pointer_or ((volatile gpointer *) atomic, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:184:44: note: expanded from macro 'g_atomic_pointer_or' (gsize) __sync_fetch_and_or ((atomic), (val)); \ ^~~~~ gatomic.c:464:10: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] return g_atomic_pointer_xor ((volatile gpointer *) atomic, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:191:45: note: expanded from macro 'g_atomic_pointer_xor' (gsize) __sync_fetch_and_xor ((atomic), (val)); \ ^~~~~ 4 warnings generated. CC libglib_2_0_la-gbacktrace.lo CC libglib_2_0_la-gbase64.lo CC libglib_2_0_la-gbitlock.lo CC libglib_2_0_la-gbookmarkfile.lo CC libglib_2_0_la-gbytes.lo CC libglib_2_0_la-gcharset.lo CC libglib_2_0_la-gchecksum.lo CC libglib_2_0_la-gconvert.lo CC libglib_2_0_la-gdataset.lo gconvert.c:66:2: error: GNU libiconv not in use but included iconv.h is from libiconv #error GNU libiconv not in use but included iconv.h is from libiconv ^ gconvert.c:310:21: warning: passing 'gchar **' (aka 'char **') to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] return iconv (cd, inbuf, inbytes_left, outbuf, outbytes_left); ^~~~~ /usr/local/include/iconv.h:83:48: note: passing argument to parameter 'inbuf' here extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); ^ CC libglib_2_0_la-gdate.lo 1 warning and 1 error generated. gmake[6]: *** [libglib_2_0_la-gconvert.lo] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gdataset.c:1191:3: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'GData *' (aka 'struct _GData *') [-Wint-conversion] g_atomic_pointer_or (datalist, (gsize)flags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:184:44: note: expanded from macro 'g_atomic_pointer_or' (gsize) __sync_fetch_and_or ((atomic), (val)); \ ^~~~~ gdataset.c:1214:3: warning: incompatible integer to pointer conversion passing 'gsize' (aka 'unsigned long') to parameter of type 'GData *' (aka 'struct _GData *') [-Wint-conversion] g_atomic_pointer_and (datalist, ~(gsize)flags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./gatomic.h:177:45: note: expanded from macro 'g_atomic_pointer_and' (gsize) __sync_fetch_and_and ((atomic), (val)); \ ^~~~~ gdate.c:432:43: warning: comparison of constant 8 with expression of type 'GDateWeekday' is always true [-Wtautological-constant-out-of-range-compare] return ( (w > G_DATE_BAD_WEEKDAY) && (w < 8) ); ~ ^ ~ 2 warnings generated. 1 warning generated. gmake[6]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/glib20 *** Error code 1 Stop. make: stopped in /usr/ports/devel/glib20 ===>>> make failed for devel/glib20 ===>>> Aborting update ===>>> Killing background jobs Terminated My system: FreeBSD pppoebsd.teste.com.br 10.0-ALPHA3 FreeBSD 10.0-ALPHA3 #30 r255908: Fri Sep 27 09:44:33 BRT 2013 root@pppoebsd.teste.com.br:/usr/obj/usr/src/sys/TESTE10 amd64 Cheers, Gondim