Bug#318539: grub: FTBFS: Invalid storage class for function

Daniel Schepler schepler at math.berkeley.edu
Sat Jul 16 03:31:26 UTC 2005


Package: grub
Version: 0.95+cvs20040624-17
Severity: serious

>From my build log (using pbuilder in an i386 chroot):

...
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage1  -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1 -falign-loops=1 -falign-functions=1 -Wundef -Os -fno-builtin -nostdinc  -DSUPPORT_SERIAL=1 -DSUPPORT_HERCULES=1 -DSUPPORT_GRAPHICS=1 -DFSYS_EXT2FS=1 -DFSYS_FAT=1 -DFSYS_FFS=1 -DFSYS_UFS2=1 -DFSYS_MINIX=1 -DFSYS_REISERFS=1 -DFSYS_VSTAFS=1 -DFSYS_JFS=1 -DFSYS_XFS=1 -DFSYS_ISO9660=1 -DUSE_MD5_PASSWORDS=1 -g -MT pre_stage2_exec-builtins.o -MD -MP -MF ".deps/pre_stage2_exec-builtins.Tpo" -c -o pre_stage2_exec-builtins.o `test -f 'builtins.c' || echo './'`builtins.c; \
then mv -f ".deps/pre_stage2_exec-builtins.Tpo" ".deps/pre_stage2_exec-builtins.Po"; else rm -f ".deps/pre_stage2_exec-builtins.Tpo"; exit 1; fi
builtins.c: In function 'blocklist_func':
builtins.c:145: error: invalid storage class for function 'disk_read_blocklist_func'
builtins.c:145: warning: no previous prototype for 'disk_read_blocklist_func'
builtins.c: In function 'color_func':
builtins.c:609: error: invalid storage class for function 'color_number'
builtins.c:609: warning: no previous prototype for 'color_number'
...
make[3]: *** [pre_stage2_exec-builtins.o] Error 1
make[3]: Leaving directory `/tmp/buildd/grub-0.95+cvs20040624/stage2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/grub-0.95+cvs20040624'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/grub-0.95+cvs20040624'
make: *** [build-arch-stamp] Error 2

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-9-amd64-k8
Locale: LANG=en, LC_CTYPE=en (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

-- no debconf information

-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler at math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card




More information about the Pkg-grub-devel mailing list