grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update builds broken


From: Michal Suchanek
Subject: Update builds broken
Date: Thu, 8 Apr 2010 12:56:09 +0200

Hello

When the source is updated rebuilding grub fails.

The build descends into the source directory (..) to remake something
but fails nonetheless.

Either these rules to descend into source directory are useless and
should be removed or they are broken and should be updated to actually
bring the source into buildable shape. Note that running autogen.sh in
the source directory manually fixes the issue.

Thanks

Michal

$ make
cd .. && aclocal
/usr/share/aclocal/gtkgl.m4:4: warning: underquoted definition of AM_PATH_GTKGL
/usr/share/aclocal/gtkgl.m4:4:   run info '(automake)Extending aclocal'
/usr/share/aclocal/gtkgl.m4:4:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
cd .. && autoconf
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ../configure
--prefix=/scratch/grub2-bin  --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cmp... cmp
checking for flex... flex
checking for bison... bison
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking for ruby... /usr/bin/ruby
checking for makeinfo... /usr/bin/makeinfo
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking whether our compiler is apple cc... no
checking for help2man... no
checking for posix_memalign... yes
checking for memalign... yes
checking for asprintf... yes
checking for vasprintf... yes
checking whether sys/types.h defines makedev... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for memmove... yes
checking for sbrk... yes
checking for strdup... yes
checking for lstat... yes
checking for getuid... yes
checking for getgid... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for objcopy... objcopy
checking for strip... strip
checking for nm... nm
checking whether -falign-loops works... yes
checking whether -fno-dwarf2-cfi-asm works... no
checking whether our target compiler is apple cc... no
checking for command to convert module to ELF format...
checking whether `gcc' generates calls to `__enable_execute_stack()'... no
checking whether `gcc' has `-fPIE' as default... no
checking whether `gcc' accepts `-fstack-protector'... yes
checking whether `gcc' accepts `-mstack-arg-probe'... yes
checking for __bswapsi2... yes
checking for __bswapdi2... yes
checking for __ashldi3... yes
checking for __ashrdi3... yes
checking for __lshrdi3... yes
checking for __trampoline_setup... no
checking for __ucmpdi2... yes
checking for _restgpr_14_x... no
checking whether target compiler is working... yes
checking whether objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking if C symbols get an underscore after compilation... no
checking if __bss_start is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed
with an asterisk... no
checking whether options required for efiemu work... yes
checking whether -nostdinc -isystem works... yes
checking for freetype-config... freetype-config
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes
checking whether ln can handle directories properly... yes
configure: creating ./config.status
*******************************************************
GRUB2 will be compiled with following components:
Platform: i386-pc
With memory debugging: No
efiemu runtime: Yes
grub-fstest: Yes
grub-mkfont: Yes
*******************************************************
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating gensymlist.sh
config.status: creating genkernsyms.sh
config.status: creating stamp-h
config.status: creating config.h
config.status: linking ../include/grub/i386 to include/grub/cpu
config.status: linking ../include/grub/i386/pc to include/grub/machine
config.status: executing depfiles commands
config.status: executing po-directories commands
cd .. && autoheader
configure.ac:42: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
../../lib/autoconf/general.m4:1819: AC_CANONICAL_TARGET is expanded from...
configure.ac:42: the top level
echo timestamp > ../stamp-h.in
gcc -Ignulib -I../gnulib -I. -I./include -I../gnulib -I../include
-Wall -W -DGRUB_LIBDIR=\"/scratch/grub2-bin/lib/`echo grub/i386-pc |
sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1
-DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o
grub_mkimage-gnulib_progname.o ../gnulib/progname.c
gcc -Iutil -I../util -I. -I./include -I../gnulib -I../include -Wall -W
-DGRUB_LIBDIR=\"/scratch/grub2-bin/lib/`echo grub/i386-pc | sed
's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1
-DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o
grub_mkimage-util_grub_mkrawimage.o ../util/grub-mkrawimage.c
gcc -Iutil -I../util -I. -I./include -I../gnulib -I../include -Wall -W
-DGRUB_LIBDIR=\"/scratch/grub2-bin/lib/`echo grub/i386-pc | sed
's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1
-DGRUB_KERNEL_MACHINE_LINK_ADDR=0x8200 -MD -c -o
grub_mkimage-util_misc.o ../util/misc.c
In file included from ../include/grub/handler.h:23,
                 from ../include/grub/term.h:41,
                 from ../util/misc.c:42:
../include/grub/list.h: In function ‘grub_prio_list_remove’:
../include/grub/list.h:107: error: ‘GRUB_FILE’ undeclared (first use
in this function)
../include/grub/list.h:107: error: (Each undeclared identifier is
reported only once
../include/grub/list.h:107: error: for each function it appears in.)
In file included from ../util/misc.c:42:
../include/grub/term.h: In function ‘grub_term_register_input’:
../include/grub/term.h:206: error: ‘GRUB_FILE’ undeclared (first use
in this function)
../include/grub/term.h: In function ‘grub_term_register_output’:
../include/grub/term.h:221: error: ‘GRUB_FILE’ undeclared (first use
in this function)
../include/grub/term.h: In function ‘grub_term_unregister_input’:
../include/grub/term.h:235: error: ‘GRUB_FILE’ undeclared (first use
in this function)
../include/grub/term.h: In function ‘grub_term_unregister_output’:
../include/grub/term.h:243: error: ‘GRUB_FILE’ undeclared (first use
in this function)
make: *** [grub_mkimage-util_misc.o] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]