pkgsrc-Users archive

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

Re: bootstrapping an solaris10 SPARC fails

On 02.10.2020 18:50, Kurt Schreiner wrote:
the bootstap shell script fails for me on Solaris 10 SPARC while
compiling libarchive like so:


The problematic expression (line 364 of the libtool shell script used
in libarchive):

archive_expsym_cmds="echo "{ global:" > $lib.exp~cat $export_symbols

This looks indeed broken.

For comparison, on NetBSD-8.0-x86_64 this line looks much better:

archive_expsym_cmds="\$CC -shared \$pic_flag \$libobjs
\$deplibs \$compiler_flags \$wl-soname \$wl\$soname
\$wl-retain-symbols-file \$wl\$export_symbols -o \$lib"

As the next step, I would patch
pkgsrc/archivers/libarchive/files/configure to have a "set -x" at the
very beginning, since libtool is generated by this configure script.

Running bootstrap again with this patched configure script should at
least give a clue where the "{ global" comes from, as there are several
lines in the configure script that could have generated this text.


Home | Main Index | Thread Index | Old Index