Bug#755329: saods9: FTBFS: htmlcmd.c:223:49: error: 'Tcl_Interp' has no member named 'result'
David Suárez
david.sephirot at gmail.com
Sat Jul 19 18:33:45 UTC 2014
Source: saods9
Version: 7.2+dfsg-4
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140718 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -DOS_UNIX=1 -DOS_WIN=0 -I. -I/usr/include/tcl -I/usr/include/X11 -o htmlcmd.o -c /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c: In function 'HtmlXviewCmd':
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:223:49: error: 'Tcl_Interp' has no member named 'result'
> HtmlComputeHorizontalPosition(htmlPtr,interp->result);
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:231:16: warning: passing argument 3 of 'Tk_GetScrollInfo' from incompatible pointer type
> int type = Tk_GetScrollInfo(interp,argc,argv,&fraction,&count);
> ^
> In file included from /usr/include/tcl/tk.h:1546:0,
> from /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:26:
> /usr/include/tcl/tkDecls.h:374:13: note: expected 'const char **' but argument is of type 'char **'
> EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc,
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c: In function 'HtmlYviewCmd':
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:281:47: error: 'Tcl_Interp' has no member named 'result'
> HtmlComputeVerticalPosition(htmlPtr,interp->result);
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:329:16: warning: passing argument 3 of 'Tk_GetScrollInfo' from incompatible pointer type
> int type = Tk_GetScrollInfo(interp,argc,argv,&fraction,&count);
> ^
> In file included from /usr/include/tcl/tk.h:1546:0,
> from /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:26:
> /usr/include/tcl/tkDecls.h:374:13: note: expected 'const char **' but argument is of type 'char **'
> EXTERN int Tk_GetScrollInfo(Tcl_Interp *interp, int argc,
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c: In function 'HtmlTokenHandlerCmd':
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:380:13: error: 'Tcl_Interp' has no member named 'result'
> interp->result = htmlPtr->zHandler[type];
> ^
> In file included from /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:28:0:
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:386:42: warning: incompatible implicit declaration of built-in function 'strlen'
> htmlPtr->zHandler[type] = HtmlAlloc( strlen(argv[4]) + 1 );
> ^
> ./htmlcmd.h:61:45: note: in definition of macro 'HtmlAlloc'
> #define HtmlAlloc(A) ((void*)Tcl_Alloc(A))
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:388:7: warning: incompatible implicit declaration of built-in function 'strcpy'
> strcpy(htmlPtr->zHandler[type],argv[4]);
> ^
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c: In function 'HtmlIndexCmd':
> /«BUILDDIR»/saods9-7.2+dfsg/htmlwidget/src/htmlcmd.c:415:19: error: 'Tcl_Interp' has no member named 'result'
> sprintf(interp->result, "%d.%d", HtmlTokenNumber(p), i);
> ^
> make[3]: *** [htmlcmd.o] Error 1
The full build log is available from:
http://aws-logs.debian.net/ftbfs-logs/2014/07/18/saods9_7.2+dfsg-4_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 debian-science-maintainers
mailing list