pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49041: sysutils/grub2 fails to build
>Number: 49041
>Category: pkg
>Synopsis: sysutils/grub2 fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 27 14:15:00 +0000 2014
>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@localhost:/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
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index