From owner-freebsd-ports@FreeBSD.ORG Fri Oct 18 18:29:31 2013 Return-Path: Delivered-To: freebsd-ports@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 E98515B9 for ; Fri, 18 Oct 2013 18:29:30 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 7257B263F for ; Fri, 18 Oct 2013 18:29:30 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3d1bPP1BmfzGMmD for ; Fri, 18 Oct 2013 20:29:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= message-id:content-transfer-encoding:content-type:content-type :mime-version:in-reply-to:references:user-agent:date:date :subject:subject:organization:from:from:received:received :received; s=jakla2; t=1382120967; x=1384712968; bh=dnon4QhH8EDr a60wYuFntc7BEUJC529XW957Zani9fg=; b=KusgbrobuMntar3Cw0pdIpNhu6NM 3NoyNugy3XHP41FAV3GI2oawn1uqn7vcTSgOYwN4baVNHqXOJ4fihUhdpbL9E1h1 VQX8QBZEb+DIhL3VJ4Mrysj6ri6VeZz9yKZvIjO2omn9OFgHNpEwSMzMa6/hpZOQ DPpFiTKDoaeJnGM= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id gPsRsyaJ9qFP for ; Fri, 18 Oct 2013 20:29:27 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Fri, 18 Oct 2013 20:29:27 +0200 (CEST) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mildred.ijs.si (Postfix) with ESMTPSA id F38436D0 for ; Fri, 18 Oct 2013 20:29:26 +0200 (CEST) From: Mark Martinec Organization: J. Stefan Institute To: freebsd-ports@freebsd.org Subject: Re: www/w3m fails to build under stable/10 r256624 i386 Date: Fri, 18 Oct 2013 20:29:26 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.2-STABLE; KDE/4.10.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201310182029.26478.Mark.Martinec+freebsd@ijs.si> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Oct 2013 18:29:31 -0000 > The error message I'm getting is > > cc -I. -I. -O2 -pipe -fno-strict-aliasing -I./libwc > -I/usr/include/openssl -I/usr/local/include -I/usr/local/include > -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" > -DCGIBIN_DIR=\"/usr/local/libexec/w3m/cgi-bin\" > -DHELP_DIR=\"/usr/local/share/w3m\" -DETC_DIR=\"/usr/local/etc\" > -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" > -DLOCALEDIR=\"/usr/local/share/locale\" -c main.c > main.c:836:23: error: assigning to 'GC_warn_proc' (aka 'void (*)(char > *, GC_word)') from incompatible type 'void' > orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > main.c:2264:37: warning: incompatible pointer types passing 'char **' > to parameter of type 'wc_uchar **' (aka 'unsigned char **') > [-Wincompatible-pointer-types] > return wc_any_to_ucs(wtf_parse1(&p)); > ^~ > ./libwc/wtf.h:71:41: note: passing argument to parameter 'p' here > extern wc_wchar_t wtf_parse1(wc_uchar **p); > ^ > 1 warning and 1 error generated. > *** Error code 1 > > Stop. > make[1]: stopped in /wrkdirs/usr/ports/www/w3m/work/w3m-0.5.3 > *** Error code 1 > > Anyone else seeing this? www/w3m is quite an important port because > it's required to build devel/git. Same on FreeBSD 9.2-RELEASE and 9.2-STABLE (under pudriere): Building for w3m-0.5.3_2 (echo '#define DEFUN(x,y,z) x y'; sed -ne '/^DEFUN/{p;n;/^[ ]/p;}' ./main.c ./menu.c) | cpp - | awk '$1 ~ /^[_A-Za-z]/ { for (i=2;i<=NF;i++) { print $i, $1} }' > funcname.tab.tmp funcname.tab updated sort funcname.tab | /usr/bin/awk -f ./funcname1.awk > funcname1.h cc -I. -I. -O2 -pipe -fstack-protector -fno-strict-aliasing -I./libwc -I/usr/include/openssl -I/usr/local/include -I/usr/local/include - DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/local/libexec/w3m\" -DCGIBIN_DIR=\"/usr/local/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/local/share/w3m\" - DETC_DIR=\"/usr/local/etc\" -DCONF_DIR=\"/usr/local/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/local/share/locale\" -c main.c main.c: In function 'main': main.c:836: error: void value not ignored as it ought to be main.c: In function 'getChar': main.c:2264: warning: passing argument 1 of 'wtf_parse1' from incompatible pointer type *** [main.o] Error code 1 Stop in /wrkdirs/usr/ports/www/w3m/work/w3m-0.5.3. *** [do-build] Error code 1 Stop in /usr/ports/www/w3m. ===> Cleaning for w3m-0.5.3_2 Mark