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

Bug#643352: marked as done (arpalert: FTBFS: ./log.c:122:3: error: format not a string literal and no format arguments [-Werror=format-security])

Your message dated Tue, 27 Sep 2011 18:47:23 +0000
with message-id <E1R8cgd-0001ia-0u@franck.debian.org>
and subject line Bug#643352: fixed in arpalert 2.0.11-7.1
has caused the Debian Bug report #643352,
regarding arpalert: FTBFS: ./log.c:122:3: error: format not a string literal and no format arguments [-Werror=format-security]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

643352: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643352
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: arpalert
Version: 2.0.11-7
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110923 qa-ftbfs hardening-format-security hardening
Justification: FTBFS on amd64


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

Relevant part:
> x86_64-linux-gnu-gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wall -DCONFIG_FILE=\"/etc/arpalert/arpalert.conf\" -DPID_FILE=\"/var/run/arpalert.pid\" -c -o sens_timeouts.o ./sens_timeouts.c
> ./loadconfig.c: In function 'convert_octal':
> ./loadconfig.c:608:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
> ./loadmodule.c: In function 'alerte_mod':
> ./loadmodule.c:140:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> ./log.c: In function 'logmsg':
> ./log.c:122:3: error: format not a string literal and no format arguments [-Werror=format-security]
> ./sens_timeouts.c: In function 'sens_timeout_add':
> ./sens_timeouts.c:131:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
> ./sens_timeouts.c: In function 'sens_timeout_exist':
> ./sens_timeouts.c:153:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
> ./loadconfig.c: In function 'set_option':
> ./loadconfig.c:813:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> cc1: some warnings being treated as errors
> make[1]: *** [log.o] Error 1

The full build log is available from:

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.

--- End Message ---
--- Begin Message ---
Source: arpalert
Source-Version: 2.0.11-7.1

We believe that the bug you reported is fixed in the latest version of
arpalert, which is due to be installed in the Debian FTP archive:

  to main/a/arpalert/arpalert_2.0.11-7.1.debian.tar.gz
  to main/a/arpalert/arpalert_2.0.11-7.1.dsc
  to main/a/arpalert/arpalert_2.0.11-7.1_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 643352@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Moritz Muehlenhoff <jmm@debian.org> (supplier of updated arpalert package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Tue, 27 Sep 2011 20:39:43 +0200
Source: arpalert
Binary: arpalert
Architecture: source amd64
Version: 2.0.11-7.1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Moritz Muehlenhoff <jmm@debian.org>
 arpalert   - monitor ARP changes in ethernet networks
Closes: 643352
 arpalert (2.0.11-7.1) unstable; urgency=low
   * QA upload
   * Fix build with hardening flags (Closes: #643352)
 013d72b0231058758cc80c9ae35a16ab69054e5a 1230 arpalert_2.0.11-7.1.dsc
 9652a45d6ec4fc17b78092ee7fe798b22f98b8fd 7508 arpalert_2.0.11-7.1.debian.tar.gz
 b99010cee8448c812c0106cf491f34961f787222 519078 arpalert_2.0.11-7.1_amd64.deb
 2d06894a3287a0a9b683651f0927399ebd53c6fcc7f0103926d0195bfa4ff1e4 1230 arpalert_2.0.11-7.1.dsc
 d37d10df7ef60e926ed637b28e90cbfce3384b754e511ca6a54638883d44831d 7508 arpalert_2.0.11-7.1.debian.tar.gz
 7d91496647c8b3ed77a37fed72fc1acf01ff4a9a4cfa75562aa05115861db450 519078 arpalert_2.0.11-7.1_amd64.deb
 58700f432652bd643fc002526cd319c3 1230 net optional arpalert_2.0.11-7.1.dsc
 ff5d6a30c5397146ccf2cff1fc5dc94c 7508 net optional arpalert_2.0.11-7.1.debian.tar.gz
 a8f7eb12b6e7c74d309665aa6b97a2c1 519078 net optional arpalert_2.0.11-7.1_amd64.deb

Version: GnuPG v1.4.11 (GNU/Linux)


--- End Message ---

Reply to: