Bug#666286: yasr: FTBFS: yasr.h:312:12: error: conflicting types for 'openpty'
Tags: wheezy sid
Usertags: qa-ftbfs-20120330 qa-ftbfs qa-ftbfs-buildarch
Justification: FTBFS on amd64
During a rebuild of all packages in sid, your package failed to build on
This rebuild was done by building only architecture:any binary packages
(binary-arch target of debian/rules), and using a newer dpkg that uses the
build-arch target if available.
Also, only the Build-Depends were installed, not the Build-Depends-Indep.
> gcc -DPACKAGE_DATA_DIR=\"/usr/share/yasr\" -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c config.c
> In file included from config.c:19:0:
> yasr.h:312:12: error: conflicting types for 'openpty'
> /usr/include/pty.h:34:12: note: previous declaration of 'openpty' was here
> yasr.h:321:12: error: conflicting types for 'forkpty'
> /usr/include/pty.h:40:12: note: previous declaration of 'forkpty' was here
> config.c: In function 'readconf':
> config.c:82:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
> make: *** [config.o] Error 1
The full build log is available from:
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.