NetBSD Problem Report #49041
From paul@whooppee.com Sun Jul 27 14:13:20 2014
Return-Path: <paul@whooppee.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 10E22A7C2F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Jul 2014 14:13:20 +0000 (UTC)
Message-Id: <20140727141318.33BBB248D5F@screamer.whooppee.com>
Date: Sun, 27 Jul 2014 07:13:18 -0700 (PDT)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/grub2 fails to build
X-Send-Pr-Version: 3.95
>Number: 49041
>Category: pkg
>Synopsis: sysutils/grub2 fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gsutre
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 27 14:15:00 +0000 2014
>Closed-Date: Sun Apr 05 05:59:33 +0000 2015
>Last-Modified: Sun Apr 05 05:59:33 +0000 2015
>Originator: Paul Goyette
>Release: NetBSD 6.99.47
>Organization:
-------------------------------------------------------------------------
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
>Environment:
System: NetBSD screamer.whooppee.com 6.99.47 NetBSD 6.99.47 (WHOOPPEE (shared) 2014-07-12 11:28:08) #0: Sat Jul 12 06:05:22 PDT 2014 paul@screamer.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/WHOOPPEE amd64
Architecture: x86_64
Machine: amd64
>Description:
grub2 fails to build, with following error messages:
gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/pkg/lib/grub\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DGRUB_FILE=\"util/getroot.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/include -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswi
tch -Wtr
igraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -O2 -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/include -MT util/libgrubkern_a-getroot.o -MD -MP -MF util/.deps-util/libgrubkern_a-getroot.Tpo -c -o util/libgrubkern_a-getroot.o `test -f 'util/getroot.c' || echo './'`util/getroot.c
util/getroot.c: In function 'find_root_devices_from_poolname':
util/getroot.c:272:26: error: unused variable 'path' [-Werror=unused-variable]
nvlist_t **children, **path;
^
util/getroot.c: At top level:
util/getroot.c:224:1: error: 'exec_pipe' defined but not used [-Werror=unused-function]
exec_pipe (char **argv, int *fd)
^
cc1: all warnings being treated as errors
Makefile:17792: recipe for target 'util/libgrubkern_a-getroot.o' failed
gmake[2]: *** [util/libgrubkern_a-getroot.o] Error 1
gmake[2]: Leaving directory '/tmp/pkgs/sysutils/grub2/work.x86_64/grub-2.00'
>How-To-Repeat:
cd $PKGSRC/sysutils/grub2
make package
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->gsutre
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 28 Jul 2014 16:38:06 +0000
Responsible-Changed-Why:
Over to maintainer.
From: =?UTF-8?B?R3LDqWdvaXJlIFN1dHJl?= <gsutre@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49041 CVS commit: pkgsrc/sysutils/grub2
Date: Fri, 5 Sep 2014 12:14:24 +0000
Module Name: pkgsrc
Committed By: gsutre
Date: Fri Sep 5 12:14:24 UTC 2014
Modified Files:
pkgsrc/sysutils/grub2: Makefile distinfo options.mk
Added Files:
pkgsrc/sysutils/grub2/patches:
patch-grub-core_lib_xzembed_xz__dec__lzma2.c patch-util_getroot.c
Log Message:
Fix PR pkg/49041 and update the dejavu-ttf dependency
to account for the font path change.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/grub2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/grub2/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/grub2/options.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/grub2/patches/patch-grub-core_lib_xzembed_xz__dec__lzma2.c \
pkgsrc/sysutils/grub2/patches/patch-util_getroot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 13 Oct 2014 04:55:18 +0000
State-Changed-Why:
Fixed?
State-Changed-From-To: feedback->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Sun, 05 Apr 2015 05:59:33 +0000
State-Changed-Why:
Confirmed fix, nothing more to do.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.