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

Bug#642700: freebsd-buildutils: FTBFS: arch.c:42:10: error: expected declaration specifiers or '...' before string constant



Source: freebsd-buildutils
Version: 8.2-7
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -O2 -pipe  -I/build/freebsd-buildutils-5HQybK/freebsd-buildutils-8.2/build-tree/src/usr.bin/make -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c arch.c
> arch.c:42:10: error: expected declaration specifiers or '...' before string constant
> In file included from /usr/include/bsd/stdio.h:36:0,
>                  from /usr/include/bsd/string.h:44,
>                  from arch.c:92:
> /usr/include/stdio.h:445:12: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls]
> /usr/include/stdio.h:448:12: warning: redundant redeclaration of 'scanf' [-Wredundant-decls]
> /usr/include/stdio.h:450:12: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls]
> /usr/include/stdio.h:496:12: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls]
> /usr/include/stdio.h:501:12: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls]
> /usr/include/stdio.h:504:12: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls]
> arch.c: In function 'Arch_ParseArchive':
> arch.c:407:12: warning: the comparison will always evaluate as 'false' for the address of 'members' will never be NULL [-Waddress]
> *** Error code 1
> 
> Stop in /build/freebsd-buildutils-5HQybK/freebsd-buildutils-8.2/build-tree/src/usr.bin/make.
> make: *** [build-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/23/freebsd-buildutils_8.2-7_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



Reply to: