From owner-freebsd-ports@FreeBSD.ORG Wed Mar 27 19:10:34 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B760F511 for ; Wed, 27 Mar 2013 19:10:34 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5F084F for ; Wed, 27 Mar 2013 19:10:34 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UKvk1-0004R2-HB for freebsd-ports@freebsd.org; Wed, 27 Mar 2013 12:10:33 -0700 Date: Wed, 27 Mar 2013 12:10:33 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1364411433517-5799461.post@n5.nabble.com> In-Reply-To: <515341D8.1040908@gmail.com> References: <1364397485043-5799405.post@n5.nabble.com> <51532491.6050507@gmail.com> <1364407584254-5799443.post@n5.nabble.com> <515341D8.1040908@gmail.com> Subject: Re: grub2 with libzfs MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Wed, 27 Mar 2013 19:10:34 -0000 >> current version of grub2 in the ports could be sufficient for your need That's what I had hoped for and expected, but the port build fails (that's why I had contacted the port maintainer Sergey Matveychuk). Build for grub 1.98_1 breaks at: gcc -Iefiemu -I./efiemu -nostdinc -isystem /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd10.0/4.6.3/include -I./include -I. -I./include -Wall -W -Os -DGRUB_MACHINE_PCBIOS=1 -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes -Wundef -Wstrict-prototypes -g -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -m32 -fno-stack-protector -mno-stack-arg-probe -Werror -fno-builtin -mrtd -mregparm=3 -m32 -MD -c -o efiemu_mod-efiemu_main.o efiemu/main.c efiemu/main.c: In function 'grub_efiemu_prepare': efiemu/main.c:280:14: error: variable 'err' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors gmake: *** [efiemu_mod-efiemu_main.o] Error 1 *** [do-build] Error code 1 Is there a way to get around the error? Thanks and Regards -- View this message in context: http://freebsd.1045724.n5.nabble.com/grub2-with-libzfs-tp5799405p5799461.html Sent from the freebsd-ports mailing list archive at Nabble.com.