pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50215: latest update to misc/screen broke it on Solaris



>Number:         50215
>Category:       pkg
>Synopsis:       latest update to misc/screen broke it on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 07 08:20:01 +0000 2015
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Since the latest update to misc/screen, it no longer build on Solaris 11.2:

gcc -c -I. -I.  -D_XOPEN_SOURCE=500 -I/opt/pkg-hrz/20150821/include/ncurses -DETCSCREENRC='"/opt/pkg-hrz/20150821/etc/screenrc"'  -DSCREENENCODINGS='"/opt/pkg-hrz/20150821/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\"   -O2 -I/opt/pkg-hrz/20150821/include/ncurses teln.c
In file included from screen.h:151:0,
                 from teln.c:39:
window.h:274:27: error: field 'w_telsa' has incomplete type
   struct sockaddr_storage w_telsa;
                           ^
teln.c: In function 'TelOpenAndConnect':
teln.c:115:18: error: storage size of 'hints' isn't known
  struct addrinfo hints, *res0, *res;
                  ^
teln.c:132:32: error: dereferencing pointer to incomplete type
  for(res = res0; res; res = res->ai_next) {
                                ^
teln.c:133:22: error: dereferencing pointer to incomplete type
   if((fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol)) == -1) {
                      ^
teln.c:133:38: error: dereferencing pointer to incomplete type
   if((fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol)) == -1) {
                                      ^
teln.c:133:56: error: dereferencing pointer to incomplete type
   if((fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol)) == -1) {
                                                        ^
teln.c:134:10: error: dereferencing pointer to incomplete type
    if(res->ai_next)
          ^
teln.c:152:22: error: dereferencing pointer to incomplete type
   if (connect(fd, res->ai_addr, res->ai_addrlen)) {
                      ^
teln.c:152:36: error: dereferencing pointer to incomplete type
   if (connect(fd, res->ai_addr, res->ai_addrlen)) {
                                    ^
teln.c:165:11: error: dereferencing pointer to incomplete type
     if(res->ai_next)
           ^
teln.c:181:27: error: dereferencing pointer to incomplete type
   memcpy(&p->w_telsa, &res->ai_addr, sizeof(res->ai_addr));
                           ^
teln.c:181:48: error: dereferencing pointer to incomplete type
   memcpy(&p->w_telsa, &res->ai_addr, sizeof(res->ai_addr));
                                                ^
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/pkg-hrz/pkgsrc/misc/screen/work.pkgsrc-sol11i86/screen-4.3.1
*** Error code 1


In case this matters:

$ bmake show-var VARNAME=CURSES_DEFAULT
ncurses


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index