Source: radeontool
Version: 1.6.2-1
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs hardening-format-security hardening
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> gcc -DPACKAGE_NAME=\"radeontool\" -DPACKAGE_TARNAME=\"radeontool\" 
> -DPACKAGE_VERSION=\"1.6.2\" -DPACKAGE_STRING=\"radeontool\ 1.6.2\" 
> -DPACKAGE_BUGREPORT=\"xorg-driver-...@lists.x.org\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"radeontool\" -DVERSION=\"1.6.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.     -Wall -g 
> -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat 
> -Wformat-security -Werror=format-security -c radeontool.c
> radeontool.c: In function 'fatal':
> radeontool.c:42:5: error: format not a string literal and no format arguments 
> [-Werror=format-security]
> radeontool.c: In function 'map_radeon_cntl_mem':
> radeontool.c:969:5: warning: 'pci_device_map_region' is deprecated (declared 
> at /usr/include/pciaccess.h:85) [-Wdeprecated-declarations]
> radeontool.c:973:5: warning: 'pci_device_map_region' is deprecated (declared 
> at /usr/include/pciaccess.h:85) [-Wdeprecated-declarations]
> radeontool.c: In function 'radeon_rom_legacy_mmio_table':
> radeontool.c:2175:36: warning: unused variable 'tmp' [-Wunused-variable]
> radeontool.c: In function 'radeon_rom_legacy_dynclk1table':
> radeontool.c:2284:27: warning: unused variable 'i' [-Wunused-variable]
> radeontool.c:2284:20: warning: unused variable 'start' [-Wunused-variable]
> radeontool.c:2284:14: warning: unused variable 'type' [-Wunused-variable]
> radeontool.c: In function 'radeon_rom_legacy_pllinittable':
> radeontool.c:2297:27: warning: unused variable 'i' [-Wunused-variable]
> radeontool.c:2297:20: warning: unused variable 'start' [-Wunused-variable]
> radeontool.c:2297:14: warning: unused variable 'type' [-Wunused-variable]
> radeontool.c: In function 'radeon_rom_legacy_igptable':
> radeontool.c:2368:2: warning: format '%f' expects argument of type 'double', 
> but argument 2 has type 'int' [-Wformat]
> radeontool.c:2378:6: warning: format '%f' expects argument of type 'double', 
> but argument 2 has type 'int' [-Wformat]
> radeontool.c:2379:6: warning: format '%f' expects argument of type 'double', 
> but argument 2 has type 'int' [-Wformat]
> radeontool.c:2380:6: warning: format '%f' expects argument of type 'double', 
> but argument 2 has type 'int' [-Wformat]
> radeontool.c: At top level:
> radeontool.c:136:13: warning: 'radeon_set_mcind' defined but not used 
> [-Wunused-function]
> radeontool.c: In function 'radeon_rom_tables':
> radeontool.c:2803:6: warning: ignoring return value of 'read', declared with 
> attribute warn_unused_result [-Wunused-result]
> cc1: some warnings being treated as errors
> 
> make[2]: *** [radeontool.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2011/09/23/radeontool_1.6.2-1_lsid64.buildlog

This happened because since dpkg 1.16.0 [0], hardening flags are enabled 
under various conditions.

[0] http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html

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.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to