Posted to tcl by steveb at Wed Aug 18 14:17:22 GMT 2021view raw

  1. pkg11632.1629294537
  2.  
  3. I had already edited out a number of newline-related errors before this log was generated.
  4.  
  5.  
  6. Wed Aug 18 13:48:57 UTC 2021 - /home/steve/bgexec.tcl
  7.  
  8. gcc
  9. -c
  10. -fPIC
  11. -DUSE_THREAD_ALLOC=1
  12. -D_REENTRANT=1
  13. -D_THREAD_SAFE=1
  14. -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
  15. -DHAVE_READDIR_R=1
  16. -DTCL_THREADS=1
  17. -DUSE_TCL_STUBS
  18. -I/home/steve/.critcl/pkg11632.1629294537/tcl8.4
  19. -I/home/steve/.critcl/pkg11632.1629294537
  20. -o
  21. /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004_pic.o
  22. /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c
  23. -O2
  24. -DNDEBUG
  25.  
  26. bgexec.tcl:79:0: warning: "NDEBUG" redefined [enabled by default]
  27. #define NDEBUG
  28. ^
  29. <command-line>:0:0: note: this is the location of the previous definition
  30. In file included from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:0:
  31. /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:1066:27: error: expected identifier or '(' before numeric constant
  32. #define TCL_GLOBAL_ONLY 1
  33. ^
  34. bgexec.tcl:361:1: note: in expansion of macro 'TCL_GLOBAL_ONLY'
  35. TCL_GLOBAL_ONLY)
  36. ^
  37. bgexec.tcl:396:4: warning: data definition has no type or storage class [enabled by default]
  38. } SignalId;
  39. ^
  40. bgexec.tcl:398:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'signalIds'
  41. static SignalId signalIds[] =
  42. ^
  43. bgexec.tcl:442:70: error: operator '&&' has no right operand
  44. #if defined(SIGLOST) && (!defined(SIGIOT) || (SIGLOST != SIGIOT)) &&
  45. ^
  46. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  47. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  48. ^
  49. bgexec.tcl:687:43: note: in expansion of macro 'Blt_Offset'
  50. {BLT_SWITCH_STRING, "-decodeoutput", Blt_Offset(BgExec,
  51. ^
  52. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  53. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  54. ^
  55. bgexec.tcl:690:42: note: in expansion of macro 'Blt_Offset'
  56. {BLT_SWITCH_STRING, "-decodeerror", Blt_Offset(BgExec,
  57. ^
  58. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  59. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  60. ^
  61. bgexec.tcl:693:36: note: in expansion of macro 'Blt_Offset'
  62. {BLT_SWITCH_BOOLEAN, "-echo", Blt_Offset(BgExec, sink2.echo), 0},
  63. ^
  64. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  65. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  66. ^
  67. bgexec.tcl:694:36: note: in expansion of macro 'Blt_Offset'
  68. {BLT_SWITCH_STRING, "-error", Blt_Offset(BgExec, sink2.doneVar),
  69. ^
  70. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  71. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  72. ^
  73. bgexec.tcl:696:37: note: in expansion of macro 'Blt_Offset'
  74. {BLT_SWITCH_STRING, "-update", Blt_Offset(BgExec,
  75. ^
  76. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  77. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  78. ^
  79. bgexec.tcl:698:37: note: in expansion of macro 'Blt_Offset'
  80. {BLT_SWITCH_STRING, "-output", Blt_Offset(BgExec, sink1.doneVar),
  81. ^
  82. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  83. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  84. ^
  85. bgexec.tcl:700:40: note: in expansion of macro 'Blt_Offset'
  86. {BLT_SWITCH_STRING, "-lasterror", Blt_Offset(BgExec,
  87. ^
  88. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  89. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  90. ^
  91. bgexec.tcl:702:41: note: in expansion of macro 'Blt_Offset'
  92. {BLT_SWITCH_STRING, "-lastoutput", Blt_Offset(BgExec,
  93. ^
  94. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  95. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  96. ^
  97. bgexec.tcl:704:36: note: in expansion of macro 'Blt_Offset'
  98. {BLT_SWITCH_LIST, "-onerror", Blt_Offset(BgExec,
  99. ^
  100. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  101. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  102. ^
  103. bgexec.tcl:706:37: note: in expansion of macro 'Blt_Offset'
  104. {BLT_SWITCH_LIST, "-onoutput", Blt_Offset(BgExec,
  105. ^
  106. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  107. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  108. ^
  109. bgexec.tcl:708:43: note: in expansion of macro 'Blt_Offset'
  110. {BLT_SWITCH_BOOLEAN, "-keepnewline", Blt_Offset(BgExec,
  111. ^
  112. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  113. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  114. ^
  115. bgexec.tcl:710:37: note: in expansion of macro 'Blt_Offset'
  116. {BLT_SWITCH_BOOLEAN, "-check", Blt_Offset(BgExec, interval), 0},
  117. ^
  118. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  119. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  120. ^
  121. bgexec.tcl:711:41: note: in expansion of macro 'Blt_Offset'
  122. {BLT_SWITCH_CUSTOM, "-killsignal", Blt_Offset(BgExec, signalNum),
  123. ^
  124. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  125. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  126. ^
  127. bgexec.tcl:714:44: note: in expansion of macro 'Blt_Offset'
  128. {BLT_SWITCH_BOOLEAN, "-linebuffered", Blt_Offset(BgExec,
  129. ^
  130. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  131. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  132. ^
  133. bgexec.tcl:716:42: note: in expansion of macro 'Blt_Offset'
  134. {BLT_SWITCH_BOOLEAN, "-ignorecode", Blt_Offset(BgExec,
  135. ^
  136. bgexec.tcl:215:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  137. #define Blt_Offset(type, field) ((int) ((char *) &((type *) 0)->field))
  138. ^
  139. bgexec.tcl:718:36: note: in expansion of macro 'Blt_Offset'
  140. {BLT_SWITCH_STRING, "-input", Blt_Offset(BgExec, inputVar), 0},
  141. ^
  142. bgexec.tcl: In function 'ObjToSignal':
  143. bgexec.tcl:773:20: error: 'sp' undeclared (first use in this function)
  144. SignalId *sp;
  145. ^
  146. bgexec.tcl:773:20: note: each undeclared identifier is reported only once for each function it appears in
  147. bgexec.tcl:783:20: error: 'signalIds' undeclared (first use in this function)
  148. for (sp = signalIds; sp->number > 0; sp++) {
  149. ^
  150. In file included from /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:2332:0,
  151. from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:
  152. bgexec.tcl: In function 'DisableTriggers':
  153. /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tclDecls.h:4546:46: error: expected expression before ',' token
  154. Tcl_UntraceVar2(interp, varName, NULL, flags, proc, clientData)
  155. ^
  156. bgexec.tcl:1447:10: note: in expansion of macro 'Tcl_UntraceVar'
  157. Tcl_UntraceVar(bgPtr->interp, bgPtr->statVar, TRACE_FLAGS,
  158. ^
  159. bgexec.tcl:1450:6: warning: passing argument 4 of 'tclStubsPtr->tcl_UntraceVar2' makes integer from pointer without a cast [enabled by default]
  160. }
  161. ^
  162. bgexec.tcl:1450:6: note: expected 'int' but argument is of type 'struct BgExec *'
  163. bgexec.tcl:1450:6: error: too few arguments to function 'tclStubsPtr->tcl_UntraceVar2'
  164. bgexec.tcl:1450:6: error: expected ';' before '}' token
  165. bgexec.tcl: In function 'DestroyBgExec':
  166. bgexec.tcl:1532:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  167. Tcl_DetachPids(1, (Tcl_Pid *)bgPtr->procIds[i]);
  168. ^
  169. bgexec.tcl: In function 'VariableProc':
  170. bgexec.tcl:1572:29: error: expected expression before ')' token
  171. if (flags & TRACE_FLAGS) {
  172. ^
  173. bgexec.tcl:1585:2: error: expected expression before '}' token
  174. }
  175. ^
  176. bgexec.tcl: In function 'TimerProc':
  177. bgexec.tcl:1706:45: warning: missing terminating " character [enabled by default]
  178. Tcl_DStringAppendElement(&dString, "child completed
  179. ^
  180. bgexec.tcl:1706:10: error: missing terminating " character
  181. Tcl_DStringAppendElement(&dString, "child completed
  182. ^
  183. bgexec.tcl:1707:9: warning: missing terminating " character [enabled by default]
  184. normally");
  185. ^
  186. bgexec.tcl:1707:1: error: missing terminating " character
  187. normally");
  188. ^
  189. bgexec.tcl:1707:1: error: 'normally' undeclared (first use in this function)
  190. bgexec.tcl:1708:10: error: expected ')' before 'break'
  191. break;
  192. ^
  193. bgexec.tcl:1723:6: error: expected ';' before '}' token
  194. }
  195. ^
  196. bgexec.tcl: In function 'SetupStdFile':
  197. bgexec.tcl:2146:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  198. fd = (int)clientData;
  199. ^
  200. bgexec.tcl: In function 'CreateProcess':
  201. bgexec.tcl:2305:32: warning: missing terminating " character [enabled by default]
  202. sprintf(errSpace, "%dforked process can't set up
  203. ^
  204. bgexec.tcl:2305:14: error: missing terminating " character
  205. sprintf(errSpace, "%dforked process can't set up
  206. ^
  207. bgexec.tcl:2306:1: error: 'input' undeclared (first use in this function)
  208. input/output: ",
  209. ^
  210. bgexec.tcl:2306:7: error: 'output' undeclared (first use in this function)
  211. input/output: ",
  212. ^
  213. bgexec.tcl:2306:13: error: expected ')' before ':' token
  214. input/output: ",
  215. ^
  216. bgexec.tcl:2306:15: warning: missing terminating " character [enabled by default]
  217. input/output: ",
  218. ^
  219. bgexec.tcl:2306:13: error: missing terminating " character
  220. input/output: ",
  221. ^
  222. bgexec.tcl:2362:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  223. Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG);
  224. ^
  225. bgexec.tcl: In function 'FileForRedirect':
  226. bgexec.tcl:2461:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  227. fd = (int)clientData;
  228. ^
  229. bgexec.tcl: In function 'DoSwitch':
  230. bgexec.tcl:3418:39: warning: missing terminating " character [enabled by default]
  231. Tcl_AppendResult(interp, "bad switch table: unknown type
  232. ^
  233. bgexec.tcl:3418:14: error: missing terminating " character
  234. Tcl_AppendResult(interp, "bad switch table: unknown type
  235. ^
  236. bgexec.tcl:3419:1: error: stray '\' in program
  237. \"",
  238. ^
  239. bgexec.tcl: In function 'Blt_ParseSwitches':
  240. bgexec.tcl:3533:64: warning: missing terminating " character [enabled by default]
  241. Tcl_AppendResult(interp, "value for \"", arg, "\"
  242. ^
  243. bgexec.tcl:3533:18: error: missing terminating " character
  244. Tcl_AppendResult(interp, "value for \"", arg, "\"
  245. ^
  246. bgexec.tcl:3534:8: warning: missing terminating " character [enabled by default]
  247. missing",
  248. ^
  249. bgexec.tcl:3534:1: error: missing terminating " character
  250. missing",
  251. ^
  252. bgexec.tcl:3535:36: error: expected expression before 'char'
  253. (char *) NULL);
  254. ^
  255. bgexec.tcl: In function 'tcl__bgexec2':
  256. bgexec.tcl:3629:42: warning: missing terminating " character [enabled by default]
  257. Tcl_GetString(objv[0]), " varName ?options? command
  258. ^
  259. bgexec.tcl:3629:18: error: missing terminating " character
  260. Tcl_GetString(objv[0]), " varName ?options? command
  261. ^
  262. bgexec.tcl:3630:1: error: expected expression before '?' token
  263. ?arg...?\"",
  264. ^
  265. bgexec.tcl:3630:2: error: 'arg' undeclared (first use in this function)
  266. ?arg...?\"",
  267. ^
  268. bgexec.tcl:3630:1: error: stray '\' in program
  269. ?arg...?\"",
  270. ^
  271. bgexec.tcl:3669:35: warning: missing terminating " character [enabled by default]
  272. Tcl_AppendResult(interp, "missing command to execute: should
  273. ^
  274. bgexec.tcl:3669:10: error: missing terminating " character
  275. Tcl_AppendResult(interp, "missing command to execute: should
  276. ^
  277. bgexec.tcl:3670:1: error: stray '\' in program
  278. be \"",
  279. ^
  280. bgexec.tcl:3670:1: error: 'be' undeclared (first use in this function)
  281. bgexec.tcl:3670:5: error: expected ')' before string constant
  282. be \"",
  283. ^
  284. bgexec.tcl:3671:38: warning: missing terminating " character [enabled by default]
  285. Tcl_GetString(objv[0]), " varName ?options? command
  286. ^
  287. bgexec.tcl:3671:14: error: missing terminating " character
  288. Tcl_GetString(objv[0]), " varName ?options? command
  289. ^
  290. bgexec.tcl:3672:1: error: stray '\' in program
  291. ?arg...?\"",
  292. ^
  293. In file included from /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tcl.h:2332:0,
  294. from /home/steve/.critcl/pkg11632.1629294537/v3118_00000000000000000000000000000004.c:6:
  295. /home/steve/.critcl/pkg11632.1629294537/tcl8.4/tclDecls.h:4543:44: error: expected expression before ',' token
  296. Tcl_TraceVar2(interp, varName, NULL, flags, proc, clientData)
  297. ^
  298. bgexec.tcl:3682:6: note: in expansion of macro 'Tcl_TraceVar'
  299. Tcl_TraceVar(interp, bgPtr->statVar, TRACE_FLAGS, VariableProc,
  300. ^
  301. bgexec.tcl:3802:39: warning: missing terminating " character [enabled by default]
  302. Tcl_AppendResult(interp, "child process exited
  303. ^
  304. bgexec.tcl:3802:14: error: missing terminating " character
  305. Tcl_AppendResult(interp, "child process exited
  306. ^
  307. bgexec.tcl:3803:11: warning: missing terminating " character [enabled by default]
  308. abnormally",
  309. ^
  310. bgexec.tcl:3803:1: error: missing terminating " character
  311. abnormally",
  312. ^
  313. bgexec.tcl:3814:1: warning: passing argument 4 of 'tclStubsPtr->tcl_TraceVar2' makes integer from pointer without a cast [enabled by default]
  314. }
  315. ^
  316. bgexec.tcl:3814:1: note: expected 'int' but argument is of type 'struct BgExec *'
  317. bgexec.tcl:3814:1: error: too few arguments to function 'tclStubsPtr->tcl_TraceVar2'
  318. bgexec.tcl:3814:1: error: expected ';' before '}' token
  319.  
  320. ERROR while compiling code in /home/steve/bgexec.tcl:
  321. child process exited abnormally