Package: aolserver4-nsopenssl
Version: 3.0beta26-4
Severity: serious
Usertags: goto-cc

While compiling the package using our research compiler infrastructure the build
failed with the following error:

[...]
gcc -g -I/usr/include/openssl -I/usr/kerberos/include -O2 -Wall -fPIC 
-I/usr/include/aolserver4 -I/usr/include/tcl8.6  -DNO_CONST 
-DUSE_INTERP_ERRORLINE -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" 
-DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" 
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 
-DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 
-DMODULE_SCOPE=extern -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DNDEBUG=1 
-DTCL_CFG_OPTIMIZED=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 
-DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 
-DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 
-DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 
-DHAVE_STRUCT_IN6_ADDR=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ISTD_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 
-DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o tclcmds.o 
tclcmds.c
<command-line>:0:0: warning: "PACKAGE_NAME" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_STRING" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
tclcmds.c: In function 'NsTclOpenSSLObjCmd':
tclcmds.c:338:31: error: 'Tcl_Interp' has no member named 'result'
                 sprintf(interp->result, "%d", sslconn->peerport);
                               ^
tclcmds.c:359:27: error: 'Tcl_Interp' has no member named 'result'
             sprintf(interp->result, "%d", sslconn->peerport);
                           ^
tclcmds.c:373:31: error: 'Tcl_Interp' has no member named 'result'
                 sprintf(interp->result, "%d", integer);
                               ^
tclcmds.c:401:31: error: 'Tcl_Interp' has no member named 'result'
                 sprintf(interp->result, "%lu", peercert == NULL ? 0 : 
X509_get_version(peercert) + 1);
                               ^
tclcmds.c:403:31: error: 'Tcl_Interp' has no member named 'result'
                 sprintf(interp->result, "%ld", peercert == NULL ? 0 :
                               ^
tclcmds.c:451:31: error: 'Tcl_Interp' has no member named 'result'
                 sprintf(interp->result, "%d",
                               ^
tclcmds.c:275:20: warning: variable 'status' set but not used 
[-Wunused-but-set-variable]
     int            status   = TCL_OK;
                    ^
tclcmds.c: In function 'NsTclOpenSSLSockOpenObjCmd':
tclcmds.c:621:5: warning: implicit declaration of function 
'Ns_OpenSSLX509CertVerify' [-Wimplicit-function-declaration]
     if (Ns_OpenSSLX509CertVerify(sslconn->ssl)) {
     ^
tclcmds.c: In function 'NsTclOpenSSLSockListenObjCmd':
tclcmds.c:651:13: warning: unused variable 'thisServer' [-Wunused-variable]
     Server *thisServer = (Server *) arg;
             ^
In file included from /usr/include/tcl8.6/tcl.h:2435:0,
                 from /usr/include/aolserver4/nsthread.h:129,
                 from /usr/include/aolserver4/ns.h:62,
                 from nsopenssl.h:30,
                 from tclcmds.c:38:
tclcmds.c: In function 'NsTclOpenSSLGetUrlObjCmd':
tclcmds.c:837:58: error: 'Tcl_Interp' has no member named 'result'
         Tcl_SetVar(interp, Tcl_GetString(objv[2]), interp->result, 0);
                                                          ^
/usr/include/tcl8.6/tclDecls.h:3836:37: note: in definition of macro 
'Tcl_SetVar'
  Tcl_SetVar2(interp, varName, NULL, newValue, flags)
                                     ^
tclcmds.c: In function 'NsTclOpenSSLSockNReadCmd':
tclcmds.c:894:19: error: 'Tcl_Interp' has no member named 'result'
     sprintf(interp->result, "%d", nread);      
                   ^
tclcmds.c:870:18: warning: unused variable 'thisServer' [-Wunused-variable]
     Server      *thisServer = (Server *) arg;
                  ^
tclcmds.c: In function 'NsTclOpenSSLSockCheckCmd':
tclcmds.c:934:15: error: 'Tcl_Interp' has no member named 'result'
         interp->result = "0";
               ^
tclcmds.c:936:15: error: 'Tcl_Interp' has no member named 'result'
         interp->result = "1";
               ^
tclcmds.c:921:13: warning: unused variable 'thisServer' [-Wunused-variable]
     Server *thisServer = (Server *) arg;
             ^
tclcmds.c: In function 'NsTclOpenSSLSockSelectCmd':
tclcmds.c:966:21: warning: unused variable 'thisServer' [-Wunused-variable]
     Server         *thisServer = (Server *) arg;
                     ^
tclcmds.c: In function 'NsTclOpenSSLSockCallbackObjCmd':
tclcmds.c:1177:15: error: 'Tcl_Interp' has no member named 'result'
         interp->result = "could not register callback";
               ^
tclcmds.c: In function 'EnterSock':
tclcmds.c:1280:37: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
     chan = Tcl_MakeTcpClientChannel((ClientData) sock);
                                     ^
tclcmds.c:1288:19: error: 'Tcl_Interp' has no member named 'result'
     sprintf(interp->result, "%s", Tcl_GetChannelName(chan));
                   ^
tclcmds.c: In function 'ChanGetHandleProc':
tclcmds.c:1714:18: warning: cast to pointer from integer of different size 
[-Wint-to-pointer-cast]
     *handlePtr = (ClientData) chaninfo->sslconn->socket;
                  ^
tclcmds.c: In function 'SSLSockCallbackProc':
tclcmds.c:1953:47: error: 'Tcl_Interp' has no member named 'result'
      Tcl_DStringAppendElement (&script, interp->result);
                                               ^
In file included from nsopenssl.h:30:0,
                 from tclcmds.c:38:
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
/usr/include/aolserver4/ns.h:236:26: note: in definition of macro 'STREQ'
 #define STREQ(a,b)   (((*a) == (*b)) && (strcmp((a),(b)) == 0))
                          ^
In file included from /usr/include/string.h:631:0,
                 from /usr/include/aolserver4/nsthread.h:96,
                 from /usr/include/aolserver4/ns.h:62,
                 from nsopenssl.h:30,
                 from tclcmds.c:38:
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c:1969:26: error: 'Tcl_Interp' has no member named 'result'
  } else if (!STREQ(interp->result, "1")) {
                          ^
tclcmds.c:1969:14: note: in expansion of macro 'STREQ'
  } else if (!STREQ(interp->result, "1")) {
              ^
tclcmds.c: At top level:
tclcmds.c:34:20: warning: 'RCSID' defined but not used [-Wunused-variable]
 static const char *RCSID =
                    ^
make[1]: *** [tclcmds.o] Error 1

Looking at the latest build logs for the package, this may be caused by the
updates to Tcl (the latest build was against Tcl 8.5, but sid now has 8.6).

The full build log is attached.

Best,
Michael

Attachment: build-log.txt.gz
Description: application/gunzip

Attachment: pgpNLi0gUUru3.pgp
Description: PGP signature

Reply via email to