From dam at opencsw.org Wed Jan 17 22:49:49 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Wed, 17 Jan 2024 22:49:49 +0100 Subject: OpenCSW buildfarm account for CMake maintenance on Solaris In-Reply-To: References: Message-ID: <30136CA9-B2B7-4AE5-9D1B-0B0C01204AB7@opencsw.org> Hi Brad, > Am 17.01.2024 um 21:01 schrieb Brad King : > I am the maintainer of CMake: > > * https://cmake.org/ > * https://gitlab.kitware.com/cmake/cmake/-/graphs/v3.28.1 > > I'd like to use Solaris boxes on the OpenCSW build farm > to help maintain CMake's support for the platform. > > May I have an OpenCSW buildfarm account, please? Sure, I just need your intended user name and your ssh public key. May I list you next to your colleague Chuck Atkins? https://www.opencsw.org/extend-it/signup/to-upstream-maintainers/ 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 brad.king at kitware.com Wed Jan 17 23:19:43 2024 From: brad.king at kitware.com (Brad King) Date: Wed, 17 Jan 2024 17:19:43 -0500 Subject: OpenCSW buildfarm account for CMake maintenance on Solaris In-Reply-To: <30136CA9-B2B7-4AE5-9D1B-0B0C01204AB7@opencsw.org> References: <30136CA9-B2B7-4AE5-9D1B-0B0C01204AB7@opencsw.org> Message-ID: On Wed, Jan 17, 2024 at 4:50?PM Dagobert Michelsen wrote: > > May I have an OpenCSW buildfarm account, please? > > Sure, I just need your intended user name and your ssh public key. Great! I prefer the user name "bradking". Here is my ssh public key: ``` ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAw6Tv0fRPfWmacAKDH5Ynf7JOQS0bDjSNN7ErzK6g46nHTcF+nl6+Df1wEbIWMOynjOzPVAnr3lUldaR13QROkcBElf84h9T4A4mFUfa/jWUi2Erc5BHmryMqEd2+2QHgJji4OnWZL5nFf3Avhvd3sA8A9jmEW5a8WctINISFK2GtXKgqata5sTfjj8/3UmZh/B6hWECiHtGUNsgOzVCVuyEQ+AIBojFBoU/OFHsp+mJWxRbGkl8ZA1f250EBfBbrfm9KyReWsueTpACpEEvgPEbLwwzgUdBXaPFiX5nK7LlfRPCsRsUh2xGv5wQlf8LzJbR0POzNjZwc3qS0FvuInw== brad.king at kitware.com ``` If any hosts support ssh-ed25519 keys: ``` ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGVMVfhLYEkgbYGKysm6xUEFQ+BlZJiHxdYMATHotVr3 brad.king at kitware.com ``` > May I list you next to your colleague Chuck Atkins? > https://www.opencsw.org/extend-it/signup/to-upstream-maintainers/ Yes, please, thanks! -Brad From dam at opencsw.org Thu Jan 18 09:25:46 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 18 Jan 2024 09:25:46 +0100 Subject: OpenCSW buildfarm account for CMake maintenance on Solaris In-Reply-To: References: <30136CA9-B2B7-4AE5-9D1B-0B0C01204AB7@opencsw.org> Message-ID: <8F5C5368-0851-4A27-AC0C-CD26E3965417@opencsw.org> Hi Brad, > Am 17.01.2024 um 23:19 schrieb Brad King : > On Wed, Jan 17, 2024 at 4:50?PM Dagobert Michelsen wrote: >>> May I have an OpenCSW buildfarm account, please? >> >> Sure, I just need your intended user name and your ssh public key. > > Great! > > I prefer the user name "bradking". You should be able to login now with ssh bradking at login.opencsw.org Please make sure to read /etc/SETUP. If you need anything just let me know. 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 pertusus at free.fr Sun Jan 21 19:20:05 2024 From: pertusus at free.fr (Patrice Dumas) Date: Sun, 21 Jan 2024 19:20:05 +0100 Subject: compiler used to build perl for XS extensions not found on cfarm211 Message-ID: Hello, I am trying to rebuild and test GNU Texinfo on the Solaris 11 Cfarm, cfarm211. This is in order to investigate a failure on the opencsw build farm buildbot for GNU Texinfo, and also more generally to be able to test GNU Texinfo directly on cfarm211. The Cfarm admins recommended me to ask for advice/help on buildfarm at opencsw.org as the Cfarm Solaris machines are provided by opencsw, so here I am. An issue I have run into is that the compilers used to build the XS extensions used in GNU Texinfo and in perl modules should be the one used to build perl, but they do not seem to be available. In more details, the perl installed in the PATH seems to be perl 5.12.5 according to perl -v: $ perl -v This is perl 5, version 12, subversion 5 (v5.12.5) built for sun4-solaris-64int (with 7 registered patches, see perl -V for more detail) ..... To get the compiler used to build perl, I use the following: $ perl -V:cc cc='cc'; $ cc -bash: cc: command not found I can find gcc and set it as compiler, but the options seem to be solaris cc options and in any case, my understanding is that it is not recommended to use another compiler than the one used to build perl. Excerpts of perl -V: cc='cc', ccflags ='-I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', optimize='-xO3 ', cppflags='-I/usr/gnu/include' ccversion='Sun C 5.10 SunOS_sparc Patch 141861-07 2010/12/09', gccversion='', gccosandvers='' ld='cc', ldflags =' -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib ' libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/perl5/5.12/lib/sun4-solaris-64int/CORE' cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib' The same issue arise with /opt/csw/bin/perl. I came to that other perl while trying to use cpan to build some modules, as this perl is found with cpan. Seems to be perl 5.10.1 /opt/csw/bin/perl -v This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread-multi The output of /opt/csw/bin/perl -V still shows the the use of solaris compiler, but with different values than for the perl in the PATH. Here is what I get when trying to to use cpan: $ cpan B::COW ...... /opt/SUNWspro/bin/cc -c -D_REENTRANT -xO3 -m32 -xarch=sparc -I/opt/csw/bdb48/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO3 -m32 -xarch=sparc -DVERSION=\"0.007\" -DXS_VERSION=\"0.007\" -KPIC "-I/opt/csw/lib/perl/5.10.1/CORE" COW.c sh: /opt/SUNWspro/bin/cc: not found I would be interested in being able to use perl 5.10.1, as it is more relevant for porting issues, and it is the same perl used by the opencsw buildbot, but being able to test with the perl in the PATH could be nice too. Would you have any advice for me/for the Cfarm admins on that issue? Thanks in advance, -- Pat From dam at opencsw.org Tue Jan 23 20:48:38 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 23 Jan 2024 20:48:38 +0100 Subject: compiler used to build perl for XS extensions not found on cfarm211 In-Reply-To: References: Message-ID: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> Hi Patrice, > Am 21.01.2024 um 19:20 schrieb Patrice Dumas via buildfarm : > I am trying to rebuild and test GNU Texinfo on the Solaris 11 Cfarm, > cfarm211. This is in order to investigate a failure on the opencsw > build farm buildbot for GNU Texinfo, and also more generally to be able > to test GNU Texinfo directly on cfarm211. > > The Cfarm admins recommended me to ask for advice/help on > buildfarm at opencsw.org as the Cfarm Solaris machines are provided by > opencsw, so here I am. Excellent, thanks for taking care of Solaris ports! > An issue I have run into is that the compilers used to build the XS > extensions used in GNU Texinfo and in perl modules should be the one > used to build perl, but they do not seem to be available. > > In more details, the perl installed in the PATH seems to be perl 5.12.5 > according to perl -v: > > $ perl -v > This is perl 5, version 12, subversion 5 (v5.12.5) built for sun4-solaris-64int > (with 7 registered patches, see perl -V for more detail) > ..... > > To get the compiler used to build perl, I use the following: > > $ perl -V:cc > cc='cc'; > $ cc > -bash: cc: command not found > > I can find gcc and set it as compiler, but the options seem to be > solaris cc options and in any case, my understanding is that it is not > recommended to use another compiler than the one used to build perl. > > Excerpts of perl -V: > cc='cc', ccflags ='-I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', > optimize='-xO3 ', > cppflags='-I/usr/gnu/include' > ccversion='Sun C 5.10 SunOS_sparc Patch 141861-07 2010/12/09', gccversion='', gccosandvers='' > ld='cc', ldflags =' -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib ' > libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/perl5/5.12/lib/sun4-solaris-64int/CORE' > cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib' > > > > The same issue arise with /opt/csw/bin/perl. I came to that other perl > while trying to use cpan to build some modules, as this perl is found > with cpan. Seems to be perl 5.10.1 > > /opt/csw/bin/perl -v > This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread-multi > > The output of /opt/csw/bin/perl -V still shows the the use of solaris > compiler, but with different values than for the perl in the PATH. > > Here is what I get when trying to to use cpan: > $ cpan B::COW > ...... > /opt/SUNWspro/bin/cc -c -D_REENTRANT -xO3 -m32 -xarch=sparc -I/opt/csw/bdb48/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO3 -m32 -xarch=sparc -DVERSION=\"0.007\" -DXS_VERSION=\"0.007\" -KPIC "-I/opt/csw/lib/perl/5.10.1/CORE" COW.c > sh: /opt/SUNWspro/bin/cc: not found > > > I would be interested in being able to use perl 5.10.1, as it is more > relevant for porting issues, and it is the same perl used by the > opencsw buildbot, but being able to test with the perl in the PATH could > be nice too. > > Would you have any advice for me/for the Cfarm admins on that issue? Well, the Sun Studio 12 and 12u1 compilers have install scripts that unfortunately don?t run on Solaris 11. For now I copied over the respective pathes from the Solaris 10 cfarm210 machine and it seems to work. Please give it a go but be advised that some stuff of the compiler may still be missing. If this happens please let mw know and I?ll investigate what we can do. 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 pertusus at free.fr Wed Jan 24 01:27:22 2024 From: pertusus at free.fr (Patrice Dumas) Date: Wed, 24 Jan 2024 01:27:22 +0100 Subject: compiler used to build perl for XS extensions not found on cfarm211 In-Reply-To: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> References: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> Message-ID: On Tue, Jan 23, 2024 at 08:48:38PM +0100, Dagobert Michelsen wrote: > Hi Patrice, > > > relevant for porting issues, and it is the same perl used by the > > opencsw buildbot, but being able to test with the perl in the PATH could > > be nice too. > > > > Would you have any advice for me/for the Cfarm admins on that issue? > > Well, the Sun Studio 12 and 12u1 compilers have install scripts that unfortunately > don?t run on Solaris 11. For now I copied over the respective pathes from the > Solaris 10 cfarm210 machine and it seems to work. Please give it a go but be > advised that some stuff of the compiler may still be missing. If this happens > please let mw know and I?ll investigate what we can do. Things went much better this time, I was able to install CPAN modules with XS and test Texinfo XS with everything working ok, though after quite a bit of tweaking and finding/installing the right commands. For perl the right command is /opt/csw/bin/perl, which is used by cpan automatically and works ok to build XS modules. The perl in the path has issues that I report here. I actually prefer to test with perl 5.10.1, but others may want to use the perl in the path. As I said above, when I install with cpan, perl is perl 5.10 /opt/csw/bin/perl and the modules are installed in /export/home/pertusus/perl5/lib/perl5/sun4-solaris-thread-multi/ When I try to find them with the perl on the path, they are not found: $ perl -e 'use Data::Compare;' Can't locate Clone.pm in @INC (@INC contains: /export/home/pertusus/perl5/lib/perl5/5.12.5/sun4-solaris-64int /export/home/pertusus/perl5/lib/perl5/5.12.5 /export/home/pertusus/perl5/lib/perl5/sun4-solaris-64int /export/home/pertusus/perl5/lib/perl5 ... It seems that sun4-solaris-thread-multi is sun4-solaris-64int for perl 5.12.5 on the path. It is possible that even if found, the modules do not work actually, as they have been compiled with another compiler and against another perl. Compiling XS with the perl on the path also does not work, cc is the compiler supposed to be used as shown by perl -V, but it is not found: $ /usr/bin/perl -V gives, among other informations cc='cc', ccflags ='-I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV', optimize='-xO3 ', cppflags='-I/usr/gnu/include' ... dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -R /usr/perl5/5.12/lib/sun4-solaris-64int/CORE' cccdlflags='-KPIC', lddlflags='-G -L/usr/lib -L/usr/ccs/lib -L/lib -L/usr/gnu/lib' ... What we use in Texinfo to test for working XS is cc -I/usr/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -xO3 -KPIC -R /usr/perl5/5.12/lib/sun4-solaris-64int/CORE conftest-t.c It does not work, as cc does not exist on the path. -bash: cc: command not found -- Pat From pertusus at free.fr Wed Jan 24 09:55:53 2024 From: pertusus at free.fr (Patrice Dumas) Date: Wed, 24 Jan 2024 09:55:53 +0100 Subject: compiler used to build perl for XS extensions not found on cfarm211 In-Reply-To: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> References: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> Message-ID: Hello, On Tue, Jan 23, 2024 at 08:48:38PM +0100, Dagobert Michelsen wrote: > Hi Patrice, > > > Am 21.01.2024 um 19:20 schrieb Patrice Dumas via buildfarm : > > I am trying to rebuild and test GNU Texinfo on the Solaris 11 Cfarm, > > cfarm211. This is in order to investigate a failure on the opencsw > > build farm buildbot for GNU Texinfo, and also more generally to be able > > to test GNU Texinfo directly on cfarm211. For the record, although I am not so sure that it is very interesting, to make it work, in addition to some changes in the Texinfo source mainly needed to handle automake 1.6.1, I got Texinfo to build with everything needed by texi2any set by: * installing help2man * installing Data::Compare cpan Data::Compare * installing an older Test::Deep cpan> o conf urllist push http://backpan.perl.org/ cpan RJBS/Test-Deep-1.127.tar.gz and calling configure as ./configure PERL=/opt/csw/bin/perl GAWK=/opt/csw/bin/gawk For gawk it is to have gawk > 4, the system gawk is 3.1.8. -- Pat From dam at opencsw.org Wed Jan 24 11:12:54 2024 From: dam at opencsw.org (Dagobert Michelsen) Date: Wed, 24 Jan 2024 11:12:54 +0100 Subject: compiler used to build perl for XS extensions not found on cfarm211 In-Reply-To: References: <885C23DB-2763-4DE2-B2A9-D3DCB9220DA7@opencsw.org> Message-ID: Hi Patrice, > Am 24.01.2024 um 09:55 schrieb Patrice Dumas : > For the record, although I am not so sure that it is very interesting, > to make it work, in addition to some changes in the Texinfo source > mainly needed to handle automake 1.6.1, I got Texinfo to build with > everything needed by texi2any set by: > > * installing help2man > * installing Data::Compare > cpan Data::Compare > * installing an older Test::Deep > cpan> o conf urllist push http://backpan.perl.org/ > cpan RJBS/Test-Deep-1.127.tar.gz > > and calling configure as > > ./configure PERL=/opt/csw/bin/perl GAWK=/opt/csw/bin/gawk I installed all of the above to /opt/csw with pkgutil -y -i CSWhelp2man CSWpm-data-compare CSWpm-test-deep > For gawk it is to have gawk > 4, the system gawk is 3.1.8. yes, /opt/csw/bin/gawk is 4.1.0. If you need anything else just let me know. 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