Bug#741818: tkgate: FTBFS: block.c:1103:20: error: 'Tcl_Interp' has no member named 'result'

2014-03-28 Thread Daniel T Chen
Package: tkgate
Version: 2.0~b10-3
Followup-For: Bug #741818
User: debian-de...@lists.debian.org
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

In Ubuntu 14.04, the attached patch was applied to achieve the following:

  * Resolve FTBFS:
- Use Tcl/Tk 8.5 as build-dependencies;
- Use autotools-dev helper for newer arches.


This debdiff may contain extraneous metadata. If so, kindly please ignore
them. Thanks for considering the patch!


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11.0-19-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u tkgate-2.0~b10/debian/changelog tkgate-2.0~b10/debian/changelog
diff -u tkgate-2.0~b10/debian/control tkgate-2.0~b10/debian/control
--- tkgate-2.0~b10/debian/control
+++ tkgate-2.0~b10/debian/control
@@ -1,11 +1,12 @@
 Source: tkgate
 Section: electronics
 Priority: optional
-Maintainer: Debian Science Maintainers debian-science-maintain...@lists.alioth.debian.org
+Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
+XSBC-Original-Maintainer: Debian Science Maintainers debian-science-maintain...@lists.alioth.debian.org
 Uploaders: أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmo...@users.sourceforge.net,
 	   Georges Khaznadar georg...@debian.org
 Standards-Version: 3.9.5
-Build-Depends: debhelper (=7.0.50~), tcl-dev, tk-dev, bison|byacc, flex,
+Build-Depends: debhelper (=7.0.50~), tcl8.5-dev, tk8.5-dev, bison|byacc, flex,
  xutils-dev, libx11-dev, quilt (= 0.46-7~), autotools-dev,
  hardening-wrapper
 Homepage: http://www.tkgate.org/
diff -u tkgate-2.0~b10/debian/rules tkgate-2.0~b10/debian/rules
--- tkgate-2.0~b10/debian/rules
+++ tkgate-2.0~b10/debian/rules
@@ -5,7 +5,7 @@
 export DEB_BUILD_HARDENING=1
 
 %:
-	dh $@ --with quilt
+	dh $@ --with quilt,autotools_dev
 
 override_dh_auto_configure:
 	dh_auto_configure -- LDFLAGS=$(LDFLAGS) -Wl,--as-needed -lm
@@ -21 +21 @@
-	rm -f libexec/*
\ No newline at end of file
+	rm -f libexec/*


Bug#741818: tkgate: FTBFS: block.c:1103:20: error: 'Tcl_Interp' has no member named 'result'

2014-03-22 Thread أحمد المحمودي
  I am working on a patch.
  A quick fix would be to add -DUSE_INTERP_RESULT to CFLAGS.

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7


signature.asc
Description: Digital signature


Bug#741818: tkgate: FTBFS: block.c:1103:20: error: 'Tcl_Interp' has no member named 'result'

2014-03-16 Thread David Suárez
Source: tkgate
Version: 2.0~b10-3
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20140315 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 -DHAVE_CONFIG_H -I. -I. -I../..-DTKGATE_HOMEDIR=\/usr/share/tkgate\ 
 -I../.. -I../../src/common  -I/usr/include/tcl8.6 -I/usr/include -O2 -g -c 
 block.c
 block.c: In function 'guessPortName':
 block.c:1103:20: error: 'Tcl_Interp' has no member named 'result'
  if (*TkGate.tcl-result)
 ^
 block.c:1104:28: error: 'Tcl_Interp' has no member named 'result'
strcpy(buf,TkGate.tcl-result);
 ^
 In file included from /usr/include/string.h:631:0,
  from block.c:21:
 block.c: In function 'block_setPortName':
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1167:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c: In function 'block_getNewPortProperties':
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'
if (strcmp(TkGate.tcl-result,1) == 0) {
 ^
 block.c:1546:24: error: 'Tcl_Interp' has no member named 'result'