Your message dated Wed, 26 Jun 2013 13:30:24 +0200
with message-id <20130626133024.6c067...@heffalump.sk2.org>
and subject line Re: [Pkg-gnupg-maint] Bug#710651: Bug#710651: gnupg: FTBFS:
../../util/regcomp.c:528:20: error: unknown type name 'preg'
has caused the Debian Bug report #710651,
regarding gnupg: FTBFS: ../../util/regcomp.c:528:20: error: unknown type name
'preg'
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 ow...@bugs.debian.org
immediately.)
--
710651: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710651
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gnupg
Version: 1.4.12-7
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[3]: Entering directory `/«PKGBUILDDIR»/build-win32/util'
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT logger.o -MD -MP -MF .deps/logger.Tpo -c -o logger.o
> ../../util/logger.c
> mv -f .deps/logger.Tpo .deps/logger.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT fileutil.o -MD -MP -MF .deps/fileutil.Tpo -c -o
> fileutil.o ../../util/fileutil.c
> mv -f .deps/fileutil.Tpo .deps/fileutil.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT miscutil.o -MD -MP -MF .deps/miscutil.Tpo -c -o
> miscutil.o ../../util/miscutil.c
> mv -f .deps/miscutil.Tpo .deps/miscutil.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT strgutil.o -MD -MP -MF .deps/strgutil.Tpo -c -o
> strgutil.o ../../util/strgutil.c
> ../../util/strgutil.c: In function 'set_native_charset':
> ../../util/strgutil.c:509:17: warning: variable 'full_newset' set but not
> used [-Wunused-but-set-variable]
> ../../util/strgutil.c: At top level:
> ../../util/strgutil.c:130:1: warning: 'load_libiconv' defined but not used
> [-Wunused-function]
> mv -f .deps/strgutil.Tpo .deps/strgutil.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT ttyio.o -MD -MP -MF .deps/ttyio.Tpo -c -o ttyio.o
> ../../util/ttyio.c
> mv -f .deps/ttyio.Tpo .deps/ttyio.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT argparse.o -MD -MP -MF .deps/argparse.Tpo -c -o
> argparse.o ../../util/argparse.c
> mv -f .deps/argparse.Tpo .deps/argparse.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT memory.o -MD -MP -MF .deps/memory.Tpo -c -o memory.o
> ../../util/memory.c
> mv -f .deps/memory.Tpo .deps/memory.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT secmem.o -MD -MP -MF .deps/secmem.Tpo -c -o secmem.o
> ../../util/secmem.c
> ../../util/secmem.c: In function 'init_pool':
> ../../util/secmem.c:225:12: warning: variable 'pgsize' set but not used
> [-Wunused-but-set-variable]
> mv -f .deps/secmem.Tpo .deps/secmem.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT errors.o -MD -MP -MF .deps/errors.Tpo -c -o errors.o
> ../../util/errors.c
> mv -f .deps/errors.Tpo .deps/errors.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT iobuf.o -MD -MP -MF .deps/iobuf.Tpo -c -o iobuf.o
> ../../util/iobuf.c
> ../../util/iobuf.c: In function 'iobuf_get_fd':
> ../../util/iobuf.c:2022:9: warning: return makes integer from pointer without
> a cast [enabled by default]
> mv -f .deps/iobuf.Tpo .deps/iobuf.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT dotlock.o -MD -MP -MF .deps/dotlock.Tpo -c -o dotlock.o
> ../../util/dotlock.c
> mv -f .deps/dotlock.Tpo .deps/dotlock.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o
> ../../util/http.c
> mv -f .deps/http.Tpo .deps/http.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT pka.o -MD -MP -MF .deps/pka.Tpo -c -o pka.o
> ../../util/pka.c
> mv -f .deps/pka.Tpo .deps/pka.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT membuf.o -MD -MP -MF .deps/membuf.Tpo -c -o membuf.o
> ../../util/membuf.c
> mv -f .deps/membuf.Tpo .deps/membuf.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT cert.o -MD -MP -MF .deps/cert.Tpo -c -o cert.o
> ../../util/cert.c
> mv -f .deps/cert.Tpo .deps/cert.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT convert.o -MD -MP -MF .deps/convert.Tpo -c -o convert.o
> ../../util/convert.c
> mv -f .deps/convert.Tpo .deps/convert.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT estream-printf.o -MD -MP -MF .deps/estream-printf.Tpo
> -c -o estream-printf.o ../../util/estream-printf.c
> mv -f .deps/estream-printf.Tpo .deps/estream-printf.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT compat.o -MD -MP -MF .deps/compat.Tpo -c -o compat.o
> ../../util/compat.c
> mv -f .deps/compat.Tpo .deps/compat.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT simple-gettext.o -MD -MP -MF .deps/simple-gettext.Tpo
> -c -o simple-gettext.o ../../util/simple-gettext.c
> mv -f .deps/simple-gettext.Tpo .deps/simple-gettext.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT w32reg.o -MD -MP -MF .deps/w32reg.Tpo -c -o w32reg.o
> ../../util/w32reg.c
> mv -f .deps/w32reg.Tpo .deps/w32reg.Po
> i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../util -I.. -I..
> -I../../include -I../../intl -g -Os -fno-omit-frame-pointer -Wall
> -Wno-pointer-sign -MT regex.o -MD -MP -MF .deps/regex.Tpo -c -o regex.o
> ../../util/regex.c
> In file included from ../../util/regex.c:50:0:
> ../../util/regcomp.c:528:20: error: unknown type name 'preg'
> ../../util/regcomp.c:528:26: error: unknown type name 'errbuf'
> ../../util/regcomp.c:528:34: error: unknown type name 'errbuf_size'
> ../../util/regcomp.c:533:1: error: expected identifier or '(' before '{' token
> In file included from ../../util/regex.c:51:0:
> ../../util/regexec.c: In function 'proceed_next_node':
> ../../util/regexec.c:1010:26: warning: variable 'cur_entity' set but not used
> [-Wunused-but-set-variable]
> make[3]: *** [regex.o] Error 1
The full build log is available from:
http://deiv.vzpla.net/logs/2013/05/29/gnupg_1.4.12-7_unstable.log
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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---
--- Begin Message ---
Hi Thijs,
On Wed, 26 Jun 2013 12:19:58 +0200, Thijs Kinkhorst <th...@debian.org> wrote:
> Op maandag 3 juni 2013 00:53:16 schreef Stephen Kitt:
> > Rest assured, it still supports K&R function definitions. This is a
> > combination of failures... On Windows, errcode is typedef'ed as int;
> > mingw-w64 added this recently. This combined with the K&R-style
> > function declaration means gcc can't compile regcomp.c!
> >
> > The attached quilt patch fixes this.
>
> Thanks for the patch! However, I'm having trouble to reproduce the issue in
> up to date sid, although gcc-mingw-w64-i686 doesn't seem to have been
> changed recently. gnupg just builds fine in cowbuilder for me. Is there
> anything special I need to do to reproduce it?
You'd need to downgrade to mingw-w64 2.0.8 ;-). It turns out the new
3.0~5915-1 package protects the errcode declaration in the mingw-w64 headers,
so gnupg is no longer affected.
Regards,
Stephen
signature.asc
Description: PGP signature
--- End Message ---