From rmottola at opencsw.org Wed Oct 16 19:13:29 2024 From: rmottola at opencsw.org (Riccardo Mottola) Date: Wed, 16 Oct 2024 19:13:29 +0200 Subject: upgrade gnutls version for solaris 9 Message-ID: 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 : 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 From dam at opencsw.org Thu Oct 17 09:04:24 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 17 Oct 2024 09:04:24 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: References: Message-ID: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> Hi Riccardo, > Am 16.10.2024 um 19:13 schrieb Riccardo Mottola via maintainers : > should I try to update or are there known failures/issues? or did you just forget to install on the machine? IIRC GNUTLS 3 didn?t build easily on Solaris 9. The unstable9* have already been updated last time to the latest packages. Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From rmottola at opencsw.org Fri Oct 18 10:58:11 2024 From: rmottola at opencsw.org (Riccardo Mottola) Date: Fri, 18 Oct 2024 10:58:11 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> References: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> Message-ID: <76830690-b7ef-08fd-f3cb-4f886a346b48@opencsw.org> Hi Dagobert. Dagobert Michelsen wrote: > IIRC GNUTLS 3 didn?t build easily on Solaris 9. The unstable9* have already been updated last time > to the latest packages. I tried to to hac on that... I got it partially to build, but fail to link.. I was going to ask but noticed I am hacking on an obsolete version. Shouldn't "mgar up" bring me up-to-date ? To be on the safe side I did a "mgar up --all" in the root too. Current available version should be 3.1.25 https://www.opencsw.org/packages/CSWgnutls/ I find however "gnutls": NAME = gnutls VERSION = 2.12.24 with a 3.5 branch inside "gnutls3" NAME = gnutls VERSION = 3.5.18 am I not updating correctly or am I looking in the wrong place? sorry, but I am a bit rusty on the mgar side, too much macports, which is similar enough to be confusing... Riccardo From rmottola at opencsw.org Fri Oct 18 17:30:36 2024 From: rmottola at opencsw.org (Riccardo Mottola) Date: Fri, 18 Oct 2024 17:30:36 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> References: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> Message-ID: <10ea9ef2-15ec-61da-6543-8ca62572c28d@opencsw.org> Hi, Dagobert Michelsen wrote: > IIRC GNUTLS 3 didn?t build easily on Solaris 9. The unstable9* have already been updated last time > to the latest packages. ok, small update, i was confused... the last update was mine, but it wasn't installed. I got it to build on solaris 10 sparc! but not 9 sparc: I get this: copying selected object files to avoid basename conflicts... ? CC?????? psk.o ? CCLD???? psktool ld: fatal: file /opt/csw/lib/libopts.so: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to .libs/psktool collect2: ld returned 1 exit status what the heck of error is this??? solaris 9 intel built.... so it would really be nice to fix sparc and get it out :) Riccardo From dam at opencsw.org Mon Oct 21 12:20:23 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 21 Oct 2024 12:20:23 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: <76830690-b7ef-08fd-f3cb-4f886a346b48@opencsw.org> References: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> <76830690-b7ef-08fd-f3cb-4f886a346b48@opencsw.org> Message-ID: Hi Riccardo, > Am 18.10.2024 um 10:58 schrieb Riccardo Mottola : > Dagobert Michelsen wrote: >> IIRC GNUTLS 3 didn?t build easily on Solaris 9. The unstable9* have already been updated last time >> to the latest packages. > > I tried to to hac on that... I got it partially to build, but fail to link.. I was going to ask but noticed I am hacking on an obsolete version. > > Shouldn't "mgar up" bring me up-to-date ? To be on the safe side I did a "mgar up --all" in the root too. Thst is just a wrapper around ?svn up?. > Current available version should be 3.1.25 > https://www.opencsw.org/packages/CSWgnutls/ > > I find however > > "gnutls": > NAME = gnutls > VERSION = 2.12.24 > > with a 3.5 branch inside > > "gnutls3" > > NAME = gnutls > VERSION = 3.5.18 > > am I not updating correctly or am I looking in the wrong place? > > sorry, but I am a bit rusty on the mgar side, too much macports, which is similar enough to be confusing... It looks like the recipe for GNUTLS 3.1.25 is not in GAR: https://www.opencsw.org/packages/CSWgnutls/ Packages sources is stated as https://chninkel/Makefile which is not part of the GAR tree. Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From rmottola at opencsw.org Tue Oct 22 11:22:31 2024 From: rmottola at opencsw.org (Riccardo Mottola) Date: Tue, 22 Oct 2024 11:22:31 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: References: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> <76830690-b7ef-08fd-f3cb-4f886a346b48@opencsw.org> Message-ID: <88b9d70d-35a8-1bc0-0dbf-9940981b29a9@opencsw.org> Hi Dago, Dagobert Michelsen wrote: >> sorry, but I am a bit rusty on the mgar side, too much macports, which is similar enough to be confusing... > It looks like the recipe for GNUTLS 3.1.25 is not in GAR: > https://www.opencsw.org/packages/CSWgnutls/ > Packages sources is stated ashttps://chninkel/Makefile which is not part of the GAR tree. I reconstructed, we started a gnutls3 port years ago, to easy upgrading in case of incompatibility, suggested by some of you expert, like openssl probably. I upgraded to a fairly recent version and was able to build on solaris 10s, solaris 9x but fail to link on solaris 9s... if somebody can give a hint, I'd like to test. Wrote a separate email on the thread, did you read it? Strange, usually it is odd 9 intel giving issues, not sparc :) Building on solaris 10x right now. An GNUTLS update would benefit many and security too, I suppose. Riccardo From dam at opencsw.org Tue Oct 22 11:23:59 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 22 Oct 2024 11:23:59 +0200 Subject: upgrade gnutls version for solaris 9 In-Reply-To: <88b9d70d-35a8-1bc0-0dbf-9940981b29a9@opencsw.org> References: <6FB4BEED-F1F3-4C85-8574-E61FC1A90EAF@opencsw.org> <76830690-b7ef-08fd-f3cb-4f886a346b48@opencsw.org> <88b9d70d-35a8-1bc0-0dbf-9940981b29a9@opencsw.org> Message-ID: <0713C6C3-2FDD-47D1-B920-183D4D0A3F20@opencsw.org> Hi Riccardo, > Am 22.10.2024 um 11:22 schrieb Riccardo Mottola : > Dagobert Michelsen wrote: >>> sorry, but I am a bit rusty on the mgar side, too much macports, which is similar enough to be confusing... >> It looks like the recipe for GNUTLS 3.1.25 is not in GAR: >> https://www.opencsw.org/packages/CSWgnutls/ >> Packages sources is stated ashttps://chninkel/Makefile which is not part of the GAR tree. > > I reconstructed, we started a gnutls3 port years ago, to easy upgrading in case of incompatibility, suggested by some of you expert, like openssl probably. > > I upgraded to a fairly recent version and was able to build on solaris 10s, solaris 9x but fail to link on solaris 9s... if somebody can give a hint, I'd like to test. Wrote a separate email on the thread, did you read it? > > Strange, usually it is odd 9 intel giving issues, not sparc :) Please commit what you have and tell me the path in the SVN repo and I?ll try to reproduce and take a look. Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From rmottola at opencsw.org Tue Oct 22 12:34:11 2024 From: rmottola at opencsw.org (Riccardo Mottola) Date: Tue, 22 Oct 2024 12:34:11 +0200 Subject: gnutls 3.5.19 on solaris sparc v9 Message-ID: Hi, I separate the thread. As written, I was able to build more modern 3.5.19 on solaris 9 intel, solaris 10 sparc&intel. It fails on Sparc solaris 9. Failure I see is at link stage: gmake[3]: Entering directory `/home/rmottola/opencsw/gnutls3/trunk/work/solaris9-sparc/build-isa-sparcv9/gnutls-3.5.19/src' gmake[4]: Entering directory `/home/rmottola/opencsw/gnutls3/trunk/work/solaris9-sparc/build-isa-sparcv9/gnutls-3.5.19/src' ? CCLD???? psktool ld: fatal: file /opt/csw/lib/libopts.so: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to .libs/psktool collect2: ld returned 1 exit status gmake[4]: *** [psktool] Error 1 file? /opt/csw/lib/libopts.so /opt/csw/lib/libopts.so:??????? ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped It appears to be a linker error. sparcv9 is being built, libobts.so is "sparc version1" so classic 32bit...? is it mixing something up? Perhaps libopts is missing its v9 version? Riccardo