[Pkg-gnupg-maint] Bug#710651: gnupg: FTBFS: ../../util/regcomp.c:528:20: error: unknown type name 'preg'

David Suárez david.sephirot at gmail.com
Fri May 31 18:37:24 UTC 2013


Source: gnupg
Version: 1.4.12-7
Severity: serious
Tags: jessie sid
User: debian-qa at 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.



More information about the Pkg-gnupg-maint mailing list