upgrade gnutls version for solaris 9

Riccardo Mottola rmottola at opencsw.org
Wed Oct 16 19:13:29 CEST 2024


Hi,

I wanted to upgrade the gnustep base package. On Solaris 10, no problem. 
On Solaris 9 I get this failure (old version did compile):

       -MMD -MP -I/opt/csw/GNUstep/include -I/opt/csw/include 
-DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"sparc\" 
-DGNUSTEP_TARGET_OS=\"solaris2.9\" -DGNUSTEP_IS_FLATTENED=\"yes\" 
-DLIBRARY_COMBO=\"gnu-gnu-gnu\" -DGNUSTEP_BASE_INTERNAL=1 -Wall 
-Wdeclaration-after-statement -Wcast-align -DGNUSTEP 
-DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 
-DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fpic -fPIC 
-std=gnu99 -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe 
-fno-omit-frame-pointer -mcpu=v8 
-fconstant-string-class=NSConstantString -I../Headers -I./. -I. 
-I/home/rmottola/GNUstep/Library/Headers 
-I/opt/csw/GNUstep/Local/Library/Headers 
-I/opt/csw/GNUstep/System/Library/Headers -I/opt/csw/GNUstep/include 
-I/opt/csw/include -I/opt/csw/GNUstep/Local/Library/Headers 
-I/opt/csw/GNUstep/Local/Library/Headers 
-I/opt/csw/GNUstep/System/Library/Headers 
-I/opt/csw/lib/libffi-3.2.1/include -I/opt/csw/include/libxml2 
-I/opt/csw/include -I/opt/csw/include/libxml2 -I/opt/csw/include \
        -o obj/libgnustep-base.obj/GSTLS.m.o
GSTLS.m: In function '-[GSTLSSession handshake]':
GSTLS.m:1995:24: error: 'GNUTLS_E_PREMATURE_TERMINATION' undeclared 
(first use in this function)
GSTLS.m:1995:24: note: each undeclared identifier is reported only once 
for each function it appears in
<built-in>: At top level:


I think the gnutls version is too old:
    PKGINST:  CSWlibgnutls-dev
       NAME:  libgnutls_dev - Development Files for GNU TLS
   CATEGORY:  application
       ARCH:  sparc
    VERSION:  2.10.4,REV=2011.01.18

versus:
    PKGINST:  CSWlibgnutls-dev
       NAME:  libgnutls_dev - Development Files for GNU TLS
   CATEGORY:  application
       ARCH:  sparc
    VERSION:  3.1.25,REV=2014.06.04


should I try to update or are there known failures/issues? or did you 
just forget to install on the machine?

Riccardo


More information about the maintainers mailing list