[Parted-maintainers] Bug#552842: gnu-fdisk: FTBFS: cfdisk.c:2485: error: too few arguments to function 'strnlen'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Wed Oct 28 10:40:50 UTC 2009
Source: gnu-fdisk
Version: 1.2.3-1.1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091028 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> x86_64-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib -Wall -g -O2 -D_FILE_OFFSET_BITS=no -MT cfdisk.o -MD -MP -MF .deps/cfdisk.Tpo -c -o cfdisk.o cfdisk.c
> cfdisk.c:488: warning: return type defaults to 'int'
> cfdisk.c: In function '_timer_handler':
> cfdisk.c:1021: warning: format '%4.2d' expects type 'int', but argument 5 has type 'time_t'
> cfdisk.c:1021: warning: format '%.2d' expects type 'int', but argument 6 has type 'time_t'
> cfdisk.c:1021: warning: format '%4.2d' expects type 'int', but argument 5 has type 'time_t'
> cfdisk.c:1021: warning: format '%.2d' expects type 'int', but argument 6 has type 'time_t'
> cfdisk.c: In function 'do_new':
> cfdisk.c:1121: warning: unused variable 'done'
> cfdisk.c:1121: warning: unused variable 'success'
> cfdisk.c: At top level:
> cfdisk.c:1180: warning: return type defaults to 'int'
> cfdisk.c: In function 'do_edit':
> cfdisk.c:1182: warning: unused variable 'dev'
> cfdisk.c: In function 'do_resize':
> cfdisk.c:1282: warning: unused variable 'buf'
> cfdisk.c: In function 'do_rescue':
> cfdisk.c:1440: warning: unused variable 'temp'
> cfdisk.c: In function 'printaflag':
> cfdisk.c:1658: warning: unused variable 'i'
> cfdisk.c: In function 'do_plist':
> cfdisk.c:2247: warning: unused variable 'memp'
> cfdisk.c:2244: warning: unused variable 'i'
> cfdisk.c: In function 'init_disk':
> cfdisk.c:2485: error: too few arguments to function 'strnlen'
> make[3]: *** [cfdisk.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/10/28/gnu-fdisk_1.2.3-1.1_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.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Parted-maintainers
mailing list