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

Bug#811591: marked as done (FTBFS with GCC 6: statement indented as if it were guarded by)



Your message dated Thu, 04 Aug 2016 05:49:20 +0000
with message-id <E1bVBWy-00064m-PO@franck.debian.org>
and subject line Bug#811591: fixed in ifhp 3.5.20-14
has caused the Debian Bug report #811591,
regarding FTBFS with GCC 6: statement indented as if it were guarded by
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
immediately.)


-- 
811591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811591
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ifhp
Version: 3.5.20-13
Severity: important
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -g -W -Wall -Werror -Wno-unused  -g -Wno-unused-parameter -g -W -Wall -Werror -Wno-unused  -DHAVE_CONFIG_H -I. -I.. -I.  -DIFHP_CONF=\"/etc/ifhp.conf\" -DLOCALEDIR=\"/usr/share/locale\"   -c -o ifhp.o ifhp.c
> ifhp.c: In function 'Process_job':
> ifhp.c:1348:35: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>    if( tempfd > 0 ) close(tempfd); tempfd = -1;
>                                    ^~~~~~
> 
> ifhp.c:1348:3: note: ...this 'if' clause, but it is not
>    if( tempfd > 0 ) close(tempfd); tempfd = -1;
>    ^~
> 
> ifhp.c: In function 'Pjl_setvar':
> ifhp.c:3382:36: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>      if( working ) free( working ); working = 0;
>                                     ^~~~~~~
> 
> ifhp.c:3382:5: note: ...this 'if' clause, but it is not
>      if( working ) free( working ); working = 0;
>      ^~
> 
> ifhp.c: In function 'Do_sync':
> ifhp.c:3677:35: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>   if( use_prog ) free( use_prog ); use_prog = 0;
>                                    ^~~~~~~~
> 
> ifhp.c:3677:2: note: ...this 'if' clause, but it is not
>   if( use_prog ) free( use_prog ); use_prog = 0;
>   ^~
> 
> ifhp.c: In function 'Do_waitend':
> ifhp.c:4003:35: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>   if( use_prog ) free( use_prog ); use_prog = 0;
>                                    ^~~~~~~~
> 
> ifhp.c:4003:2: note: ...this 'if' clause, but it is not
>   if( use_prog ) free( use_prog ); use_prog = 0;
>   ^~
> 
> ifhp.c: In function 'Send_job':
> ifhp.c:4657:36: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>    if( tempfd != 0 ) close(tempfd); tempfd = -1;
>                                     ^~~~~~
> 
> ifhp.c:4657:3: note: ...this 'if' clause, but it is not
>    if( tempfd != 0 ) close(tempfd); tempfd = -1;
>    ^~
> 
> ifhp.c: In function 'Make_stdin_file':
> ifhp.c:5098:28: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>    if( fd != 0 ) close(fd); fd = -1;
>                             ^~
> 
> ifhp.c:5098:3: note: ...this 'if' clause, but it is not
>    if( fd != 0 ) close(fd); fd = -1;
>    ^~
> 
> ifhp.c: In function 'Select_model_info':
> ifhp.c:5764:31: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
>   if( hash ) FREE_OBJ( hash ); hash = 0;
>                                ^~~~
> 
> ifhp.c:5764:2: note: ...this 'if' clause, but it is not
>   if( hash ) FREE_OBJ( hash ); hash = 0;
>   ^~
> 
> cc1: all warnings being treated as errors
> <builtin>: recipe for target 'ifhp.o' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

--- End Message ---
--- Begin Message ---
Source: ifhp
Source-Version: 3.5.20-14

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

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

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

Debian distribution maintenance software
pp.
Adam Borowski <kilobyte@angband.pl> (supplier of updated ifhp 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 04 Aug 2016 07:25:37 +0200
Source: ifhp
Binary: ifhp
Architecture: source
Version: 3.5.20-14
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adam Borowski <kilobyte@angband.pl>
Description:
 ifhp       - Printer filter for HP LaserJet printers
Closes: 811591
Changes:
 ifhp (3.5.20-14) unstable; urgency=medium
 .
   [ Adam Borowski ]
   * QA upload.
   * Bump debhelper to 9.
   * Pass hardening flags.
 .
   [ Miriam Ruiz ]
   * Added patch to make it buildable with GCC 6. Closes: #811591
Checksums-Sha1:
 411cce686aba340051fca87e2d57cfd77e39f970 1382 ifhp_3.5.20-14.dsc
 5e06bdeab06ac8056f29ebf5ba81b75a262634c2 89364 ifhp_3.5.20-14.debian.tar.xz
Checksums-Sha256:
 6640b2bc3956b71c1fb99ba2187a9bb2c54c9451399bf30472a686ae5e825b4d 1382 ifhp_3.5.20-14.dsc
 2061e8673851b5bb719a97d6d84c041f87093d663ec28bf6bd8e9b0661c53a7b 89364 ifhp_3.5.20-14.debian.tar.xz
Files:
 131a145981ddb21e60627461846f77f2 1382 net extra ifhp_3.5.20-14.dsc
 4611d5c169346b7724b12771bad0dbad 89364 net extra ifhp_3.5.20-14.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXotMwAAoJECw7Q2/qxoEBu4QIAIHit8wrFmr1FpBYPvQ7y7a7
MQ9p4gQcnalro0rbx8B5NjqdgDdywDDA/SxR6b9MHICvY6oomO+tmYJI0G80H4QS
w9bfjqCyfX8LV24PsHbQilx85k/YTp81VmVRN9N6vEw8Y/fxuQieFHHgm4DRKyMk
TgsJMerUyOWj43Ai5GtZivImUihhWn5ZsxtusaGeGnmQAEKvhAUCdANxax1AiMFw
h/CcELxkaQoT4vUEZnMn33phAVYct9EOw/jZdVZlAFaj28LYaymzMfOAmu9Iq456
byneIuOgrkwYXuRogikSVwa5db0AnnPI8EOBdcFvRlNzZ8VC7sy4kQ060QNWfZY=
=WWqf
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: