pkgsrc-Users archive

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

Re: Summary status - openssl and gcc6 issues



Another update:

3. mail/imap-uw fails due to the following, which to be related to
  openssl

osdep.c:506:49: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : "";
	                                                 ^~

4. mail/fetchmail failes due to the following, which to be related to
  openssl

	socket.o: In function `SSLOpen':
	socket.c:(.text+0x1cc4): undefined reference to `SSLv3_client_method'

These are still failiing.


5. security/clamav fails due to the following errors which would appear
  to be related to the new gcc-6

	In file included from ./llvm/include/llvm/Support/Allocator.h:17:0,
	                 from ./llvm/include/llvm/ADT/StringMap.h:18,
	                 from ./llvm/include/llvm/System/Host.h:17,
	                 from detect.cpp:29:
./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof'
	 static inline unsigned alignof() { return AlignOf<T>::Alignment; }
	                        ^~~~~~~

In an IRC discussion, mrg@ has proposed adding the following to the Makefile

	+.include "../../mk/compiler.mk"
	+.if !empty(PKGSRC_COMPILER:Mgcc) && ${OPSYS} == "NetBSD"
	+CXXFLAGS+=     -std=gnu++98
	+.endif

He also suggested that many/most of the calls to alignof() could be changed to alignofx() but that would require patching several source files.


6. time/ical fails due to the following gcc-6 related error:

	In file included from main.C:27:0:
bitmaps/left.xbm:7:50: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
	    0x20, 0x01, 0x40, 0x01, 0x80, 0x01, 0x00, 0x00};

uwe@ fixed this.  no longer an issue.


7. games/xmahjongg fails due to the following errors, which appear to be
  related to gcc-6

	permstr.cc: In function 'bool operator==(PermString, const char*)':
permstr.cc:163:26: error: no matching function for call to 'operator==(PermString&, bool)'
	   if (operator==(a, false) || !b)
                         ^
	In file included from permstr.cc:19:0:
../include/lcdf/permstr.hh:113:1: note: candidate: bool operator==(PermString, PermString)
	 operator==(PermString a, PermString b)
	 ^~~~~~~~
../include/lcdf/permstr.hh:113:1: note: no known conversion for argument 2 from 'bool' to 'PermString' permstr.cc:161:1: note: candidate: bool operator==(PermString, constchar*)
	 operator==(PermString a, const char *b)
	 ^~~~~~~~

8. games/xfreecell (similar to #6 above - time/ical) failure appears to
  related to gcc-6

	In file included from util.cpp:8:0:
face.bm:62:74: error: narrowing conversion of '176' from 'int' to 'char' inside{ } [-Wnarrowing] 0xc0, 0x41, 0x10, 0x04, 0xc7, 0x01, 0x60, 0x41, 0x10, 0x04, 0x0d, 0x00};

uwe@ fixed this one, too.  no longer an issue.

9. chat/hexchat failure appears to be openssl-related

	ssl.c: In function '_SSL_get_cert_info':
ssl.c:174:30: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}'
	  alg = OBJ_obj2nid (peer_cert->cert_info->key->algor->algorithm);
	                              ^~
	ssl.c: In function '_SSL_socket':
ssl.c:300:9: error: dereferencing pointer to incomplete type 'SSL_CTX {aka struct ssl_ctx_st}'
	  if (ctx->method == SSLv23_client_method())
	         ^~

This one is still broken.



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index