Your message dated Mon, 16 Mar 2015 21:34:55 +0000
with message-id <[email protected]>
and subject line Bug#777374: fixed in libgpg-error 1.18-1
has caused the Debian Bug report #777374,
regarding FTBFS with gcc-5
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 [email protected]
immediately.)


-- 
777374: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777374
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libgpg-error
Version: 1.17-3
Severity: important
User: [email protected]
Usertags: rebootstrap

libgpg-error FTBFS when built with gcc-5. Here is the relevant excerpt:

| Making all in src
| make[4]: Entering directory '/tmp/buildd/libgpg-error/libgpg-error-1.17/src'
| gawk -f ./mkstrtable.awk -v textidx=3 \
|         ./err-sources.h.in >err-sources.h
| gawk -f ./mkstrtable.awk -v textidx=3 \
|         ./err-codes.h.in >err-codes.h
| gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
| gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
| gcc -E -D_FORTIFY_SOURCE=2  _mkerrcodes.h | grep GPG_ERR_ | \
|                gawk -f ./mkerrcodes.awk >mkerrcodes.h
| rm _mkerrcodes.h
| gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
| In file included from ./mkerrcodes.c:26:0:
| ./mkerrcodes.h:9:5: error: expected expression before ',' token
|    { , "GPG_ERR_E2BIG" },
|      ^

It makes invalid assumptions on undefined behaviour of gcc. To see why,
let us look at the contents of the intermediate steps:

_mkerrcodes.h (deleted):
| ...
| #ifdef E2BIG
| E2BIG   GPG_ERR_E2BIG
| #endif
| #ifdef WSAE2BIG
| WSAE2BIG        GPG_ERR_E2BIG
| #endif
| ...

gcc -E -D_FORTIFY_SOURCE=2  _mkerrcodes.h | grep -v '^$':
| ...
| # 26 "_mkerrcodes.h" 2
| 7
| # 31 "_mkerrcodes.h"
|      GPG_ERR_E2BIG
| # 37 "_mkerrcodes.h" 3 4
| 13
| # 37 "_mkerrcodes.h"
|       GPG_ERR_EACCES
| ...

As can be seen here, the cpp from gcc-5 can split lines and "grep
GPG_ERR_" fails to account for that.

Helmut

--- End Message ---
--- Begin Message ---
Source: libgpg-error
Source-Version: 1.18-1

We believe that the bug you reported is fixed in the latest version of
libgpg-error, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kahn Gillmor <[email protected]> (supplier of updated libgpg-error 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 16 Mar 2015 13:11:35 -0400
Source: libgpg-error
Binary: libgpg-error-dev libgpg-error0 libgpg-error0-udeb
Architecture: source
Version: 1.18-1
Distribution: experimental
Urgency: medium
Maintainer: Debian GnuPG Maintainers <[email protected]>
Changed-By: Daniel Kahn Gillmor <[email protected]>
Description:
 libgpg-error-dev - library for common error values and messages in GnuPG 
components
 libgpg-error0 - library for common error values and messages in GnuPG 
components
 libgpg-error0-udeb - library for common error values and messages in GnuPG 
components (udeb)
Closes: 777374
Changes:
 libgpg-error (1.18-1) experimental; urgency=medium
 .
   * New Upstream Version
   * debian/patches: dropped most, already applied upstream
   * avoid breakage with gcc 5 (Closes: #777374)
Checksums-Sha1:
 7fa13280a418077d5f19f94e6300f6cc49874a23 2385 libgpg-error_1.18-1.dsc
 7ba54f939da023af8f5b3e7a421a32eb742909c4 718070 libgpg-error_1.18.orig.tar.bz2
 8927477fc8c841408cb6eebd754d58cfd9083fe1 11708 
libgpg-error_1.18-1.debian.tar.xz
Checksums-Sha256:
 0bdbbb3d3c6a620bcc0943801dfefdebeca5ced9a354bb0af5db1fe3fa0980cf 2385 
libgpg-error_1.18-1.dsc
 9ff1d6e61d4cef7c1d0607ceef6d40dc33f3da7a3094170c3718c00153d80810 718070 
libgpg-error_1.18.orig.tar.bz2
 fe7d8f863922e12fce4217c2114d7c7d18e36cf9e1c47a5fdc8606cf728ac39e 11708 
libgpg-error_1.18-1.debian.tar.xz
Files:
 3591b14994da73fff73b693207bf1886 2385 libs standard libgpg-error_1.18-1.dsc
 12312802d2065774b787cbfc22cc04e9 718070 libs standard 
libgpg-error_1.18.orig.tar.bz2
 d3266f49e514d6d0f24b0c472123a87e 11708 libs standard 
libgpg-error_1.18-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJVBz/6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFQjk2OTEyODdBN0FEREUzNzU3RDkxMUVB
NTI0MDFCMTFCRkRGQTVDAAoJEKUkAbEb/fpcPRgP/0k9sJ9Vnx8KUj/yYdHUbc2F
fDu0W20+Ox06Ww/p07iJ+3Fk1/fV35tVUU1GwpCjRr7Hpcz3pLpJsmw9mYgM6+di
fgAS1qdDKWAG0m7F7IPJbyR9bLSmdKaQv23unGNVQrAsvSnm0N9wioblgFf1Y3vS
iLHqCsdBpPpyZJrRjde5y13cq0hJ8jieUDC+TRZqVPgbZ8fqyKn8Se00TP2OHjXG
8XHSVbGPZtYEPNgbJW+U4h8HzTE6yZxdAkYdKoHhSsLBd60Z62D46A0ojE3kHm75
sMAn+LZa19MRFq26AwMN9L/HmyvzSjRBuClYFrLJZW2CFVp76KJwvBO1ViL9fG/b
4ux+S7NnmI0Y/8BWbtUUYmQghvCFRepEdtSXNt+fUjxuMfuBz1Id+nVml9ZQkr57
6lWXtjM8p0DVVk6zcQYKtbs8ZuPrB+nN3S26NYVn2K/saBQYvjrtWEyAclzXk1GV
jtZngFNFXWLcMFqE9tf1t5kYRGlKmZpQuZpwSCSYfJ7CoInEC+LlcdMPx2T+k5LE
gha1lYR/aWLTwv3eEJYfZ+gzH1NVSuLQLJDATSQdS76wqZtEUSLQn3iKRba9ROVv
weIJi0DNBB8lg5xZTpYiG68JcRSnPUFppD8LR41xk2g+5oSehVNoFJskXRjkdgBR
5xqrGRr8kbaJjgONUuXY
=zADO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to