installing swig on cfarm210?

Patrice Dumas pertusus at free.fr
Mon Jun 8 22:43:10 CEST 2026


On Sun, Jun 07, 2026 at 10:31:44PM +0200, Dagobert Michelsen wrote:
> Hi Pat,
> 
> > Am 07.06.2026 um 20:28 schrieb Patrice Dumas <pertusus at free.fr>:
> > The new GNU/Texinfo SWIG interface test fails on opencsw for solaris 10.
> > Could it be possible, please, to install SWIG on cfarm210 such that I
> > can try to reproduce the issue?
> 
> Sure, cfarm 210 and cfarm 211 now have OpenCSW swig installed.

Thanks a lot.

I did not manage to reproduce the issue I had on OpenCSW (the new test
log in OpenCSW allowed to fix the issue), because iconv cannot be built
together with Perl flags on cfarm 210, while it does without Perl flags
on cfarm 210, and with Perl flags in OpenCSW.

More precisely, building without Perl flags works ok on cfarm 210, the
command-line that succeeds is:
gcc -o conftest -g -D_STDC_C99= -I/opt/csw/include/ -D_REENTRANT -I/usr/local/include -L/opt/csw/lib/ conftest.c  /usr/local/lib/libiconv.so -L/usr/local/lib/64 -L/usr/local/lib -R/usr/local/lib

With the Perl flags, there is a failure.  The command-line is:
/opt/SUNWspro/bin/cc -o conftest -g -D_STDC_C99= -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 -I/opt/csw/include/ -D_REENTRANT -I/usr/local/include -L/opt/csw/lib/ -R /opt/csw/lib -m32 -xarch=sparc -L/opt/csw/lib -lperl -L/opt/csw/bdb48/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/lib conftest.c  /usr/local/lib/libiconv.so -L/usr/local/lib/64 -L/usr/local/lib -L/usr/lib/sparcv9 -R/usr/local/lib
The failure:
ld: fatal: file /usr/local/lib/libiconv.so: wrong ELF class: ELFCLASS64

This above comes from config.log, I do not have access to config.log on
OpenCSW, but what I can compare are the Perl flags as they are output by
configure, and they seem very similar between cfarm 210 and
texinfo-solaris10-sparc.

I do not know Solaris enough to understand what is normal, what is not,
but in case it can be useful to you, I reported what I could, though I do
not have any specific demand (for now ;-), it is for your information.

-- 
Pat


More information about the buildfarm mailing list